using Cleanuparr.Domain.Enums;
namespace Cleanuparr.Infrastructure.Health;
///
/// Represents the health status of a client
///
public class HealthStatus
{
///
/// Gets or sets whether the client is healthy
///
public bool IsHealthy { get; set; }
///
/// Gets or sets the time when the client was last checked
///
public DateTime LastChecked { get; set; }
///
/// Gets or sets the error message if the client is not healthy
///
public string? ErrorMessage { get; set; }
///
/// Gets or sets the response time of the last health check
///
public TimeSpan ResponseTime { get; set; }
///
/// Gets or sets the client ID
///
public Guid ClientId { get; set; } = Guid.Empty;
///
/// Gets or sets the client name
///
public string ClientName { get; set; } = string.Empty;
///
/// Gets or sets the client type
///
public DownloadClientTypeName ClientTypeName { get; set; }
}