首次推送
This commit is contained in:
27
Jiguang.JPush/Model/SmsMessage.cs
Normal file
27
Jiguang.JPush/Model/SmsMessage.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Jiguang.JPush.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 短信补充。
|
||||
/// <see cref="https://docs.jiguang.cn/jpush/server/push/rest_api_v3_push/#sms_message"/>
|
||||
/// </summary>
|
||||
public class SmsMessage
|
||||
{
|
||||
[JsonProperty("delay_time", DefaultValueHandling = DefaultValueHandling.Include)]
|
||||
public int DelayTime { get; set; }
|
||||
|
||||
[JsonProperty("signid", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public int Signid { get; set; }
|
||||
|
||||
[JsonProperty("temp_id", DefaultValueHandling = DefaultValueHandling.Include)]
|
||||
public long TempId { get; set; }
|
||||
|
||||
[JsonProperty("temp_para", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public Dictionary<string, object> TempPara { get; set; }
|
||||
|
||||
[JsonProperty("active_filter", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public bool? ActiveFilter { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user