Winify – Diff between revs 44 and 59

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 44 Rev 59
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 GotifyMessage
12 { 12 {
13 #region Public Enums, Properties and Fields 13 #region Public Enums, Properties and Fields
14   14  
15 [JsonProperty(PropertyName = "id")] public int Id { get; set; } 15 [JsonProperty(PropertyName = "id")] public int Id { get; set; }
16   16  
17 [JsonProperty(PropertyName = "appid")] public int AppId { get; set; } 17 [JsonProperty(PropertyName = "appid")] public int AppId { get; set; }
18   18  
19 [JsonProperty(PropertyName = "message")] 19 [JsonProperty(PropertyName = "message")]
20 public string Message { get; set; } 20 public string Message { get; set; }
21   21  
22 [JsonProperty(PropertyName = "title")] public string Title { get; set; } 22 [JsonProperty(PropertyName = "title")] public string Title { get; set; }
23   23  
24 [JsonProperty(PropertyName = "priority")] 24 [JsonProperty(PropertyName = "priority")]
25 public int Priority { get; set; } 25 public int Priority { get; set; }
26   26  
27 [JsonProperty(PropertyName = "date")] public DateTime Date { get; set; } 27 [JsonProperty(PropertyName = "date")] public DateTime Date { get; set; }
28   28  
29 [JsonIgnore] 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