Skip to content

Commit 8edca12

Browse files
committed
Update SDK.
1 parent fd20b86 commit 8edca12

40 files changed

+447
-36
lines changed

umeng-push-20220225/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-12-03 Version: 1.0.8
2+
- Update SDK.
3+
14
2024-12-27 Version: 1.0.7
25
- Generated java-async 2022-02-25 for umeng-push.
36

umeng-push-20220225/pom.xml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-umeng_push20220225</artifactId>
6-
<version>1.0.7</version>
6+
<version>1.0.8</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-umeng_push20220225</name>
99
<description>Alibaba Cloud umeng-push (20220225) Async SDK for Java
@@ -25,17 +25,17 @@
2525
<distributionManagement>
2626
<snapshotRepository>
2727
<id>sonatype-nexus-snapshots</id>
28-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
28+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
2929
</snapshotRepository>
3030
<repository>
3131
<id>sonatype-nexus-staging</id>
32-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
32+
<url>https://central.sonatype.com</url>
3333
</repository>
3434
</distributionManagement>
3535
<scm>
36-
<connection/>
37-
<developerConnection/>
38-
<url/>
36+
<connection>scm:git:git://github.com/aliyun/alibabacloud-java-async-sdk.git</connection>
37+
<developerConnection>scm:git:[email protected]:aliyun/alibabacloud-java-async-sdk.git</developerConnection>
38+
<url>https://github.com/aliyun/alibabacloud-java-async-sdk</url>
3939
</scm>
4040
<properties>
4141
<java.version>1.8</java.version>
@@ -76,7 +76,7 @@
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-gpg-plugin</artifactId>
79-
<version>1.6</version>
79+
<version>3.1.0</version>
8080
<executions>
8181
<execution>
8282
<id>sign-artifacts</id>
@@ -87,17 +87,6 @@
8787
</execution>
8888
</executions>
8989
</plugin>
90-
<plugin>
91-
<groupId>org.sonatype.plugins</groupId>
92-
<artifactId>nexus-staging-maven-plugin</artifactId>
93-
<version>1.6.3</version>
94-
<extensions>true</extensions>
95-
<configuration>
96-
<serverId>sonatype-nexus-staging</serverId>
97-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
98-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
99-
</configuration>
100-
</plugin>
10190
<plugin>
10291
<groupId>org.apache.maven.plugins</groupId>
10392
<artifactId>maven-javadoc-plugin</artifactId>
@@ -112,6 +101,16 @@
112101
<artifactId>maven-surefire-plugin</artifactId>
113102
<version>2.22.1</version>
114103
</plugin>
104+
<plugin>
105+
<groupId>org.sonatype.central</groupId>
106+
<artifactId>central-publishing-maven-plugin</artifactId>
107+
<version>0.9.0</version>
108+
<extensions>true</extensions>
109+
<configuration>
110+
<publishingServerId>central</publishingServerId>
111+
<autoPublish>true</autoPublish>
112+
</configuration>
113+
</plugin>
115114
</plugins>
116115
</build>
117116
</project>

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/Alert.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public static Alert create() {
4040
return builder().build();
4141
}
4242

