1+ using Newtonsoft . Json ;
2+ using System . Collections . Generic ;
3+
4+ namespace Jiguang . JPush . Model
5+ {
6+ /// <summary>
7+ /// <see cref="https://docs.jiguang.cn/jpush/server/push/rest_api_v3_push/#notification_3rd"/>
8+ /// </summary>
9+ public class Notification3rd
10+ {
11+ [ JsonProperty ( "title" , NullValueHandling = NullValueHandling . Ignore ) ]
12+ public string Url { get ; set ; }
13+
14+ /// <summary>
15+ /// 必填。
16+ /// </summary>
17+ [ JsonProperty ( "content" , NullValueHandling = NullValueHandling . Ignore ) ]
18+ public string Content { get ; set ; }
19+
20+ [ JsonProperty ( "channel_id" , NullValueHandling = NullValueHandling . Ignore ) ]
21+ public string ChannelId { get ; set ; }
22+
23+ [ JsonProperty ( "uri_activity" , NullValueHandling = NullValueHandling . Ignore ) ]
24+ public string UriActivity { get ; set ; }
25+
26+ [ JsonProperty ( "uri_action" , NullValueHandling = NullValueHandling . Ignore ) ]
27+ public string UriAction { get ; set ; }
28+
29+ [ JsonProperty ( "badge_add_num" , NullValueHandling = NullValueHandling . Ignore ) ]
30+ public string BadgeAddNum { get ; set ; }
31+
32+ [ JsonProperty ( "badge_class" , NullValueHandling = NullValueHandling . Ignore ) ]
33+ public string BadgeClass { get ; set ; }
34+
35+ [ JsonProperty ( "sound" , NullValueHandling = NullValueHandling . Ignore ) ]
36+ public string Sound { get ; set ; }
37+
38+ [ JsonProperty ( "extras" , NullValueHandling = NullValueHandling . Ignore ) ]
39+ public Dictionary < string , object > Extras { get ; set ; }
40+ }
41+ }
0 commit comments