Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b060a5

Browse files
committed
CS SDK Auto Released By xiaobing.meng,Version:4.7.14
发布日志: 1, Update SDK Version 2, Change api UpgradeClusterAddons, UpgradeClusterComponents, DescribeClusterAddonsVersion to public
1 parent 99bddf7 commit 6b060a5

11 files changed

+379
-1
lines changed

aliyun-java-sdk-cs/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2019-05-16 Version: 4.7.14
2+
1, Update SDK Version
3+
2, Change api UpgradeClusterAddons, UpgradeClusterComponents, DescribeClusterAddonsVersion to public
4+
5+
16
2019-05-16 Version: 4.7.13
27
1, Update SDK Version
38
2, Change api UpgradeClusterAddons, UpgradeClusterComponents, DescribeClusterAddonsVersion to public

aliyun-java-sdk-cs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-cs</artifactId>
55
<packaging>jar</packaging>
6-
<version>4.7.13</version>
6+
<version>4.7.14</version>
77
<name>aliyun-java-sdk-cs</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class DescribeClusterAddonsVersionRequest extends RoaAcsRequest<DescribeClusterAddonsVersionResponse> {
25+
26+
public DescribeClusterAddonsVersionRequest() {
27+
super("CS", "2015-12-15", "DescribeClusterAddonsVersion");
28+
setUriPattern("/clusters/[ClusterId]/components/version");
29+
setMethod(MethodType.GET);
30+
}
31+
32+
private String clusterId;
33+
34+
public String getClusterId() {
35+
return this.clusterId;
36+
}
37+
38+
public void setClusterId(String clusterId) {
39+
this.clusterId = clusterId;
40+
if(clusterId != null){
41+
putPathParameter("ClusterId", clusterId);
42+
}
43+
}
44+
45+
@Override
46+
public Class<DescribeClusterAddonsVersionResponse> getResponseClass() {
47+
return DescribeClusterAddonsVersionResponse.class;
48+
}
49+
50+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cs.transform.v20151215.DescribeClusterAddonsVersionResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DescribeClusterAddonsVersionResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public DescribeClusterAddonsVersionResponse getInstance(UnmarshallerContext context) {
39+
return DescribeClusterAddonsVersionResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class UpgradeClusterAddonsRequest extends RoaAcsRequest<UpgradeClusterAddonsResponse> {
25+
26+
public UpgradeClusterAddonsRequest() {
27+
super("CS", "2015-12-15", "UpgradeClusterAddons");
28+
setUriPattern("/clusters/[ClusterId]/components/upgrade");
29+
setMethod(MethodType.POST);
30+
}
31+
32+
private String clusterId;
33+
34+
public String getClusterId() {
35+
return this.clusterId;
36+
}
37+
38+
public void setClusterId(String clusterId) {
39+
this.clusterId = clusterId;
40+
if(clusterId != null){
41+
putPathParameter("ClusterId", clusterId);
42+
}
43+
}
44+
45+
@Override
46+
public Class<UpgradeClusterAddonsResponse> getResponseClass() {
47+
return UpgradeClusterAddonsResponse.class;
48+
}
49+
50+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cs.transform.v20151215.UpgradeClusterAddonsResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class UpgradeClusterAddonsResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public UpgradeClusterAddonsResponse getInstance(UnmarshallerContext context) {
39+
return UpgradeClusterAddonsResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class UpgradeClusterComponentsRequest extends RoaAcsRequest<UpgradeClusterComponentsResponse> {
25+
26+
public UpgradeClusterComponentsRequest() {
27+
super("CS", "2015-12-15", "UpgradeClusterComponents");
28+
setUriPattern("/clusters/[ClusterId]/components/[ComponentId]/upgrade");
29+
setMethod(MethodType.POST);
30+
}
31+
32+
private String componentId;
33+
34+
private String clusterId;
35+
36+
public String getComponentId() {
37+
return this.componentId;
38+
}
39+
40+
public void setComponentId(String componentId) {
41+
this.componentId = componentId;
42+
if(componentId != null){
43+
putPathParameter("ComponentId", componentId);
44+
}
45+
}
46+
47+
public String getClusterId() {
48+
return this.clusterId;
49+
}
50+
51+
public void setClusterId(String clusterId) {
52+
this.clusterId = clusterId;
53+
if(clusterId != null){
54+
putPathParameter("ClusterId", clusterId);
55+
}
56+
}
57+
58+
@Override
59+
public Class<UpgradeClusterComponentsResponse> getResponseClass() {
60+
return UpgradeClusterComponentsResponse.class;
61+
}
62+
63+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.cs.model.v20151215;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cs.transform.v20151215.UpgradeClusterComponentsResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class UpgradeClusterComponentsResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public UpgradeClusterComponentsResponse getInstance(UnmarshallerContext context) {
39+
return UpgradeClusterComponentsResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.cs.transform.v20151215;
16+
17+
import com.aliyuncs.cs.model.v20151215.DescribeClusterAddonsVersionResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class DescribeClusterAddonsVersionResponseUnmarshaller {
22+
23+
public static DescribeClusterAddonsVersionResponse unmarshall(DescribeClusterAddonsVersionResponse describeClusterAddonsVersionResponse, UnmarshallerContext context) {
24+
25+
describeClusterAddonsVersionResponse.setRequestId(context.stringValue("DescribeClusterAddonsVersionResponse.RequestId"));
26+
27+
return describeClusterAddonsVersionResponse;
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.cs.transform.v20151215;
16+
17+
import com.aliyuncs.cs.model.v20151215.UpgradeClusterAddonsResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class UpgradeClusterAddonsResponseUnmarshaller {
22+
23+
public static UpgradeClusterAddonsResponse unmarshall(UpgradeClusterAddonsResponse upgradeClusterAddonsResponse, UnmarshallerContext context) {
24+
25+
upgradeClusterAddonsResponse.setRequestId(context.stringValue("UpgradeClusterAddonsResponse.RequestId"));
26+
27+
return upgradeClusterAddonsResponse;
28+
}
29+
}

0 commit comments

Comments
 (0)