From 178603cdfc4bc988fe23bcde8346e792e753a508 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 25 Dec 2024 06:28:16 +0000 Subject: [PATCH] -Supported DeleteEip --- aliyun-java-sdk-ens/ChangeLog.txt | 3 + aliyun-java-sdk-ens/pom.xml | 2 +- .../v20171110/CreateSnatEntryRequest.java | 15 +++- .../ens/model/v20171110/DeleteEipRequest.java | 49 ++++++++++++ .../model/v20171110/DeleteEipResponse.java | 46 ++++++++++++ .../v20171110/DescribeInstancesRequest.java | 14 ++++ .../v20171110/DescribeInstancesResponse.java | 10 +++ .../DescribeSnatAttributeResponse.java | 10 +++ .../DescribeSnatTableEntriesResponse.java | 10 +++ .../model/v20171110/ListObjectsResponse.java | 33 ++++++++ .../v20171110/ModifySnatEntryRequest.java | 75 +++++++++++++++++++ .../v20171110/ModifySnatEntryResponse.java | 46 ++++++++++++ .../DeleteEipResponseUnmarshaller.java | 29 +++++++ ...DescribeInstancesResponseUnmarshaller.java | 1 + ...ribeSnatAttributeResponseUnmarshaller.java | 1 + ...eSnatTableEntriesResponseUnmarshaller.java | 1 + .../ListObjectsResponseUnmarshaller.java | 13 +++- .../ModifySnatEntryResponseUnmarshaller.java | 29 +++++++ 18 files changed, 384 insertions(+), 3 deletions(-) create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteEipRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteEipResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryRequest.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryResponse.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteEipResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ModifySnatEntryResponseUnmarshaller.java diff --git a/aliyun-java-sdk-ens/ChangeLog.txt b/aliyun-java-sdk-ens/ChangeLog.txt index 56390c7797..cdc5166f34 100644 --- a/aliyun-java-sdk-ens/ChangeLog.txt +++ b/aliyun-java-sdk-ens/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-12-25 Version: 3.0.20 +-- Supported DeleteEip + 2024-11-27 Version: 3.0.19 - Generated 2017-11-10 for `Ens`. diff --git a/aliyun-java-sdk-ens/pom.xml b/aliyun-java-sdk-ens/pom.xml index 0de27f7da6..6357c5b394 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 - 3.0.19 + 3.0.20 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/CreateSnatEntryRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSnatEntryRequest.java index 49f2fab9f5..600a9619be 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSnatEntryRequest.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/CreateSnatEntryRequest.java @@ -38,7 +38,9 @@ public class CreateSnatEntryRequest extends RpcAcsRequest { + + + private String instanceId; + public DeleteEipRequest() { + super("Ens", "2017-11-10", "DeleteEip", "ens"); + setMethod(MethodType.POST); + } + + 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 DeleteEipResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteEipResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteEipResponse.java new file mode 100644 index 0000000000..155db03e3a --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DeleteEipResponse.java @@ -0,0 +1,46 @@ +/* + * 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.DeleteEipResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteEipResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteEipResponse getInstance(UnmarshallerContext context) { + return DeleteEipResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesRequest.java index 2c3bb6b037..982ad810a3 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesRequest.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeInstancesRequest.java @@ -27,6 +27,9 @@ public class DescribeInstancesRequest extends RpcAcsRequest { + @SerializedName("serviceStatus") + private List serviceStatus; + private String orderByParams; private String ensRegionId; @@ -70,6 +73,17 @@ public DescribeInstancesRequest() { setMethod(MethodType.POST); } + public List getServiceStatus() { + return this.serviceStatus; + } + + public void setServiceStatus(List serviceStatus) { + this.serviceStatus = serviceStatus; + if (serviceStatus != null) { + putQueryParameter("ServiceStatus" , new Gson().toJson(serviceStatus)); + } + } + public String getOrderByParams() { return this.orderByParams; } 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 86496a572d..00fa764e6f 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 @@ -127,6 +127,8 @@ public static class Instance { private String keyPairName; + private String serviceStatus; + private List dataDisk; private List publicIpAddresses; @@ -307,6 +309,14 @@ public void setKeyPairName(String keyPairName) { this.keyPairName = keyPairName; } + public String getServiceStatus() { + return this.serviceStatus; + } + + public void setServiceStatus(String serviceStatus) { + this.serviceStatus = serviceStatus; + } + public List getDataDisk() { return this.dataDisk; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatAttributeResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatAttributeResponse.java index e0bb179752..8e14c77f59 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatAttributeResponse.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatAttributeResponse.java @@ -51,6 +51,8 @@ public class DescribeSnatAttributeResponse extends AcsResponse { private String destCIDR; + private Boolean ispAffinity; + private List snatIps; public String getRequestId() { @@ -157,6 +159,14 @@ public void setDestCIDR(String destCIDR) { this.destCIDR = destCIDR; } + public Boolean getIspAffinity() { + return this.ispAffinity; + } + + public void setIspAffinity(Boolean ispAffinity) { + this.ispAffinity = ispAffinity; + } + public List getSnatIps() { return this.snatIps; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatTableEntriesResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatTableEntriesResponse.java index 45212a0c23..f57cd6cbb0 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatTableEntriesResponse.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/DescribeSnatTableEntriesResponse.java @@ -99,6 +99,8 @@ public static class SnatTableEntry { private String destCIDR; + private Boolean ispAffinity; + private List snatIps; public String getNatGatewayId() { @@ -189,6 +191,14 @@ public void setDestCIDR(String destCIDR) { this.destCIDR = destCIDR; } + public Boolean getIspAffinity() { + return this.ispAffinity; + } + + public void setIspAffinity(Boolean ispAffinity) { + this.ispAffinity = ispAffinity; + } + public List getSnatIps() { return this.snatIps; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ListObjectsResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ListObjectsResponse.java index 0f0a61fa40..7d03f5e219 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ListObjectsResponse.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ListObjectsResponse.java @@ -51,6 +51,8 @@ public class ListObjectsResponse extends AcsResponse { private List contents; + private List commonPrefixInfos; + private List commonPrefixes; public String getNextContinuationToken() { @@ -157,6 +159,14 @@ public void setContents(List contents) { this.contents = contents; } + public List getCommonPrefixInfos() { + return this.commonPrefixInfos; + } + + public void setCommonPrefixInfos(List commonPrefixInfos) { + this.commonPrefixInfos = commonPrefixInfos; + } + public List getCommonPrefixes() { return this.commonPrefixes; } @@ -218,6 +228,29 @@ public void setSize(Long size) { } } + public static class CommonPrefixInfo { + + private String prefix; + + private String lastModified; + + public String getPrefix() { + return this.prefix; + } + + public void setPrefix(String prefix) { + this.prefix = prefix; + } + + public String getLastModified() { + return this.lastModified; + } + + public void setLastModified(String lastModified) { + this.lastModified = lastModified; + } + } + @Override public ListObjectsResponse getInstance(UnmarshallerContext context) { return ListObjectsResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryRequest.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryRequest.java new file mode 100644 index 0000000000..e61117ec13 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryRequest.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 ModifySnatEntryRequest extends RpcAcsRequest { + + + private String snatEntryId; + + private String snatEntryName; + + private Boolean ispAffinity; + public ModifySnatEntryRequest() { + super("Ens", "2017-11-10", "ModifySnatEntry", "ens"); + setMethod(MethodType.POST); + } + + public String getSnatEntryId() { + return this.snatEntryId; + } + + public void setSnatEntryId(String snatEntryId) { + this.snatEntryId = snatEntryId; + if(snatEntryId != null){ + putQueryParameter("SnatEntryId", snatEntryId); + } + } + + public String getSnatEntryName() { + return this.snatEntryName; + } + + public void setSnatEntryName(String snatEntryName) { + this.snatEntryName = snatEntryName; + if(snatEntryName != null){ + putQueryParameter("SnatEntryName", snatEntryName); + } + } + + public Boolean getIspAffinity() { + return this.ispAffinity; + } + + public void setIspAffinity(Boolean ispAffinity) { + this.ispAffinity = ispAffinity; + if(ispAffinity != null){ + putQueryParameter("IspAffinity", ispAffinity.toString()); + } + } + + @Override + public Class getResponseClass() { + return ModifySnatEntryResponse.class; + } + +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryResponse.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryResponse.java new file mode 100644 index 0000000000..fced0b6b84 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/model/v20171110/ModifySnatEntryResponse.java @@ -0,0 +1,46 @@ +/* + * 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.ModifySnatEntryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifySnatEntryResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifySnatEntryResponse getInstance(UnmarshallerContext context) { + return ModifySnatEntryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteEipResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteEipResponseUnmarshaller.java new file mode 100644 index 0000000000..ea054ed025 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DeleteEipResponseUnmarshaller.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.DeleteEipResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteEipResponseUnmarshaller { + + public static DeleteEipResponse unmarshall(DeleteEipResponse deleteEipResponse, UnmarshallerContext _ctx) { + + deleteEipResponse.setRequestId(_ctx.stringValue("DeleteEipResponse.RequestId")); + + return deleteEipResponse; + } +} \ 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 e63304e22b..e6fcc017ec 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 @@ -64,6 +64,7 @@ public static DescribeInstancesResponse unmarshall(DescribeInstancesResponse des instance.setAutoReleaseTime(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].AutoReleaseTime")); instance.setSpotStrategy(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].SpotStrategy")); instance.setKeyPairName(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].KeyPairName")); + instance.setServiceStatus(_ctx.stringValue("DescribeInstancesResponse.Instances["+ i +"].ServiceStatus")); List securityGroupIds = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeInstancesResponse.Instances["+ i +"].SecurityGroupIds.Length"); j++) { diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatAttributeResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatAttributeResponseUnmarshaller.java index 1f2122d38f..09cd90d2fe 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatAttributeResponseUnmarshaller.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatAttributeResponseUnmarshaller.java @@ -39,6 +39,7 @@ public static DescribeSnatAttributeResponse unmarshall(DescribeSnatAttributeResp describeSnatAttributeResponse.setType(_ctx.stringValue("DescribeSnatAttributeResponse.Type")); describeSnatAttributeResponse.setIdleTimeout(_ctx.integerValue("DescribeSnatAttributeResponse.IdleTimeout")); describeSnatAttributeResponse.setDestCIDR(_ctx.stringValue("DescribeSnatAttributeResponse.DestCIDR")); + describeSnatAttributeResponse.setIspAffinity(_ctx.booleanValue("DescribeSnatAttributeResponse.IspAffinity")); List snatIps = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("DescribeSnatAttributeResponse.SnatIps.Length"); i++) { diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatTableEntriesResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatTableEntriesResponseUnmarshaller.java index 1ddf9b413c..e4428297bb 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatTableEntriesResponseUnmarshaller.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/DescribeSnatTableEntriesResponseUnmarshaller.java @@ -46,6 +46,7 @@ public static DescribeSnatTableEntriesResponse unmarshall(DescribeSnatTableEntri snatTableEntry.setType(_ctx.stringValue("DescribeSnatTableEntriesResponse.SnatTableEntries["+ i +"].Type")); snatTableEntry.setIdleTimeout(_ctx.integerValue("DescribeSnatTableEntriesResponse.SnatTableEntries["+ i +"].IdleTimeout")); snatTableEntry.setDestCIDR(_ctx.stringValue("DescribeSnatTableEntriesResponse.SnatTableEntries["+ i +"].DestCIDR")); + snatTableEntry.setIspAffinity(_ctx.booleanValue("DescribeSnatTableEntriesResponse.SnatTableEntries["+ i +"].IspAffinity")); List snatIps = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeSnatTableEntriesResponse.SnatTableEntries["+ i +"].SnatIps.Length"); j++) { diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ListObjectsResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ListObjectsResponseUnmarshaller.java index a77c7c6a68..c647738446 100644 --- a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ListObjectsResponseUnmarshaller.java +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ListObjectsResponseUnmarshaller.java @@ -18,6 +18,7 @@ import java.util.List; import com.aliyuncs.ens.model.v20171110.ListObjectsResponse; +import com.aliyuncs.ens.model.v20171110.ListObjectsResponse.CommonPrefixInfo; import com.aliyuncs.ens.model.v20171110.ListObjectsResponse.Content; import com.aliyuncs.transform.UnmarshallerContext; @@ -56,7 +57,17 @@ public static ListObjectsResponse unmarshall(ListObjectsResponse listObjectsResp contents.add(content); } - listObjectsResponse.setContents(contents); + listObjectsResponse.setContents(contents); + + List commonPrefixInfos = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListObjectsResponse.CommonPrefixInfos.Length"); i++) { + CommonPrefixInfo commonPrefixInfo = new CommonPrefixInfo(); + commonPrefixInfo.setPrefix(_ctx.stringValue("ListObjectsResponse.CommonPrefixInfos["+ i +"].Prefix")); + commonPrefixInfo.setLastModified(_ctx.stringValue("ListObjectsResponse.CommonPrefixInfos["+ i +"].LastModified")); + + commonPrefixInfos.add(commonPrefixInfo); + } + listObjectsResponse.setCommonPrefixInfos(commonPrefixInfos); return listObjectsResponse; } diff --git a/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ModifySnatEntryResponseUnmarshaller.java b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ModifySnatEntryResponseUnmarshaller.java new file mode 100644 index 0000000000..ee13fe29d6 --- /dev/null +++ b/aliyun-java-sdk-ens/src/main/java/com/aliyuncs/ens/transform/v20171110/ModifySnatEntryResponseUnmarshaller.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.ModifySnatEntryResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifySnatEntryResponseUnmarshaller { + + public static ModifySnatEntryResponse unmarshall(ModifySnatEntryResponse modifySnatEntryResponse, UnmarshallerContext _ctx) { + + modifySnatEntryResponse.setRequestId(_ctx.stringValue("ModifySnatEntryResponse.RequestId")); + + return modifySnatEntryResponse; + } +} \ No newline at end of file