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 11# Release Notes
22
3+ ## 1.0.0.12
4+
5+ ### update
6+
7+ * 支持厂商智能配额策略
8+ * 支持通知关闭过滤
9+
310## 1.0.0.11
411
512### update
Original file line number Diff line number Diff line change 2222 <dependency >
2323 <groupId >com.getui.push</groupId >
2424 <artifactId >restful-sdk</artifactId >
25- <version >1.0.0.11 </version >
25+ <version >1.0.0.12 </version >
2626</dependency >
2727```
2828
Original file line number Diff line number Diff line change 77 <groupId >com.getui.push</groupId >
88 <artifactId >restful-sdk</artifactId >
99 <packaging >jar</packaging >
10- <version >1.0.0.11 </version >
10+ <version >1.0.0.12 </version >
1111 <url >https://github.com/GetuiLaboratory/getui-pushapi-java-client-v2</url >
1212 <name >Getui Push API Java Client</name >
1313 <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 {
1313
1414 String HEADER_DOMAIN_HASH_KEY = "domainHash" ;
1515 String HEADER_OPEN_STABLE_DOMAIN = "openStableDomain" ;
16- String SDK_VERSION = "1.0.0.11 " ;
16+ String SDK_VERSION = "1.0.0.12 " ;
1717 /**
1818 * 预置域名列表
1919 */
Original file line number Diff line number Diff line change @@ -25,6 +25,18 @@ public class Settings {
2525 */
2626 private String customCallback ;
2727
28+ /**
29+ * 是否过滤关闭通知用户
30+ * false表示不过滤,true表示过滤
31+ */
32+ private Boolean filterNotifyOff ;
33+
34+ /**
35+ * 厂商智能配额策略-用户连续活跃天数
36+ * 单位天,限制3 ~ 15天之间
37+ */
38+ private Integer activeDays ;
39+
2840 public Integer getTtl () {
2941 return ttl ;
3042 }
@@ -65,14 +77,32 @@ public void setCustomCallback(String customCallback) {
6577 this .customCallback = customCallback ;
6678 }
6779
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+
6896 @ Override
6997 public String toString () {
7098 return "Settings{" +
7199 "ttl=" + ttl +
72100 ", strategy=" + strategy +
73101 ", speed=" + speed +
74102 ", scheduleTime=" + scheduleTime +
75- ", customCallback=" + customCallback +
103+ ", customCallback='" + customCallback + '\'' +
104+ ", filterNotifyOff=" + filterNotifyOff +
105+ ", activeDays=" + activeDays +
76106 '}' ;
77107 }
78108}
You can’t perform that action at this time.
0 commit comments