43+
public Builder toBuilder() {
44+
return new Builder(this);
45+
}
46+
4347
/**
4448
* @return body
4549
*/
@@ -66,6 +70,15 @@ public static final class Builder {
6670
private String subtitle;
6771
private String title;
6872

73+
private Builder() {
74+
}
75+
76+
private Builder(Alert model) {
77+
this.body = model.body;
78+
this.subtitle = model.subtitle;
79+
this.title = model.title;
80+
}
81+
6982
/**
7083
* body.
7184
*/

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/AndroidPayload.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ public static AndroidPayload create() {
4444
return builder().build();
4545
}
4646

47+
public Builder toBuilder() {
48+
return new Builder(this);
49+
}
50+
4751
/**
4852
* @return body
4953
*/
@@ -78,6 +82,16 @@ public static final class Builder {
7882
private java.util.Map<String, ?> extra;
7983
private Message2ThirdChannel message2ThirdChannel;
8084

85+
private Builder() {
86+
}
87+
88+
private Builder(AndroidPayload model) {
89+
this.body = model.body;
90+
this.displayType = model.displayType;
91+
this.extra = model.extra;
92+
this.message2ThirdChannel = model.message2ThirdChannel;
93+
}
94+
8195
/**
8296
* body.
8397
*/

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/AndroidShortPayload.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ public static AndroidShortPayload create() {
3636
return builder().build();
3737
}
3838

39+
public Builder toBuilder() {
40+
return new Builder(this);
41+
}
42+
3943
/**
4044
* @return body
4145
*/
@@ -54,6 +58,14 @@ public static final class Builder {
5458
private AndroidShortPayloadBody body;
5559
private java.util.Map<String, ?> extra;
5660

61+
private Builder() {
62+
}
63+
64+
private Builder(AndroidShortPayload model) {
65+
this.body = model.body;
66+
this.extra = model.extra;
67+
}
68+
5769
/**
5870
* body.
5971
*/
@@ -108,6 +120,13 @@ public String getCustom() {
108120
public static final class Builder {
109121
private String custom;
110122

123+
private Builder() {
124+
}
125+
126+
private Builder(AndroidShortPayloadBody model) {
127+
this.custom = model.custom;
128+
}
129+
111130
/**
112131
* custom.
113132
*/

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/Aps.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ public static Aps create() {
5656
return builder().build();
5757
}
5858

59+
public Builder toBuilder() {
60+
return new Builder(this);
61+
}
62+
5963
/**
6064
* @return alert
6165
*/
@@ -114,6 +118,19 @@ public static final class Builder {
114118
private String sound;
115119
private String threadID;
116120

121+
private Builder() {
122+
}
123+
124+
private Builder(Aps model) {
125+
this.alert = model.alert;
126+
this.badge = model.badge;
127+
this.category = model.category;
128+
this.contentAvailable = model.contentAvailable;
129+
this.interruptionLevel = model.interruptionLevel;
130+
this.sound = model.sound;
131+
this.threadID = model.threadID;
132+
}
133+
117134
/**
118135
* alert.
119136
*/

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/Body.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ public static Body create() {
101101
return builder().build();
102102
}
103103

104+
public Builder toBuilder() {
105+
return new Builder(this);
106+
}
107+
104108
/**
105109
* @return activity
106110
*/
@@ -239,6 +243,29 @@ public static final class Builder {
239243
private String title;
240244
private String url;
241245

246+
private Builder() {
247+
}
248+
249+
private Builder(Body model) {
250+
this.activity = model.activity;
251+
this.addBadge = model.addBadge;
252+
this.afterOpen = model.afterOpen;
253+
this.builderId = model.builderId;
254+
this.custom = model.custom;
255+
this.expandImage = model.expandImage;
256+
this.icon = model.icon;
257+
this.img = model.img;
258+
this.playLights = model.playLights;
259+
this.playSound = model.playSound;
260+
this.playVibrate = model.playVibrate;
261+
this.rePop = model.rePop;
262+
this.setBadge = model.setBadge;
263+
this.sound = model.sound;
264+
this.text = model.text;
265+
this.title = model.title;
266+
this.url = model.url;
267+
}
268+
242269
/**
243270
* activity.
244271
*/

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/CancelByMsgIdRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static CancelByMsgIdRequest create() {
3434
return builder().build();
3535
}
3636

37-
@Override
37+
@Override
3838
public Builder toBuilder() {
3939
return new Builder(this);
4040
}

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/CancelByMsgIdResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static CancelByMsgIdResponse create() {
3737
return new BuilderImpl().build();
3838
}
3939

40-
@Override
40+
@Override
4141
public Builder toBuilder() {
4242
return new BuilderImpl(this);
4343
}

umeng-push-20220225/src/main/java/com/aliyun/sdk/service/umeng_push20220225/models/CancelByMsgIdResponseBody.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ public static CancelByMsgIdResponseBody create() {
5252
return builder().build();
5353
}
5454

55+
public Builder toBuilder() {
56+
return new Builder(this);
57+
}
58+
5559
/**
5660
* @return code
5761
*/
@@ -102,6 +106,18 @@ public static final class Builder {
102106
private String requestId;
103107
private Boolean success;
104108

109+
private Builder() {
110+
}
111+
112+
private Builder(CancelByMsgIdResponseBody model) {
113+
this.code = model.code;
114+
this.data = model.data;
115+
this.httpStatusCode = model.httpStatusCode;
116+
this.message = model.message;
117+
this.requestId = model.requestId;
118+
this.success = model.success;
119+
}
120+
105121
/**
106122
* Code.
107123
*/
@@ -188,6 +204,13 @@ public String getMsgId() {
188204
public static final class Builder {
189205
private String msgId;
190206

207+
private Builder() {
208+
}
209+
210+
private Builder(Data model) {
211+
this.msgId = model.msgId;
212+
}
213+
191214
/**
192215
* MsgId.
193216
*/

0 commit comments

Comments
 (0)