using Cleanuparr.Domain.Enums;
namespace Cleanuparr.Infrastructure.Health;
///
/// Represents the health status of an arr instance
///
public class ArrHealthStatus
{
///
/// Gets or sets the instance ID
///
public Guid InstanceId { get; set; }
///
/// Gets or sets the instance name
///
public string InstanceName { get; set; } = string.Empty;
///
/// Gets or sets the instance type (Sonarr, Radarr, etc.)
///
public InstanceType InstanceType { get; set; }
///
/// Gets or sets whether the instance is healthy
///
public bool IsHealthy { get; set; }
///
/// Gets or sets the time when the instance was last checked
///
public DateTime LastChecked { get; set; }
///
/// Gets or sets the error message if the instance is not healthy
///
public string? ErrorMessage { get; set; }
}