From 14ba8f04cb08dc970329a2850d651df88639b363 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 16 Jun 2020 10:28:50 +0800 Subject: [PATCH] Add sshkey apis. --- aliyun-java-sdk-ens/ChangeLog.txt | 3 + aliyun-java-sdk-ens/pom.xml | 2 +- .../v20171110/AllocateEipAddressRequest.java | 13 + .../v20171110/AllocateEipAddressResponse.java | 10 + .../AuthorizeSecurityGroupEgressRequest.java | 140 +++++++++++ .../AuthorizeSecurityGroupEgressResponse.java | 41 ++++ .../AuthorizeSecurityGroupRequest.java | 140 +++++++++++ .../AuthorizeSecurityGroupResponse.java | 41 ++++ .../v20171110/CreateInstanceRequest.java | 26 ++ .../model/v20171110/CreateKeyPairRequest.java | 62 +++++ .../v20171110/CreateKeyPairResponse.java | 81 ++++++ .../v20171110/CreateSecurityGroupRequest.java | 62 +++++ .../CreateSecurityGroupResponse.java | 51 ++++ .../v20171110/DeleteKeyPairsRequest.java | 62 +++++ .../v20171110/DeleteKeyPairsResponse.java | 41 ++++ .../v20171110/DeleteSecurityGroupRequest.java | 62 +++++ .../DeleteSecurityGroupResponse.java | 41 ++++ .../DescribeBandWithdChargeTypeRequest.java | 49 ++++ .../DescribeBandWithdChargeTypeResponse.java | 81 ++++++ ...eBandwitdhByInternetChargeTypeRequest.java | 101 ++++++++ ...BandwitdhByInternetChargeTypeResponse.java | 71 ++++++ .../v20171110/DescribeEnsNetLevelRequest.java | 49 ++++ .../DescribeEnsNetLevelResponse.java | 75 ++++++ .../DescribeEnsNetSaleDistrictRequest.java | 75 ++++++ .../DescribeEnsNetSaleDistrictResponse.java | 135 ++++++++++ .../DescribeEnsRegionIdResourceRequest.java | 127 ++++++++++ .../DescribeEnsRegionIdResourceResponse.java | 175 +++++++++++++ .../v20171110/DescribeInstancesResponse.java | 10 + .../v20171110/DescribeKeyPairsRequest.java | 88 +++++++ .../v20171110/DescribeKeyPairsResponse.java | 115 +++++++++ .../DescribeMeasurementDataResponse.java | 53 ++++ ...DescribeSecurityGroupAttributeRequest.java | 62 +++++ ...escribeSecurityGroupAttributeResponse.java | 165 +++++++++++++ .../DescribeSecurityGroupsRequest.java | 101 ++++++++ .../DescribeSecurityGroupsResponse.java | 115 +++++++++ .../DescribeUserBandWidthDataRequest.java | 13 + .../ExportBillDetailDataRequest.java | 75 ++++++ .../ExportBillDetailDataResponse.java | 51 ++++ .../model/v20171110/ImportKeyPairRequest.java | 75 ++++++ .../v20171110/ImportKeyPairResponse.java | 61 +++++ .../v20171110/JoinSecurityGroupRequest.java | 75 ++++++ .../v20171110/JoinSecurityGroupResponse.java | 41 ++++ .../v20171110/LeaveSecurityGroupRequest.java | 75 ++++++ .../v20171110/LeaveSecurityGroupResponse.java | 41 ++++ .../v20171110/PreCreateEnsServiceRequest.java | 231 ++++++++++++++++++ .../PreCreateEnsServiceResponse.java | 81 ++++++ .../RevokeSecurityGroupEgressRequest.java | 140 +++++++++++ .../RevokeSecurityGroupEgressResponse.java | 41 ++++ .../v20171110/RevokeSecurityGroupRequest.java | 140 +++++++++++ .../RevokeSecurityGroupResponse.java | 41 ++++ ...llocateEipAddressResponseUnmarshaller.java | 1 + ...curityGroupEgressResponseUnmarshaller.java | 29 +++ ...rizeSecurityGroupResponseUnmarshaller.java | 29 +++ .../CreateKeyPairResponseUnmarshaller.java | 33 +++ ...eateSecurityGroupResponseUnmarshaller.java | 30 +++ .../DeleteKeyPairsResponseUnmarshaller.java | 29 +++ ...leteSecurityGroupResponseUnmarshaller.java | 29 +++ ...ndWithdChargeTypeResponseUnmarshaller.java | 33 +++ ...nternetChargeTypeResponseUnmarshaller.java | 32 +++ ...scribeEnsNetLevelResponseUnmarshaller.java | 43 ++++ ...nsNetSaleDistrictResponseUnmarshaller.java | 49 ++++ ...sRegionIdResourceResponseUnmarshaller.java | 53 ++++ ...DescribeInstancesResponseUnmarshaller.java | 6 + .../DescribeKeyPairsResponseUnmarshaller.java | 47 ++++ ...beMeasurementDataResponseUnmarshaller.java | 15 +- ...ityGroupAttributeResponseUnmarshaller.java | 52 ++++ ...ibeSecurityGroupsResponseUnmarshaller.java | 47 ++++ ...ortBillDetailDataResponseUnmarshaller.java | 30 +++ .../ImportKeyPairResponseUnmarshaller.java | 31 +++ ...JoinSecurityGroupResponseUnmarshaller.java | 29 +++ ...eaveSecurityGroupResponseUnmarshaller.java | 29 +++ ...eCreateEnsServiceResponseUnmarshaller.java | 33 +++ ...curityGroupEgressResponseUnmarshaller.java | 29 +++ ...vokeSecurityGroupResponseUnmarshaller.java | 29 +++ 74 files changed, 4471 insertions(+), 2 deletions(-) create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupEgressResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateKeyPairResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateSecurityGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteKeyPairsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteSecurityGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandWithdChargeTypeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandwitdhByInternetChargeTypeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetLevelResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetSaleDistrictResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsRegionIdResourceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeKeyPairsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupAttributeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ExportBillDetailDataResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ImportKeyPairResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/JoinSecurityGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/LeaveSecurityGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/PreCreateEnsServiceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupEgressResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupResponseUnmarshaller.java diff --git a/aliyun-java-sdk-ens/ChangeLog.txt b/aliyun-java-sdk-ens/ChangeLog.txt index ee17e679fd..0c0f616d76 100644 --- a/aliyun-java-sdk-ens/ChangeLog.txt +++ b/aliyun-java-sdk-ens/ChangeLog.txt @@ -1,3 +1,6 @@ +2020-06-16 Version: 1.3.0 +- Add sshkey apis. + 2020-01-09 Version: 1.2.0 - Add New Interface DescribeInstanceTypes. - Deprecated New Interface DescribeReservedResource. diff --git a/aliyun-java-sdk-ens/pom.xml b/aliyun-java-sdk-ens/pom.xml index bc8bc9aef2..0f67cd9b33 100644 --- a/aliyun-java-sdk-ens/pom.xml +++ b/aliyun-java-sdk-ens/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-ens jar - 1.2.0 + 1.3.0 aliyun-java-sdk-ens http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressRequest.java index d4f2caa2aa..c1007320ed 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressRequest.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressRequest.java @@ -24,6 +24,8 @@ public class AllocateEipAddressRequest extends RpcAcsRequest { + private Integer minCount; + private String ensRegionId; private Integer count; @@ -34,6 +36,17 @@ public AllocateEipAddressRequest() { setMethod(MethodType.POST); } + public Integer getMinCount() { + return this.minCount; + } + + public void setMinCount(Integer minCount) { + this.minCount = minCount; + if(minCount != null){ + putQueryParameter("MinCount", minCount.toString()); + } + } + public String getEnsRegionId() { return this.ensRegionId; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressResponse.java index 726254594e..399fae3c01 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressResponse.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AllocateEipAddressResponse.java @@ -27,6 +27,8 @@ public class AllocateEipAddressResponse extends AcsResponse { private String requestId; + private String bizStatusCode; + private List eipAddresses; public String getRequestId() { @@ -37,6 +39,14 @@ public void setRequestId(String requestId) { this.requestId = requestId; } + public String getBizStatusCode() { + return this.bizStatusCode; + } + + public void setBizStatusCode(String bizStatusCode) { + this.bizStatusCode = bizStatusCode; + } + public List getEipAddresses() { return this.eipAddresses; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressRequest.java new file mode 100644 index 0000000000..eaa33262f3 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressRequest.java @@ -0,0 +1,140 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class AuthorizeSecurityGroupEgressRequest extends RpcAcsRequest { + + + private String sourcePortRange; + + private String securityGroupId; + + private String policy; + + private String portRange; + + private String ipProtocol; + + private Integer priority; + + private String version; + + private String destCidrIp; + public AuthorizeSecurityGroupEgressRequest() { + super("Ens", "2017-11-10", "AuthorizeSecurityGroupEgress", "ens"); + setMethod(MethodType.POST); + } + + public String getSourcePortRange() { + return this.sourcePortRange; + } + + public void setSourcePortRange(String sourcePortRange) { + this.sourcePortRange = sourcePortRange; + if(sourcePortRange != null){ + putQueryParameter("SourcePortRange", sourcePortRange); + } + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getPolicy() { + return this.policy; + } + + public void setPolicy(String policy) { + this.policy = policy; + if(policy != null){ + putQueryParameter("Policy", policy); + } + } + + public String getPortRange() { + return this.portRange; + } + + public void setPortRange(String portRange) { + this.portRange = portRange; + if(portRange != null){ + putQueryParameter("PortRange", portRange); + } + } + + public String getIpProtocol() { + return this.ipProtocol; + } + + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + if(ipProtocol != null){ + putQueryParameter("IpProtocol", ipProtocol); + } + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + if(priority != null){ + putQueryParameter("Priority", priority.toString()); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getDestCidrIp() { + return this.destCidrIp; + } + + public void setDestCidrIp(String destCidrIp) { + this.destCidrIp = destCidrIp; + if(destCidrIp != null){ + putQueryParameter("DestCidrIp", destCidrIp); + } + } + + @Override + public Class getResponseClass() { + return AuthorizeSecurityGroupEgressResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressResponse.java new file mode 100644 index 0000000000..7079576002 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupEgressResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.AuthorizeSecurityGroupEgressResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AuthorizeSecurityGroupEgressResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public AuthorizeSecurityGroupEgressResponse getInstance(UnmarshallerContext context) { + return AuthorizeSecurityGroupEgressResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupRequest.java new file mode 100644 index 0000000000..4fa4ba2236 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupRequest.java @@ -0,0 +1,140 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class AuthorizeSecurityGroupRequest extends RpcAcsRequest { + + + private String sourcePortRange; + + private String securityGroupId; + + private String policy; + + private String portRange; + + private String ipProtocol; + + private String sourceCidrIp; + + private Integer priority; + + private String version; + public AuthorizeSecurityGroupRequest() { + super("Ens", "2017-11-10", "AuthorizeSecurityGroup", "ens"); + setMethod(MethodType.POST); + } + + public String getSourcePortRange() { + return this.sourcePortRange; + } + + public void setSourcePortRange(String sourcePortRange) { + this.sourcePortRange = sourcePortRange; + if(sourcePortRange != null){ + putQueryParameter("SourcePortRange", sourcePortRange); + } + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getPolicy() { + return this.policy; + } + + public void setPolicy(String policy) { + this.policy = policy; + if(policy != null){ + putQueryParameter("Policy", policy); + } + } + + public String getPortRange() { + return this.portRange; + } + + public void setPortRange(String portRange) { + this.portRange = portRange; + if(portRange != null){ + putQueryParameter("PortRange", portRange); + } + } + + public String getIpProtocol() { + return this.ipProtocol; + } + + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + if(ipProtocol != null){ + putQueryParameter("IpProtocol", ipProtocol); + } + } + + public String getSourceCidrIp() { + return this.sourceCidrIp; + } + + public void setSourceCidrIp(String sourceCidrIp) { + this.sourceCidrIp = sourceCidrIp; + if(sourceCidrIp != null){ + putQueryParameter("SourceCidrIp", sourceCidrIp); + } + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + if(priority != null){ + putQueryParameter("Priority", priority.toString()); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return AuthorizeSecurityGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupResponse.java new file mode 100644 index 0000000000..064449f1e0 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/AuthorizeSecurityGroupResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.AuthorizeSecurityGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AuthorizeSecurityGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public AuthorizeSecurityGroupResponse getInstance(UnmarshallerContext context) { + return AuthorizeSecurityGroupResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateInstanceRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateInstanceRequest.java index 366b0f4f4c..2ae08ded16 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateInstanceRequest.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateInstanceRequest.java @@ -26,6 +26,10 @@ public class CreateInstanceRequest extends RpcAcsRequest private String imageId; + private String keyPairName; + + private String userData; + private String password; private String ensRegionId; @@ -67,6 +71,28 @@ public void setImageId(String imageId) { } } + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + if(keyPairName != null){ + putQueryParameter("KeyPairName", keyPairName); + } + } + + public String getUserData() { + return this.userData; + } + + public void setUserData(String userData) { + this.userData = userData; + if(userData != null){ + putQueryParameter("UserData", userData); + } + } + public String getPassword() { return this.password; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairRequest.java new file mode 100644 index 0000000000..41edc91825 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateKeyPairRequest extends RpcAcsRequest { + + + private String keyPairName; + + private String version; + public CreateKeyPairRequest() { + super("Ens", "2017-11-10", "CreateKeyPair", "ens"); + setMethod(MethodType.POST); + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + if(keyPairName != null){ + putQueryParameter("KeyPairName", keyPairName); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return CreateKeyPairResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairResponse.java new file mode 100644 index 0000000000..cc65fc8963 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateKeyPairResponse.java @@ -0,0 +1,81 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.CreateKeyPairResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateKeyPairResponse extends AcsResponse { + + private String requestId; + + private String keyPairId; + + private String privateKeyBody; + + private String keyPairName; + + private String keyPairFingerPrint; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getKeyPairId() { + return this.keyPairId; + } + + public void setKeyPairId(String keyPairId) { + this.keyPairId = keyPairId; + } + + public String getPrivateKeyBody() { + return this.privateKeyBody; + } + + public void setPrivateKeyBody(String privateKeyBody) { + this.privateKeyBody = privateKeyBody; + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + } + + public String getKeyPairFingerPrint() { + return this.keyPairFingerPrint; + } + + public void setKeyPairFingerPrint(String keyPairFingerPrint) { + this.keyPairFingerPrint = keyPairFingerPrint; + } + + @Override + public CreateKeyPairResponse getInstance(UnmarshallerContext context) { + return CreateKeyPairResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupRequest.java new file mode 100644 index 0000000000..4441739927 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateSecurityGroupRequest extends RpcAcsRequest { + + + private String securityGroupName; + + private String version; + public CreateSecurityGroupRequest() { + super("Ens", "2017-11-10", "CreateSecurityGroup", "ens"); + setMethod(MethodType.POST); + } + + public String getSecurityGroupName() { + return this.securityGroupName; + } + + public void setSecurityGroupName(String securityGroupName) { + this.securityGroupName = securityGroupName; + if(securityGroupName != null){ + putQueryParameter("SecurityGroupName", securityGroupName); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return CreateSecurityGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupResponse.java new file mode 100644 index 0000000000..442a50de92 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSecurityGroupResponse.java @@ -0,0 +1,51 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.CreateSecurityGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateSecurityGroupResponse extends AcsResponse { + + private String requestId; + + private String securityGroupId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + } + + @Override + public CreateSecurityGroupResponse getInstance(UnmarshallerContext context) { + return CreateSecurityGroupResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsRequest.java new file mode 100644 index 0000000000..b3ae42294f --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteKeyPairsRequest extends RpcAcsRequest { + + + private String keyPairName; + + private String version; + public DeleteKeyPairsRequest() { + super("Ens", "2017-11-10", "DeleteKeyPairs", "ens"); + setMethod(MethodType.POST); + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + if(keyPairName != null){ + putQueryParameter("KeyPairName", keyPairName); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DeleteKeyPairsResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsResponse.java new file mode 100644 index 0000000000..0dbb1af031 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteKeyPairsResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DeleteKeyPairsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteKeyPairsResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteKeyPairsResponse getInstance(UnmarshallerContext context) { + return DeleteKeyPairsResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupRequest.java new file mode 100644 index 0000000000..8ba50a7e7b --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteSecurityGroupRequest extends RpcAcsRequest { + + + private String securityGroupId; + + private String version; + public DeleteSecurityGroupRequest() { + super("Ens", "2017-11-10", "DeleteSecurityGroup", "ens"); + setMethod(MethodType.POST); + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DeleteSecurityGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupResponse.java new file mode 100644 index 0000000000..3a4a6e361d --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteSecurityGroupResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DeleteSecurityGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteSecurityGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteSecurityGroupResponse getInstance(UnmarshallerContext context) { + return DeleteSecurityGroupResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeRequest.java new file mode 100644 index 0000000000..f647972bc3 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeRequest.java @@ -0,0 +1,49 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeBandWithdChargeTypeRequest extends RpcAcsRequest { + + + private String version; + public DescribeBandWithdChargeTypeRequest() { + super("Ens", "2017-11-10", "DescribeBandWithdChargeType", "ens"); + setMethod(MethodType.POST); + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeBandWithdChargeTypeResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeResponse.java new file mode 100644 index 0000000000..13f66fa529 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandWithdChargeTypeResponse.java @@ -0,0 +1,81 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeBandWithdChargeTypeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeBandWithdChargeTypeResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String bandWithTypeInfo; + + private String chargeCycleInfo; + + private String chargeContractType; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getBandWithTypeInfo() { + return this.bandWithTypeInfo; + } + + public void setBandWithTypeInfo(String bandWithTypeInfo) { + this.bandWithTypeInfo = bandWithTypeInfo; + } + + public String getChargeCycleInfo() { + return this.chargeCycleInfo; + } + + public void setChargeCycleInfo(String chargeCycleInfo) { + this.chargeCycleInfo = chargeCycleInfo; + } + + public String getChargeContractType() { + return this.chargeContractType; + } + + public void setChargeContractType(String chargeContractType) { + this.chargeContractType = chargeContractType; + } + + @Override + public DescribeBandWithdChargeTypeResponse getInstance(UnmarshallerContext context) { + return DescribeBandWithdChargeTypeResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeRequest.java new file mode 100644 index 0000000000..e1aab91652 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeRequest.java @@ -0,0 +1,101 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeBandwitdhByInternetChargeTypeRequest extends RpcAcsRequest { + + + private String isp; + + private String startTime; + + private String ensRegionId; + + private String endTime; + + private String version; + public DescribeBandwitdhByInternetChargeTypeRequest() { + super("Ens", "2017-11-10", "DescribeBandwitdhByInternetChargeType", "ens"); + setMethod(MethodType.POST); + } + + public String getIsp() { + return this.isp; + } + + public void setIsp(String isp) { + this.isp = isp; + if(isp != null){ + putQueryParameter("Isp", isp); + } + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public String getEnsRegionId() { + return this.ensRegionId; + } + + public void setEnsRegionId(String ensRegionId) { + this.ensRegionId = ensRegionId; + if(ensRegionId != null){ + putQueryParameter("EnsRegionId", ensRegionId); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeBandwitdhByInternetChargeTypeResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeResponse.java new file mode 100644 index 0000000000..21cd5ca369 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeBandwitdhByInternetChargeTypeResponse.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeBandwitdhByInternetChargeTypeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeBandwitdhByInternetChargeTypeResponse extends AcsResponse { + + private String requestId; + + private String internetChargeType; + + private Long bandwidthValue; + + private String timeStamp; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getInternetChargeType() { + return this.internetChargeType; + } + + public void setInternetChargeType(String internetChargeType) { + this.internetChargeType = internetChargeType; + } + + public Long getBandwidthValue() { + return this.bandwidthValue; + } + + public void setBandwidthValue(Long bandwidthValue) { + this.bandwidthValue = bandwidthValue; + } + + public String getTimeStamp() { + return this.timeStamp; + } + + public void setTimeStamp(String timeStamp) { + this.timeStamp = timeStamp; + } + + @Override + public DescribeBandwitdhByInternetChargeTypeResponse getInstance(UnmarshallerContext context) { + return DescribeBandwitdhByInternetChargeTypeResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelRequest.java new file mode 100644 index 0000000000..a393febbc4 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelRequest.java @@ -0,0 +1,49 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeEnsNetLevelRequest extends RpcAcsRequest { + + + private String version; + public DescribeEnsNetLevelRequest() { + super("Ens", "2017-11-10", "DescribeEnsNetLevel", "ens"); + setMethod(MethodType.POST); + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeEnsNetLevelResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelResponse.java new file mode 100644 index 0000000000..d7b18f9ac4 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetLevelResponse.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeEnsNetLevelResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeEnsNetLevelResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private List ensNetLevels; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public List getEnsNetLevels() { + return this.ensNetLevels; + } + + public void setEnsNetLevels(List ensNetLevels) { + this.ensNetLevels = ensNetLevels; + } + + public static class EnsNetLevel { + + private String ensNetLevelCode; + + public String getEnsNetLevelCode() { + return this.ensNetLevelCode; + } + + public void setEnsNetLevelCode(String ensNetLevelCode) { + this.ensNetLevelCode = ensNetLevelCode; + } + } + + @Override + public DescribeEnsNetLevelResponse getInstance(UnmarshallerContext context) { + return DescribeEnsNetLevelResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictRequest.java new file mode 100644 index 0000000000..0607bc0d04 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeEnsNetSaleDistrictRequest extends RpcAcsRequest { + + + private String netLevelCode; + + private String netDistrictCode; + + private String version; + public DescribeEnsNetSaleDistrictRequest() { + super("Ens", "2017-11-10", "DescribeEnsNetSaleDistrict", "ens"); + setMethod(MethodType.POST); + } + + public String getNetLevelCode() { + return this.netLevelCode; + } + + public void setNetLevelCode(String netLevelCode) { + this.netLevelCode = netLevelCode; + if(netLevelCode != null){ + putQueryParameter("NetLevelCode", netLevelCode); + } + } + + public String getNetDistrictCode() { + return this.netDistrictCode; + } + + public void setNetDistrictCode(String netDistrictCode) { + this.netDistrictCode = netDistrictCode; + if(netDistrictCode != null){ + putQueryParameter("NetDistrictCode", netDistrictCode); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeEnsNetSaleDistrictResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictResponse.java new file mode 100644 index 0000000000..95ff09ccc7 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsNetSaleDistrictResponse.java @@ -0,0 +1,135 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeEnsNetSaleDistrictResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeEnsNetSaleDistrictResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private List ensNetDistricts; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public List getEnsNetDistricts() { + return this.ensNetDistricts; + } + + public void setEnsNetDistricts(List ensNetDistricts) { + this.ensNetDistricts = ensNetDistricts; + } + + public static class EnsNetDistrict { + + private String netDistrictCode; + + private String netDistrictName; + + private String ensRegionIdCount; + + private String netDistrictLevel; + + private String netDistrictFatherCode; + + private String netDistrictEnName; + + private String instanceCount; + + public String getNetDistrictCode() { + return this.netDistrictCode; + } + + public void setNetDistrictCode(String netDistrictCode) { + this.netDistrictCode = netDistrictCode; + } + + public String getNetDistrictName() { + return this.netDistrictName; + } + + public void setNetDistrictName(String netDistrictName) { + this.netDistrictName = netDistrictName; + } + + public String getEnsRegionIdCount() { + return this.ensRegionIdCount; + } + + public void setEnsRegionIdCount(String ensRegionIdCount) { + this.ensRegionIdCount = ensRegionIdCount; + } + + public String getNetDistrictLevel() { + return this.netDistrictLevel; + } + + public void setNetDistrictLevel(String netDistrictLevel) { + this.netDistrictLevel = netDistrictLevel; + } + + public String getNetDistrictFatherCode() { + return this.netDistrictFatherCode; + } + + public void setNetDistrictFatherCode(String netDistrictFatherCode) { + this.netDistrictFatherCode = netDistrictFatherCode; + } + + public String getNetDistrictEnName() { + return this.netDistrictEnName; + } + + public void setNetDistrictEnName(String netDistrictEnName) { + this.netDistrictEnName = netDistrictEnName; + } + + public String getInstanceCount() { + return this.instanceCount; + } + + public void setInstanceCount(String instanceCount) { + this.instanceCount = instanceCount; + } + } + + @Override + public DescribeEnsNetSaleDistrictResponse getInstance(UnmarshallerContext context) { + return DescribeEnsNetSaleDistrictResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceRequest.java new file mode 100644 index 0000000000..23bf8368a7 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceRequest.java @@ -0,0 +1,127 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeEnsRegionIdResourceRequest extends RpcAcsRequest { + + + private String isp; + + private String startTime; + + private Integer pageNumber; + + private String orderByParams; + + private String pageSize; + + private String endTime; + + private String version; + public DescribeEnsRegionIdResourceRequest() { + super("Ens", "2017-11-10", "DescribeEnsRegionIdResource", "ens"); + setMethod(MethodType.POST); + } + + public String getIsp() { + return this.isp; + } + + public void setIsp(String isp) { + this.isp = isp; + if(isp != null){ + putQueryParameter("Isp", isp); + } + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getOrderByParams() { + return this.orderByParams; + } + + public void setOrderByParams(String orderByParams) { + this.orderByParams = orderByParams; + if(orderByParams != null){ + putQueryParameter("OrderByParams", orderByParams); + } + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeEnsRegionIdResourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceResponse.java new file mode 100644 index 0000000000..42f40829a3 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeEnsRegionIdResourceResponse.java @@ -0,0 +1,175 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeEnsRegionIdResourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeEnsRegionIdResourceResponse extends AcsResponse { + + private String requestId; + + private Integer totalCount; + + private Integer pageNumber; + + private Integer pageSize; + + private List ensRegionIdResources; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getEnsRegionIdResources() { + return this.ensRegionIdResources; + } + + public void setEnsRegionIdResources(List ensRegionIdResources) { + this.ensRegionIdResources = ensRegionIdResources; + } + + public static class EnsRegionIdResource { + + private String area; + + private String areaCode; + + private String ensRegionId; + + private String ensRegionIdName; + + private Integer vCpu; + + private Integer internetBandwidth; + + private String isp; + + private String bizDate; + + private Integer instanceCount; + + public String getArea() { + return this.area; + } + + public void setArea(String area) { + this.area = area; + } + + public String getAreaCode() { + return this.areaCode; + } + + public void setAreaCode(String areaCode) { + this.areaCode = areaCode; + } + + public String getEnsRegionId() { + return this.ensRegionId; + } + + public void setEnsRegionId(String ensRegionId) { + this.ensRegionId = ensRegionId; + } + + public String getEnsRegionIdName() { + return this.ensRegionIdName; + } + + public void setEnsRegionIdName(String ensRegionIdName) { + this.ensRegionIdName = ensRegionIdName; + } + + public Integer getVCpu() { + return this.vCpu; + } + + public void setVCpu(Integer vCpu) { + this.vCpu = vCpu; + } + + public Integer getInternetBandwidth() { + return this.internetBandwidth; + } + + public void setInternetBandwidth(Integer internetBandwidth) { + this.internetBandwidth = internetBandwidth; + } + + public String getIsp() { + return this.isp; + } + + public void setIsp(String isp) { + this.isp = isp; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public Integer getInstanceCount() { + return this.instanceCount; + } + + public void setInstanceCount(Integer instanceCount) { + this.instanceCount = instanceCount; + } + } + + @Override + public DescribeEnsRegionIdResourceResponse getInstance(UnmarshallerContext context) { + return DescribeEnsRegionIdResourceResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesResponse.java index a8c9bb6251..0a0ce86f90 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesResponse.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesResponse.java @@ -123,6 +123,8 @@ public static class Instance { private List privateIpAddresses; + private List securityGroupIds; + private List innerIpAddress; private List publicIpAddress; @@ -273,6 +275,14 @@ public void setPrivateIpAddresses(List privateIpAddresses) { this.privateIpAddresses = privateIpAddresses; } + public List getSecurityGroupIds() { + return this.securityGroupIds; + } + + public void setSecurityGroupIds(List securityGroupIds) { + this.securityGroupIds = securityGroupIds; + } + public List getInnerIpAddress() { return this.innerIpAddress; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsRequest.java new file mode 100644 index 0000000000..ed36abfd34 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsRequest.java @@ -0,0 +1,88 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeKeyPairsRequest extends RpcAcsRequest { + + + private String keyPairName; + + private String pageNumber; + + private String pageSize; + + private String version; + public DescribeKeyPairsRequest() { + super("Ens", "2017-11-10", "DescribeKeyPairs", "ens"); + setMethod(MethodType.POST); + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + if(keyPairName != null){ + putQueryParameter("KeyPairName", keyPairName); + } + } + + public String getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber); + } + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeKeyPairsResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsResponse.java new file mode 100644 index 0000000000..99f289e481 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeKeyPairsResponse.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeKeyPairsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeKeyPairsResponse extends AcsResponse { + + private String requestId; + + private Integer totalCount; + + private Integer pageNumber; + + private Integer pageSize; + + private List keyPairs; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getKeyPairs() { + return this.keyPairs; + } + + public void setKeyPairs(List keyPairs) { + this.keyPairs = keyPairs; + } + + public static class KeyPair { + + private String creationTime; + + private String keyPairName; + + private String keyPairFingerPrint; + + public String getCreationTime() { + return this.creationTime; + } + + public void setCreationTime(String creationTime) { + this.creationTime = creationTime; + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + } + + public String getKeyPairFingerPrint() { + return this.keyPairFingerPrint; + } + + public void setKeyPairFingerPrint(String keyPairFingerPrint) { + this.keyPairFingerPrint = keyPairFingerPrint; + } + } + + @Override + public DescribeKeyPairsResponse getInstance(UnmarshallerContext context) { + return DescribeKeyPairsResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeMeasurementDataResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeMeasurementDataResponse.java index 6c64ac3586..6b35106719 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeMeasurementDataResponse.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeMeasurementDataResponse.java @@ -57,6 +57,8 @@ public static class MeasurementData { private List bandWidthFeeDatas; + private List resourceFeeDataDetails; + private ResourceFeeData resourceFeeData; public String getChargeModel() { @@ -99,6 +101,14 @@ public void setBandWidthFeeDatas(List bandWidthFeeDatas) { this.bandWidthFeeDatas = bandWidthFeeDatas; } + public List getResourceFeeDataDetails() { + return this.resourceFeeDataDetails; + } + + public void setResourceFeeDataDetails(List resourceFeeDataDetails) { + this.resourceFeeDataDetails = resourceFeeDataDetails; + } + public ResourceFeeData getResourceFeeData() { return this.resourceFeeData; } @@ -140,6 +150,49 @@ public void setCostName(String costName) { } } + public static class ResourceFeeDataDetail { + + private Integer costVal; + + private String costCode; + + private String costName; + + private String resourceType; + + public Integer getCostVal() { + return this.costVal; + } + + public void setCostVal(Integer costVal) { + this.costVal = costVal; + } + + public String getCostCode() { + return this.costCode; + } + + public void setCostCode(String costCode) { + this.costCode = costCode; + } + + public String getCostName() { + return this.costName; + } + + public void setCostName(String costName) { + this.costName = costName; + } + + public String getResourceType() { + return this.resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + } + public static class ResourceFeeData { private Integer storage; diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeRequest.java new file mode 100644 index 0000000000..9887900854 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityGroupAttributeRequest extends RpcAcsRequest { + + + private String securityGroupId; + + private String version; + public DescribeSecurityGroupAttributeRequest() { + super("Ens", "2017-11-10", "DescribeSecurityGroupAttribute", "ens"); + setMethod(MethodType.POST); + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeSecurityGroupAttributeResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeResponse.java new file mode 100644 index 0000000000..ff1378f683 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupAttributeResponse.java @@ -0,0 +1,165 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeSecurityGroupAttributeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityGroupAttributeResponse extends AcsResponse { + + private String requestId; + + private String securityGroupId; + + private List permissions; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + } + + public List getPermissions() { + return this.permissions; + } + + public void setPermissions(List permissions) { + this.permissions = permissions; + } + + public static class Permission { + + private String destCidrIp; + + private String sourceCidrIp; + + private String ipProtocol; + + private Integer priority; + + private String policy; + + private String direction; + + private String creationTime; + + private String creationTime1; + + private String portRange; + + private String sourcePortRange; + + public String getDestCidrIp() { + return this.destCidrIp; + } + + public void setDestCidrIp(String destCidrIp) { + this.destCidrIp = destCidrIp; + } + + public String getSourceCidrIp() { + return this.sourceCidrIp; + } + + public void setSourceCidrIp(String sourceCidrIp) { + this.sourceCidrIp = sourceCidrIp; + } + + public String getIpProtocol() { + return this.ipProtocol; + } + + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public String getPolicy() { + return this.policy; + } + + public void setPolicy(String policy) { + this.policy = policy; + } + + public String getDirection() { + return this.direction; + } + + public void setDirection(String direction) { + this.direction = direction; + } + + public String getCreationTime() { + return this.creationTime; + } + + public void setCreationTime(String creationTime) { + this.creationTime = creationTime; + } + + public String getCreationTime1() { + return this.creationTime1; + } + + public void setCreationTime1(String creationTime1) { + this.creationTime1 = creationTime1; + } + + public String getPortRange() { + return this.portRange; + } + + public void setPortRange(String portRange) { + this.portRange = portRange; + } + + public String getSourcePortRange() { + return this.sourcePortRange; + } + + public void setSourcePortRange(String sourcePortRange) { + this.sourcePortRange = sourcePortRange; + } + } + + @Override + public DescribeSecurityGroupAttributeResponse getInstance(UnmarshallerContext context) { + return DescribeSecurityGroupAttributeResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsRequest.java new file mode 100644 index 0000000000..3ccf41ef5c --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsRequest.java @@ -0,0 +1,101 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityGroupsRequest extends RpcAcsRequest { + + + private String securityGroupId; + + private String securityGroupName; + + private Integer pageNumber; + + private Integer pageSize; + + private String version; + public DescribeSecurityGroupsRequest() { + super("Ens", "2017-11-10", "DescribeSecurityGroups", "ens"); + setMethod(MethodType.POST); + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getSecurityGroupName() { + return this.securityGroupName; + } + + public void setSecurityGroupName(String securityGroupName) { + this.securityGroupName = securityGroupName; + if(securityGroupName != null){ + putQueryParameter("SecurityGroupName", securityGroupName); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return DescribeSecurityGroupsResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsResponse.java new file mode 100644 index 0000000000..bf492f4e1d --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSecurityGroupsResponse.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.DescribeSecurityGroupsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityGroupsResponse extends AcsResponse { + + private String requestId; + + private Integer totalCount; + + private Integer pageNumber; + + private Integer pageSize; + + private List securityGroups; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getSecurityGroups() { + return this.securityGroups; + } + + public void setSecurityGroups(List securityGroups) { + this.securityGroups = securityGroups; + } + + public static class SecurityGroup { + + private String securityGroupId; + + private String creationTime; + + private String securityGroupName; + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + } + + public String getCreationTime() { + return this.creationTime; + } + + public void setCreationTime(String creationTime) { + this.creationTime = creationTime; + } + + public String getSecurityGroupName() { + return this.securityGroupName; + } + + public void setSecurityGroupName(String securityGroupName) { + this.securityGroupName = securityGroupName; + } + } + + @Override + public DescribeSecurityGroupsResponse getInstance(UnmarshallerContext context) { + return DescribeSecurityGroupsResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeUserBandWidthDataRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeUserBandWidthDataRequest.java index 9068554cd9..24ef2d0b82 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeUserBandWidthDataRequest.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeUserBandWidthDataRequest.java @@ -24,6 +24,8 @@ public class DescribeUserBandWidthDataRequest extends RpcAcsRequest { + private String isp; + private String startTime; private String ensRegionId; @@ -40,6 +42,17 @@ public DescribeUserBandWidthDataRequest() { setMethod(MethodType.POST); } + public String getIsp() { + return this.isp; + } + + public void setIsp(String isp) { + this.isp = isp; + if(isp != null){ + putQueryParameter("Isp", isp); + } + } + public String getStartTime() { return this.startTime; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataRequest.java new file mode 100644 index 0000000000..d201f0a312 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ExportBillDetailDataRequest extends RpcAcsRequest { + + + private String startDate; + + private String version; + + private String endDate; + public ExportBillDetailDataRequest() { + super("Ens", "2017-11-10", "ExportBillDetailData", "ens"); + setMethod(MethodType.POST); + } + + public String getStartDate() { + return this.startDate; + } + + public void setStartDate(String startDate) { + this.startDate = startDate; + if(startDate != null){ + putQueryParameter("StartDate", startDate); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getEndDate() { + return this.endDate; + } + + public void setEndDate(String endDate) { + this.endDate = endDate; + if(endDate != null){ + putQueryParameter("EndDate", endDate); + } + } + + @Override + public Class getResponseClass() { + return ExportBillDetailDataResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataResponse.java new file mode 100644 index 0000000000..e7b5796af1 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ExportBillDetailDataResponse.java @@ -0,0 +1,51 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.ExportBillDetailDataResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ExportBillDetailDataResponse extends AcsResponse { + + private String requestId; + + private String filePath; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getFilePath() { + return this.filePath; + } + + public void setFilePath(String filePath) { + this.filePath = filePath; + } + + @Override + public ExportBillDetailDataResponse getInstance(UnmarshallerContext context) { + return ExportBillDetailDataResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairRequest.java new file mode 100644 index 0000000000..a720a221b5 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ImportKeyPairRequest extends RpcAcsRequest { + + + private String keyPairName; + + private String publicKeyBody; + + private String version; + public ImportKeyPairRequest() { + super("Ens", "2017-11-10", "ImportKeyPair", "ens"); + setMethod(MethodType.POST); + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + if(keyPairName != null){ + putQueryParameter("KeyPairName", keyPairName); + } + } + + public String getPublicKeyBody() { + return this.publicKeyBody; + } + + public void setPublicKeyBody(String publicKeyBody) { + this.publicKeyBody = publicKeyBody; + if(publicKeyBody != null){ + putQueryParameter("PublicKeyBody", publicKeyBody); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return ImportKeyPairResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairResponse.java new file mode 100644 index 0000000000..3a72befbe3 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ImportKeyPairResponse.java @@ -0,0 +1,61 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.ImportKeyPairResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ImportKeyPairResponse extends AcsResponse { + + private String requestId; + + private String keyPairName; + + private String keyPairFingerPrint; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + } + + public String getKeyPairFingerPrint() { + return this.keyPairFingerPrint; + } + + public void setKeyPairFingerPrint(String keyPairFingerPrint) { + this.keyPairFingerPrint = keyPairFingerPrint; + } + + @Override + public ImportKeyPairResponse getInstance(UnmarshallerContext context) { + return ImportKeyPairResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupRequest.java new file mode 100644 index 0000000000..93afd58d9d --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class JoinSecurityGroupRequest extends RpcAcsRequest { + + + private String securityGroupId; + + private String version; + + private String instanceId; + public JoinSecurityGroupRequest() { + super("Ens", "2017-11-10", "JoinSecurityGroup", "ens"); + setMethod(MethodType.POST); + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return JoinSecurityGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupResponse.java new file mode 100644 index 0000000000..4277d0a585 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/JoinSecurityGroupResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.JoinSecurityGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class JoinSecurityGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public JoinSecurityGroupResponse getInstance(UnmarshallerContext context) { + return JoinSecurityGroupResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupRequest.java new file mode 100644 index 0000000000..87184d9d67 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class LeaveSecurityGroupRequest extends RpcAcsRequest { + + + private String securityGroupId; + + private String version; + + private String instanceId; + public LeaveSecurityGroupRequest() { + super("Ens", "2017-11-10", "LeaveSecurityGroup", "ens"); + setMethod(MethodType.POST); + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return LeaveSecurityGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupResponse.java new file mode 100644 index 0000000000..7602a30bc7 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/LeaveSecurityGroupResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.LeaveSecurityGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class LeaveSecurityGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public LeaveSecurityGroupResponse getInstance(UnmarshallerContext context) { + return LeaveSecurityGroupResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceRequest.java new file mode 100644 index 0000000000..24403cf3f5 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceRequest.java @@ -0,0 +1,231 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class PreCreateEnsServiceRequest extends RpcAcsRequest { + + + private String bandwidthType; + + private String schedulingPriceStrategy; + + private String imageId; + + private String instanceSpec; + + private String keyPairName; + + private String userData; + + private String password; + + private String buyResourcesDetail; + + private String systemDiskSize; + + private String instanceBandwithdLimit; + + private String ensServiceName; + + private String version; + + private String netLevel; + + private String schedulingStrategy; + + private String dataDiskSize; + public PreCreateEnsServiceRequest() { + super("Ens", "2017-11-10", "PreCreateEnsService", "ens"); + setMethod(MethodType.POST); + } + + public String getBandwidthType() { + return this.bandwidthType; + } + + public void setBandwidthType(String bandwidthType) { + this.bandwidthType = bandwidthType; + if(bandwidthType != null){ + putQueryParameter("BandwidthType", bandwidthType); + } + } + + public String getSchedulingPriceStrategy() { + return this.schedulingPriceStrategy; + } + + public void setSchedulingPriceStrategy(String schedulingPriceStrategy) { + this.schedulingPriceStrategy = schedulingPriceStrategy; + if(schedulingPriceStrategy != null){ + putQueryParameter("SchedulingPriceStrategy", schedulingPriceStrategy); + } + } + + public String getImageId() { + return this.imageId; + } + + public void setImageId(String imageId) { + this.imageId = imageId; + if(imageId != null){ + putQueryParameter("ImageId", imageId); + } + } + + public String getInstanceSpec() { + return this.instanceSpec; + } + + public void setInstanceSpec(String instanceSpec) { + this.instanceSpec = instanceSpec; + if(instanceSpec != null){ + putQueryParameter("InstanceSpec", instanceSpec); + } + } + + public String getKeyPairName() { + return this.keyPairName; + } + + public void setKeyPairName(String keyPairName) { + this.keyPairName = keyPairName; + if(keyPairName != null){ + putQueryParameter("KeyPairName", keyPairName); + } + } + + public String getUserData() { + return this.userData; + } + + public void setUserData(String userData) { + this.userData = userData; + if(userData != null){ + putQueryParameter("UserData", userData); + } + } + + public String getPassword() { + return this.password; + } + + public void setPassword(String password) { + this.password = password; + if(password != null){ + putQueryParameter("Password", password); + } + } + + public String getBuyResourcesDetail() { + return this.buyResourcesDetail; + } + + public void setBuyResourcesDetail(String buyResourcesDetail) { + this.buyResourcesDetail = buyResourcesDetail; + if(buyResourcesDetail != null){ + putQueryParameter("BuyResourcesDetail", buyResourcesDetail); + } + } + + public String getSystemDiskSize() { + return this.systemDiskSize; + } + + public void setSystemDiskSize(String systemDiskSize) { + this.systemDiskSize = systemDiskSize; + if(systemDiskSize != null){ + putQueryParameter("SystemDiskSize", systemDiskSize); + } + } + + public String getInstanceBandwithdLimit() { + return this.instanceBandwithdLimit; + } + + public void setInstanceBandwithdLimit(String instanceBandwithdLimit) { + this.instanceBandwithdLimit = instanceBandwithdLimit; + if(instanceBandwithdLimit != null){ + putQueryParameter("InstanceBandwithdLimit", instanceBandwithdLimit); + } + } + + public String getEnsServiceName() { + return this.ensServiceName; + } + + public void setEnsServiceName(String ensServiceName) { + this.ensServiceName = ensServiceName; + if(ensServiceName != null){ + putQueryParameter("EnsServiceName", ensServiceName); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getNetLevel() { + return this.netLevel; + } + + public void setNetLevel(String netLevel) { + this.netLevel = netLevel; + if(netLevel != null){ + putQueryParameter("NetLevel", netLevel); + } + } + + public String getSchedulingStrategy() { + return this.schedulingStrategy; + } + + public void setSchedulingStrategy(String schedulingStrategy) { + this.schedulingStrategy = schedulingStrategy; + if(schedulingStrategy != null){ + putQueryParameter("SchedulingStrategy", schedulingStrategy); + } + } + + public String getDataDiskSize() { + return this.dataDiskSize; + } + + public void setDataDiskSize(String dataDiskSize) { + this.dataDiskSize = dataDiskSize; + if(dataDiskSize != null){ + putQueryParameter("DataDiskSize", dataDiskSize); + } + } + + @Override + public Class getResponseClass() { + return PreCreateEnsServiceResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceResponse.java new file mode 100644 index 0000000000..f004a93db9 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/PreCreateEnsServiceResponse.java @@ -0,0 +1,81 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.PreCreateEnsServiceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class PreCreateEnsServiceResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String ensServiceId; + + private String netLevel; + + private String buyResourcesDetail; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getEnsServiceId() { + return this.ensServiceId; + } + + public void setEnsServiceId(String ensServiceId) { + this.ensServiceId = ensServiceId; + } + + public String getNetLevel() { + return this.netLevel; + } + + public void setNetLevel(String netLevel) { + this.netLevel = netLevel; + } + + public String getBuyResourcesDetail() { + return this.buyResourcesDetail; + } + + public void setBuyResourcesDetail(String buyResourcesDetail) { + this.buyResourcesDetail = buyResourcesDetail; + } + + @Override + public PreCreateEnsServiceResponse getInstance(UnmarshallerContext context) { + return PreCreateEnsServiceResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressRequest.java new file mode 100644 index 0000000000..39cbb22578 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressRequest.java @@ -0,0 +1,140 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class RevokeSecurityGroupEgressRequest extends RpcAcsRequest { + + + private String sourcePortRange; + + private String securityGroupId; + + private String policy; + + private String portRange; + + private String ipProtocol; + + private Integer priority; + + private String version; + + private String destCidrIp; + public RevokeSecurityGroupEgressRequest() { + super("Ens", "2017-11-10", "RevokeSecurityGroupEgress", "ens"); + setMethod(MethodType.POST); + } + + public String getSourcePortRange() { + return this.sourcePortRange; + } + + public void setSourcePortRange(String sourcePortRange) { + this.sourcePortRange = sourcePortRange; + if(sourcePortRange != null){ + putQueryParameter("SourcePortRange", sourcePortRange); + } + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getPolicy() { + return this.policy; + } + + public void setPolicy(String policy) { + this.policy = policy; + if(policy != null){ + putQueryParameter("Policy", policy); + } + } + + public String getPortRange() { + return this.portRange; + } + + public void setPortRange(String portRange) { + this.portRange = portRange; + if(portRange != null){ + putQueryParameter("PortRange", portRange); + } + } + + public String getIpProtocol() { + return this.ipProtocol; + } + + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + if(ipProtocol != null){ + putQueryParameter("IpProtocol", ipProtocol); + } + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + if(priority != null){ + putQueryParameter("Priority", priority.toString()); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + public String getDestCidrIp() { + return this.destCidrIp; + } + + public void setDestCidrIp(String destCidrIp) { + this.destCidrIp = destCidrIp; + if(destCidrIp != null){ + putQueryParameter("DestCidrIp", destCidrIp); + } + } + + @Override + public Class getResponseClass() { + return RevokeSecurityGroupEgressResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressResponse.java new file mode 100644 index 0000000000..7052074f07 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupEgressResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.RevokeSecurityGroupEgressResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RevokeSecurityGroupEgressResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public RevokeSecurityGroupEgressResponse getInstance(UnmarshallerContext context) { + return RevokeSecurityGroupEgressResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupRequest.java new file mode 100644 index 0000000000..92111d9544 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupRequest.java @@ -0,0 +1,140 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class RevokeSecurityGroupRequest extends RpcAcsRequest { + + + private String sourcePortRange; + + private String securityGroupId; + + private String policy; + + private String portRange; + + private String ipProtocol; + + private String sourceCidrIp; + + private Integer priority; + + private String version; + public RevokeSecurityGroupRequest() { + super("Ens", "2017-11-10", "RevokeSecurityGroup", "ens"); + setMethod(MethodType.POST); + } + + public String getSourcePortRange() { + return this.sourcePortRange; + } + + public void setSourcePortRange(String sourcePortRange) { + this.sourcePortRange = sourcePortRange; + if(sourcePortRange != null){ + putQueryParameter("SourcePortRange", sourcePortRange); + } + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getPolicy() { + return this.policy; + } + + public void setPolicy(String policy) { + this.policy = policy; + if(policy != null){ + putQueryParameter("Policy", policy); + } + } + + public String getPortRange() { + return this.portRange; + } + + public void setPortRange(String portRange) { + this.portRange = portRange; + if(portRange != null){ + putQueryParameter("PortRange", portRange); + } + } + + public String getIpProtocol() { + return this.ipProtocol; + } + + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + if(ipProtocol != null){ + putQueryParameter("IpProtocol", ipProtocol); + } + } + + public String getSourceCidrIp() { + return this.sourceCidrIp; + } + + public void setSourceCidrIp(String sourceCidrIp) { + this.sourceCidrIp = sourceCidrIp; + if(sourceCidrIp != null){ + putQueryParameter("SourceCidrIp", sourceCidrIp); + } + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + if(priority != null){ + putQueryParameter("Priority", priority.toString()); + } + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + if(version != null){ + putQueryParameter("Version", version); + } + } + + @Override + public Class getResponseClass() { + return RevokeSecurityGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupResponse.java new file mode 100644 index 0000000000..8e6e3f3d42 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/RevokeSecurityGroupResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.model.v20171110; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.ens.transform.v20171110.RevokeSecurityGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RevokeSecurityGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public RevokeSecurityGroupResponse getInstance(UnmarshallerContext context) { + return RevokeSecurityGroupResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AllocateEipAddressResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AllocateEipAddressResponseUnmarshaller.java index e492d6c8d1..2bdf44d7d4 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AllocateEipAddressResponseUnmarshaller.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AllocateEipAddressResponseUnmarshaller.java @@ -27,6 +27,7 @@ public class AllocateEipAddressResponseUnmarshaller { public static AllocateEipAddressResponse unmarshall(AllocateEipAddressResponse allocateEipAddressResponse, UnmarshallerContext _ctx) { allocateEipAddressResponse.setRequestId(_ctx.stringValue("AllocateEipAddressResponse.RequestId")); + allocateEipAddressResponse.setBizStatusCode(_ctx.stringValue("AllocateEipAddressResponse.BizStatusCode")); List eipAddresses = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("AllocateEipAddressResponse.EipAddresses.Length"); i++) { diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupEgressResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupEgressResponseUnmarshaller.java new file mode 100644 index 0000000000..4b7c307290 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupEgressResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.AuthorizeSecurityGroupEgressResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AuthorizeSecurityGroupEgressResponseUnmarshaller { + + public static AuthorizeSecurityGroupEgressResponse unmarshall(AuthorizeSecurityGroupEgressResponse authorizeSecurityGroupEgressResponse, UnmarshallerContext _ctx) { + + authorizeSecurityGroupEgressResponse.setRequestId(_ctx.stringValue("AuthorizeSecurityGroupEgressResponse.RequestId")); + + return authorizeSecurityGroupEgressResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..4ab46a8404 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/AuthorizeSecurityGroupResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.AuthorizeSecurityGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AuthorizeSecurityGroupResponseUnmarshaller { + + public static AuthorizeSecurityGroupResponse unmarshall(AuthorizeSecurityGroupResponse authorizeSecurityGroupResponse, UnmarshallerContext _ctx) { + + authorizeSecurityGroupResponse.setRequestId(_ctx.stringValue("AuthorizeSecurityGroupResponse.RequestId")); + + return authorizeSecurityGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateKeyPairResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateKeyPairResponseUnmarshaller.java new file mode 100644 index 0000000000..6db1df3d99 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateKeyPairResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.CreateKeyPairResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateKeyPairResponseUnmarshaller { + + public static CreateKeyPairResponse unmarshall(CreateKeyPairResponse createKeyPairResponse, UnmarshallerContext _ctx) { + + createKeyPairResponse.setRequestId(_ctx.stringValue("CreateKeyPairResponse.RequestId")); + createKeyPairResponse.setKeyPairId(_ctx.stringValue("CreateKeyPairResponse.KeyPairId")); + createKeyPairResponse.setPrivateKeyBody(_ctx.stringValue("CreateKeyPairResponse.PrivateKeyBody")); + createKeyPairResponse.setKeyPairName(_ctx.stringValue("CreateKeyPairResponse.KeyPairName")); + createKeyPairResponse.setKeyPairFingerPrint(_ctx.stringValue("CreateKeyPairResponse.KeyPairFingerPrint")); + + return createKeyPairResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateSecurityGroupResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateSecurityGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..1f702f3d5a --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/CreateSecurityGroupResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.CreateSecurityGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateSecurityGroupResponseUnmarshaller { + + public static CreateSecurityGroupResponse unmarshall(CreateSecurityGroupResponse createSecurityGroupResponse, UnmarshallerContext _ctx) { + + createSecurityGroupResponse.setRequestId(_ctx.stringValue("CreateSecurityGroupResponse.RequestId")); + createSecurityGroupResponse.setSecurityGroupId(_ctx.stringValue("CreateSecurityGroupResponse.SecurityGroupId")); + + return createSecurityGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteKeyPairsResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteKeyPairsResponseUnmarshaller.java new file mode 100644 index 0000000000..b4ef912259 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteKeyPairsResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.DeleteKeyPairsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteKeyPairsResponseUnmarshaller { + + public static DeleteKeyPairsResponse unmarshall(DeleteKeyPairsResponse deleteKeyPairsResponse, UnmarshallerContext _ctx) { + + deleteKeyPairsResponse.setRequestId(_ctx.stringValue("DeleteKeyPairsResponse.RequestId")); + + return deleteKeyPairsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteSecurityGroupResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteSecurityGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..04aa89ff02 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteSecurityGroupResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.DeleteSecurityGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteSecurityGroupResponseUnmarshaller { + + public static DeleteSecurityGroupResponse unmarshall(DeleteSecurityGroupResponse deleteSecurityGroupResponse, UnmarshallerContext _ctx) { + + deleteSecurityGroupResponse.setRequestId(_ctx.stringValue("DeleteSecurityGroupResponse.RequestId")); + + return deleteSecurityGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandWithdChargeTypeResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandWithdChargeTypeResponseUnmarshaller.java new file mode 100644 index 0000000000..017f7b6578 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandWithdChargeTypeResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.DescribeBandWithdChargeTypeResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeBandWithdChargeTypeResponseUnmarshaller { + + public static DescribeBandWithdChargeTypeResponse unmarshall(DescribeBandWithdChargeTypeResponse describeBandWithdChargeTypeResponse, UnmarshallerContext _ctx) { + + describeBandWithdChargeTypeResponse.setRequestId(_ctx.stringValue("DescribeBandWithdChargeTypeResponse.RequestId")); + describeBandWithdChargeTypeResponse.setCode(_ctx.integerValue("DescribeBandWithdChargeTypeResponse.Code")); + describeBandWithdChargeTypeResponse.setBandWithTypeInfo(_ctx.stringValue("DescribeBandWithdChargeTypeResponse.BandWithTypeInfo")); + describeBandWithdChargeTypeResponse.setChargeCycleInfo(_ctx.stringValue("DescribeBandWithdChargeTypeResponse.ChargeCycleInfo")); + describeBandWithdChargeTypeResponse.setChargeContractType(_ctx.stringValue("DescribeBandWithdChargeTypeResponse.ChargeContractType")); + + return describeBandWithdChargeTypeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandwitdhByInternetChargeTypeResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandwitdhByInternetChargeTypeResponseUnmarshaller.java new file mode 100644 index 0000000000..8b1faa0e77 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeBandwitdhByInternetChargeTypeResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.DescribeBandwitdhByInternetChargeTypeResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeBandwitdhByInternetChargeTypeResponseUnmarshaller { + + public static DescribeBandwitdhByInternetChargeTypeResponse unmarshall(DescribeBandwitdhByInternetChargeTypeResponse describeBandwitdhByInternetChargeTypeResponse, UnmarshallerContext _ctx) { + + describeBandwitdhByInternetChargeTypeResponse.setRequestId(_ctx.stringValue("DescribeBandwitdhByInternetChargeTypeResponse.RequestId")); + describeBandwitdhByInternetChargeTypeResponse.setInternetChargeType(_ctx.stringValue("DescribeBandwitdhByInternetChargeTypeResponse.InternetChargeType")); + describeBandwitdhByInternetChargeTypeResponse.setBandwidthValue(_ctx.longValue("DescribeBandwitdhByInternetChargeTypeResponse.BandwidthValue")); + describeBandwitdhByInternetChargeTypeResponse.setTimeStamp(_ctx.stringValue("DescribeBandwitdhByInternetChargeTypeResponse.TimeStamp")); + + return describeBandwitdhByInternetChargeTypeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetLevelResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetLevelResponseUnmarshaller.java new file mode 100644 index 0000000000..1ea9640a01 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetLevelResponseUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ens.model.v20171110.DescribeEnsNetLevelResponse; +import com.aliyuncs.ens.model.v20171110.DescribeEnsNetLevelResponse.EnsNetLevel; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeEnsNetLevelResponseUnmarshaller { + + public static DescribeEnsNetLevelResponse unmarshall(DescribeEnsNetLevelResponse describeEnsNetLevelResponse, UnmarshallerContext _ctx) { + + describeEnsNetLevelResponse.setRequestId(_ctx.stringValue("DescribeEnsNetLevelResponse.RequestId")); + describeEnsNetLevelResponse.setCode(_ctx.integerValue("DescribeEnsNetLevelResponse.Code")); + + List ensNetLevels = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeEnsNetLevelResponse.EnsNetLevels.Length"); i++) { + EnsNetLevel ensNetLevel = new EnsNetLevel(); + ensNetLevel.setEnsNetLevelCode(_ctx.stringValue("DescribeEnsNetLevelResponse.EnsNetLevels["+ i +"].EnsNetLevelCode")); + + ensNetLevels.add(ensNetLevel); + } + describeEnsNetLevelResponse.setEnsNetLevels(ensNetLevels); + + return describeEnsNetLevelResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetSaleDistrictResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetSaleDistrictResponseUnmarshaller.java new file mode 100644 index 0000000000..b967e272d4 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsNetSaleDistrictResponseUnmarshaller.java @@ -0,0 +1,49 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ens.model.v20171110.DescribeEnsNetSaleDistrictResponse; +import com.aliyuncs.ens.model.v20171110.DescribeEnsNetSaleDistrictResponse.EnsNetDistrict; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeEnsNetSaleDistrictResponseUnmarshaller { + + public static DescribeEnsNetSaleDistrictResponse unmarshall(DescribeEnsNetSaleDistrictResponse describeEnsNetSaleDistrictResponse, UnmarshallerContext _ctx) { + + describeEnsNetSaleDistrictResponse.setRequestId(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.RequestId")); + describeEnsNetSaleDistrictResponse.setCode(_ctx.integerValue("DescribeEnsNetSaleDistrictResponse.Code")); + + List ensNetDistricts = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts.Length"); i++) { + EnsNetDistrict ensNetDistrict = new EnsNetDistrict(); + ensNetDistrict.setNetDistrictCode(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts["+ i +"].NetDistrictCode")); + ensNetDistrict.setNetDistrictName(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts["+ i +"].NetDistrictName")); + ensNetDistrict.setEnsRegionIdCount(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts["+ i +"].EnsRegionIdCount")); + ensNetDistrict.setNetDistrictLevel(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts["+ i +"].NetDistrictLevel")); + ensNetDistrict.setNetDistrictFatherCode(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts["+ i +"].NetDistrictFatherCode")); + ensNetDistrict.setNetDistrictEnName(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts["+ i +"].NetDistrictEnName")); + ensNetDistrict.setInstanceCount(_ctx.stringValue("DescribeEnsNetSaleDistrictResponse.EnsNetDistricts["+ i +"].InstanceCount")); + + ensNetDistricts.add(ensNetDistrict); + } + describeEnsNetSaleDistrictResponse.setEnsNetDistricts(ensNetDistricts); + + return describeEnsNetSaleDistrictResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsRegionIdResourceResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsRegionIdResourceResponseUnmarshaller.java new file mode 100644 index 0000000000..19b72207fe --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeEnsRegionIdResourceResponseUnmarshaller.java @@ -0,0 +1,53 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ens.model.v20171110.DescribeEnsRegionIdResourceResponse; +import com.aliyuncs.ens.model.v20171110.DescribeEnsRegionIdResourceResponse.EnsRegionIdResource; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeEnsRegionIdResourceResponseUnmarshaller { + + public static DescribeEnsRegionIdResourceResponse unmarshall(DescribeEnsRegionIdResourceResponse describeEnsRegionIdResourceResponse, UnmarshallerContext _ctx) { + + describeEnsRegionIdResourceResponse.setRequestId(_ctx.stringValue("DescribeEnsRegionIdResourceResponse.RequestId")); + describeEnsRegionIdResourceResponse.setTotalCount(_ctx.integerValue("DescribeEnsRegionIdResourceResponse.TotalCount")); + describeEnsRegionIdResourceResponse.setPageNumber(_ctx.integerValue("DescribeEnsRegionIdResourceResponse.PageNumber")); + describeEnsRegionIdResourceResponse.setPageSize(_ctx.integerValue("DescribeEnsRegionIdResourceResponse.PageSize")); + + List ensRegionIdResources = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources.Length"); i++) { + EnsRegionIdResource ensRegionIdResource = new EnsRegionIdResource(); + ensRegionIdResource.setArea(_ctx.stringValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].Area")); + ensRegionIdResource.setAreaCode(_ctx.stringValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].AreaCode")); + ensRegionIdResource.setEnsRegionId(_ctx.stringValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].EnsRegionId")); + ensRegionIdResource.setEnsRegionIdName(_ctx.stringValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].EnsRegionIdName")); + ensRegionIdResource.setVCpu(_ctx.integerValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].VCpu")); + ensRegionIdResource.setInternetBandwidth(_ctx.integerValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].InternetBandwidth")); + ensRegionIdResource.setIsp(_ctx.stringValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].Isp")); + ensRegionIdResource.setBizDate(_ctx.stringValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].BizDate")); + ensRegionIdResource.setInstanceCount(_ctx.integerValue("DescribeEnsRegionIdResourceResponse.EnsRegionIdResources["+ i +"].InstanceCount")); + + ensRegionIdResources.add(ensRegionIdResource); + } + describeEnsRegionIdResourceResponse.setEnsRegionIdResources(ensRegionIdResources); + + return describeEnsRegionIdResourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeInstancesResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeInstancesResponseUnmarshaller.java index e38c99e5b6..e0220d983c 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeInstancesResponseUnmarshaller.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeInstancesResponseUnmarshaller.java @@ -55,6 +55,12 @@ public static DescribeInstancesResponse unmarshall(DescribeInstancesResponse des instance.setSpecName(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].SpecName")); instance.setOSName(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].OSName")); + List securityGroupIds = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeInstancesResponse.Instances["+ i +"].SecurityGroupIds.Length"); j++) { + securityGroupIds.add(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].SecurityGroupIds["+ j +"]")); + } + instance.setSecurityGroupIds(securityGroupIds); + List innerIpAddress = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeInstancesResponse.Instances["+ i +"].InnerIpAddress.Length"); j++) { innerIpAddress.add(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].InnerIpAddress["+ j +"]")); diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeKeyPairsResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeKeyPairsResponseUnmarshaller.java new file mode 100644 index 0000000000..2443c66f1e --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeKeyPairsResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ens.model.v20171110.DescribeKeyPairsResponse; +import com.aliyuncs.ens.model.v20171110.DescribeKeyPairsResponse.KeyPair; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeKeyPairsResponseUnmarshaller { + + public static DescribeKeyPairsResponse unmarshall(DescribeKeyPairsResponse describeKeyPairsResponse, UnmarshallerContext _ctx) { + + describeKeyPairsResponse.setRequestId(_ctx.stringValue("DescribeKeyPairsResponse.RequestId")); + describeKeyPairsResponse.setTotalCount(_ctx.integerValue("DescribeKeyPairsResponse.TotalCount")); + describeKeyPairsResponse.setPageNumber(_ctx.integerValue("DescribeKeyPairsResponse.PageNumber")); + describeKeyPairsResponse.setPageSize(_ctx.integerValue("DescribeKeyPairsResponse.PageSize")); + + List keyPairs = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeKeyPairsResponse.KeyPairs.Length"); i++) { + KeyPair keyPair = new KeyPair(); + keyPair.setCreationTime(_ctx.stringValue("DescribeKeyPairsResponse.KeyPairs["+ i +"].CreationTime")); + keyPair.setKeyPairName(_ctx.stringValue("DescribeKeyPairsResponse.KeyPairs["+ i +"].KeyPairName")); + keyPair.setKeyPairFingerPrint(_ctx.stringValue("DescribeKeyPairsResponse.KeyPairs["+ i +"].KeyPairFingerPrint")); + + keyPairs.add(keyPair); + } + describeKeyPairsResponse.setKeyPairs(keyPairs); + + return describeKeyPairsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeMeasurementDataResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeMeasurementDataResponseUnmarshaller.java index 0d3382dcf5..b0defdab80 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeMeasurementDataResponseUnmarshaller.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeMeasurementDataResponseUnmarshaller.java @@ -20,7 +20,8 @@ import com.aliyuncs.ens.model.v20171110.DescribeMeasurementDataResponse; import com.aliyuncs.ens.model.v20171110.DescribeMeasurementDataResponse.MeasurementData; import com.aliyuncs.ens.model.v20171110.DescribeMeasurementDataResponse.MeasurementData.BandWidthFeeData; -import com.aliyuncs.ens.model.v20171110.DescribeMeasurementDataResponse.MeasurementData.ResourceFeeData; +import com.aliyuncs.ens.model.v20171110.DescribeMeasurementDataResponse.MeasurementData.ResourceFeeData; +import com.aliyuncs.ens.model.v20171110.DescribeMeasurementDataResponse.MeasurementData.ResourceFeeDataDetail; import com.aliyuncs.transform.UnmarshallerContext; @@ -55,6 +56,18 @@ public static DescribeMeasurementDataResponse unmarshall(DescribeMeasurementData } measurementData.setBandWidthFeeDatas(bandWidthFeeDatas); + List resourceFeeDataDetails = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeMeasurementDataResponse.MeasurementDatas["+ i +"].ResourceFeeDataDetails.Length"); j++) { + ResourceFeeDataDetail resourceFeeDataDetail = new ResourceFeeDataDetail(); + resourceFeeDataDetail.setCostVal(_ctx.integerValue("DescribeMeasurementDataResponse.MeasurementDatas["+ i +"].ResourceFeeDataDetails["+ j +"].CostVal")); + resourceFeeDataDetail.setCostCode(_ctx.stringValue("DescribeMeasurementDataResponse.MeasurementDatas["+ i +"].ResourceFeeDataDetails["+ j +"].CostCode")); + resourceFeeDataDetail.setCostName(_ctx.stringValue("DescribeMeasurementDataResponse.MeasurementDatas["+ i +"].ResourceFeeDataDetails["+ j +"].CostName")); + resourceFeeDataDetail.setResourceType(_ctx.stringValue("DescribeMeasurementDataResponse.MeasurementDatas["+ i +"].ResourceFeeDataDetails["+ j +"].ResourceType")); + + resourceFeeDataDetails.add(resourceFeeDataDetail); + } + measurementData.setResourceFeeDataDetails(resourceFeeDataDetails); + measurementDatas.add(measurementData); } describeMeasurementDataResponse.setMeasurementDatas(measurementDatas); diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupAttributeResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupAttributeResponseUnmarshaller.java new file mode 100644 index 0000000000..0e2ce41bd6 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupAttributeResponseUnmarshaller.java @@ -0,0 +1,52 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ens.model.v20171110.DescribeSecurityGroupAttributeResponse; +import com.aliyuncs.ens.model.v20171110.DescribeSecurityGroupAttributeResponse.Permission; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeSecurityGroupAttributeResponseUnmarshaller { + + public static DescribeSecurityGroupAttributeResponse unmarshall(DescribeSecurityGroupAttributeResponse describeSecurityGroupAttributeResponse, UnmarshallerContext _ctx) { + + describeSecurityGroupAttributeResponse.setRequestId(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.RequestId")); + describeSecurityGroupAttributeResponse.setSecurityGroupId(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.SecurityGroupId")); + + List permissions = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeSecurityGroupAttributeResponse.Permissions.Length"); i++) { + Permission permission = new Permission(); + permission.setDestCidrIp(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].DestCidrIp")); + permission.setSourceCidrIp(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].SourceCidrIp")); + permission.setIpProtocol(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].IpProtocol")); + permission.setPriority(_ctx.integerValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].Priority")); + permission.setPolicy(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].Policy")); + permission.setDirection(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].Direction")); + permission.setCreationTime(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].CreationTime")); + permission.setCreationTime1(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].CreationTime")); + permission.setPortRange(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].PortRange")); + permission.setSourcePortRange(_ctx.stringValue("DescribeSecurityGroupAttributeResponse.Permissions["+ i +"].SourcePortRange")); + + permissions.add(permission); + } + describeSecurityGroupAttributeResponse.setPermissions(permissions); + + return describeSecurityGroupAttributeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupsResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupsResponseUnmarshaller.java new file mode 100644 index 0000000000..40e7d07925 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSecurityGroupsResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.ens.model.v20171110.DescribeSecurityGroupsResponse; +import com.aliyuncs.ens.model.v20171110.DescribeSecurityGroupsResponse.SecurityGroup; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeSecurityGroupsResponseUnmarshaller { + + public static DescribeSecurityGroupsResponse unmarshall(DescribeSecurityGroupsResponse describeSecurityGroupsResponse, UnmarshallerContext _ctx) { + + describeSecurityGroupsResponse.setRequestId(_ctx.stringValue("DescribeSecurityGroupsResponse.RequestId")); + describeSecurityGroupsResponse.setTotalCount(_ctx.integerValue("DescribeSecurityGroupsResponse.TotalCount")); + describeSecurityGroupsResponse.setPageNumber(_ctx.integerValue("DescribeSecurityGroupsResponse.PageNumber")); + describeSecurityGroupsResponse.setPageSize(_ctx.integerValue("DescribeSecurityGroupsResponse.PageSize")); + + List securityGroups = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeSecurityGroupsResponse.SecurityGroups.Length"); i++) { + SecurityGroup securityGroup = new SecurityGroup(); + securityGroup.setSecurityGroupId(_ctx.stringValue("DescribeSecurityGroupsResponse.SecurityGroups["+ i +"].SecurityGroupId")); + securityGroup.setCreationTime(_ctx.stringValue("DescribeSecurityGroupsResponse.SecurityGroups["+ i +"].CreationTime")); + securityGroup.setSecurityGroupName(_ctx.stringValue("DescribeSecurityGroupsResponse.SecurityGroups["+ i +"].SecurityGroupName")); + + securityGroups.add(securityGroup); + } + describeSecurityGroupsResponse.setSecurityGroups(securityGroups); + + return describeSecurityGroupsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ExportBillDetailDataResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ExportBillDetailDataResponseUnmarshaller.java new file mode 100644 index 0000000000..41eaa2ecd4 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ExportBillDetailDataResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.ExportBillDetailDataResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ExportBillDetailDataResponseUnmarshaller { + + public static ExportBillDetailDataResponse unmarshall(ExportBillDetailDataResponse exportBillDetailDataResponse, UnmarshallerContext _ctx) { + + exportBillDetailDataResponse.setRequestId(_ctx.stringValue("ExportBillDetailDataResponse.RequestId")); + exportBillDetailDataResponse.setFilePath(_ctx.stringValue("ExportBillDetailDataResponse.FilePath")); + + return exportBillDetailDataResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ImportKeyPairResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ImportKeyPairResponseUnmarshaller.java new file mode 100644 index 0000000000..7359997bc3 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ImportKeyPairResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.ImportKeyPairResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ImportKeyPairResponseUnmarshaller { + + public static ImportKeyPairResponse unmarshall(ImportKeyPairResponse importKeyPairResponse, UnmarshallerContext _ctx) { + + importKeyPairResponse.setRequestId(_ctx.stringValue("ImportKeyPairResponse.RequestId")); + importKeyPairResponse.setKeyPairName(_ctx.stringValue("ImportKeyPairResponse.KeyPairName")); + importKeyPairResponse.setKeyPairFingerPrint(_ctx.stringValue("ImportKeyPairResponse.KeyPairFingerPrint")); + + return importKeyPairResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/JoinSecurityGroupResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/JoinSecurityGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..7dc639b69e --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/JoinSecurityGroupResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.JoinSecurityGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class JoinSecurityGroupResponseUnmarshaller { + + public static JoinSecurityGroupResponse unmarshall(JoinSecurityGroupResponse joinSecurityGroupResponse, UnmarshallerContext _ctx) { + + joinSecurityGroupResponse.setRequestId(_ctx.stringValue("JoinSecurityGroupResponse.RequestId")); + + return joinSecurityGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/LeaveSecurityGroupResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/LeaveSecurityGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..7c033c474b --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/LeaveSecurityGroupResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.LeaveSecurityGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class LeaveSecurityGroupResponseUnmarshaller { + + public static LeaveSecurityGroupResponse unmarshall(LeaveSecurityGroupResponse leaveSecurityGroupResponse, UnmarshallerContext _ctx) { + + leaveSecurityGroupResponse.setRequestId(_ctx.stringValue("LeaveSecurityGroupResponse.RequestId")); + + return leaveSecurityGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/PreCreateEnsServiceResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/PreCreateEnsServiceResponseUnmarshaller.java new file mode 100644 index 0000000000..04b3f0f14d --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/PreCreateEnsServiceResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.PreCreateEnsServiceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class PreCreateEnsServiceResponseUnmarshaller { + + public static PreCreateEnsServiceResponse unmarshall(PreCreateEnsServiceResponse preCreateEnsServiceResponse, UnmarshallerContext _ctx) { + + preCreateEnsServiceResponse.setRequestId(_ctx.stringValue("PreCreateEnsServiceResponse.RequestId")); + preCreateEnsServiceResponse.setCode(_ctx.integerValue("PreCreateEnsServiceResponse.Code")); + preCreateEnsServiceResponse.setEnsServiceId(_ctx.stringValue("PreCreateEnsServiceResponse.EnsServiceId")); + preCreateEnsServiceResponse.setNetLevel(_ctx.stringValue("PreCreateEnsServiceResponse.NetLevel")); + preCreateEnsServiceResponse.setBuyResourcesDetail(_ctx.stringValue("PreCreateEnsServiceResponse.BuyResourcesDetail")); + + return preCreateEnsServiceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupEgressResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupEgressResponseUnmarshaller.java new file mode 100644 index 0000000000..6c0d58b290 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupEgressResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.RevokeSecurityGroupEgressResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RevokeSecurityGroupEgressResponseUnmarshaller { + + public static RevokeSecurityGroupEgressResponse unmarshall(RevokeSecurityGroupEgressResponse revokeSecurityGroupEgressResponse, UnmarshallerContext _ctx) { + + revokeSecurityGroupEgressResponse.setRequestId(_ctx.stringValue("RevokeSecurityGroupEgressResponse.RequestId")); + + return revokeSecurityGroupEgressResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..111ad76b2b --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/RevokeSecurityGroupResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.ens.transform.v20171110; + +import com.aliyuncs.ens.model.v20171110.RevokeSecurityGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RevokeSecurityGroupResponseUnmarshaller { + + public static RevokeSecurityGroupResponse unmarshall(RevokeSecurityGroupResponse revokeSecurityGroupResponse, UnmarshallerContext _ctx) { + + revokeSecurityGroupResponse.setRequestId(_ctx.stringValue("RevokeSecurityGroupResponse.RequestId")); + + return revokeSecurityGroupResponse; + } +} \ No newline at end of file