Winify – Blame information for rev 39
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System; |
2 | using Newtonsoft.Json; |
||
24 | office | 3 | using Servers; |
1 | office | 4 | |
5 | namespace Winify.Gotify |
||
6 | { |
||
28 | office | 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> |
||
1 | office | 11 | public class GotifyNotification |
12 | { |
||
13 | #region Public Enums, Properties and Fields |
||
14 | |||
39 | office | 15 | [JsonProperty(PropertyName = "id")] |
16 | public int Id { get; set; } |
||
1 | office | 17 | |
39 | office | 18 | [JsonProperty(PropertyName = "appid")] |
19 | public int AppId { get; set; } |
||
1 | office | 20 | |
21 | [JsonProperty(PropertyName = "message")] |
||
22 | public string Message { get; set; } |
||
23 | |||
39 | office | 24 | [JsonProperty(PropertyName = "title")] |
25 | public string Title { get; set; } |
||
1 | office | 26 | |
27 | [JsonProperty(PropertyName = "priority")] |
||
28 | public int Priority { get; set; } |
||
29 | |||
39 | office | 30 | [JsonProperty(PropertyName = "date")] |
31 | public DateTime Date { get; set; } |
||
1 | office | 32 | |
39 | office | 33 | [JsonIgnore] |
34 | public Server Server { get; set; } |
||
24 | office | 35 | |
1 | office | 36 | #endregion |
37 | } |
||
38 | } |