You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
480 B
24 lines
480 B
using System;
|
|
using NzbDrone.Core.Datastore;
|
|
|
|
namespace NzbDrone.Core.HealthCheck
|
|
{
|
|
public class HealthCheck : ModelBase
|
|
{
|
|
public HealthCheckResultType Type { get; set; }
|
|
public String Message { get; set; }
|
|
|
|
public HealthCheck(HealthCheckResultType type, string message)
|
|
{
|
|
Type = type;
|
|
Message = message;
|
|
}
|
|
}
|
|
|
|
public enum HealthCheckResultType
|
|
{
|
|
Warning = 1,
|
|
Error = 2
|
|
}
|
|
}
|