Skip to content

Commit d9cf8c7

Browse files
committed
Generated 2020-06-01 for SWAS-OPEN.
1 parent 2d0d8f6 commit d9cf8c7

File tree

8 files changed

+299
-1
lines changed

8 files changed

+299
-1
lines changed

aliyun-java-sdk-swas-open/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-05-22 Version: 1.8.10
2+
- Generated 2020-06-01 for `SWAS-OPEN`.
3+
14
2024-03-13 Version: 1.8.9
25
- Generated 2020-06-01 for `SWAS-OPEN`.
36

aliyun-java-sdk-swas-open/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-swas-open</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.8.9</version>
7+
<version>1.8.10</version>
88
<name>aliyun-java-sdk-swas-open</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,62 @@
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.swas_open.model.v20200601;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class DeleteCustomImagesRequest extends RpcAcsRequest<DeleteCustomImagesResponse> {
25+
26+
27+
private String clientToken;
28+
29+
private String imageIds;
30+
public DeleteCustomImagesRequest() {
31+
super("SWAS-OPEN", "2020-06-01", "DeleteCustomImages", "SWAS-OPEN");
32+
setMethod(MethodType.POST);
33+
}
34+
35+
public String getClientToken() {
36+
return this.clientToken;
37+
}
38+
39+
public void setClientToken(String clientToken) {
40+
this.clientToken = clientToken;
41+
if(clientToken != null){
42+
putQueryParameter("ClientToken", clientToken);
43+
}
44+
}
45+
46+
public String getImageIds() {
47+
return this.imageIds;
48+
}
49+
50+
public void setImageIds(String imageIds) {
51+
this.imageIds = imageIds;
52+
if(imageIds != null){
53+
putQueryParameter("ImageIds", imageIds);
54+
}
55+
}
56+
57+
@Override
58+
public Class<DeleteCustomImagesResponse> getResponseClass() {
59+
return DeleteCustomImagesResponse.class;
60+
}
61+
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.swas_open.model.v20200601;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.swas_open.transform.v20200601.DeleteCustomImagesResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DeleteCustomImagesResponse 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 DeleteCustomImagesResponse getInstance(UnmarshallerContext context) {
39+
return DeleteCustomImagesResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
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.swas_open.model.v20200601;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DeleteFirewallRulesRequest extends RpcAcsRequest<DeleteFirewallRulesResponse> {
26+
27+
28+
private String clientToken;
29+
30+
private List<String> ruleIds;
31+
32+
private String instanceId;
33+
public DeleteFirewallRulesRequest() {
34+
super("SWAS-OPEN", "2020-06-01", "DeleteFirewallRules", "SWAS-OPEN");
35+
setMethod(MethodType.POST);
36+
}
37+
38+
public String getClientToken() {
39+
return this.clientToken;
40+
}
41+
42+
public void setClientToken(String clientToken) {
43+
this.clientToken = clientToken;
44+
if(clientToken != null){
45+
putQueryParameter("ClientToken", clientToken);
46+
}
47+
}
48+
49+
public List<String> getRuleIds() {
50+
return this.ruleIds;
51+
}
52+
53+
public void setRuleIds(List<String> ruleIds) {
54+
this.ruleIds = ruleIds;
55+
if (ruleIds != null) {
56+
String ruleIdsArrVal = "";
57+
for(int depth1 = 0; depth1 < ruleIds.size(); depth1++) {
58+
ruleIdsArrVal += ruleIds.get(depth1) + ",";
59+
}
60+
if (ruleIdsArrVal.length() > 0) {
61+
ruleIdsArrVal = ruleIdsArrVal.substring(0, ruleIdsArrVal.length() - 1);
62+
}
63+
putQueryParameter("RuleIds" , ruleIdsArrVal);
64+
}
65+
}
66+
67+
public String getInstanceId() {
68+
return this.instanceId;
69+
}
70+
71+
public void setInstanceId(String instanceId) {
72+
this.instanceId = instanceId;
73+
if(instanceId != null){
74+
putQueryParameter("InstanceId", instanceId);
75+
}
76+
}
77+
78+
@Override
79+
public Class<DeleteFirewallRulesResponse> getResponseClass() {
80+
return DeleteFirewallRulesResponse.class;
81+
}
82+
83+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.swas_open.model.v20200601;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.swas_open.transform.v20200601.DeleteFirewallRulesResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DeleteFirewallRulesResponse 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 DeleteFirewallRulesResponse getInstance(UnmarshallerContext context) {
39+
return DeleteFirewallRulesResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}
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.swas_open.transform.v20200601;
16+
17+
import com.aliyuncs.swas_open.model.v20200601.DeleteCustomImagesResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class DeleteCustomImagesResponseUnmarshaller {
22+
23+
public static DeleteCustomImagesResponse unmarshall(DeleteCustomImagesResponse deleteCustomImagesResponse, UnmarshallerContext _ctx) {
24+
25+
deleteCustomImagesResponse.setRequestId(_ctx.stringValue("DeleteCustomImagesResponse.RequestId"));
26+
27+
return deleteCustomImagesResponse;
28+
}
29+
}
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.swas_open.transform.v20200601;
16+
17+
import com.aliyuncs.swas_open.model.v20200601.DeleteFirewallRulesResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class DeleteFirewallRulesResponseUnmarshaller {
22+
23+
public static DeleteFirewallRulesResponse unmarshall(DeleteFirewallRulesResponse deleteFirewallRulesResponse, UnmarshallerContext _ctx) {
24+
25+
deleteFirewallRulesResponse.setRequestId(_ctx.stringValue("DeleteFirewallRulesResponse.RequestId"));
26+
27+
return deleteFirewallRulesResponse;
28+
}
29+
}

0 commit comments

Comments
 (0)