Winify – Blame information for rev 66

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>
59 office 11 public class GotifyMessage
1 office 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  
66 office 29 [JsonProperty(PropertyName = "extras")]
30 public GotifyMessageExtras Extras { get; set; }
31  
44 office 32 [JsonIgnore] public Server Server { get; set; }
24 office 33  
1 office 34 #endregion
35 }
36 }