Winify – Diff between revs 24 and 28

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