mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02: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
|
||
|
}
|
||
|
|
||
|
}
|