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

Skip to content

Commit 932831f

Browse files
committed
update ros sdk
1 parent 4a9961a commit 932831f

13 files changed

+479
-3
lines changed

aliyun-java-sdk-ros/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-ros</artifactId>
55
<packaging>jar</packaging>
6-
<version>2.0.1</version>
6+
<version>2.2.5</version>
77
<name>aliyun-java-sdk-ros</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
@@ -19,7 +19,7 @@ http://www.aliyun.com</description>
1919
<groupId>com.aliyun</groupId>
2020
<artifactId>aliyun-java-sdk-core</artifactId>
2121
<optional>true</optional>
22-
<version>2.2.6</version>
22+
<version>2.4.2</version>
2323
</dependency>
2424
</dependencies>
2525
<licenses>
@@ -78,4 +78,4 @@ http://www.aliyun.com</description>
7878
</plugin>
7979
</plugins>
8080
</build>
81-
</project>
81+
</project>
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.RoaAcsRequest;
22+
import com.aliyuncs.http.MethodType;
23+
24+
/**
25+
* @author auto create
26+
* @version
27+
*/
28+
public class DoActionsRequest extends RoaAcsRequest<DoActionsResponse> {
29+
30+
public DoActionsRequest() {
31+
super("ROS", "2015-09-01", "DoActions");
32+
setUriPattern("/stacks/[StackName]/[StackId]/actions");
33+
setMethod(MethodType.POST);
34+
}
35+
36+
private String stackName;
37+
38+
private String stackId;
39+
40+
public String getStackName() {
41+
return this.stackName;
42+
}
43+
44+
public void setStackName(String stackName) {
45+
this.stackName = stackName;
46+
putPathParameter("StackName", stackName);
47+
}
48+
49+
public String getStackId() {
50+
return this.stackId;
51+
}
52+
53+
public void setStackId(String stackId) {
54+
this.stackId = stackId;
55+
putPathParameter("StackId", stackId);
56+
}
57+
58+
@Override
59+
public Class<DoActionsResponse> getResponseClass() {
60+
return DoActionsResponse.class;
61+
}
62+
63+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.ros.transform.v20150901.DoActionsResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class DoActionsResponse extends AcsResponse {
30+
31+
@Override
32+
public DoActionsResponse getInstance(UnmarshallerContext context) {
33+
return DoActionsResponseUnmarshaller.unmarshall(this, context);
34+
}
35+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.RoaAcsRequest;
22+
import com.aliyuncs.http.MethodType;
23+
24+
/**
25+
* @author auto create
26+
* @version
27+
*/
28+
public class InquiryStackRequest extends RoaAcsRequest<InquiryStackResponse> {
29+
30+
public InquiryStackRequest() {
31+
super("ROS", "2015-09-01", "InquiryStack");
32+
setUriPattern("/stacks/inquiry");
33+
setMethod(MethodType.POST);
34+
}
35+
36+
@Override
37+
public Class<InquiryStackResponse> getResponseClass() {
38+
return InquiryStackResponse.class;
39+
}
40+
41+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.ros.transform.v20150901.InquiryStackResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class InquiryStackResponse extends AcsResponse {
30+
31+
@Override
32+
public InquiryStackResponse getInstance(UnmarshallerContext context) {
33+
return InquiryStackResponseUnmarshaller.unmarshall(this, context);
34+
}
35+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.RoaAcsRequest;
22+
import com.aliyuncs.http.MethodType;
23+
24+
/**
25+
* @author auto create
26+
* @version
27+
*/
28+
public class PreviewStackRequest extends RoaAcsRequest<PreviewStackResponse> {
29+
30+
public PreviewStackRequest() {
31+
super("ROS", "2015-09-01", "PreviewStack");
32+
setUriPattern("/stacks/preview");
33+
setMethod(MethodType.POST);
34+
}
35+
36+
@Override
37+
public Class<PreviewStackResponse> getResponseClass() {
38+
return PreviewStackResponse.class;
39+
}
40+
41+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.ros.transform.v20150901.PreviewStackResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class PreviewStackResponse extends AcsResponse {
30+
31+
@Override
32+
public PreviewStackResponse getInstance(UnmarshallerContext context) {
33+
return PreviewStackResponseUnmarshaller.unmarshall(this, context);
34+
}
35+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.RoaAcsRequest;
22+
import com.aliyuncs.http.MethodType;
23+
24+
/**
25+
* @author auto create
26+
* @version
27+
*/
28+
public class UpdateStackRequest extends RoaAcsRequest<UpdateStackResponse> {
29+
30+
public UpdateStackRequest() {
31+
super("ROS", "2015-09-01", "UpdateStack");
32+
setUriPattern("/stacks/[StackName]/[StackId]");
33+
setMethod(MethodType.PUT);
34+
}
35+
36+
private String stackName;
37+
38+
private String stackId;
39+
40+
public String getStackName() {
41+
return this.stackName;
42+
}
43+
44+
public void setStackName(String stackName) {
45+
this.stackName = stackName;
46+
putPathParameter("StackName", stackName);
47+
}
48+
49+
public String getStackId() {
50+
return this.stackId;
51+
}
52+
53+
public void setStackId(String stackId) {
54+
this.stackId = stackId;
55+
putPathParameter("StackId", stackId);
56+
}
57+
58+
@Override
59+
public Class<UpdateStackResponse> getResponseClass() {
60+
return UpdateStackResponse.class;
61+
}
62+
63+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.ros.model.v20150901;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.ros.transform.v20150901.UpdateStackResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class UpdateStackResponse extends AcsResponse {
30+
31+
@Override
32+
public UpdateStackResponse getInstance(UnmarshallerContext context) {
33+
return UpdateStackResponseUnmarshaller.unmarshall(this, context);
34+
}
35+
}

0 commit comments

Comments
 (0)