Skip to content

Commit 5973ab6

Browse files
committed
Generated 2020-10-28 for mPaaS.
1 parent 940ac16 commit 5973ab6

17 files changed

+1792
-1
lines changed

aliyun-java-sdk-mpaas/ChangeLog.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-24 Version: 3.0.22
2+
- Generated 2020-10-28 for `mPaaS`.
3+
14
2025-04-23 Version: 3.0.21
25
- Generated 2020-10-28 for `mPaaS`.
36

aliyun-java-sdk-mpaas/pom.xml

+1-1
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.21</version>
7+
<version>3.0.22</version>
88
<name>aliyun-java-sdk-mpaas</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
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 CreateTemplateRequest extends RpcAcsRequest<CreateTemplateResponse> {
27+
28+
29+
private String imageUrls;
30+
31+
private String title;
32+
33+
private String content;
34+
35+
private String iconUrls;
36+
37+
private String descInfo;
38+
39+
private String tenantId;
40+
41+
private String templateName;
42+
43+
private Integer jumpAction;
44+
45+
private Integer pushStyle;
46+
47+
private String variables;
48+
49+
private String uri;
50+
51+
private Long showStyle;
52+
53+
private String appId;
54+
55+
private String workspaceId;
56+
public CreateTemplateRequest() {
57+
super("mPaaS", "2020-10-28", "CreateTemplate", "mpaas");
58+
setProtocol(ProtocolType.HTTPS);
59+
setMethod(MethodType.POST);
60+
try {
61+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
62+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
63+
} catch (Exception e) {}
64+
}
65+
66+
public String getImageUrls() {
67+
return this.imageUrls;
68+
}
69+
70+
public void setImageUrls(String imageUrls) {
71+
this.imageUrls = imageUrls;
72+
if(imageUrls != null){
73+
putBodyParameter("ImageUrls", imageUrls);
74+
}
75+
}
76+
77+
public String getTitle() {
78+
return this.title;
79+
}
80+
81+
public void setTitle(String title) {
82+
this.title = title;
83+
if(title != null){
84+
putBodyParameter("Title", title);
85+
}
86+
}
87+
88+
public String getContent() {
89+
return this.content;
90+
}
91+
92+
public void setContent(String content) {
93+
this.content = content;
94+
if(content != null){
95+
putBodyParameter("Content", content);
96+
}
97+
}
98+
99+
public String getIconUrls() {
100+
return this.iconUrls;
101+
}
102+
103+
public void setIconUrls(String iconUrls) {
104+
this.iconUrls = iconUrls;
105+
if(iconUrls != null){
106+
putBodyParameter("IconUrls", iconUrls);
107+
}
108+
}
109+
110+
public String getDescInfo() {
111+
return this.descInfo;
112+
}
113+
114+
public void setDescInfo(String descInfo) {
115+
this.descInfo = descInfo;
116+
if(descInfo != null){
117+
putBodyParameter("DescInfo", descInfo);
118+
}
119+
}
120+
121+
public String getTenantId() {
122+
return this.tenantId;
123+
}
124+
125+
public void setTenantId(String tenantId) {
126+
this.tenantId = tenantId;
127+
if(tenantId != null){
128+
putBodyParameter("TenantId", tenantId);
129+
}
130+
}
131+
132+
public String getTemplateName() {
133+
return this.templateName;
134+
}
135+
136+
public void setTemplateName(String templateName) {
137+
this.templateName = templateName;
138+
if(templateName != null){
139+
putBodyParameter("TemplateName", templateName);
140+
}
141+
}
142+
143+
public Integer getJumpAction() {
144+
return this.jumpAction;
145+
}
146+
147+
public void setJumpAction(Integer jumpAction) {
148+
this.jumpAction = jumpAction;
149+
if(jumpAction != null){
150+
putBodyParameter("JumpAction", jumpAction.toString());
151+
}
152+
}
153+
154+
public Integer getPushStyle() {
155+
return this.pushStyle;
156+
}
157+
158+
public void setPushStyle(Integer pushStyle) {
159+
this.pushStyle = pushStyle;
160+
if(pushStyle != null){
161+
putBodyParameter("PushStyle", pushStyle.toString());
162+
}
163+
}
164+
165+
public String getVariables() {
166+
return this.variables;
167+
}
168+
169+
public void setVariables(String variables) {
170+
this.variables = variables;
171+
if(variables != null){
172+
putBodyParameter("Variables", variables);
173+
}
174+
}
175+
176+
public String getUri() {
177+
return this.uri;
178+
}
179+
180+
public void setUri(String uri) {
181+
this.uri = uri;
182+
if(uri != null){
183+
putBodyParameter("Uri", uri);
184+
}
185+
}
186+
187+
public Long getShowStyle() {
188+
return this.showStyle;
189+
}
190+
191+
public void setShowStyle(Long showStyle) {
192+
this.showStyle = showStyle;
193+
if(showStyle != null){
194+
putBodyParameter("ShowStyle", showStyle.toString());
195+
}
196+
}
197+
198+
public String getAppId() {
199+
return this.appId;
200+
}
201+
202+
public void setAppId(String appId) {
203+
this.appId = appId;
204+
if(appId != null){
205+
putBodyParameter("AppId", appId);
206+
}
207+
}
208+
209+
public String getWorkspaceId() {
210+
return this.workspaceId;
211+
}
212+
213+
public void setWorkspaceId(String workspaceId) {
214+
this.workspaceId = workspaceId;
215+
if(workspaceId != null){
216+
putBodyParameter("WorkspaceId", workspaceId);
217+
}
218+
}
219+
220+
@Override
221+
public Class<CreateTemplateResponse> getResponseClass() {
222+
return CreateTemplateResponse.class;
223+
}
224+
225+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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.AcsResponse;
18+
import com.aliyuncs.mpaas.transform.v20201028.CreateTemplateResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateTemplateResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Boolean success;
30+
31+
private String code;
32+
33+
private String msg;
34+
35+
private String data;
36+
37+
public String getRequestId() {
38+
return this.requestId;
39+
}
40+
41+
public void setRequestId(String requestId) {
42+
this.requestId = requestId;
43+
}
44+
45+
public Boolean getSuccess() {
46+
return this.success;
47+
}
48+
49+
public void setSuccess(Boolean success) {
50+
this.success = success;
51+
}
52+
53+
public String getCode() {
54+
return this.code;
55+
}
56+
57+
public void setCode(String code) {
58+
this.code = code;
59+
}
60+
61+
public String getMsg() {
62+
return this.msg;
63+
}
64+
65+
public void setMsg(String msg) {
66+
this.msg = msg;
67+
}
68+
69+
public String getData() {
70+
return this.data;
71+
}
72+
73+
public void setData(String data) {
74+
this.data = data;
75+
}
76+
77+
@Override
78+
public CreateTemplateResponse getInstance(UnmarshallerContext context) {
79+
return CreateTemplateResponseUnmarshaller.unmarshall(this, context);
80+
}
81+
82+
@Override
83+
public boolean checkShowJsonItemName() {
84+
return false;
85+
}
86+
}

0 commit comments

Comments
 (0)