2010-10-07 20:35:04 -07:00
|
|
|
using System;
|
|
|
|
|
2010-10-20 18:49:23 -07:00
|
|
|
namespace NzbDrone.Core.Model.Notification
|
2010-10-07 20:35:04 -07:00
|
|
|
{
|
|
|
|
public class BasicNotification
|
|
|
|
{
|
|
|
|
public BasicNotification()
|
|
|
|
{
|
2011-08-04 21:38:18 -07:00
|
|
|
Id = Guid.NewGuid();
|
2010-10-07 20:35:04 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
2011-04-09 19:44:01 -07:00
|
|
|
/// Gets or sets the unique id.
|
2010-10-07 20:35:04 -07:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The Id.</value>
|
|
|
|
public Guid Id { get; private set; }
|
|
|
|
|
|
|
|
public String Title { get; set; }
|
|
|
|
|
2010-10-20 18:49:23 -07:00
|
|
|
public BasicNotificationType Type { get; set; }
|
2010-10-07 20:35:04 -07:00
|
|
|
|
|
|
|
/// <summary>
|
2011-04-09 19:44:01 -07:00
|
|
|
/// Gets or sets a value indicating whether or not this message should be automatically dismissed after a period of time.
|
2010-10-07 20:35:04 -07:00
|
|
|
/// </summary>
|
|
|
|
/// <value><c>true</c> if [auto dismiss]; otherwise, <c>false</c>.</value>
|
|
|
|
public bool AutoDismiss { get; set; }
|
|
|
|
}
|
|
|
|
}
|