Skip to content

Commit f88358a

Browse files
committed
CLOUDAPI SDK Auto Released By jialiang.bjl,Version:4.8.1
发布日志: 1, Add model relevant parameters
1 parent a3bb517 commit f88358a

22 files changed

+607
-0
lines changed

aliyun-java-sdk-cloudapi/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-01-22 Version: 4.8.1
2+
1, Add model relevant parameters
3+
14
2019-01-21 Version: 4.8.1
25
1, Interface DescribePluginApis returns the modification
36

-6 KB
Binary file not shown.
-6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
package com.aliyuncs.cloudapi.model.v20160714;
2+
3+
import com.aliyuncs.RpcAcsRequest;
4+
5+
/**
6+
* @Author: lenny
7+
* @Date: 2019/1/22 11:52 AM
8+
* @Version 1.0
9+
*/
10+
public class CreateModelRequest extends RpcAcsRequest<CreateModelResponse> {
11+
12+
public CreateModelRequest() {
13+
super("CloudAPI", "2016-07-14", "CreateModel", "apigateway");
14+
}
15+
16+
private String groupId;
17+
private String modelName;
18+
private String schema;
19+
private String description;
20+
21+
public String getGroupId() {
22+
return groupId;
23+
}
24+
25+
public void setGroupId(String groupId) {
26+
this.groupId = groupId;
27+
}
28+
29+
public String getModelName() {
30+
return modelName;
31+
}
32+
33+
public void setModelName(String modelName) {
34+
this.modelName = modelName;
35+
}
36+
37+
public String getSchema() {
38+
return schema;
39+
}
40+
41+
public void setSchema(String schema) {
42+
this.schema = schema;
43+
}
44+
45+
public String getDescription() {
46+
return description;
47+
}
48+
49+
public void setDescription(String description) {
50+
this.description = description;
51+
}
52+
53+
@Override
54+
public Class<CreateModelResponse> getResponseClass() {
55+
return CreateModelResponse.class;
56+
}
57+
}
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
package com.aliyuncs.cloudapi.model.v20160714;
2+
3+
import com.aliyuncs.AcsResponse;
4+
import com.aliyuncs.cloudapi.transform.v20160714.CreateModelResponseUnmarshaller;
5+
import com.aliyuncs.exceptions.ClientException;
6+
import com.aliyuncs.exceptions.ServerException;
7+
import com.aliyuncs.transform.UnmarshallerContext;
8+
9+
/**
10+
* @Author: lenny
11+
* @Date: 2019/1/22 11:52 AM
12+
* @Version 1.0
13+
*/
14+
public class CreateModelResponse extends AcsResponse {
15+
16+
private String requestId;
17+
private String modelId;
18+
private String modelRef;
19+
private String modelName;
20+
private String groupId;
21+
private String schema;
22+
private String regionId;
23+
private String description;
24+
private String createdTime;
25+
private String modifiedTime;
26+
27+
public String getRequestId() {
28+
return requestId;
29+
}
30+
31+
public void setRequestId(String requestId) {
32+
this.requestId = requestId;
33+
}
34+
35+
public String getModelId() {
36+
return modelId;
37+
}
38+
39+
public void setModelId(String modelId) {
40+
this.modelId = modelId;
41+
}
42+
43+
public String getModelRef() {
44+
return modelRef;
45+
}
46+
47+
public void setModelRef(String modelRef) {
48+
this.modelRef = modelRef;
49+
}
50+
51+
public String getModelName() {
52+
return modelName;
53+
}
54+
55+
public void setModelName(String modelName) {
56+
this.modelName = modelName;
57+
}
58+
59+
public String getGroupId() {
60+
return groupId;
61+
}
62+
63+
public void setGroupId(String groupId) {
64+
this.groupId = groupId;
65+
}
66+
67+
public String getSchema() {
68+
return schema;
69+
}
70+
71+
public void setSchema(String schema) {
72+
this.schema = schema;
73+
}
74+
75+
public String getRegionId() {
76+
return regionId;
77+
}
78+
79+
public void setRegionId(String regionId) {
80+
this.regionId = regionId;
81+
}
82+
83+
public String getDescription() {
84+
return description;
85+
}
86+
87+
public void setDescription(String description) {
88+
this.description = description;
89+
}
90+
91+
public String getCreatedTime() {
92+
return createdTime;
93+
}
94+
95+
public void setCreatedTime(String createdTime) {
96+
this.createdTime = createdTime;
97+
}
98+
99+
public String getModifiedTime() {
100+
return modifiedTime;
101+
}
102+
103+
public void setModifiedTime(String modifiedTime) {
104+
this.modifiedTime = modifiedTime;
105+
}
106+
107+
@Override
108+
public AcsResponse getInstance(UnmarshallerContext context) throws ClientException, ServerException {
109+
return CreateModelResponseUnmarshaller.unmarshall(this,context);
110+
}
111+
}

0 commit comments

Comments
 (0)