File tree Expand file tree Collapse file tree 5 files changed +41
-4
lines changed
src/main/java/com/getui/push/v2/sdk Expand file tree Collapse file tree 5 files changed +41
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Release Notes
2
2
3
+ ## 1.0.0.12
4
+
5
+ ### update
6
+
7
+ * 支持厂商智能配额策略
8
+ * 支持通知关闭过滤
9
+
3
10
## 1.0.0.11
4
11
5
12
### update
Original file line number Diff line number Diff line change 22
22
<dependency >
23
23
<groupId >com.getui.push</groupId >
24
24
<artifactId >restful-sdk</artifactId >
25
- <version >1.0.0.11 </version >
25
+ <version >1.0.0.12 </version >
26
26
</dependency >
27
27
```
28
28
Original file line number Diff line number Diff line change 7
7
<groupId >com.getui.push</groupId >
8
8
<artifactId >restful-sdk</artifactId >
9
9
<packaging >jar</packaging >
10
- <version >1.0.0.11 </version >
10
+ <version >1.0.0.12 </version >
11
11
<url >https://github.com/GetuiLaboratory/getui-pushapi-java-client-v2</url >
12
12
<name >Getui Push API Java Client</name >
13
13
<description >Getui's officially supported Java client library for accessing Getui APIs.</description >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public interface Configs {
13
13
14
14
String HEADER_DOMAIN_HASH_KEY = "domainHash" ;
15
15
String HEADER_OPEN_STABLE_DOMAIN = "openStableDomain" ;
16
- String SDK_VERSION = "1.0.0.11 " ;
16
+ String SDK_VERSION = "1.0.0.12 " ;
17
17
/**
18
18
* 预置域名列表
19
19
*/
Original file line number Diff line number Diff line change @@ -25,6 +25,18 @@ public class Settings {
25
25
*/
26
26
private String customCallback ;
27
27
28
+ /**
29
+ * 是否过滤关闭通知用户
30
+ * false表示不过滤,true表示过滤
31
+ */
32
+ private Boolean filterNotifyOff ;
33
+
34
+ /**
35
+ * 厂商智能配额策略-用户连续活跃天数
36
+ * 单位天,限制3 ~ 15天之间
37
+ */
38
+ private Integer activeDays ;
39
+
28
40
public Integer getTtl () {
29
41
return ttl ;
30
42
}
@@ -65,14 +77,32 @@ public void setCustomCallback(String customCallback) {
65
77
this .customCallback = customCallback ;
66
78
}
67
79
80
+ public Boolean getFilterNotifyOff () {
81
+ return filterNotifyOff ;
82
+ }
83
+
84
+ public void setFilterNotifyOff (Boolean filterNotifyOff ) {
85
+ this .filterNotifyOff = filterNotifyOff ;
86
+ }
87
+
88
+ public Integer getActiveDays () {
89
+ return activeDays ;
90
+ }
91
+
92
+ public void setActiveDays (Integer activeDays ) {
93
+ this .activeDays = activeDays ;
94
+ }
95
+
68
96
@ Override
69
97
public String toString () {
70
98
return "Settings{" +
71
99
"ttl=" + ttl +
72
100
", strategy=" + strategy +
73
101
", speed=" + speed +
74
102
", scheduleTime=" + scheduleTime +
75
- ", customCallback=" + customCallback +
103
+ ", customCallback='" + customCallback + '\'' +
104
+ ", filterNotifyOff=" + filterNotifyOff +
105
+ ", activeDays=" + activeDays +
76
106
'}' ;
77
107
}
78
108
}
You can’t perform that action at this time.
0 commit comments