File tree 4 files changed +31
-2
lines changed
src/main/java/com/aliyuncs/push/model/v20160801
4 files changed +31
-2
lines changed Original file line number Diff line number Diff line change
1
+ 2025-03-18 Version: 3.13.20
2
+ - Supported IdempotentToken for Push and MassPush.
3
+
1
4
2024-11-13 Version: 3.13.19
2
5
- Supported AndroidMessageOppoCategory, AndroidMessageOppoNotifyLevel for Push and MassPush.
3
6
Original file line number Diff line number Diff line change 4
4
<groupId >com.aliyun</groupId >
5
5
<artifactId >aliyun-java-sdk-push</artifactId >
6
6
<packaging >jar</packaging >
7
- <version >3.13.19 </version >
7
+ <version >3.13.20 </version >
8
8
<name >aliyun-java-sdk-push</name >
9
9
<url >http://www.aliyun.com</url >
10
10
<description >Aliyun Open API SDK for Java
@@ -92,7 +92,7 @@ http://www.aliyun.com</description>
92
92
<plugin >
93
93
<groupId >org.apache.maven.plugins</groupId >
94
94
<artifactId >maven-gpg-plugin</artifactId >
95
- <version >1.5 </version >
95
+ <version >3.1.0 </version >
96
96
<executions >
97
97
<execution >
98
98
<id >sign-artifacts</id >
Original file line number Diff line number Diff line change 26
26
public class MassPushRequest extends RpcAcsRequest <MassPushResponse > {
27
27
28
28
29
+ private String idempotentToken ;
30
+
29
31
private List <PushTask > pushTasks ;
30
32
31
33
private Long appKey ;
@@ -38,6 +40,17 @@ public MassPushRequest() {
38
40
} catch (Exception e ) {}
39
41
}
40
42
43
+ public String getIdempotentToken () {
44
+ return this .idempotentToken ;
45
+ }
46
+
47
+ public void setIdempotentToken (String idempotentToken ) {
48
+ this .idempotentToken = idempotentToken ;
49
+ if (idempotentToken != null ){
50
+ putQueryParameter ("IdempotentToken" , idempotentToken );
51
+ }
52
+ }
53
+
41
54
public List <PushTask > getPushTasks () {
42
55
return this .pushTasks ;
43
56
}
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ public class PushRequest extends RpcAcsRequest<PushResponse> {
77
77
78
78
private String harmonyRemindTitle ;
79
79
80
+ private String idempotentToken ;
81
+
80
82
private String androidBadgeClass ;
81
83
82
84
private Integer smsDelaySecs ;
@@ -515,6 +517,17 @@ public void setHarmonyRemindTitle(String harmonyRemindTitle) {
515
517
}
516
518
}
517
519
520
+ public String getIdempotentToken () {
521
+ return this .idempotentToken ;
522
+ }
523
+
524
+ public void setIdempotentToken (String idempotentToken ) {
525
+ this .idempotentToken = idempotentToken ;
526
+ if (idempotentToken != null ){
527
+ putQueryParameter ("IdempotentToken" , idempotentToken );
528
+ }
529
+ }
530
+
518
531
public String getAndroidBadgeClass () {
519
532
return this .androidBadgeClass ;
520
533
}
You can’t perform that action at this time.
0 commit comments