mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-06 11:02:40 +01: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
|
||
|
}
|
||
|
|
||
|
}
|