mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-30 19:45:57 +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
|
||
|
}
|
||
|
|
||
|
}
|