Winify – Diff between revs 59 and 66
?pathlinks?
Rev 59 | Rev 66 | |||
---|---|---|---|---|
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 GotifyMessage |
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 | |
||
- | 29 | [JsonProperty(PropertyName = "extras")] |
||
- | 30 | public GotifyMessageExtras Extras { get; set; } |
||
28 | |
31 | |
|
29 | [JsonIgnore] public Server Server { get; set; } |
32 | [JsonIgnore] public Server Server { get; set; } |
|
30 | |
33 | |
|
31 | #endregion |
34 | #endregion |
|
32 | } |
35 | } |
|
33 | } |
36 | } |
|
34 | |
37 | |
|
35 |
|
38 |
|
|
36 | |
39 | |
|
37 | |
40 | |
|
38 | |
41 | |