Winify – Diff between revs 24 and 28

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