Skip to content

Commit d370373

Browse files
committed
Generated 2020-10-28 for mPaaS.
1 parent f5c9488 commit d370373

File tree

6 files changed

+379
-1
lines changed

6 files changed

+379
-1
lines changed

aliyun-java-sdk-mpaas/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-03 Version: 3.0.23
2+
- Generated 2020-10-28 for `mPaaS`.
3+
14
2025-04-24 Version: 3.0.22
25
- Generated 2020-10-28 for `mPaaS`.
36

aliyun-java-sdk-mpaas/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-mpaas</artifactId>
66
<packaging>jar</packaging>
7-
<version>3.0.22</version>
7+
<version>3.0.23</version>
88
<name>aliyun-java-sdk-mpaas</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-mpaas/src/main/java/com/aliyuncs/mpaas/model/v20201028/PushBroadcastRequest.java

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,21 @@
2828
public class PushBroadcastRequest extends RpcAcsRequest<PushBroadcastResponse> {
2929

3030

31+
private Long bindEndTime;
32+
3133
private String taskName;
3234

3335
private String templateKeyValue;
3436

3537
@SerializedName("notifyLevel")
3638
private Map<String,String> notifyLevel;
3739

40+
private Long bindStartTime;
41+
3842
private Object transparentMessagePayload;
3943

44+
private Long unBindEndTime;
45+
4046
private Long pushAction;
4147

4248
private Long deliveryType;
@@ -50,6 +56,8 @@ public class PushBroadcastRequest extends RpcAcsRequest<PushBroadcastResponse> {
5056
@SerializedName("thirdChannelCategory")
5157
private Map<String,String> thirdChannelCategory;
5258

59+
private Long unBindStartTime;
60+
5361
private String classification;
5462

5563
private Long unBindPeriod;
@@ -66,6 +74,8 @@ public class PushBroadcastRequest extends RpcAcsRequest<PushBroadcastResponse> {
6674

6775
private Integer androidChannel;
6876

77+
private Integer timeMode;
78+
6979
private String tenantId;
7080

7181
private String templateName;
@@ -90,6 +100,17 @@ public PushBroadcastRequest() {
90100
} catch (Exception e) {}
91101
}
92102

103+
public Long getBindEndTime() {
104+
return this.bindEndTime;
105+
}
106+
107+
public void setBindEndTime(Long bindEndTime) {
108+
this.bindEndTime = bindEndTime;
109+
if(bindEndTime != null){
110+
putBodyParameter("BindEndTime", bindEndTime.toString());
111+
}
112+
}
113+
93114
public String getTaskName() {
94115
return this.taskName;
95116
}
@@ -123,6 +144,17 @@ public void setNotifyLevel(Map<String,String> notifyLevel) {
123144
}
124145
}
125146

147+
public Long getBindStartTime() {
148+
return this.bindStartTime;
149+
}
150+
151+
public void setBindStartTime(Long bindStartTime) {
152+
this.bindStartTime = bindStartTime;
153+
if(bindStartTime != null){
154+
putBodyParameter("BindStartTime", bindStartTime.toString());
155+
}
156+
}
157+
126158
public Object getTransparentMessagePayload() {
127159
return this.transparentMessagePayload;
128160
}
@@ -134,6 +166,17 @@ public void setTransparentMessagePayload(Object transparentMessagePayload) {
134166
}
135167
}
136168

169+
public Long getUnBindEndTime() {
170+
return this.unBindEndTime;
171+
}
172+
173+
public void setUnBindEndTime(Long unBindEndTime) {
174+
this.unBindEndTime = unBindEndTime;
175+
if(unBindEndTime != null){
176+
putBodyParameter("UnBindEndTime", unBindEndTime.toString());
177+
}
178+
}
179+
137180
public Long getPushAction() {
138181
return this.pushAction;
139182
}
@@ -200,6 +243,17 @@ public void setThirdChannelCategory(Map<String,String> thirdChannelCategory) {
200243
}
201244
}
202245

246+
public Long getUnBindStartTime() {
247+
return this.unBindStartTime;
248+
}
249+
250+
public void setUnBindStartTime(Long unBindStartTime) {
251+
this.unBindStartTime = unBindStartTime;
252+
if(unBindStartTime != null){
253+
putBodyParameter("UnBindStartTime", unBindStartTime.toString());
254+
}
255+
}
256+
203257
public String getClassification() {
204258
return this.classification;
205259
}
@@ -288,6 +342,17 @@ public void setAndroidChannel(Integer androidChannel) {
288342
}
289343
}
290344

345+
public Integer getTimeMode() {
346+
return this.timeMode;
347+
}
348+
349+
public void setTimeMode(Integer timeMode) {
350+
this.timeMode = timeMode;
351+
if(timeMode != null){
352+
putBodyParameter("TimeMode", timeMode.toString());
353+
}
354+
}
355+
291356
public String getTenantId() {
292357
return this.tenantId;
293358
}
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.mpaas.model.v20201028;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.mpaas.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class PushQueryDeviceStateRequest extends RpcAcsRequest<PushQueryDeviceStateResponse> {
27+
28+
29+
private Integer targetType;
30+
31+
private String target;
32+
33+
private String appId;
34+
35+
private String tenantId;
36+
37+
private String workspaceId;
38+
public PushQueryDeviceStateRequest() {
39+
super("mPaaS", "2020-10-28", "PushQueryDeviceState", "mpaas");
40+
setProtocol(ProtocolType.HTTPS);
41+
setMethod(MethodType.POST);
42+
try {
43+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
44+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
45+
} catch (Exception e) {}
46+
}
47+
48+
public Integer getTargetType() {
49+
return this.targetType;
50+
}
51+
52+
public void setTargetType(Integer targetType) {
53+
this.targetType = targetType;
54+
if(targetType != null){
55+
putBodyParameter("TargetType", targetType.toString());
56+
}
57+
}
58+
59+
public String getTarget() {
60+
return this.target;
61+
}
62+
63+
public void setTarget(String target) {
64+
this.target = target;
65+
if(target != null){
66+
putBodyParameter("Target", target);
67+
}
68+
}
69+
70+
public String getAppId() {
71+
return this.appId;
72+
}
73+
74+
public void setAppId(String appId) {
75+
this.appId = appId;
76+
if(appId != null){
77+
putBodyParameter("AppId", appId);
78+
}
79+
}
80+
81+
public String getTenantId() {
82+
return this.tenantId;
83+
}
84+
85+
public void setTenantId(String tenantId) {
86+
this.tenantId = tenantId;
87+
if(tenantId != null){
88+
putBodyParameter("TenantId", tenantId);
89+
}
90+
}
91+
92+
public String getWorkspaceId() {
93+
return this.workspaceId;
94+
}
95+
96+
public void setWorkspaceId(String workspaceId) {
97+
this.workspaceId = workspaceId;
98+
if(workspaceId != null){
99+
putBodyParameter("WorkspaceId", workspaceId);
100+
}
101+
}
102+
103+
@Override
104+
public Class<PushQueryDeviceStateResponse> getResponseClass() {
105+
return PushQueryDeviceStateResponse.class;
106+
}
107+
108+
}

0 commit comments

Comments
 (0)