mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-28 02:37:40 +00:00
25 lines
450 B
C#
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
|
||
|
}
|
||
|
|
||
|
}
|