29 lines
749 B
C#
29 lines
749 B
C#
using System.Runtime.Serialization;
|
|
using Umbraco.Web.UI;
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
{
|
|
[DataContract(Name = "notification", Namespace = "")]
|
|
public class Notification
|
|
{
|
|
public Notification()
|
|
{
|
|
|
|
}
|
|
|
|
public Notification(string header, string message, SpeechBubbleIcon notificationType)
|
|
{
|
|
Header = header;
|
|
Message = message;
|
|
NotificationType = notificationType;
|
|
}
|
|
|
|
[DataMember(Name = "header")]
|
|
public string Header { get; set; }
|
|
[DataMember(Name = "message")]
|
|
public string Message { get; set; }
|
|
[DataMember(Name = "type")]
|
|
public SpeechBubbleIcon NotificationType { get; set; }
|
|
}
|
|
}
|