From 8f95803985cad4cf0e3d484ba3815e900767fb79 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 8 Nov 2023 02:21:51 +0000 Subject: [PATCH] ListInstances support expired time or creation time filter. --- aliyun-java-sdk-cloudphone/ChangeLog.txt | 3 + aliyun-java-sdk-cloudphone/pom.xml | 12 +- .../model/v20201230/CancelTaskRequest.java | 2 +- .../model/v20201230/CopyImageRequest.java | 2 +- .../model/v20201230/CreateImageRequest.java | 2 +- .../model/v20201230/DeleteImagesRequest.java | 2 +- .../v20201230/DeleteInstancesRequest.java | 2 +- .../v20201230/DeleteKeyPairsRequest.java | 2 +- .../model/v20201230/FetchFileRequest.java | 2 +- .../model/v20201230/ImportImageRequest.java | 2 +- .../model/v20201230/ImportKeyPairRequest.java | 2 +- .../v20201230/InstallApplicationRequest.java | 2 +- .../ListImageSharePermissionRequest.java | 2 +- .../model/v20201230/ListImagesRequest.java | 15 +- .../v20201230/ListInstanceTypesRequest.java | 2 +- .../v20201230/ListInstanceVncUrlRequest.java | 2 +- .../model/v20201230/ListInstancesRequest.java | 41 ++- .../model/v20201230/ListKeyPairsRequest.java | 2 +- .../model/v20201230/ListRegionsRequest.java | 2 +- .../model/v20201230/ListTagKeysRequest.java | 2 +- .../v20201230/ListTagResourcesRequest.java | 2 +- .../model/v20201230/ListTagValuesRequest.java | 2 +- .../model/v20201230/ListTasksRequest.java | 2 +- .../model/v20201230/ListZonesRequest.java | 2 +- .../v20201230/RebootInstancesRequest.java | 2 +- .../v20201230/RenewInstancesRequest.java | 2 +- .../v20201230/ResetInstancesRequest.java | 2 +- .../model/v20201230/RunCommandRequest.java | 2 +- .../model/v20201230/RunInstancesRequest.java | 263 +++++++++--------- .../model/v20201230/SendFileRequest.java | 2 +- .../v20201230/StartInstancesRequest.java | 2 +- .../model/v20201230/StopInstancesRequest.java | 2 +- .../model/v20201230/TagResourcesRequest.java | 2 +- .../UninstallApplicationRequest.java | 2 +- .../v20201230/UntagResourcesRequest.java | 2 +- .../UpdateImageAttributeRequest.java | 2 +- .../UpdateInstanceAttributeRequest.java | 2 +- 37 files changed, 233 insertions(+), 165 deletions(-) diff --git a/aliyun-java-sdk-cloudphone/ChangeLog.txt b/aliyun-java-sdk-cloudphone/ChangeLog.txt index 6f284d34a6..ba64b0aa34 100644 --- a/aliyun-java-sdk-cloudphone/ChangeLog.txt +++ b/aliyun-java-sdk-cloudphone/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-11-08 Version: 1.0.6 +- ListInstances support expired time or creation time filter. + 2022-04-21 Version: 1.0.5 - Support Tag API. diff --git a/aliyun-java-sdk-cloudphone/pom.xml b/aliyun-java-sdk-cloudphone/pom.xml index 236ef2f425..2e0f6f76a4 100644 --- a/aliyun-java-sdk-cloudphone/pom.xml +++ b/aliyun-java-sdk-cloudphone/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-cloudphone jar - 1.0.5 + 1.0.6 aliyun-java-sdk-cloudphone http://www.aliyun.com Aliyun Open API SDK for Java @@ -27,7 +27,7 @@ http://www.aliyun.com com.aliyun aliyun-java-sdk-core true - [4.3.2,5.0.0) + [4.4.9,5.0.0) com.google.code.gson @@ -37,9 +37,8 @@ http://www.aliyun.com - - - + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt @@ -84,9 +83,10 @@ http://www.aliyun.com org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.0 UTF-8 + none diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CancelTaskRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CancelTaskRequest.java index db9cb6b8d2..a08082fe88 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CancelTaskRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CancelTaskRequest.java @@ -34,7 +34,7 @@ public class CancelTaskRequest extends RpcAcsRequest { private Long ownerId; public CancelTaskRequest() { - super("cloudphone", "2020-12-30", "CancelTask", "cloudphone"); + super("cloudphone", "2020-12-30", "CancelTask"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CopyImageRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CopyImageRequest.java index b47cd9063e..fb184c6233 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CopyImageRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CopyImageRequest.java @@ -42,7 +42,7 @@ public class CopyImageRequest extends RpcAcsRequest { private Long ownerId; public CopyImageRequest() { - super("cloudphone", "2020-12-30", "CopyImage", "cloudphone"); + super("cloudphone", "2020-12-30", "CopyImage"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CreateImageRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CreateImageRequest.java index bb416c7e2f..d7bf832438 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CreateImageRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/CreateImageRequest.java @@ -40,7 +40,7 @@ public class CreateImageRequest extends RpcAcsRequest { private String instanceId; public CreateImageRequest() { - super("cloudphone", "2020-12-30", "CreateImage", "cloudphone"); + super("cloudphone", "2020-12-30", "CreateImage"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteImagesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteImagesRequest.java index bbe70dadcb..9e67d355ef 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteImagesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteImagesRequest.java @@ -37,7 +37,7 @@ public class DeleteImagesRequest extends RpcAcsRequest { private Boolean force; public DeleteImagesRequest() { - super("cloudphone", "2020-12-30", "DeleteImages", "cloudphone"); + super("cloudphone", "2020-12-30", "DeleteImages"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteInstancesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteInstancesRequest.java index aeadf61526..2f41d7b76b 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteInstancesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/DeleteInstancesRequest.java @@ -37,7 +37,7 @@ public class DeleteInstancesRequest extends RpcAcsRequest private Long ownerId; public DeleteKeyPairsRequest() { - super("cloudphone", "2020-12-30", "DeleteKeyPairs", "cloudphone"); + super("cloudphone", "2020-12-30", "DeleteKeyPairs"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/FetchFileRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/FetchFileRequest.java index 7ac0f41bcf..5c02f0b7b5 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/FetchFileRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/FetchFileRequest.java @@ -40,7 +40,7 @@ public class FetchFileRequest extends RpcAcsRequest { private String instanceId; public FetchFileRequest() { - super("cloudphone", "2020-12-30", "FetchFile", "cloudphone"); + super("cloudphone", "2020-12-30", "FetchFile"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportImageRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportImageRequest.java index 9c111ca8aa..9593ac9754 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportImageRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportImageRequest.java @@ -46,7 +46,7 @@ public class ImportImageRequest extends RpcAcsRequest { private Long ownerId; public ImportImageRequest() { - super("cloudphone", "2020-12-30", "ImportImage", "cloudphone"); + super("cloudphone", "2020-12-30", "ImportImage"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportKeyPairRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportKeyPairRequest.java index 674e11c7b4..65ebf7e799 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportKeyPairRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ImportKeyPairRequest.java @@ -36,7 +36,7 @@ public class ImportKeyPairRequest extends RpcAcsRequest { private Long ownerId; public ImportKeyPairRequest() { - super("cloudphone", "2020-12-30", "ImportKeyPair", "cloudphone"); + super("cloudphone", "2020-12-30", "ImportKeyPair"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/InstallApplicationRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/InstallApplicationRequest.java index 85c1999e2d..5ea1196711 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/InstallApplicationRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/InstallApplicationRequest.java @@ -39,7 +39,7 @@ public class InstallApplicationRequest extends RpcAcsRequest instanceIds; public InstallApplicationRequest() { - super("cloudphone", "2020-12-30", "InstallApplication", "cloudphone"); + super("cloudphone", "2020-12-30", "InstallApplication"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListImageSharePermissionRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListImageSharePermissionRequest.java index e3a54ac659..1341ea2419 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListImageSharePermissionRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListImageSharePermissionRequest.java @@ -34,7 +34,7 @@ public class ListImageSharePermissionRequest extends RpcAcsRequest { private String nextToken; + private String instanceType; + private String resourceOwnerAccount; private String ownerAccount; @@ -45,7 +47,7 @@ public class ListImagesRequest extends RpcAcsRequest { private String status; public ListImagesRequest() { - super("cloudphone", "2020-12-30", "ListImages", "cloudphone"); + super("cloudphone", "2020-12-30", "ListImages"); setMethod(MethodType.POST); } @@ -106,6 +108,17 @@ public void setNextToken(String nextToken) { } } + public String getInstanceType() { + return this.instanceType; + } + + public void setInstanceType(String instanceType) { + this.instanceType = instanceType; + if(instanceType != null){ + putQueryParameter("InstanceType", instanceType); + } + } + public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListInstanceTypesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListInstanceTypesRequest.java index e7d30f1521..b14e073f30 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListInstanceTypesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListInstanceTypesRequest.java @@ -37,7 +37,7 @@ public class ListInstanceTypesRequest extends RpcAcsRequest { private Long ownerId; + private List filters; + private String instanceName; private List instanceIds; @@ -59,7 +61,7 @@ public class ListInstancesRequest extends RpcAcsRequest { private String status; public ListInstancesRequest() { - super("cloudphone", "2020-12-30", "ListInstances", "cloudphone"); + super("cloudphone", "2020-12-30", "ListInstances"); setMethod(MethodType.POST); } @@ -187,6 +189,20 @@ public void setOwnerId(Long ownerId) { } } + public List getFilters() { + return this.filters; + } + + public void setFilters(List filters) { + this.filters = filters; + if (filters != null) { + for (int depth1 = 0; depth1 < filters.size(); depth1++) { + putQueryParameter("Filter." + (depth1 + 1) + ".Key" , filters.get(depth1).getKey()); + putQueryParameter("Filter." + (depth1 + 1) + ".Value" , filters.get(depth1).getValue()); + } + } + } + public String getInstanceName() { return this.instanceName; } @@ -273,6 +289,29 @@ public String getValue() { return this.value; } + public void setValue(String value) { + this.value = value; + } + } + + public static class Filter { + + private String key; + + private String value; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getValue() { + return this.value; + } + public void setValue(String value) { this.value = value; } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListKeyPairsRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListKeyPairsRequest.java index a5e580287a..79fad3312c 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListKeyPairsRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListKeyPairsRequest.java @@ -40,7 +40,7 @@ public class ListKeyPairsRequest extends RpcAcsRequest { private Integer maxResults; public ListKeyPairsRequest() { - super("cloudphone", "2020-12-30", "ListKeyPairs", "cloudphone"); + super("cloudphone", "2020-12-30", "ListKeyPairs"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListRegionsRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListRegionsRequest.java index 34ebc4f9e7..81426bf01d 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListRegionsRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListRegionsRequest.java @@ -32,7 +32,7 @@ public class ListRegionsRequest extends RpcAcsRequest { private Long ownerId; public ListRegionsRequest() { - super("cloudphone", "2020-12-30", "ListRegions", "cloudphone"); + super("cloudphone", "2020-12-30", "ListRegions"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagKeysRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagKeysRequest.java index 31c5bc65b3..cf27312bee 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagKeysRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagKeysRequest.java @@ -34,7 +34,7 @@ public class ListTagKeysRequest extends RpcAcsRequest { private String resourceType; public ListTagKeysRequest() { - super("cloudphone", "2020-12-30", "ListTagKeys", "cloudphone"); + super("cloudphone", "2020-12-30", "ListTagKeys"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagResourcesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagResourcesRequest.java index 9de411aaff..26d23877d2 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagResourcesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTagResourcesRequest.java @@ -39,7 +39,7 @@ public class ListTagResourcesRequest extends RpcAcsRequest { private String resourceType; public ListTagValuesRequest() { - super("cloudphone", "2020-12-30", "ListTagValues", "cloudphone"); + super("cloudphone", "2020-12-30", "ListTagValues"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTasksRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTasksRequest.java index 658e444653..19ab3f0959 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTasksRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListTasksRequest.java @@ -45,7 +45,7 @@ public class ListTasksRequest extends RpcAcsRequest { private Integer maxResults; public ListTasksRequest() { - super("cloudphone", "2020-12-30", "ListTasks", "cloudphone"); + super("cloudphone", "2020-12-30", "ListTasks"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListZonesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListZonesRequest.java index 552759ecb2..c6ed36412c 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListZonesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ListZonesRequest.java @@ -32,7 +32,7 @@ public class ListZonesRequest extends RpcAcsRequest { private Long ownerId; public ListZonesRequest() { - super("cloudphone", "2020-12-30", "ListZones", "cloudphone"); + super("cloudphone", "2020-12-30", "ListZones"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RebootInstancesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RebootInstancesRequest.java index 59c034d8a9..dc4dd146b3 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RebootInstancesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RebootInstancesRequest.java @@ -37,7 +37,7 @@ public class RebootInstancesRequest extends RpcAcsRequest private List instanceIds; public RenewInstancesRequest() { - super("cloudphone", "2020-12-30", "RenewInstances", "cloudphone"); + super("cloudphone", "2020-12-30", "RenewInstances"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ResetInstancesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ResetInstancesRequest.java index 89b07d47d1..95077bbedd 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ResetInstancesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/ResetInstancesRequest.java @@ -37,7 +37,7 @@ public class ResetInstancesRequest extends RpcAcsRequest private List instanceIds; public ResetInstancesRequest() { - super("cloudphone", "2020-12-30", "ResetInstances", "cloudphone"); + super("cloudphone", "2020-12-30", "ResetInstances"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunCommandRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunCommandRequest.java index bc41ad2cc7..d1b5330b89 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunCommandRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunCommandRequest.java @@ -37,7 +37,7 @@ public class RunCommandRequest extends RpcAcsRequest { private List instanceIds; public RunCommandRequest() { - super("cloudphone", "2020-12-30", "RunCommand", "cloudphone"); + super("cloudphone", "2020-12-30", "RunCommand"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunInstancesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunInstancesRequest.java index ff04c00d56..15a30c11af 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunInstancesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/RunInstancesRequest.java @@ -25,92 +25,50 @@ public class RunInstancesRequest extends RpcAcsRequest { - private String imageId; - - private String clientToken; - - private String securityGroupId; - - private String description; - private String keyPairName; private String resolution; - private String instanceType; - private List tags; - private Integer amount; - private Long period; - private Boolean autoPay; - - private String resourceOwnerAccount; - - private String ownerAccount; - private Long ownerId; private String vSwitchId; + private String privateIpAddress; + private String periodUnit; private String instanceName; private Boolean autoRenew; - private String chargeType; + private Integer eipBandwidth; - private Integer eipBandwidth; - public RunInstancesRequest() { - super("cloudphone", "2020-12-30", "RunInstances", "cloudphone"); - setMethod(MethodType.POST); - } + private String imageId; - public String getImageId() { - return this.imageId; - } + private String clientToken; - public void setImageId(String imageId) { - this.imageId = imageId; - if(imageId != null){ - putQueryParameter("ImageId", imageId); - } - } + private String securityGroupId; - public String getClientToken() { - return this.clientToken; - } + private String description; - public void setClientToken(String clientToken) { - this.clientToken = clientToken; - if(clientToken != null){ - putQueryParameter("ClientToken", clientToken); - } - } + private String instanceType; - public String getSecurityGroupId() { - return this.securityGroupId; - } + private Integer amount; - public void setSecurityGroupId(String securityGroupId) { - this.securityGroupId = securityGroupId; - if(securityGroupId != null){ - putQueryParameter("SecurityGroupId", securityGroupId); - } - } + private Boolean autoPay; - public String getDescription() { - return this.description; - } + private String resourceOwnerAccount; - public void setDescription(String description) { - this.description = description; - if(description != null){ - putQueryParameter("Description", description); - } + private String ownerAccount; + + private String chargeType; + public RunInstancesRequest() { + super("cloudphone", "2020-12-30", "RunInstances"); + setMethod(MethodType.POST); } public String getKeyPairName() { @@ -135,17 +93,6 @@ public void setResolution(String resolution) { } } - public String getInstanceType() { - return this.instanceType; - } - - public void setInstanceType(String instanceType) { - this.instanceType = instanceType; - if(instanceType != null){ - putQueryParameter("InstanceType", instanceType); - } - } - public List getTags() { return this.tags; } @@ -160,17 +107,6 @@ public void setTags(List tags) { } } - public Integer getAmount() { - return this.amount; - } - - public void setAmount(Integer amount) { - this.amount = amount; - if(amount != null){ - putQueryParameter("Amount", amount.toString()); - } - } - public Long getPeriod() { return this.period; } @@ -182,39 +118,6 @@ public void setPeriod(Long period) { } } - public Boolean getAutoPay() { - return this.autoPay; - } - - public void setAutoPay(Boolean autoPay) { - this.autoPay = autoPay; - if(autoPay != null){ - putQueryParameter("AutoPay", autoPay.toString()); - } - } - - public String getResourceOwnerAccount() { - return this.resourceOwnerAccount; - } - - public void setResourceOwnerAccount(String resourceOwnerAccount) { - this.resourceOwnerAccount = resourceOwnerAccount; - if(resourceOwnerAccount != null){ - putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); - } - } - - public String getOwnerAccount() { - return this.ownerAccount; - } - - public void setOwnerAccount(String ownerAccount) { - this.ownerAccount = ownerAccount; - if(ownerAccount != null){ - putQueryParameter("OwnerAccount", ownerAccount); - } - } - public Long getOwnerId() { return this.ownerId; } @@ -237,6 +140,17 @@ public void setVSwitchId(String vSwitchId) { } } + public String getPrivateIpAddress() { + return this.privateIpAddress; + } + + public void setPrivateIpAddress(String privateIpAddress) { + this.privateIpAddress = privateIpAddress; + if(privateIpAddress != null){ + putQueryParameter("PrivateIpAddress", privateIpAddress); + } + } + public String getPeriodUnit() { return this.periodUnit; } @@ -270,17 +184,6 @@ public void setAutoRenew(Boolean autoRenew) { } } - public String getChargeType() { - return this.chargeType; - } - - public void setChargeType(String chargeType) { - this.chargeType = chargeType; - if(chargeType != null){ - putQueryParameter("ChargeType", chargeType); - } - } - public Integer getEipBandwidth() { return this.eipBandwidth; } @@ -292,6 +195,116 @@ public void setEipBandwidth(Integer eipBandwidth) { } } + public String getImageId() { + return this.imageId; + } + + public void setImageId(String imageId) { + this.imageId = imageId; + if(imageId != null){ + putQueryParameter("ImageId", imageId); + } + } + + public String getClientToken() { + return this.clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + if(clientToken != null){ + putQueryParameter("ClientToken", clientToken); + } + } + + public String getSecurityGroupId() { + return this.securityGroupId; + } + + public void setSecurityGroupId(String securityGroupId) { + this.securityGroupId = securityGroupId; + if(securityGroupId != null){ + putQueryParameter("SecurityGroupId", securityGroupId); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getInstanceType() { + return this.instanceType; + } + + public void setInstanceType(String instanceType) { + this.instanceType = instanceType; + if(instanceType != null){ + putQueryParameter("InstanceType", instanceType); + } + } + + public Integer getAmount() { + return this.amount; + } + + public void setAmount(Integer amount) { + this.amount = amount; + if(amount != null){ + putQueryParameter("Amount", amount.toString()); + } + } + + public Boolean getAutoPay() { + return this.autoPay; + } + + public void setAutoPay(Boolean autoPay) { + this.autoPay = autoPay; + if(autoPay != null){ + putQueryParameter("AutoPay", autoPay.toString()); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + if(chargeType != null){ + putQueryParameter("ChargeType", chargeType); + } + } + public static class Tag { private String key; diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/SendFileRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/SendFileRequest.java index 48be6526a9..be2fc1e36d 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/SendFileRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/SendFileRequest.java @@ -41,7 +41,7 @@ public class SendFileRequest extends RpcAcsRequest { private List instanceIds; public SendFileRequest() { - super("cloudphone", "2020-12-30", "SendFile", "cloudphone"); + super("cloudphone", "2020-12-30", "SendFile"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StartInstancesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StartInstancesRequest.java index ad6d8e9d3f..31b7e37aa2 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StartInstancesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StartInstancesRequest.java @@ -35,7 +35,7 @@ public class StartInstancesRequest extends RpcAcsRequest private List instanceIds; public StartInstancesRequest() { - super("cloudphone", "2020-12-30", "StartInstances", "cloudphone"); + super("cloudphone", "2020-12-30", "StartInstances"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StopInstancesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StopInstancesRequest.java index 7284363e02..35beb6d8b0 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StopInstancesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/StopInstancesRequest.java @@ -37,7 +37,7 @@ public class StopInstancesRequest extends RpcAcsRequest { private Boolean force; public StopInstancesRequest() { - super("cloudphone", "2020-12-30", "StopInstances", "cloudphone"); + super("cloudphone", "2020-12-30", "StopInstances"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/TagResourcesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/TagResourcesRequest.java index 77564d9548..276eeb9085 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/TagResourcesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/TagResourcesRequest.java @@ -37,7 +37,7 @@ public class TagResourcesRequest extends RpcAcsRequest { private String resourceType; public TagResourcesRequest() { - super("cloudphone", "2020-12-30", "TagResources", "cloudphone"); + super("cloudphone", "2020-12-30", "TagResources"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UninstallApplicationRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UninstallApplicationRequest.java index 92b1bc56a3..312e4c7ae2 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UninstallApplicationRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UninstallApplicationRequest.java @@ -37,7 +37,7 @@ public class UninstallApplicationRequest extends RpcAcsRequest instanceIds; public UninstallApplicationRequest() { - super("cloudphone", "2020-12-30", "UninstallApplication", "cloudphone"); + super("cloudphone", "2020-12-30", "UninstallApplication"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UntagResourcesRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UntagResourcesRequest.java index d766d23cb1..32606307ca 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UntagResourcesRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UntagResourcesRequest.java @@ -39,7 +39,7 @@ public class UntagResourcesRequest extends RpcAcsRequest private List tagKeys; public UntagResourcesRequest() { - super("cloudphone", "2020-12-30", "UntagResources", "cloudphone"); + super("cloudphone", "2020-12-30", "UntagResources"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateImageAttributeRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateImageAttributeRequest.java index 7d3a3c20d4..65dc69234a 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateImageAttributeRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateImageAttributeRequest.java @@ -43,7 +43,7 @@ public class UpdateImageAttributeRequest extends RpcAcsRequest removeAccounts; public UpdateImageAttributeRequest() { - super("cloudphone", "2020-12-30", "UpdateImageAttribute", "cloudphone"); + super("cloudphone", "2020-12-30", "UpdateImageAttribute"); setMethod(MethodType.POST); } diff --git a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateInstanceAttributeRequest.java b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateInstanceAttributeRequest.java index 63bf9e103d..d2fe35846d 100644 --- a/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateInstanceAttributeRequest.java +++ b/aliyun-java-sdk-cloudphone/src/main/java/com/aliyuncs/cloudphone/model/v20201230/UpdateInstanceAttributeRequest.java @@ -45,7 +45,7 @@ public class UpdateInstanceAttributeRequest extends RpcAcsRequest