Winify – Blame information for rev 44

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System;
2 using Newtonsoft.Json;
24 office 3 using Servers;
1 office 4  
5 namespace Winify.Gotify
6 {
28 office 7 /// <summary>
8 /// {"id":22,"appid":1,"message":"iot","title":"Arcade
9 /// Netplay","priority":0,"date":"2022-10-26T14:55:59.050734643+03:00"}
10 /// </summary>
1 office 11 public class GotifyNotification
12 {
13 #region Public Enums, Properties and Fields
14  
44 office 15 [JsonProperty(PropertyName = "id")] public int Id { get; set; }
1 office 16  
44 office 17 [JsonProperty(PropertyName = "appid")] public int AppId { get; set; }
1 office 18  
19 [JsonProperty(PropertyName = "message")]
20 public string Message { get; set; }
21  
44 office 22 [JsonProperty(PropertyName = "title")] public string Title { get; set; }
1 office 23  
24 [JsonProperty(PropertyName = "priority")]
25 public int Priority { get; set; }
26  
44 office 27 [JsonProperty(PropertyName = "date")] public DateTime Date { get; set; }
1 office 28  
44 office 29 [JsonIgnore] public Server Server { get; set; }
24 office 30  
1 office 31 #endregion
32 }
33 }