Winify – Diff between revs 39 and 44

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