Sonarr/NzbDrone.Web/Models/NotificationResult.cs

25 lines
450 B
C#

namespace NzbDrone.Web.Models
{
public class NotificationResult
{
public NotificationResult()
{
Text = string.Empty;
}
public bool IsMessage { get { return true; } }
public string Title { get; set; }
public string Text { get; set; }
public NotificationType NotificationType { get; set; }
}
public enum NotificationType
{
Info,
Error
}
}