Skip to content

Commit 6b0aa85

Browse files
committed
Generated 2020-10-28 for mPaaS.
1 parent 7d2ba09 commit 6b0aa85

7 files changed

Lines changed: 244 additions & 17 deletions

File tree

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+
2026-01-07 Version: 3.0.25
2+
- Generated 2020-10-28 for `mPaaS`.
3+
14
2025-11-14 Version: 3.0.24
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.24</version>
7+
<version>3.0.25</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/GetUserAppEnhanceProcessInMsaResponse.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ public static class Data {
135135

136136
private Long id;
137137

138-
private List<EnhanceMappingItem> enhanceMapping;
138+
private String classForest;
139139

140-
private List<String> classForest;
140+
private List<EnhanceMappingItem> enhanceMapping;
141141

142142
private List<String> enhancedClasses;
143143

@@ -255,20 +255,20 @@ public void setId(Long id) {
255255
this.id = id;
256256
}
257257

258-
public List<EnhanceMappingItem> getEnhanceMapping() {
259-
return this.enhanceMapping;
258+
public String getClassForest() {
259+
return this.classForest;
260260
}
261261

262-
public void setEnhanceMapping(List<EnhanceMappingItem> enhanceMapping) {
263-
this.enhanceMapping = enhanceMapping;
262+
public void setClassForest(String classForest) {
263+
this.classForest = classForest;
264264
}
265265

266-
public List<String> getClassForest() {
267-
return this.classForest;
266+
public List<EnhanceMappingItem> getEnhanceMapping() {
267+
return this.enhanceMapping;
268268
}
269269

270-
public void setClassForest(List<String> classForest) {
271-
this.classForest = classForest;
270+
public void setEnhanceMapping(List<EnhanceMappingItem> enhanceMapping) {
271+
this.enhanceMapping = enhanceMapping;
272272
}
273273

274274
public List<String> getEnhancedClasses() {
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 QueryMscpRiskInfoRequest extends RpcAcsRequest<QueryMscpRiskInfoResponse> {
27+
28+
29+
private String apdidToken;
30+
31+
private String appId;
32+
33+
private String tenantId;
34+
35+
private String terminalType;
36+
37+
private String workspaceId;
38+
public QueryMscpRiskInfoRequest() {
39+
super("mPaaS", "2020-10-28", "QueryMscpRiskInfo", "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 String getApdidToken() {
49+
return this.apdidToken;
50+
}
51+
52+
public void setApdidToken(String apdidToken) {
53+
this.apdidToken = apdidToken;
54+
if(apdidToken != null){
55+
putBodyParameter("ApdidToken", apdidToken);
56+
}
57+
}
58+
59+
public String getAppId() {
60+
return this.appId;
61+
}
62+
63+
public void setAppId(String appId) {
64+
this.appId = appId;
65+
if(appId != null){
66+
putBodyParameter("AppId", appId);
67+
}
68+
}
69+
70+
public String getTenantId() {
71+
return this.tenantId;
72+
}
73+
74+
public void setTenantId(String tenantId) {
75+
this.tenantId = tenantId;
76+
if(tenantId != null){
77+
putBodyParameter("TenantId", tenantId);
78+
}
79+
}
80+
81+
public String getTerminalType() {
82+
return this.terminalType;
83+
}
84+
85+
public void setTerminalType(String terminalType) {
86+
this.terminalType = terminalType;
87+
if(terminalType != null){
88+
putBodyParameter("TerminalType", terminalType);
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<QueryMscpRiskInfoResponse> getResponseClass() {
105+
return QueryMscpRiskInfoResponse.class;
106+
}
107+
108+
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
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 java.util.Map;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.mpaas.transform.v20201028.QueryMscpRiskInfoResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class QueryMscpRiskInfoResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private String code;
31+
32+
private String msg;
33+
34+
private Boolean success;
35+
36+
private Map<Object,Object> data;
37+
38+
public String getRequestId() {
39+
return this.requestId;
40+
}
41+
42+
public void setRequestId(String requestId) {
43+
this.requestId = requestId;
44+
}
45+
46+
public String getCode() {
47+
return this.code;
48+
}
49+
50+
public void setCode(String code) {
51+
this.code = code;
52+
}
53+
54+
public String getMsg() {
55+
return this.msg;
56+
}
57+
58+
public void setMsg(String msg) {
59+
this.msg = msg;
60+
}
61+
62+
public Boolean getSuccess() {
63+
return this.success;
64+
}
65+
66+
public void setSuccess(Boolean success) {
67+
this.success = success;
68+
}
69+
70+
public Map<Object,Object> getData() {
71+
return this.data;
72+
}
73+
74+
public void setData(Map<Object,Object> data) {
75+
this.data = data;
76+
}
77+
78+
@Override
79+
public QueryMscpRiskInfoResponse getInstance(UnmarshallerContext context) {
80+
return QueryMscpRiskInfoResponseUnmarshaller.unmarshall(this, context);
81+
}
82+
83+
@Override
84+
public boolean checkShowJsonItemName() {
85+
return false;
86+
}
87+
}

aliyun-java-sdk-mpaas/src/main/java/com/aliyuncs/mpaas/transform/v20201028/GetUserAppEnhanceProcessInMsaResponseUnmarshaller.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@ public static GetUserAppEnhanceProcessInMsaResponse unmarshall(GetUserAppEnhance
5151
data.setBeforeMd5(_ctx.stringValue("GetUserAppEnhanceProcessInMsaResponse.ResultContent.Data.BeforeMd5"));
5252
data.setVersionCode(_ctx.stringValue("GetUserAppEnhanceProcessInMsaResponse.ResultContent.Data.VersionCode"));
5353
data.setId(_ctx.longValue("GetUserAppEnhanceProcessInMsaResponse.ResultContent.Data.Id"));
54-
55-
List<String> classForest = new ArrayList<String>();
56-
for (int i = 0; i < _ctx.lengthValue("GetUserAppEnhanceProcessInMsaResponse.ResultContent.Data.ClassForest.Length"); i++) {
57-
classForest.add(_ctx.stringValue("GetUserAppEnhanceProcessInMsaResponse.ResultContent.Data.ClassForest["+ i +"]"));
58-
}
59-
data.setClassForest(classForest);
54+
data.setClassForest(_ctx.stringValue("GetUserAppEnhanceProcessInMsaResponse.ResultContent.Data.ClassForest"));
6055

6156
List<String> enhancedClasses = new ArrayList<String>();
6257
for (int i = 0; i < _ctx.lengthValue("GetUserAppEnhanceProcessInMsaResponse.ResultContent.Data.EnhancedClasses.Length"); i++) {
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.transform.v20201028;
16+
17+
import com.aliyuncs.mpaas.model.v20201028.QueryMscpRiskInfoResponse;
18+
import java.util.Map;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
22+
public class QueryMscpRiskInfoResponseUnmarshaller {
23+
24+
public static QueryMscpRiskInfoResponse unmarshall(QueryMscpRiskInfoResponse queryMscpRiskInfoResponse, UnmarshallerContext _ctx) {
25+
26+
queryMscpRiskInfoResponse.setRequestId(_ctx.stringValue("QueryMscpRiskInfoResponse.RequestId"));
27+
queryMscpRiskInfoResponse.setCode(_ctx.stringValue("QueryMscpRiskInfoResponse.Code"));
28+
queryMscpRiskInfoResponse.setMsg(_ctx.stringValue("QueryMscpRiskInfoResponse.Msg"));
29+
queryMscpRiskInfoResponse.setSuccess(_ctx.booleanValue("QueryMscpRiskInfoResponse.Success"));
30+
queryMscpRiskInfoResponse.setData(_ctx.mapValue("QueryMscpRiskInfoResponse.Data"));
31+
32+
return queryMscpRiskInfoResponse;
33+
}
34+
}

0 commit comments

Comments
 (0)