Winify – Diff between revs 28 and 39

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 28 Rev 39
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")]
15 [JsonProperty(PropertyName = "id")] public int Id { get; set; } 16 public int Id { get; set; }
-   17  
16   18 [JsonProperty(PropertyName = "appid")]
17 [JsonProperty(PropertyName = "appid")] public int AppId { get; set; } 19 public int AppId { get; set; }
18   20  
19 [JsonProperty(PropertyName = "message")] 21 [JsonProperty(PropertyName = "message")]
20 public string Message { get; set; } 22 public string Message { get; set; }
21   23  
-   24 [JsonProperty(PropertyName = "title")]
22 [JsonProperty(PropertyName = "title")] public string Title { get; set; } 25 public string Title { get; set; }
23   26  
24 [JsonProperty(PropertyName = "priority")] 27 [JsonProperty(PropertyName = "priority")]
25 public int Priority { get; set; } 28 public int Priority { get; set; }
26   29  
-   30 [JsonProperty(PropertyName = "date")]
-   31 public DateTime Date { get; set; }
27 [JsonProperty(PropertyName = "date")] public DateTime Date { get; set; } 32  
28   33 [JsonIgnore]
29 [JsonIgnore] public Server Server { get; set; } 34 public Server Server { get; set; }
30   35  
31 #endregion 36 #endregion
32 } 37 }
33 } 38 }
34   39  
35
Generated by GNU Enscript 1.6.5.90.
40
Generated by GNU Enscript 1.6.5.90.
36   41  
37   42  
38   43