Skip to content

Commit

Permalink
Support ClientToken for Idemoptent.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 3, 2023
1 parent bcff9d9 commit 21e56f3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-eflo/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-11-03 Version: 1.0.10
- Support ClientToken for Idemoptent.

2023-11-03 Version: 1.0.9
- Support ClientToken for Idemoptent.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-eflo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-eflo</artifactId>
<packaging>jar</packaging>
<version>1.0.9</version>
<version>1.0.10</version>
<name>aliyun-java-sdk-eflo</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static class Content {

private String description;

private List<PrivateIpAddresse> privateIpAddresses;
private List<PrivateIpAddress> privateIpAddresses;

public String getRegionId() {
return this.regionId;
Expand Down Expand Up @@ -229,15 +229,15 @@ public void setDescription(String description) {
this.description = description;
}

public List<PrivateIpAddresse> getPrivateIpAddresses() {
public List<PrivateIpAddress> getPrivateIpAddresses() {
return this.privateIpAddresses;
}

public void setPrivateIpAddresses(List<PrivateIpAddresse> privateIpAddresses) {
public void setPrivateIpAddresses(List<PrivateIpAddress> privateIpAddresses) {
this.privateIpAddresses = privateIpAddresses;
}

public static class PrivateIpAddresse {
public static class PrivateIpAddress {

private String elasticNetworkInterfaceId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import com.aliyuncs.eflo.model.v20220530.GetElasticNetworkInterfaceResponse;
import com.aliyuncs.eflo.model.v20220530.GetElasticNetworkInterfaceResponse.Content;
import com.aliyuncs.eflo.model.v20220530.GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresse;
import com.aliyuncs.eflo.model.v20220530.GetElasticNetworkInterfaceResponse.Content.PrivateIpAddress;
import com.aliyuncs.transform.UnmarshallerContext;


Expand Down Expand Up @@ -49,20 +49,20 @@ public static GetElasticNetworkInterfaceResponse unmarshall(GetElasticNetworkInt
content.setGmtModified(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.GmtModified"));
content.setDescription(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.Description"));

List<PrivateIpAddresse> privateIpAddresses = new ArrayList<PrivateIpAddresse>();
List<PrivateIpAddress> privateIpAddresses = new ArrayList<PrivateIpAddress>();
for (int i = 0; i < _ctx.lengthValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses.Length"); i++) {
PrivateIpAddresse privateIpAddresse = new PrivateIpAddresse();
privateIpAddresse.setElasticNetworkInterfaceId(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].ElasticNetworkInterfaceId"));
privateIpAddresse.setRegionId(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].RegionId"));
privateIpAddresse.setGmtCreate(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].GmtCreate"));
privateIpAddresse.setGmtModified(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].GmtModified"));
privateIpAddresse.setIpName(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].IpName"));
privateIpAddresse.setPrivateIpAddress(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].PrivateIpAddress"));
privateIpAddresse.setStatus(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].Status"));
privateIpAddresse.setDescription(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].Description"));
privateIpAddresse.setMessage(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].Message"));
PrivateIpAddress privateIpAddress = new PrivateIpAddress();
privateIpAddress.setElasticNetworkInterfaceId(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].ElasticNetworkInterfaceId"));
privateIpAddress.setRegionId(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].RegionId"));
privateIpAddress.setGmtCreate(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].GmtCreate"));
privateIpAddress.setGmtModified(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].GmtModified"));
privateIpAddress.setIpName(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].IpName"));
privateIpAddress.setPrivateIpAddress(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].PrivateIpAddress"));
privateIpAddress.setStatus(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].Status"));
privateIpAddress.setDescription(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].Description"));
privateIpAddress.setMessage(_ctx.stringValue("GetElasticNetworkInterfaceResponse.Content.PrivateIpAddresses["+ i +"].Message"));

privateIpAddresses.add(privateIpAddresse);
privateIpAddresses.add(privateIpAddress);
}
content.setPrivateIpAddresses(privateIpAddresses);
getElasticNetworkInterfaceResponse.setContent(content);
Expand Down

0 comments on commit 21e56f3

Please sign in to comment.