Skip to content

Commit 41aa0c3

Browse files
author
Hevin
committed
Merge branch 'v2-dev' into v2
2 parents 97e26aa + d956c3e commit 41aa0c3

File tree

4 files changed

+33
-33
lines changed

4 files changed

+33
-33
lines changed

Jiguang.JPush.dll

1 KB
Binary file not shown.

Jiguang.JPush/Jiguang.JPush.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<Product>JPush</Product>
1212
<Copyright>MIT</Copyright>
1313
<PackageLicenseUrl></PackageLicenseUrl>
14-
<Version>1.0.8</Version>
14+
<Version>1.0.9</Version>
1515
</PropertyGroup>
1616

1717
<ItemGroup>

Jiguang.JPush/Model/Options.cs

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
using Newtonsoft.Json;
2-
3-
namespace Jiguang.JPush.Model
4-
{
5-
/// <summary>
6-
/// <see cref="https://docs.jiguang.cn/jpush/server/push/rest_api_v3_push/#options"/>
7-
/// </summary>
8-
public class Options
9-
{
10-
[JsonProperty("sendno")]
11-
public int SendNo { get; set; }
12-
13-
[JsonProperty("time_to_live")]
14-
public int TimeToLive { get; set; }
15-
16-
[JsonProperty("override_msg_id")]
17-
public long OverrideMessageId { get; set; }
18-
19-
/// <summary>
20-
/// iOS 推送是否为生产环境。默认为 false,开发环境。
21-
/// </summary>
22-
[JsonProperty("apns_production", DefaultValueHandling = DefaultValueHandling.Include)]
23-
public bool IsApnsProduction { get; set; } = false;
24-
25-
[JsonProperty("apns_collapse_id")]
26-
public string ApnsCollapseId { get; set; }
27-
28-
[JsonProperty("big_push_duration")]
29-
public int BigPushDuration { get; set; }
30-
}
31-
}
1+
using Newtonsoft.Json;
2+
3+
namespace Jiguang.JPush.Model
4+
{
5+
/// <summary>
6+
/// <see cref="https://docs.jiguang.cn/jpush/server/push/rest_api_v3_push/#options"/>
7+
/// </summary>
8+
public class Options
9+
{
10+
[JsonProperty("sendno", NullValueHandling = NullValueHandling.Ignore)]
11+
public int SendNo { get; set; }
12+
13+
[JsonProperty("time_to_live", NullValueHandling = NullValueHandling.Ignore)]
14+
public int TimeToLive { get; set; }
15+
16+
[JsonProperty("override_msg_id", NullValueHandling = NullValueHandling.Ignore)]
17+
public long OverrideMessageId { get; set; }
18+
19+
/// <summary>
20+
/// iOS 推送是否为生产环境。默认为 false,开发环境。
21+
/// </summary>
22+
[JsonProperty("apns_production", DefaultValueHandling = DefaultValueHandling.Include)]
23+
public bool IsApnsProduction { get; set; } = false;
24+
25+
[JsonProperty("apns_collapse_id", NullValueHandling = NullValueHandling.Ignore)]
26+
public string ApnsCollapseId { get; set; }
27+
28+
[JsonProperty("big_push_duration", NullValueHandling = NullValueHandling.Ignore)]
29+
public int BigPushDuration { get; set; }
30+
}
31+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JPush Library for .NET
22

3-
[![NuGet](https://img.shields.io/badge/NuGet-v1.0.8-blue.svg)](https://preview.nuget.org/packages/Jiguang.JPush/)
3+
[![NuGet](https://img.shields.io/badge/NuGet-v1.0.9-blue.svg)](https://preview.nuget.org/packages/Jiguang.JPush/)
44

55
[极光](https://www.jiguang.cn/)官方支持的 JPush .NET API Client。
66

0 commit comments

Comments
 (0)