From da511f8aff6443abe9d06db55511a5ed9ef2c595 Mon Sep 17 00:00:00 2001 From: ci_volc_sdk_gen Date: Fri, 11 Aug 2023 11:05:45 +0800 Subject: [PATCH 1/3] feat: auto generate for xieming-0623-0811 --- README.md | 6 +- meta.json | 4 +- pom.xml | 2 +- volcengine-java-sdk-alb/pom.xml | 2 +- volcengine-java-sdk-autoscaling/pom.xml | 2 +- .../autoscaling/AutoScalingApi.java | 378 ++++++++++++++++++ ...yConditionForCreateScalingPolicyInput.java | 1 - ...yConditionForModifyScalingPolicyInput.java | 1 - ...larmPolicyForCreateScalingPolicyInput.java | 1 - ...olicyForDescribeScalingPoliciesOutput.java | 1 - ...larmPolicyForModifyScalingPolicyInput.java | 1 - .../model/AttachDBInstancesRequest.java | 1 - .../model/AttachDBInstancesResponse.java | 1 - .../model/AttachInstancesRequest.java | 29 +- .../model/AttachInstancesResponse.java | 1 - .../model/AttachServerGroupsRequest.java | 31 +- .../model/AttachServerGroupsResponse.java | 1 - .../CompleteLifecycleActivityRequest.java | 1 - .../CompleteLifecycleActivityResponse.java | 1 - ...itionForDescribeScalingPoliciesOutput.java | 1 - .../model/CreateLifecycleHookRequest.java | 16 +- .../model/CreateLifecycleHookResponse.java | 1 - .../CreateScalingConfigurationRequest.java | 158 +++++++- .../CreateScalingConfigurationResponse.java | 1 - .../model/CreateScalingGroupRequest.java | 214 +++++++++- .../model/CreateScalingGroupResponse.java | 1 - .../model/CreateScalingPolicyRequest.java | 16 +- .../model/CreateScalingPolicyResponse.java | 1 - .../model/DeleteLifecycleHookRequest.java | 1 - .../model/DeleteLifecycleHookResponse.java | 1 - .../DeleteScalingConfigurationRequest.java | 4 +- .../DeleteScalingConfigurationResponse.java | 1 - .../model/DeleteScalingGroupRequest.java | 4 +- .../model/DeleteScalingGroupResponse.java | 1 - .../model/DeleteScalingPolicyRequest.java | 4 +- .../model/DeleteScalingPolicyResponse.java | 1 - .../DescribeLifecycleActivitiesRequest.java | 1 - .../DescribeLifecycleActivitiesResponse.java | 1 - .../model/DescribeLifecycleHooksRequest.java | 4 +- .../model/DescribeLifecycleHooksResponse.java | 1 - .../DescribeScalingActivitiesRequest.java | 4 +- .../DescribeScalingActivitiesResponse.java | 1 - .../DescribeScalingConfigurationsRequest.java | 1 - ...DescribeScalingConfigurationsResponse.java | 1 - .../model/DescribeScalingGroupsRequest.java | 61 ++- .../model/DescribeScalingGroupsResponse.java | 1 - .../DescribeScalingInstancesRequest.java | 4 +- .../DescribeScalingInstancesResponse.java | 1 - .../model/DescribeScalingPoliciesRequest.java | 4 +- .../DescribeScalingPoliciesResponse.java | 1 - .../model/DetachDBInstancesRequest.java | 1 - .../model/DetachDBInstancesResponse.java | 1 - .../model/DetachInstancesRequest.java | 29 +- .../model/DetachInstancesResponse.java | 1 - .../model/DetachServerGroupsRequest.java | 31 +- .../model/DetachServerGroupsResponse.java | 1 - .../model/DisableScalingGroupRequest.java | 4 +- .../model/DisableScalingGroupResponse.java | 1 - .../model/DisableScalingPolicyRequest.java | 4 +- .../model/DisableScalingPolicyResponse.java | 1 - ...EipForCreateScalingConfigurationInput.java | 1 - ...orDescribeScalingConfigurationsOutput.java | 1 - ...EipForModifyScalingConfigurationInput.java | 1 - .../EnableScalingConfigurationRequest.java | 7 +- .../EnableScalingConfigurationResponse.java | 1 - .../model/EnableScalingGroupRequest.java | 4 +- .../model/EnableScalingGroupResponse.java | 1 - .../model/EnableScalingPolicyRequest.java | 4 +- .../model/EnableScalingPolicyResponse.java | 1 - .../model/ErrorForTagResourcesOutput.java | 116 ++++++ .../model/ErrorForUntagResourcesOutput.java | 116 ++++++ ...ResultForSetInstancesProtectionOutput.java | 1 - ...ateOverrideForCreateScalingGroupInput.java | 93 +++++ ...verrideForDescribeScalingGroupsOutput.java | 93 +++++ ...ateOverrideForModifyScalingGroupInput.java | 93 +++++ ...yForDescribeLifecycleActivitiesOutput.java | 1 - ...leHookForDescribeLifecycleHooksOutput.java | 1 - .../model/ListTagResourcesRequest.java | 205 ++++++++++ .../model/ListTagResourcesResponse.java | 128 ++++++ .../model/ModifyLifecycleHookRequest.java | 4 +- .../model/ModifyLifecycleHookResponse.java | 1 - .../ModifyScalingConfigurationRequest.java | 121 +++++- .../ModifyScalingConfigurationResponse.java | 1 - .../model/ModifyScalingGroupRequest.java | 131 +++++- .../model/ModifyScalingGroupResponse.java | 1 - .../model/ModifyScalingPolicyRequest.java | 4 +- .../model/ModifyScalingPolicyResponse.java | 1 - .../OperationDetailForTagResourcesOutput.java | 118 ++++++ ...perationDetailForUntagResourcesOutput.java | 118 ++++++ ...nceForDescribeScalingActivitiesOutput.java | 1 - .../model/RemoveInstancesRequest.java | 52 ++- .../model/RemoveInstancesResponse.java | 1 - ...ityForDescribeScalingActivitiesOutput.java | 1 - ...orDescribeScalingConfigurationsOutput.java | 151 ++++++- ...ngGroupForDescribeScalingGroupsOutput.java | 161 +++++++- ...anceForDescribeScalingInstancesOutput.java | 49 ++- ...olicyForDescribeScalingPoliciesOutput.java | 1 - ...uledPolicyForCreateScalingPolicyInput.java | 1 - ...olicyForDescribeScalingPoliciesOutput.java | 1 - ...uledPolicyForModifyScalingPolicyInput.java | 1 - ...upAttributeForAttachServerGroupsInput.java | 1 - ...upAttributeForCreateScalingGroupInput.java | 1 - ...tributeForDescribeScalingGroupsOutput.java | 1 - ...upAttributeForDetachServerGroupsInput.java | 1 - .../model/SetInstancesProtectionRequest.java | 7 +- .../model/SetInstancesProtectionResponse.java | 1 - ...agFilterForDescribeScalingGroupsInput.java | 116 ++++++ .../TagFilterForListTagResourcesInput.java | 116 ++++++ .../model/TagForCreateScalingGroupInput.java | 116 ++++++ ...orDescribeScalingConfigurationsOutput.java | 116 ++++++ .../TagForDescribeScalingGroupsOutput.java | 116 ++++++ .../model/TagForTagResourcesInput.java | 116 ++++++ .../TagResourceForListTagResourcesOutput.java | 162 ++++++++ .../model/TagResourcesRequest.java | 159 ++++++++ .../model/TagResourcesResponse.java | 105 +++++ .../model/UntagResourcesRequest.java | 157 ++++++++ .../model/UntagResourcesResponse.java | 105 +++++ ...umeForCreateScalingConfigurationInput.java | 7 +- ...orDescribeScalingConfigurationsOutput.java | 1 - ...umeForModifyScalingConfigurationInput.java | 1 - volcengine-java-sdk-bom/pom.xml | 2 +- volcengine-java-sdk-cen/pom.xml | 2 +- volcengine-java-sdk-clb/pom.xml | 2 +- volcengine-java-sdk-core/pom.xml | 2 +- .../java/com/volcengine/version/Version.java | 2 +- volcengine-java-sdk-cr/pom.xml | 2 +- volcengine-java-sdk-directconnect/pom.xml | 2 +- volcengine-java-sdk-ecs/pom.xml | 2 +- volcengine-java-sdk-iam/pom.xml | 2 +- volcengine-java-sdk-kafka/pom.xml | 2 +- volcengine-java-sdk-mongodb/pom.xml | 2 +- volcengine-java-sdk-natgateway/pom.xml | 2 +- volcengine-java-sdk-rdsmysql/pom.xml | 2 +- volcengine-java-sdk-rdsmysqlv2/pom.xml | 2 +- volcengine-java-sdk-redis/pom.xml | 2 +- volcengine-java-sdk-spark/pom.xml | 2 +- volcengine-java-sdk-storageebs/pom.xml | 2 +- volcengine-java-sdk-vke/pom.xml | 2 +- volcengine-java-sdk-volcobserve/pom.xml | 2 +- volcengine-java-sdk-vpc/pom.xml | 2 +- volcengine-java-sdk-vpn/pom.xml | 2 +- 141 files changed, 4060 insertions(+), 226 deletions(-) create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForTagResourcesOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForUntagResourcesOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForCreateScalingGroupInput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForDescribeScalingGroupsOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForModifyScalingGroupInput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesRequest.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesResponse.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForTagResourcesOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForUntagResourcesOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForDescribeScalingGroupsInput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForListTagResourcesInput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForCreateScalingGroupInput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingConfigurationsOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingGroupsOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForTagResourcesInput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourceForListTagResourcesOutput.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesRequest.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesResponse.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesRequest.java create mode 100644 volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesResponse.java diff --git a/README.md b/README.md index 45fad311..29faf6ff 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ com.volcengine volcengine-java-sdk-bom - 0.1.73 + 0.1.74 pom import @@ -70,12 +70,12 @@ com.volcengine volcengine-java-sdk-vpc - 0.1.73 + 0.1.74 com.volcengine volcengine-java-sdk-ecs - 0.1.73 + 0.1.74 ``` diff --git a/meta.json b/meta.json index 877ee581..6cf69e49 100755 --- a/meta.json +++ b/meta.json @@ -1,4 +1,4 @@ { - "lasted": "0.1.73", - "meta_commit": "346fee177a0181dc84cb8af6acaf4ece97149bed" + "lasted": "0.1.74", + "meta_commit": "d84608a227a4e7bd29e271508cac1b8fc9a10630" } \ No newline at end of file diff --git a/pom.xml b/pom.xml index 40fa9f7d..6ca67dc0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.volcengine volcengine-java-sdk pom - 0.1.73 + 0.1.74 volcengine-java-sdk https://open.volcengineapi.com The Java SDK For Volcengine diff --git a/volcengine-java-sdk-alb/pom.xml b/volcengine-java-sdk-alb/pom.xml index 346c52f8..0fb45e23 100644 --- a/volcengine-java-sdk-alb/pom.xml +++ b/volcengine-java-sdk-alb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-autoscaling/pom.xml b/volcengine-java-sdk-autoscaling/pom.xml index 809e26b2..9189638d 100644 --- a/volcengine-java-sdk-autoscaling/pom.xml +++ b/volcengine-java-sdk-autoscaling/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/AutoScalingApi.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/AutoScalingApi.java index 65b65b86..d238d267 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/AutoScalingApi.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/AutoScalingApi.java @@ -81,6 +81,8 @@ import com.volcengine.autoscaling.model.EnableScalingGroupResponse; import com.volcengine.autoscaling.model.EnableScalingPolicyRequest; import com.volcengine.autoscaling.model.EnableScalingPolicyResponse; +import com.volcengine.autoscaling.model.ListTagResourcesRequest; +import com.volcengine.autoscaling.model.ListTagResourcesResponse; import com.volcengine.autoscaling.model.ModifyLifecycleHookRequest; import com.volcengine.autoscaling.model.ModifyLifecycleHookResponse; import com.volcengine.autoscaling.model.ModifyScalingConfigurationRequest; @@ -93,6 +95,10 @@ import com.volcengine.autoscaling.model.RemoveInstancesResponse; import com.volcengine.autoscaling.model.SetInstancesProtectionRequest; import com.volcengine.autoscaling.model.SetInstancesProtectionResponse; +import com.volcengine.autoscaling.model.TagResourcesRequest; +import com.volcengine.autoscaling.model.TagResourcesResponse; +import com.volcengine.autoscaling.model.UntagResourcesRequest; +import com.volcengine.autoscaling.model.UntagResourcesResponse; import java.lang.reflect.Type; import java.util.ArrayList; @@ -3467,6 +3473,130 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } + /** + * Build call for listTagResources + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call listTagResourcesCall(ListTagResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ListTagResources/2020-01-01/auto_scaling/get/text_plain/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "text/plain" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call listTagResourcesValidateBeforeCall(ListTagResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling listTagResources(Async)"); + } + + com.squareup.okhttp.Call call = listTagResourcesCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ListTagResourcesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ListTagResourcesResponse listTagResources(ListTagResourcesRequest body) throws ApiException { + ApiResponse resp = listTagResourcesWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ListTagResourcesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse listTagResourcesWithHttpInfo( @NotNull ListTagResourcesRequest body) throws ApiException { + com.squareup.okhttp.Call call = listTagResourcesValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call listTagResourcesAsync(ListTagResourcesRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = listTagResourcesValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } /** * Build call for modifyLifecycleHook * @param body (required) @@ -4211,4 +4341,252 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don apiClient.executeAsync(call, localVarReturnType, callback); return call; } + /** + * Build call for tagResources + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call tagResourcesCall(TagResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/TagResources/2020-01-01/auto_scaling/get/text_plain/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "text/plain" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call tagResourcesValidateBeforeCall(TagResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling tagResources(Async)"); + } + + com.squareup.okhttp.Call call = tagResourcesCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return TagResourcesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public TagResourcesResponse tagResources(TagResourcesRequest body) throws ApiException { + ApiResponse resp = tagResourcesWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<TagResourcesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse tagResourcesWithHttpInfo( @NotNull TagResourcesRequest body) throws ApiException { + com.squareup.okhttp.Call call = tagResourcesValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call tagResourcesAsync(TagResourcesRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = tagResourcesValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for untagResources + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call untagResourcesCall(UntagResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/UntagResources/2020-01-01/auto_scaling/get/text_plain/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "text/plain" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call untagResourcesValidateBeforeCall(UntagResourcesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling untagResources(Async)"); + } + + com.squareup.okhttp.Call call = untagResourcesCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return UntagResourcesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UntagResourcesResponse untagResources(UntagResourcesRequest body) throws ApiException { + ApiResponse resp = untagResourcesWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<UntagResourcesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse untagResourcesWithHttpInfo( @NotNull UntagResourcesRequest body) throws ApiException { + com.squareup.okhttp.Call call = untagResourcesValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call untagResourcesAsync(UntagResourcesRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = untagResourcesValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForCreateScalingPolicyInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForCreateScalingPolicyInput.java index 416e70fd..37ae0c73 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForCreateScalingPolicyInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForCreateScalingPolicyInput.java @@ -28,7 +28,6 @@ */ - public class AlarmPolicyConditionForCreateScalingPolicyInput { @SerializedName("ComparisonOperator") private String comparisonOperator = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForModifyScalingPolicyInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForModifyScalingPolicyInput.java index ab8d11a5..1a33e219 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForModifyScalingPolicyInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyConditionForModifyScalingPolicyInput.java @@ -28,7 +28,6 @@ */ - public class AlarmPolicyConditionForModifyScalingPolicyInput { @SerializedName("ComparisonOperator") private String comparisonOperator = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForCreateScalingPolicyInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForCreateScalingPolicyInput.java index e88637eb..ead66f9b 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForCreateScalingPolicyInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForCreateScalingPolicyInput.java @@ -29,7 +29,6 @@ */ - public class AlarmPolicyForCreateScalingPolicyInput { @SerializedName("Condition") private AlarmPolicyConditionForCreateScalingPolicyInput condition = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForDescribeScalingPoliciesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForDescribeScalingPoliciesOutput.java index a09340f4..b5b2e1ff 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForDescribeScalingPoliciesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForDescribeScalingPoliciesOutput.java @@ -29,7 +29,6 @@ */ - public class AlarmPolicyForDescribeScalingPoliciesOutput { @SerializedName("Condition") private ConditionForDescribeScalingPoliciesOutput condition = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForModifyScalingPolicyInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForModifyScalingPolicyInput.java index ee38dfe1..a0838cb6 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForModifyScalingPolicyInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AlarmPolicyForModifyScalingPolicyInput.java @@ -29,7 +29,6 @@ */ - public class AlarmPolicyForModifyScalingPolicyInput { @SerializedName("Condition") private AlarmPolicyConditionForModifyScalingPolicyInput condition = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesRequest.java index 8e864a36..fd8b9b9d 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesRequest.java @@ -30,7 +30,6 @@ */ - public class AttachDBInstancesRequest { @SerializedName("DBInstanceIds") private List dbInstanceIds = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesResponse.java index 3e0fab6d..96587b4a 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachDBInstancesResponse.java @@ -28,7 +28,6 @@ */ - public class AttachDBInstancesResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesRequest.java index b0e2715e..c598e955 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesRequest.java @@ -30,7 +30,6 @@ */ - public class AttachInstancesRequest { @SerializedName("Entrusted") private Boolean entrusted = null; @@ -38,6 +37,9 @@ public class AttachInstancesRequest { @SerializedName("InstanceIds") private List instanceIds = null; + @SerializedName("LifecycleHook") + private Boolean lifecycleHook = null; + @SerializedName("ScalingGroupId") private String scalingGroupId = null; @@ -85,6 +87,24 @@ public void setInstanceIds(List instanceIds) { this.instanceIds = instanceIds; } + public AttachInstancesRequest lifecycleHook(Boolean lifecycleHook) { + this.lifecycleHook = lifecycleHook; + return this; + } + + /** + * Get lifecycleHook + * @return lifecycleHook + **/ + @Schema(description = "") + public Boolean isLifecycleHook() { + return lifecycleHook; + } + + public void setLifecycleHook(Boolean lifecycleHook) { + this.lifecycleHook = lifecycleHook; + } + public AttachInstancesRequest scalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; @@ -94,8 +114,7 @@ public AttachInstancesRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -116,12 +135,13 @@ public boolean equals(java.lang.Object o) { AttachInstancesRequest attachInstancesRequest = (AttachInstancesRequest) o; return Objects.equals(this.entrusted, attachInstancesRequest.entrusted) && Objects.equals(this.instanceIds, attachInstancesRequest.instanceIds) && + Objects.equals(this.lifecycleHook, attachInstancesRequest.lifecycleHook) && Objects.equals(this.scalingGroupId, attachInstancesRequest.scalingGroupId); } @Override public int hashCode() { - return Objects.hash(entrusted, instanceIds, scalingGroupId); + return Objects.hash(entrusted, instanceIds, lifecycleHook, scalingGroupId); } @@ -132,6 +152,7 @@ public String toString() { sb.append(" entrusted: ").append(toIndentedString(entrusted)).append("\n"); sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n"); + sb.append(" lifecycleHook: ").append(toIndentedString(lifecycleHook)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesResponse.java index 086863b7..5e8fad95 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachInstancesResponse.java @@ -21,7 +21,6 @@ */ - public class AttachInstancesResponse extends com.volcengine.model.AbstractResponse { @Override diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsRequest.java index 6aa83269..32c57a3b 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsRequest.java @@ -31,14 +31,34 @@ */ - public class AttachServerGroupsRequest { + @SerializedName("ClientToken") + private String clientToken = null; + @SerializedName("ScalingGroupId") private String scalingGroupId = null; @SerializedName("ServerGroupAttributes") private List serverGroupAttributes = null; + public AttachServerGroupsRequest clientToken(String clientToken) { + this.clientToken = clientToken; + return this; + } + + /** + * Get clientToken + * @return clientToken + **/ + @Schema(description = "") + public String getClientToken() { + return clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + } + public AttachServerGroupsRequest scalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; @@ -48,8 +68,7 @@ public AttachServerGroupsRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -95,13 +114,14 @@ public boolean equals(java.lang.Object o) { return false; } AttachServerGroupsRequest attachServerGroupsRequest = (AttachServerGroupsRequest) o; - return Objects.equals(this.scalingGroupId, attachServerGroupsRequest.scalingGroupId) && + return Objects.equals(this.clientToken, attachServerGroupsRequest.clientToken) && + Objects.equals(this.scalingGroupId, attachServerGroupsRequest.scalingGroupId) && Objects.equals(this.serverGroupAttributes, attachServerGroupsRequest.serverGroupAttributes); } @Override public int hashCode() { - return Objects.hash(scalingGroupId, serverGroupAttributes); + return Objects.hash(clientToken, scalingGroupId, serverGroupAttributes); } @@ -110,6 +130,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AttachServerGroupsRequest {\n"); + sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append(" serverGroupAttributes: ").append(toIndentedString(serverGroupAttributes)).append("\n"); sb.append("}"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsResponse.java index dd2a405d..3f21eafa 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/AttachServerGroupsResponse.java @@ -28,7 +28,6 @@ */ - public class AttachServerGroupsResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityRequest.java index 4eeffaf2..49d0fded 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityRequest.java @@ -28,7 +28,6 @@ */ - public class CompleteLifecycleActivityRequest { @SerializedName("LifecycleActivityId") private String lifecycleActivityId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityResponse.java index e21f3585..e74a6402 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CompleteLifecycleActivityResponse.java @@ -28,7 +28,6 @@ */ - public class CompleteLifecycleActivityResponse extends com.volcengine.model.AbstractResponse { @SerializedName("InstanceId") private String instanceId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ConditionForDescribeScalingPoliciesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ConditionForDescribeScalingPoliciesOutput.java index f27beb8f..2a01431c 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ConditionForDescribeScalingPoliciesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ConditionForDescribeScalingPoliciesOutput.java @@ -28,7 +28,6 @@ */ - public class ConditionForDescribeScalingPoliciesOutput { @SerializedName("ComparisonOperator") private String comparisonOperator = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookRequest.java index ff0eae39..0cd6905f 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookRequest.java @@ -28,7 +28,6 @@ */ - public class CreateLifecycleHookRequest { @SerializedName("LifecycleHookName") private String lifecycleHookName = null; @@ -54,8 +53,7 @@ public CreateLifecycleHookRequest lifecycleHookName(String lifecycleHookName) { * Get lifecycleHookName * @return lifecycleHookName **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getLifecycleHookName() { return lifecycleHookName; } @@ -73,8 +71,7 @@ public CreateLifecycleHookRequest lifecycleHookPolicy(String lifecycleHookPolicy * Get lifecycleHookPolicy * @return lifecycleHookPolicy **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getLifecycleHookPolicy() { return lifecycleHookPolicy; } @@ -92,8 +89,7 @@ public CreateLifecycleHookRequest lifecycleHookTimeout(Integer lifecycleHookTime * Get lifecycleHookTimeout * @return lifecycleHookTimeout **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public Integer getLifecycleHookTimeout() { return lifecycleHookTimeout; } @@ -111,8 +107,7 @@ public CreateLifecycleHookRequest lifecycleHookType(String lifecycleHookType) { * Get lifecycleHookType * @return lifecycleHookType **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getLifecycleHookType() { return lifecycleHookType; } @@ -130,8 +125,7 @@ public CreateLifecycleHookRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookResponse.java index 1c535451..665d33cc 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateLifecycleHookResponse.java @@ -28,7 +28,6 @@ */ - public class CreateLifecycleHookResponse extends com.volcengine.model.AbstractResponse { @SerializedName("LifecycleHookId") private String lifecycleHookId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationRequest.java index 6ada96a5..ed7d1246 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationRequest.java @@ -32,14 +32,19 @@ */ - public class CreateScalingConfigurationRequest { + @SerializedName("ClientToken") + private String clientToken = null; + @SerializedName("Eip") private EipForCreateScalingConfigurationInput eip = null; @SerializedName("HostName") private String hostName = null; + @SerializedName("HpcClusterId") + private String hpcClusterId = null; + @SerializedName("ImageId") private String imageId = null; @@ -52,12 +57,18 @@ public class CreateScalingConfigurationRequest { @SerializedName("InstanceTypes") private List instanceTypes = null; + @SerializedName("Ipv6AddressCount") + private Integer ipv6AddressCount = null; + @SerializedName("KeyPairName") private String keyPairName = null; @SerializedName("Password") private String password = null; + @SerializedName("ProjectName") + private String projectName = null; + @SerializedName("ScalingConfigurationName") private String scalingConfigurationName = null; @@ -70,6 +81,12 @@ public class CreateScalingConfigurationRequest { @SerializedName("SecurityGroupIds") private List securityGroupIds = null; + @SerializedName("SpotStrategy") + private String spotStrategy = null; + + @SerializedName("Tags") + private String tags = null; + @SerializedName("UserData") private String userData = null; @@ -79,6 +96,24 @@ public class CreateScalingConfigurationRequest { @SerializedName("ZoneId") private String zoneId = null; + public CreateScalingConfigurationRequest clientToken(String clientToken) { + this.clientToken = clientToken; + return this; + } + + /** + * Get clientToken + * @return clientToken + **/ + @Schema(description = "") + public String getClientToken() { + return clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + } + public CreateScalingConfigurationRequest eip(EipForCreateScalingConfigurationInput eip) { this.eip = eip; return this; @@ -116,6 +151,24 @@ public void setHostName(String hostName) { this.hostName = hostName; } + public CreateScalingConfigurationRequest hpcClusterId(String hpcClusterId) { + this.hpcClusterId = hpcClusterId; + return this; + } + + /** + * Get hpcClusterId + * @return hpcClusterId + **/ + @Schema(description = "") + public String getHpcClusterId() { + return hpcClusterId; + } + + public void setHpcClusterId(String hpcClusterId) { + this.hpcClusterId = hpcClusterId; + } + public CreateScalingConfigurationRequest imageId(String imageId) { this.imageId = imageId; return this; @@ -125,8 +178,7 @@ public CreateScalingConfigurationRequest imageId(String imageId) { * Get imageId * @return imageId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getImageId() { return imageId; } @@ -162,8 +214,7 @@ public CreateScalingConfigurationRequest instanceName(String instanceName) { * Get instanceName * @return instanceName **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getInstanceName() { return instanceName; } @@ -198,6 +249,24 @@ public void setInstanceTypes(List instanceTypes) { this.instanceTypes = instanceTypes; } + public CreateScalingConfigurationRequest ipv6AddressCount(Integer ipv6AddressCount) { + this.ipv6AddressCount = ipv6AddressCount; + return this; + } + + /** + * Get ipv6AddressCount + * @return ipv6AddressCount + **/ + @Schema(description = "") + public Integer getIpv6AddressCount() { + return ipv6AddressCount; + } + + public void setIpv6AddressCount(Integer ipv6AddressCount) { + this.ipv6AddressCount = ipv6AddressCount; + } + public CreateScalingConfigurationRequest keyPairName(String keyPairName) { this.keyPairName = keyPairName; return this; @@ -234,6 +303,24 @@ public void setPassword(String password) { this.password = password; } + public CreateScalingConfigurationRequest projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + public CreateScalingConfigurationRequest scalingConfigurationName(String scalingConfigurationName) { this.scalingConfigurationName = scalingConfigurationName; return this; @@ -243,8 +330,7 @@ public CreateScalingConfigurationRequest scalingConfigurationName(String scaling * Get scalingConfigurationName * @return scalingConfigurationName **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingConfigurationName() { return scalingConfigurationName; } @@ -262,8 +348,7 @@ public CreateScalingConfigurationRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -316,6 +401,42 @@ public void setSecurityGroupIds(List securityGroupIds) { this.securityGroupIds = securityGroupIds; } + public CreateScalingConfigurationRequest spotStrategy(String spotStrategy) { + this.spotStrategy = spotStrategy; + return this; + } + + /** + * Get spotStrategy + * @return spotStrategy + **/ + @Schema(description = "") + public String getSpotStrategy() { + return spotStrategy; + } + + public void setSpotStrategy(String spotStrategy) { + this.spotStrategy = spotStrategy; + } + + public CreateScalingConfigurationRequest tags(String tags) { + this.tags = tags; + return this; + } + + /** + * Get tags + * @return tags + **/ + @Schema(description = "") + public String getTags() { + return tags; + } + + public void setTags(String tags) { + this.tags = tags; + } + public CreateScalingConfigurationRequest userData(String userData) { this.userData = userData; return this; @@ -370,8 +491,7 @@ public CreateScalingConfigurationRequest zoneId(String zoneId) { * Get zoneId * @return zoneId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getZoneId() { return zoneId; } @@ -390,18 +510,24 @@ public boolean equals(java.lang.Object o) { return false; } CreateScalingConfigurationRequest createScalingConfigurationRequest = (CreateScalingConfigurationRequest) o; - return Objects.equals(this.eip, createScalingConfigurationRequest.eip) && + return Objects.equals(this.clientToken, createScalingConfigurationRequest.clientToken) && + Objects.equals(this.eip, createScalingConfigurationRequest.eip) && Objects.equals(this.hostName, createScalingConfigurationRequest.hostName) && + Objects.equals(this.hpcClusterId, createScalingConfigurationRequest.hpcClusterId) && Objects.equals(this.imageId, createScalingConfigurationRequest.imageId) && Objects.equals(this.instanceDescription, createScalingConfigurationRequest.instanceDescription) && Objects.equals(this.instanceName, createScalingConfigurationRequest.instanceName) && Objects.equals(this.instanceTypes, createScalingConfigurationRequest.instanceTypes) && + Objects.equals(this.ipv6AddressCount, createScalingConfigurationRequest.ipv6AddressCount) && Objects.equals(this.keyPairName, createScalingConfigurationRequest.keyPairName) && Objects.equals(this.password, createScalingConfigurationRequest.password) && + Objects.equals(this.projectName, createScalingConfigurationRequest.projectName) && Objects.equals(this.scalingConfigurationName, createScalingConfigurationRequest.scalingConfigurationName) && Objects.equals(this.scalingGroupId, createScalingConfigurationRequest.scalingGroupId) && Objects.equals(this.securityEnhancementStrategy, createScalingConfigurationRequest.securityEnhancementStrategy) && Objects.equals(this.securityGroupIds, createScalingConfigurationRequest.securityGroupIds) && + Objects.equals(this.spotStrategy, createScalingConfigurationRequest.spotStrategy) && + Objects.equals(this.tags, createScalingConfigurationRequest.tags) && Objects.equals(this.userData, createScalingConfigurationRequest.userData) && Objects.equals(this.volumes, createScalingConfigurationRequest.volumes) && Objects.equals(this.zoneId, createScalingConfigurationRequest.zoneId); @@ -409,7 +535,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(eip, hostName, imageId, instanceDescription, instanceName, instanceTypes, keyPairName, password, scalingConfigurationName, scalingGroupId, securityEnhancementStrategy, securityGroupIds, userData, volumes, zoneId); + return Objects.hash(clientToken, eip, hostName, hpcClusterId, imageId, instanceDescription, instanceName, instanceTypes, ipv6AddressCount, keyPairName, password, projectName, scalingConfigurationName, scalingGroupId, securityEnhancementStrategy, securityGroupIds, spotStrategy, tags, userData, volumes, zoneId); } @@ -418,18 +544,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateScalingConfigurationRequest {\n"); + sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n"); sb.append(" eip: ").append(toIndentedString(eip)).append("\n"); sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + sb.append(" hpcClusterId: ").append(toIndentedString(hpcClusterId)).append("\n"); sb.append(" imageId: ").append(toIndentedString(imageId)).append("\n"); sb.append(" instanceDescription: ").append(toIndentedString(instanceDescription)).append("\n"); sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); sb.append(" instanceTypes: ").append(toIndentedString(instanceTypes)).append("\n"); + sb.append(" ipv6AddressCount: ").append(toIndentedString(ipv6AddressCount)).append("\n"); sb.append(" keyPairName: ").append(toIndentedString(keyPairName)).append("\n"); sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); sb.append(" scalingConfigurationName: ").append(toIndentedString(scalingConfigurationName)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append(" securityEnhancementStrategy: ").append(toIndentedString(securityEnhancementStrategy)).append("\n"); sb.append(" securityGroupIds: ").append(toIndentedString(securityGroupIds)).append("\n"); + sb.append(" spotStrategy: ").append(toIndentedString(spotStrategy)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" userData: ").append(toIndentedString(userData)).append("\n"); sb.append(" volumes: ").append(toIndentedString(volumes)).append("\n"); sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationResponse.java index 226a0781..dbd12494 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingConfigurationResponse.java @@ -28,7 +28,6 @@ */ - public class CreateScalingConfigurationResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupRequest.java index b4b35aae..d8f039cb 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupRequest.java @@ -19,7 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.LaunchTemplateOverrideForCreateScalingGroupInput; import com.volcengine.autoscaling.model.ServerGroupAttributeForCreateScalingGroupInput; +import com.volcengine.autoscaling.model.TagForCreateScalingGroupInput; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; import java.util.ArrayList; @@ -31,8 +33,10 @@ */ - public class CreateScalingGroupRequest { + @SerializedName("ClientToken") + private String clientToken = null; + @SerializedName("DBInstanceIds") private List dbInstanceIds = null; @@ -42,9 +46,21 @@ public class CreateScalingGroupRequest { @SerializedName("DesireInstanceNumber") private Integer desireInstanceNumber = null; + @SerializedName("HealthCheckType") + private String healthCheckType = null; + @SerializedName("InstanceTerminatePolicy") private String instanceTerminatePolicy = null; + @SerializedName("LaunchTemplateId") + private String launchTemplateId = null; + + @SerializedName("LaunchTemplateOverrides") + private List launchTemplateOverrides = null; + + @SerializedName("LaunchTemplateVersion") + private String launchTemplateVersion = null; + @SerializedName("MaxInstanceNumber") private Integer maxInstanceNumber = null; @@ -54,15 +70,42 @@ public class CreateScalingGroupRequest { @SerializedName("MultiAZPolicy") private String multiAZPolicy = null; + @SerializedName("ProjectName") + private String projectName = null; + @SerializedName("ScalingGroupName") private String scalingGroupName = null; + @SerializedName("ScalingMode") + private String scalingMode = null; + @SerializedName("ServerGroupAttributes") private List serverGroupAttributes = null; @SerializedName("SubnetIds") private List subnetIds = null; + @SerializedName("Tags") + private List tags = null; + + public CreateScalingGroupRequest clientToken(String clientToken) { + this.clientToken = clientToken; + return this; + } + + /** + * Get clientToken + * @return clientToken + **/ + @Schema(description = "") + public String getClientToken() { + return clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + } + public CreateScalingGroupRequest dbInstanceIds(List dbInstanceIds) { this.dbInstanceIds = dbInstanceIds; return this; @@ -125,6 +168,24 @@ public void setDesireInstanceNumber(Integer desireInstanceNumber) { this.desireInstanceNumber = desireInstanceNumber; } + public CreateScalingGroupRequest healthCheckType(String healthCheckType) { + this.healthCheckType = healthCheckType; + return this; + } + + /** + * Get healthCheckType + * @return healthCheckType + **/ + @Schema(description = "") + public String getHealthCheckType() { + return healthCheckType; + } + + public void setHealthCheckType(String healthCheckType) { + this.healthCheckType = healthCheckType; + } + public CreateScalingGroupRequest instanceTerminatePolicy(String instanceTerminatePolicy) { this.instanceTerminatePolicy = instanceTerminatePolicy; return this; @@ -143,6 +204,69 @@ public void setInstanceTerminatePolicy(String instanceTerminatePolicy) { this.instanceTerminatePolicy = instanceTerminatePolicy; } + public CreateScalingGroupRequest launchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + return this; + } + + /** + * Get launchTemplateId + * @return launchTemplateId + **/ + @Schema(description = "") + public String getLaunchTemplateId() { + return launchTemplateId; + } + + public void setLaunchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + } + + public CreateScalingGroupRequest launchTemplateOverrides(List launchTemplateOverrides) { + this.launchTemplateOverrides = launchTemplateOverrides; + return this; + } + + public CreateScalingGroupRequest addLaunchTemplateOverridesItem(LaunchTemplateOverrideForCreateScalingGroupInput launchTemplateOverridesItem) { + if (this.launchTemplateOverrides == null) { + this.launchTemplateOverrides = new ArrayList(); + } + this.launchTemplateOverrides.add(launchTemplateOverridesItem); + return this; + } + + /** + * Get launchTemplateOverrides + * @return launchTemplateOverrides + **/ + @Valid + @Schema(description = "") + public List getLaunchTemplateOverrides() { + return launchTemplateOverrides; + } + + public void setLaunchTemplateOverrides(List launchTemplateOverrides) { + this.launchTemplateOverrides = launchTemplateOverrides; + } + + public CreateScalingGroupRequest launchTemplateVersion(String launchTemplateVersion) { + this.launchTemplateVersion = launchTemplateVersion; + return this; + } + + /** + * Get launchTemplateVersion + * @return launchTemplateVersion + **/ + @Schema(description = "") + public String getLaunchTemplateVersion() { + return launchTemplateVersion; + } + + public void setLaunchTemplateVersion(String launchTemplateVersion) { + this.launchTemplateVersion = launchTemplateVersion; + } + public CreateScalingGroupRequest maxInstanceNumber(Integer maxInstanceNumber) { this.maxInstanceNumber = maxInstanceNumber; return this; @@ -197,6 +321,24 @@ public void setMultiAZPolicy(String multiAZPolicy) { this.multiAZPolicy = multiAZPolicy; } + public CreateScalingGroupRequest projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + public CreateScalingGroupRequest scalingGroupName(String scalingGroupName) { this.scalingGroupName = scalingGroupName; return this; @@ -206,8 +348,7 @@ public CreateScalingGroupRequest scalingGroupName(String scalingGroupName) { * Get scalingGroupName * @return scalingGroupName **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupName() { return scalingGroupName; } @@ -216,6 +357,24 @@ public void setScalingGroupName(String scalingGroupName) { this.scalingGroupName = scalingGroupName; } + public CreateScalingGroupRequest scalingMode(String scalingMode) { + this.scalingMode = scalingMode; + return this; + } + + /** + * Get scalingMode + * @return scalingMode + **/ + @Schema(description = "") + public String getScalingMode() { + return scalingMode; + } + + public void setScalingMode(String scalingMode) { + this.scalingMode = scalingMode; + } + public CreateScalingGroupRequest serverGroupAttributes(List serverGroupAttributes) { this.serverGroupAttributes = serverGroupAttributes; return this; @@ -269,6 +428,33 @@ public void setSubnetIds(List subnetIds) { this.subnetIds = subnetIds; } + public CreateScalingGroupRequest tags(List tags) { + this.tags = tags; + return this; + } + + public CreateScalingGroupRequest addTagsItem(TagForCreateScalingGroupInput tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Get tags + * @return tags + **/ + @Valid + @Schema(description = "") + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + @Override public boolean equals(java.lang.Object o) { @@ -279,21 +465,29 @@ public boolean equals(java.lang.Object o) { return false; } CreateScalingGroupRequest createScalingGroupRequest = (CreateScalingGroupRequest) o; - return Objects.equals(this.dbInstanceIds, createScalingGroupRequest.dbInstanceIds) && + return Objects.equals(this.clientToken, createScalingGroupRequest.clientToken) && + Objects.equals(this.dbInstanceIds, createScalingGroupRequest.dbInstanceIds) && Objects.equals(this.defaultCooldown, createScalingGroupRequest.defaultCooldown) && Objects.equals(this.desireInstanceNumber, createScalingGroupRequest.desireInstanceNumber) && + Objects.equals(this.healthCheckType, createScalingGroupRequest.healthCheckType) && Objects.equals(this.instanceTerminatePolicy, createScalingGroupRequest.instanceTerminatePolicy) && + Objects.equals(this.launchTemplateId, createScalingGroupRequest.launchTemplateId) && + Objects.equals(this.launchTemplateOverrides, createScalingGroupRequest.launchTemplateOverrides) && + Objects.equals(this.launchTemplateVersion, createScalingGroupRequest.launchTemplateVersion) && Objects.equals(this.maxInstanceNumber, createScalingGroupRequest.maxInstanceNumber) && Objects.equals(this.minInstanceNumber, createScalingGroupRequest.minInstanceNumber) && Objects.equals(this.multiAZPolicy, createScalingGroupRequest.multiAZPolicy) && + Objects.equals(this.projectName, createScalingGroupRequest.projectName) && Objects.equals(this.scalingGroupName, createScalingGroupRequest.scalingGroupName) && + Objects.equals(this.scalingMode, createScalingGroupRequest.scalingMode) && Objects.equals(this.serverGroupAttributes, createScalingGroupRequest.serverGroupAttributes) && - Objects.equals(this.subnetIds, createScalingGroupRequest.subnetIds); + Objects.equals(this.subnetIds, createScalingGroupRequest.subnetIds) && + Objects.equals(this.tags, createScalingGroupRequest.tags); } @Override public int hashCode() { - return Objects.hash(dbInstanceIds, defaultCooldown, desireInstanceNumber, instanceTerminatePolicy, maxInstanceNumber, minInstanceNumber, multiAZPolicy, scalingGroupName, serverGroupAttributes, subnetIds); + return Objects.hash(clientToken, dbInstanceIds, defaultCooldown, desireInstanceNumber, healthCheckType, instanceTerminatePolicy, launchTemplateId, launchTemplateOverrides, launchTemplateVersion, maxInstanceNumber, minInstanceNumber, multiAZPolicy, projectName, scalingGroupName, scalingMode, serverGroupAttributes, subnetIds, tags); } @@ -302,16 +496,24 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreateScalingGroupRequest {\n"); + sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n"); sb.append(" dbInstanceIds: ").append(toIndentedString(dbInstanceIds)).append("\n"); sb.append(" defaultCooldown: ").append(toIndentedString(defaultCooldown)).append("\n"); sb.append(" desireInstanceNumber: ").append(toIndentedString(desireInstanceNumber)).append("\n"); + sb.append(" healthCheckType: ").append(toIndentedString(healthCheckType)).append("\n"); sb.append(" instanceTerminatePolicy: ").append(toIndentedString(instanceTerminatePolicy)).append("\n"); + sb.append(" launchTemplateId: ").append(toIndentedString(launchTemplateId)).append("\n"); + sb.append(" launchTemplateOverrides: ").append(toIndentedString(launchTemplateOverrides)).append("\n"); + sb.append(" launchTemplateVersion: ").append(toIndentedString(launchTemplateVersion)).append("\n"); sb.append(" maxInstanceNumber: ").append(toIndentedString(maxInstanceNumber)).append("\n"); sb.append(" minInstanceNumber: ").append(toIndentedString(minInstanceNumber)).append("\n"); sb.append(" multiAZPolicy: ").append(toIndentedString(multiAZPolicy)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); sb.append(" scalingGroupName: ").append(toIndentedString(scalingGroupName)).append("\n"); + sb.append(" scalingMode: ").append(toIndentedString(scalingMode)).append("\n"); sb.append(" serverGroupAttributes: ").append(toIndentedString(serverGroupAttributes)).append("\n"); sb.append(" subnetIds: ").append(toIndentedString(subnetIds)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupResponse.java index 01891136..d743673b 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingGroupResponse.java @@ -28,7 +28,6 @@ */ - public class CreateScalingGroupResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyRequest.java index 2cbbfed1..6d6713b7 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyRequest.java @@ -30,7 +30,6 @@ */ - public class CreateScalingPolicyRequest { @SerializedName("AdjustmentType") private String adjustmentType = null; @@ -65,8 +64,7 @@ public CreateScalingPolicyRequest adjustmentType(String adjustmentType) { * Get adjustmentType * @return adjustmentType **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getAdjustmentType() { return adjustmentType; } @@ -84,8 +82,7 @@ public CreateScalingPolicyRequest adjustmentValue(Integer adjustmentValue) { * Get adjustmentValue * @return adjustmentValue **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public Integer getAdjustmentValue() { return adjustmentValue; } @@ -140,8 +137,7 @@ public CreateScalingPolicyRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -159,8 +155,7 @@ public CreateScalingPolicyRequest scalingPolicyName(String scalingPolicyName) { * Get scalingPolicyName * @return scalingPolicyName **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingPolicyName() { return scalingPolicyName; } @@ -178,8 +173,7 @@ public CreateScalingPolicyRequest scalingPolicyType(String scalingPolicyType) { * Get scalingPolicyType * @return scalingPolicyType **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingPolicyType() { return scalingPolicyType; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyResponse.java index ffb0b5dc..0d722747 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/CreateScalingPolicyResponse.java @@ -28,7 +28,6 @@ */ - public class CreateScalingPolicyResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookRequest.java index 2da15f44..0cc2d4a1 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookRequest.java @@ -28,7 +28,6 @@ */ - public class DeleteLifecycleHookRequest { @SerializedName("LifecycleHookId") private String lifecycleHookId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookResponse.java index d8d2cb86..2b9dcf9c 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteLifecycleHookResponse.java @@ -28,7 +28,6 @@ */ - public class DeleteLifecycleHookResponse extends com.volcengine.model.AbstractResponse { @SerializedName("LifecycleHookId") private String lifecycleHookId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationRequest.java index 5d6e5086..8cfab396 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationRequest.java @@ -28,7 +28,6 @@ */ - public class DeleteScalingConfigurationRequest { @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; @@ -42,8 +41,7 @@ public DeleteScalingConfigurationRequest scalingConfigurationId(String scalingCo * Get scalingConfigurationId * @return scalingConfigurationId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingConfigurationId() { return scalingConfigurationId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationResponse.java index d85cafe3..77a37997 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingConfigurationResponse.java @@ -28,7 +28,6 @@ */ - public class DeleteScalingConfigurationResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupRequest.java index b8087fd4..32d74aa0 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupRequest.java @@ -28,7 +28,6 @@ */ - public class DeleteScalingGroupRequest { @SerializedName("ScalingGroupId") private String scalingGroupId = null; @@ -42,8 +41,7 @@ public DeleteScalingGroupRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupResponse.java index 1c450d33..97c921af 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingGroupResponse.java @@ -28,7 +28,6 @@ */ - public class DeleteScalingGroupResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyRequest.java index 45e5e531..6ca86b35 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyRequest.java @@ -28,7 +28,6 @@ */ - public class DeleteScalingPolicyRequest { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; @@ -42,8 +41,7 @@ public DeleteScalingPolicyRequest scalingPolicyId(String scalingPolicyId) { * Get scalingPolicyId * @return scalingPolicyId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingPolicyId() { return scalingPolicyId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyResponse.java index 63582791..6df751dc 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DeleteScalingPolicyResponse.java @@ -28,7 +28,6 @@ */ - public class DeleteScalingPolicyResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesRequest.java index a112eba7..0bc44fc6 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesRequest.java @@ -28,7 +28,6 @@ */ - public class DescribeLifecycleActivitiesRequest { @SerializedName("InstanceId") private String instanceId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesResponse.java index 956ece1f..5057debd 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleActivitiesResponse.java @@ -31,7 +31,6 @@ */ - public class DescribeLifecycleActivitiesResponse extends com.volcengine.model.AbstractResponse { @SerializedName("LifecycleActivities") private List lifecycleActivities = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksRequest.java index 06259433..bf14e271 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksRequest.java @@ -30,7 +30,6 @@ */ - public class DescribeLifecycleHooksRequest { @SerializedName("LifecycleHookIds") private List lifecycleHookIds = null; @@ -136,8 +135,7 @@ public DescribeLifecycleHooksRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksResponse.java index 6872001b..d2f2ab25 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeLifecycleHooksResponse.java @@ -31,7 +31,6 @@ */ - public class DescribeLifecycleHooksResponse extends com.volcengine.model.AbstractResponse { @SerializedName("LifecycleHooks") private List lifecycleHooks = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesRequest.java index c244d1f8..fbe08b33 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesRequest.java @@ -30,7 +30,6 @@ */ - public class DescribeScalingActivitiesRequest { @SerializedName("EndTime") private String endTime = null; @@ -142,8 +141,7 @@ public DescribeScalingActivitiesRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesResponse.java index 21b9bcc3..e1d1c6a6 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingActivitiesResponse.java @@ -31,7 +31,6 @@ */ - public class DescribeScalingActivitiesResponse extends com.volcengine.model.AbstractResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsRequest.java index 5bf8ca6f..7eb7f85f 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsRequest.java @@ -30,7 +30,6 @@ */ - public class DescribeScalingConfigurationsRequest { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsResponse.java index 5041621b..98585c6e 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingConfigurationsResponse.java @@ -31,7 +31,6 @@ */ - public class DescribeScalingConfigurationsResponse extends com.volcengine.model.AbstractResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsRequest.java index 2f1a23fe..2a059839 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsRequest.java @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.TagFilterForDescribeScalingGroupsInput; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; import java.util.ArrayList; @@ -30,7 +31,6 @@ */ - public class DescribeScalingGroupsRequest { @SerializedName("PageNumber") private Integer pageNumber = null; @@ -38,12 +38,18 @@ public class DescribeScalingGroupsRequest { @SerializedName("PageSize") private Integer pageSize = null; + @SerializedName("ProjectName") + private String projectName = null; + @SerializedName("ScalingGroupIds") private List scalingGroupIds = null; @SerializedName("ScalingGroupNames") private List scalingGroupNames = null; + @SerializedName("TagFilters") + private List tagFilters = null; + public DescribeScalingGroupsRequest pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; @@ -80,6 +86,24 @@ public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } + public DescribeScalingGroupsRequest projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + public DescribeScalingGroupsRequest scalingGroupIds(List scalingGroupIds) { this.scalingGroupIds = scalingGroupIds; return this; @@ -132,6 +156,33 @@ public void setScalingGroupNames(List scalingGroupNames) { this.scalingGroupNames = scalingGroupNames; } + public DescribeScalingGroupsRequest tagFilters(List tagFilters) { + this.tagFilters = tagFilters; + return this; + } + + public DescribeScalingGroupsRequest addTagFiltersItem(TagFilterForDescribeScalingGroupsInput tagFiltersItem) { + if (this.tagFilters == null) { + this.tagFilters = new ArrayList(); + } + this.tagFilters.add(tagFiltersItem); + return this; + } + + /** + * Get tagFilters + * @return tagFilters + **/ + @Valid + @Schema(description = "") + public List getTagFilters() { + return tagFilters; + } + + public void setTagFilters(List tagFilters) { + this.tagFilters = tagFilters; + } + @Override public boolean equals(java.lang.Object o) { @@ -144,13 +195,15 @@ public boolean equals(java.lang.Object o) { DescribeScalingGroupsRequest describeScalingGroupsRequest = (DescribeScalingGroupsRequest) o; return Objects.equals(this.pageNumber, describeScalingGroupsRequest.pageNumber) && Objects.equals(this.pageSize, describeScalingGroupsRequest.pageSize) && + Objects.equals(this.projectName, describeScalingGroupsRequest.projectName) && Objects.equals(this.scalingGroupIds, describeScalingGroupsRequest.scalingGroupIds) && - Objects.equals(this.scalingGroupNames, describeScalingGroupsRequest.scalingGroupNames); + Objects.equals(this.scalingGroupNames, describeScalingGroupsRequest.scalingGroupNames) && + Objects.equals(this.tagFilters, describeScalingGroupsRequest.tagFilters); } @Override public int hashCode() { - return Objects.hash(pageNumber, pageSize, scalingGroupIds, scalingGroupNames); + return Objects.hash(pageNumber, pageSize, projectName, scalingGroupIds, scalingGroupNames, tagFilters); } @@ -161,8 +214,10 @@ public String toString() { sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); sb.append(" scalingGroupIds: ").append(toIndentedString(scalingGroupIds)).append("\n"); sb.append(" scalingGroupNames: ").append(toIndentedString(scalingGroupNames)).append("\n"); + sb.append(" tagFilters: ").append(toIndentedString(tagFilters)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsResponse.java index bca4367c..d452cc57 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingGroupsResponse.java @@ -31,7 +31,6 @@ */ - public class DescribeScalingGroupsResponse extends com.volcengine.model.AbstractResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesRequest.java index 4a002787..dcd9f9f4 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesRequest.java @@ -30,7 +30,6 @@ */ - public class DescribeScalingInstancesRequest { @SerializedName("CreationType") private String creationType = null; @@ -160,8 +159,7 @@ public DescribeScalingInstancesRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesResponse.java index 0429bdc8..2618ae0f 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingInstancesResponse.java @@ -31,7 +31,6 @@ */ - public class DescribeScalingInstancesResponse extends com.volcengine.model.AbstractResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesRequest.java index b17ec23e..b0ea193e 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesRequest.java @@ -30,7 +30,6 @@ */ - public class DescribeScalingPoliciesRequest { @SerializedName("PageNumber") private Integer pageNumber = null; @@ -95,8 +94,7 @@ public DescribeScalingPoliciesRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesResponse.java index f10d4c88..c0efb278 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DescribeScalingPoliciesResponse.java @@ -31,7 +31,6 @@ */ - public class DescribeScalingPoliciesResponse extends com.volcengine.model.AbstractResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesRequest.java index 3216248e..6f73574b 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesRequest.java @@ -30,7 +30,6 @@ */ - public class DetachDBInstancesRequest { @SerializedName("DBInstanceIds") private List dbInstanceIds = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesResponse.java index 58538201..413dcdfb 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachDBInstancesResponse.java @@ -28,7 +28,6 @@ */ - public class DetachDBInstancesResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesRequest.java index e1ef6857..408f83c5 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesRequest.java @@ -30,7 +30,6 @@ */ - public class DetachInstancesRequest { @SerializedName("DecreaseDesiredCapacity") private Boolean decreaseDesiredCapacity = null; @@ -41,6 +40,9 @@ public class DetachInstancesRequest { @SerializedName("InstanceIds") private List instanceIds = null; + @SerializedName("LifecycleHook") + private Boolean lifecycleHook = null; + @SerializedName("ScalingGroupId") private String scalingGroupId = null; @@ -106,6 +108,24 @@ public void setInstanceIds(List instanceIds) { this.instanceIds = instanceIds; } + public DetachInstancesRequest lifecycleHook(Boolean lifecycleHook) { + this.lifecycleHook = lifecycleHook; + return this; + } + + /** + * Get lifecycleHook + * @return lifecycleHook + **/ + @Schema(description = "") + public Boolean isLifecycleHook() { + return lifecycleHook; + } + + public void setLifecycleHook(Boolean lifecycleHook) { + this.lifecycleHook = lifecycleHook; + } + public DetachInstancesRequest scalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; @@ -115,8 +135,7 @@ public DetachInstancesRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -138,12 +157,13 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.decreaseDesiredCapacity, detachInstancesRequest.decreaseDesiredCapacity) && Objects.equals(this.detachOption, detachInstancesRequest.detachOption) && Objects.equals(this.instanceIds, detachInstancesRequest.instanceIds) && + Objects.equals(this.lifecycleHook, detachInstancesRequest.lifecycleHook) && Objects.equals(this.scalingGroupId, detachInstancesRequest.scalingGroupId); } @Override public int hashCode() { - return Objects.hash(decreaseDesiredCapacity, detachOption, instanceIds, scalingGroupId); + return Objects.hash(decreaseDesiredCapacity, detachOption, instanceIds, lifecycleHook, scalingGroupId); } @@ -155,6 +175,7 @@ public String toString() { sb.append(" decreaseDesiredCapacity: ").append(toIndentedString(decreaseDesiredCapacity)).append("\n"); sb.append(" detachOption: ").append(toIndentedString(detachOption)).append("\n"); sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n"); + sb.append(" lifecycleHook: ").append(toIndentedString(lifecycleHook)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesResponse.java index 75b0a040..6d2f1c0d 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachInstancesResponse.java @@ -21,7 +21,6 @@ */ - public class DetachInstancesResponse extends com.volcengine.model.AbstractResponse { @Override diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsRequest.java index 806ebc41..6e923c99 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsRequest.java @@ -31,14 +31,34 @@ */ - public class DetachServerGroupsRequest { + @SerializedName("ClientToken") + private String clientToken = null; + @SerializedName("ScalingGroupId") private String scalingGroupId = null; @SerializedName("ServerGroupAttributes") private List serverGroupAttributes = null; + public DetachServerGroupsRequest clientToken(String clientToken) { + this.clientToken = clientToken; + return this; + } + + /** + * Get clientToken + * @return clientToken + **/ + @Schema(description = "") + public String getClientToken() { + return clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + } + public DetachServerGroupsRequest scalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; @@ -48,8 +68,7 @@ public DetachServerGroupsRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -95,13 +114,14 @@ public boolean equals(java.lang.Object o) { return false; } DetachServerGroupsRequest detachServerGroupsRequest = (DetachServerGroupsRequest) o; - return Objects.equals(this.scalingGroupId, detachServerGroupsRequest.scalingGroupId) && + return Objects.equals(this.clientToken, detachServerGroupsRequest.clientToken) && + Objects.equals(this.scalingGroupId, detachServerGroupsRequest.scalingGroupId) && Objects.equals(this.serverGroupAttributes, detachServerGroupsRequest.serverGroupAttributes); } @Override public int hashCode() { - return Objects.hash(scalingGroupId, serverGroupAttributes); + return Objects.hash(clientToken, scalingGroupId, serverGroupAttributes); } @@ -110,6 +130,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class DetachServerGroupsRequest {\n"); + sb.append(" clientToken: ").append(toIndentedString(clientToken)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append(" serverGroupAttributes: ").append(toIndentedString(serverGroupAttributes)).append("\n"); sb.append("}"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsResponse.java index 284472f9..e0c04284 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DetachServerGroupsResponse.java @@ -28,7 +28,6 @@ */ - public class DetachServerGroupsResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupRequest.java index 97505538..481c8b26 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupRequest.java @@ -28,7 +28,6 @@ */ - public class DisableScalingGroupRequest { @SerializedName("ScalingGroupId") private String scalingGroupId = null; @@ -42,8 +41,7 @@ public DisableScalingGroupRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupResponse.java index 34835683..bf44e854 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingGroupResponse.java @@ -28,7 +28,6 @@ */ - public class DisableScalingGroupResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyRequest.java index 3217f3d2..da2bd9b6 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyRequest.java @@ -28,7 +28,6 @@ */ - public class DisableScalingPolicyRequest { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; @@ -42,8 +41,7 @@ public DisableScalingPolicyRequest scalingPolicyId(String scalingPolicyId) { * Get scalingPolicyId * @return scalingPolicyId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingPolicyId() { return scalingPolicyId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyResponse.java index 3b4615f6..76340e68 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/DisableScalingPolicyResponse.java @@ -28,7 +28,6 @@ */ - public class DisableScalingPolicyResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForCreateScalingConfigurationInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForCreateScalingConfigurationInput.java index eeffbec6..11ba4f45 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForCreateScalingConfigurationInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForCreateScalingConfigurationInput.java @@ -28,7 +28,6 @@ */ - public class EipForCreateScalingConfigurationInput { @SerializedName("Bandwidth") private Integer bandwidth = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForDescribeScalingConfigurationsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForDescribeScalingConfigurationsOutput.java index ed52365f..bc6ad210 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForDescribeScalingConfigurationsOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForDescribeScalingConfigurationsOutput.java @@ -28,7 +28,6 @@ */ - public class EipForDescribeScalingConfigurationsOutput { @SerializedName("Bandwidth") private Integer bandwidth = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForModifyScalingConfigurationInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForModifyScalingConfigurationInput.java index 5db9c6e9..deb724d0 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForModifyScalingConfigurationInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EipForModifyScalingConfigurationInput.java @@ -28,7 +28,6 @@ */ - public class EipForModifyScalingConfigurationInput { @SerializedName("Bandwidth") private Integer bandwidth = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationRequest.java index 2db6e660..dff99c53 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationRequest.java @@ -28,7 +28,6 @@ */ - public class EnableScalingConfigurationRequest { @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; @@ -45,8 +44,7 @@ public EnableScalingConfigurationRequest scalingConfigurationId(String scalingCo * Get scalingConfigurationId * @return scalingConfigurationId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingConfigurationId() { return scalingConfigurationId; } @@ -64,8 +62,7 @@ public EnableScalingConfigurationRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationResponse.java index 775fe5ae..3bd81caa 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingConfigurationResponse.java @@ -28,7 +28,6 @@ */ - public class EnableScalingConfigurationResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupRequest.java index 7e2486f4..8c716cb2 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupRequest.java @@ -28,7 +28,6 @@ */ - public class EnableScalingGroupRequest { @SerializedName("ScalingGroupId") private String scalingGroupId = null; @@ -42,8 +41,7 @@ public EnableScalingGroupRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupResponse.java index 79c76ad3..439c51a8 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingGroupResponse.java @@ -28,7 +28,6 @@ */ - public class EnableScalingGroupResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyRequest.java index ee061016..58b8f269 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyRequest.java @@ -28,7 +28,6 @@ */ - public class EnableScalingPolicyRequest { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; @@ -42,8 +41,7 @@ public EnableScalingPolicyRequest scalingPolicyId(String scalingPolicyId) { * Get scalingPolicyId * @return scalingPolicyId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingPolicyId() { return scalingPolicyId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyResponse.java index ec941df7..2cebf301 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/EnableScalingPolicyResponse.java @@ -28,7 +28,6 @@ */ - public class EnableScalingPolicyResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForTagResourcesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForTagResourcesOutput.java new file mode 100644 index 00000000..8410826e --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForTagResourcesOutput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ErrorForTagResourcesOutput + */ + + +public class ErrorForTagResourcesOutput { + @SerializedName("Code") + private String code = null; + + @SerializedName("Message") + private String message = null; + + public ErrorForTagResourcesOutput code(String code) { + this.code = code; + return this; + } + + /** + * Get code + * @return code + **/ + @Schema(description = "") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public ErrorForTagResourcesOutput message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @Schema(description = "") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ErrorForTagResourcesOutput errorForTagResourcesOutput = (ErrorForTagResourcesOutput) o; + return Objects.equals(this.code, errorForTagResourcesOutput.code) && + Objects.equals(this.message, errorForTagResourcesOutput.message); + } + + @Override + public int hashCode() { + return Objects.hash(code, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ErrorForTagResourcesOutput {\n"); + + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForUntagResourcesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForUntagResourcesOutput.java new file mode 100644 index 00000000..93715f72 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ErrorForUntagResourcesOutput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ErrorForUntagResourcesOutput + */ + + +public class ErrorForUntagResourcesOutput { + @SerializedName("Code") + private String code = null; + + @SerializedName("Message") + private String message = null; + + public ErrorForUntagResourcesOutput code(String code) { + this.code = code; + return this; + } + + /** + * Get code + * @return code + **/ + @Schema(description = "") + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public ErrorForUntagResourcesOutput message(String message) { + this.message = message; + return this; + } + + /** + * Get message + * @return message + **/ + @Schema(description = "") + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ErrorForUntagResourcesOutput errorForUntagResourcesOutput = (ErrorForUntagResourcesOutput) o; + return Objects.equals(this.code, errorForUntagResourcesOutput.code) && + Objects.equals(this.message, errorForUntagResourcesOutput.message); + } + + @Override + public int hashCode() { + return Objects.hash(code, message); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ErrorForUntagResourcesOutput {\n"); + + sb.append(" code: ").append(toIndentedString(code)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/InstanceProtectionResultForSetInstancesProtectionOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/InstanceProtectionResultForSetInstancesProtectionOutput.java index 9600256e..7ef6f837 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/InstanceProtectionResultForSetInstancesProtectionOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/InstanceProtectionResultForSetInstancesProtectionOutput.java @@ -28,7 +28,6 @@ */ - public class InstanceProtectionResultForSetInstancesProtectionOutput { @SerializedName("Code") private String code = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForCreateScalingGroupInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForCreateScalingGroupInput.java new file mode 100644 index 00000000..cbf7ce41 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForCreateScalingGroupInput.java @@ -0,0 +1,93 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * LaunchTemplateOverrideForCreateScalingGroupInput + */ + + +public class LaunchTemplateOverrideForCreateScalingGroupInput { + @SerializedName("InstanceType") + private String instanceType = null; + + public LaunchTemplateOverrideForCreateScalingGroupInput instanceType(String instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public String getInstanceType() { + return instanceType; + } + + public void setInstanceType(String instanceType) { + this.instanceType = instanceType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LaunchTemplateOverrideForCreateScalingGroupInput launchTemplateOverrideForCreateScalingGroupInput = (LaunchTemplateOverrideForCreateScalingGroupInput) o; + return Objects.equals(this.instanceType, launchTemplateOverrideForCreateScalingGroupInput.instanceType); + } + + @Override + public int hashCode() { + return Objects.hash(instanceType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LaunchTemplateOverrideForCreateScalingGroupInput {\n"); + + sb.append(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForDescribeScalingGroupsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForDescribeScalingGroupsOutput.java new file mode 100644 index 00000000..fa70275c --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForDescribeScalingGroupsOutput.java @@ -0,0 +1,93 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * LaunchTemplateOverrideForDescribeScalingGroupsOutput + */ + + +public class LaunchTemplateOverrideForDescribeScalingGroupsOutput { + @SerializedName("InstanceType") + private String instanceType = null; + + public LaunchTemplateOverrideForDescribeScalingGroupsOutput instanceType(String instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public String getInstanceType() { + return instanceType; + } + + public void setInstanceType(String instanceType) { + this.instanceType = instanceType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LaunchTemplateOverrideForDescribeScalingGroupsOutput launchTemplateOverrideForDescribeScalingGroupsOutput = (LaunchTemplateOverrideForDescribeScalingGroupsOutput) o; + return Objects.equals(this.instanceType, launchTemplateOverrideForDescribeScalingGroupsOutput.instanceType); + } + + @Override + public int hashCode() { + return Objects.hash(instanceType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LaunchTemplateOverrideForDescribeScalingGroupsOutput {\n"); + + sb.append(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForModifyScalingGroupInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForModifyScalingGroupInput.java new file mode 100644 index 00000000..6ae53946 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LaunchTemplateOverrideForModifyScalingGroupInput.java @@ -0,0 +1,93 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * LaunchTemplateOverrideForModifyScalingGroupInput + */ + + +public class LaunchTemplateOverrideForModifyScalingGroupInput { + @SerializedName("InstanceType") + private String instanceType = null; + + public LaunchTemplateOverrideForModifyScalingGroupInput instanceType(String instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public String getInstanceType() { + return instanceType; + } + + public void setInstanceType(String instanceType) { + this.instanceType = instanceType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LaunchTemplateOverrideForModifyScalingGroupInput launchTemplateOverrideForModifyScalingGroupInput = (LaunchTemplateOverrideForModifyScalingGroupInput) o; + return Objects.equals(this.instanceType, launchTemplateOverrideForModifyScalingGroupInput.instanceType); + } + + @Override + public int hashCode() { + return Objects.hash(instanceType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LaunchTemplateOverrideForModifyScalingGroupInput {\n"); + + sb.append(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleActivityForDescribeLifecycleActivitiesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleActivityForDescribeLifecycleActivitiesOutput.java index 38877e1c..5586825d 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleActivityForDescribeLifecycleActivitiesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleActivityForDescribeLifecycleActivitiesOutput.java @@ -28,7 +28,6 @@ */ - public class LifecycleActivityForDescribeLifecycleActivitiesOutput { @SerializedName("InstanceId") private String instanceId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleHookForDescribeLifecycleHooksOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleHookForDescribeLifecycleHooksOutput.java index 0cadba43..bac59cc1 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleHookForDescribeLifecycleHooksOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/LifecycleHookForDescribeLifecycleHooksOutput.java @@ -28,7 +28,6 @@ */ - public class LifecycleHookForDescribeLifecycleHooksOutput { @SerializedName("LifecycleHookId") private String lifecycleHookId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesRequest.java new file mode 100644 index 00000000..7aac46a8 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesRequest.java @@ -0,0 +1,205 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.TagFilterForListTagResourcesInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ListTagResourcesRequest + */ + + +public class ListTagResourcesRequest { + @SerializedName("MaxResults") + private String maxResults = null; + + @SerializedName("NextToken") + private String nextToken = null; + + @SerializedName("ResourceIds") + private List resourceIds = null; + + @SerializedName("ResourceType") + private String resourceType = null; + + @SerializedName("TagFilters") + private List tagFilters = null; + + public ListTagResourcesRequest maxResults(String maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Get maxResults + * @return maxResults + **/ + @Schema(description = "") + public String getMaxResults() { + return maxResults; + } + + public void setMaxResults(String maxResults) { + this.maxResults = maxResults; + } + + public ListTagResourcesRequest nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + @Schema(description = "") + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ListTagResourcesRequest resourceIds(List resourceIds) { + this.resourceIds = resourceIds; + return this; + } + + public ListTagResourcesRequest addResourceIdsItem(String resourceIdsItem) { + if (this.resourceIds == null) { + this.resourceIds = new ArrayList(); + } + this.resourceIds.add(resourceIdsItem); + return this; + } + + /** + * Get resourceIds + * @return resourceIds + **/ + @Schema(description = "") + public List getResourceIds() { + return resourceIds; + } + + public void setResourceIds(List resourceIds) { + this.resourceIds = resourceIds; + } + + public ListTagResourcesRequest resourceType(String resourceType) { + this.resourceType = resourceType; + return this; + } + + /** + * Get resourceType + * @return resourceType + **/ + @Schema(description = "") + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public ListTagResourcesRequest tagFilters(List tagFilters) { + this.tagFilters = tagFilters; + return this; + } + + public ListTagResourcesRequest addTagFiltersItem(TagFilterForListTagResourcesInput tagFiltersItem) { + if (this.tagFilters == null) { + this.tagFilters = new ArrayList(); + } + this.tagFilters.add(tagFiltersItem); + return this; + } + + /** + * Get tagFilters + * @return tagFilters + **/ + @Valid + @Schema(description = "") + public List getTagFilters() { + return tagFilters; + } + + public void setTagFilters(List tagFilters) { + this.tagFilters = tagFilters; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListTagResourcesRequest listTagResourcesRequest = (ListTagResourcesRequest) o; + return Objects.equals(this.maxResults, listTagResourcesRequest.maxResults) && + Objects.equals(this.nextToken, listTagResourcesRequest.nextToken) && + Objects.equals(this.resourceIds, listTagResourcesRequest.resourceIds) && + Objects.equals(this.resourceType, listTagResourcesRequest.resourceType) && + Objects.equals(this.tagFilters, listTagResourcesRequest.tagFilters); + } + + @Override + public int hashCode() { + return Objects.hash(maxResults, nextToken, resourceIds, resourceType, tagFilters); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListTagResourcesRequest {\n"); + + sb.append(" maxResults: ").append(toIndentedString(maxResults)).append("\n"); + sb.append(" nextToken: ").append(toIndentedString(nextToken)).append("\n"); + sb.append(" resourceIds: ").append(toIndentedString(resourceIds)).append("\n"); + sb.append(" resourceType: ").append(toIndentedString(resourceType)).append("\n"); + sb.append(" tagFilters: ").append(toIndentedString(tagFilters)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesResponse.java new file mode 100644 index 00000000..1387c4a8 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ListTagResourcesResponse.java @@ -0,0 +1,128 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.TagResourceForListTagResourcesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ListTagResourcesResponse + */ + + +public class ListTagResourcesResponse extends com.volcengine.model.AbstractResponse { + @SerializedName("NextToken") + private String nextToken = null; + + @SerializedName("TagResources") + private List tagResources = null; + + public ListTagResourcesResponse nextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + * Get nextToken + * @return nextToken + **/ + @Schema(description = "") + public String getNextToken() { + return nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public ListTagResourcesResponse tagResources(List tagResources) { + this.tagResources = tagResources; + return this; + } + + public ListTagResourcesResponse addTagResourcesItem(TagResourceForListTagResourcesOutput tagResourcesItem) { + if (this.tagResources == null) { + this.tagResources = new ArrayList(); + } + this.tagResources.add(tagResourcesItem); + return this; + } + + /** + * Get tagResources + * @return tagResources + **/ + @Valid + @Schema(description = "") + public List getTagResources() { + return tagResources; + } + + public void setTagResources(List tagResources) { + this.tagResources = tagResources; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ListTagResourcesResponse listTagResourcesResponse = (ListTagResourcesResponse) o; + return Objects.equals(this.nextToken, listTagResourcesResponse.nextToken) && + Objects.equals(this.tagResources, listTagResourcesResponse.tagResources); + } + + @Override + public int hashCode() { + return Objects.hash(nextToken, tagResources); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ListTagResourcesResponse {\n"); + + sb.append(" nextToken: ").append(toIndentedString(nextToken)).append("\n"); + sb.append(" tagResources: ").append(toIndentedString(tagResources)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookRequest.java index 6ace918a..f65e6bd9 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookRequest.java @@ -28,7 +28,6 @@ */ - public class ModifyLifecycleHookRequest { @SerializedName("LifecycleHookId") private String lifecycleHookId = null; @@ -51,8 +50,7 @@ public ModifyLifecycleHookRequest lifecycleHookId(String lifecycleHookId) { * Get lifecycleHookId * @return lifecycleHookId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getLifecycleHookId() { return lifecycleHookId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookResponse.java index 8991ebe9..b0d1a6e9 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyLifecycleHookResponse.java @@ -28,7 +28,6 @@ */ - public class ModifyLifecycleHookResponse extends com.volcengine.model.AbstractResponse { @SerializedName("LifecycleHookId") private String lifecycleHookId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationRequest.java index 390de7fa..2b94bf6c 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationRequest.java @@ -32,7 +32,6 @@ */ - public class ModifyScalingConfigurationRequest { @SerializedName("Eip") private EipForModifyScalingConfigurationInput eip = null; @@ -40,6 +39,9 @@ public class ModifyScalingConfigurationRequest { @SerializedName("HostName") private String hostName = null; + @SerializedName("HpcClusterId") + private String hpcClusterId = null; + @SerializedName("ImageId") private String imageId = null; @@ -52,12 +54,18 @@ public class ModifyScalingConfigurationRequest { @SerializedName("InstanceTypes") private List instanceTypes = null; + @SerializedName("Ipv6AddressCount") + private Integer ipv6AddressCount = null; + @SerializedName("KeyPairName") private String keyPairName = null; @SerializedName("Password") private String password = null; + @SerializedName("ProjectName") + private String projectName = null; + @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; @@ -70,6 +78,12 @@ public class ModifyScalingConfigurationRequest { @SerializedName("SecurityGroupIds") private List securityGroupIds = null; + @SerializedName("SpotStrategy") + private String spotStrategy = null; + + @SerializedName("Tags") + private String tags = null; + @SerializedName("UserData") private String userData = null; @@ -116,6 +130,24 @@ public void setHostName(String hostName) { this.hostName = hostName; } + public ModifyScalingConfigurationRequest hpcClusterId(String hpcClusterId) { + this.hpcClusterId = hpcClusterId; + return this; + } + + /** + * Get hpcClusterId + * @return hpcClusterId + **/ + @Schema(description = "") + public String getHpcClusterId() { + return hpcClusterId; + } + + public void setHpcClusterId(String hpcClusterId) { + this.hpcClusterId = hpcClusterId; + } + public ModifyScalingConfigurationRequest imageId(String imageId) { this.imageId = imageId; return this; @@ -196,6 +228,24 @@ public void setInstanceTypes(List instanceTypes) { this.instanceTypes = instanceTypes; } + public ModifyScalingConfigurationRequest ipv6AddressCount(Integer ipv6AddressCount) { + this.ipv6AddressCount = ipv6AddressCount; + return this; + } + + /** + * Get ipv6AddressCount + * @return ipv6AddressCount + **/ + @Schema(description = "") + public Integer getIpv6AddressCount() { + return ipv6AddressCount; + } + + public void setIpv6AddressCount(Integer ipv6AddressCount) { + this.ipv6AddressCount = ipv6AddressCount; + } + public ModifyScalingConfigurationRequest keyPairName(String keyPairName) { this.keyPairName = keyPairName; return this; @@ -232,6 +282,24 @@ public void setPassword(String password) { this.password = password; } + public ModifyScalingConfigurationRequest projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + public ModifyScalingConfigurationRequest scalingConfigurationId(String scalingConfigurationId) { this.scalingConfigurationId = scalingConfigurationId; return this; @@ -241,8 +309,7 @@ public ModifyScalingConfigurationRequest scalingConfigurationId(String scalingCo * Get scalingConfigurationId * @return scalingConfigurationId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingConfigurationId() { return scalingConfigurationId; } @@ -313,6 +380,42 @@ public void setSecurityGroupIds(List securityGroupIds) { this.securityGroupIds = securityGroupIds; } + public ModifyScalingConfigurationRequest spotStrategy(String spotStrategy) { + this.spotStrategy = spotStrategy; + return this; + } + + /** + * Get spotStrategy + * @return spotStrategy + **/ + @Schema(description = "") + public String getSpotStrategy() { + return spotStrategy; + } + + public void setSpotStrategy(String spotStrategy) { + this.spotStrategy = spotStrategy; + } + + public ModifyScalingConfigurationRequest tags(String tags) { + this.tags = tags; + return this; + } + + /** + * Get tags + * @return tags + **/ + @Schema(description = "") + public String getTags() { + return tags; + } + + public void setTags(String tags) { + this.tags = tags; + } + public ModifyScalingConfigurationRequest userData(String userData) { this.userData = userData; return this; @@ -388,16 +491,21 @@ public boolean equals(java.lang.Object o) { ModifyScalingConfigurationRequest modifyScalingConfigurationRequest = (ModifyScalingConfigurationRequest) o; return Objects.equals(this.eip, modifyScalingConfigurationRequest.eip) && Objects.equals(this.hostName, modifyScalingConfigurationRequest.hostName) && + Objects.equals(this.hpcClusterId, modifyScalingConfigurationRequest.hpcClusterId) && Objects.equals(this.imageId, modifyScalingConfigurationRequest.imageId) && Objects.equals(this.instanceDescription, modifyScalingConfigurationRequest.instanceDescription) && Objects.equals(this.instanceName, modifyScalingConfigurationRequest.instanceName) && Objects.equals(this.instanceTypes, modifyScalingConfigurationRequest.instanceTypes) && + Objects.equals(this.ipv6AddressCount, modifyScalingConfigurationRequest.ipv6AddressCount) && Objects.equals(this.keyPairName, modifyScalingConfigurationRequest.keyPairName) && Objects.equals(this.password, modifyScalingConfigurationRequest.password) && + Objects.equals(this.projectName, modifyScalingConfigurationRequest.projectName) && Objects.equals(this.scalingConfigurationId, modifyScalingConfigurationRequest.scalingConfigurationId) && Objects.equals(this.scalingConfigurationName, modifyScalingConfigurationRequest.scalingConfigurationName) && Objects.equals(this.securityEnhancementStrategy, modifyScalingConfigurationRequest.securityEnhancementStrategy) && Objects.equals(this.securityGroupIds, modifyScalingConfigurationRequest.securityGroupIds) && + Objects.equals(this.spotStrategy, modifyScalingConfigurationRequest.spotStrategy) && + Objects.equals(this.tags, modifyScalingConfigurationRequest.tags) && Objects.equals(this.userData, modifyScalingConfigurationRequest.userData) && Objects.equals(this.volumes, modifyScalingConfigurationRequest.volumes) && Objects.equals(this.zoneId, modifyScalingConfigurationRequest.zoneId); @@ -405,7 +513,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(eip, hostName, imageId, instanceDescription, instanceName, instanceTypes, keyPairName, password, scalingConfigurationId, scalingConfigurationName, securityEnhancementStrategy, securityGroupIds, userData, volumes, zoneId); + return Objects.hash(eip, hostName, hpcClusterId, imageId, instanceDescription, instanceName, instanceTypes, ipv6AddressCount, keyPairName, password, projectName, scalingConfigurationId, scalingConfigurationName, securityEnhancementStrategy, securityGroupIds, spotStrategy, tags, userData, volumes, zoneId); } @@ -416,16 +524,21 @@ public String toString() { sb.append(" eip: ").append(toIndentedString(eip)).append("\n"); sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + sb.append(" hpcClusterId: ").append(toIndentedString(hpcClusterId)).append("\n"); sb.append(" imageId: ").append(toIndentedString(imageId)).append("\n"); sb.append(" instanceDescription: ").append(toIndentedString(instanceDescription)).append("\n"); sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); sb.append(" instanceTypes: ").append(toIndentedString(instanceTypes)).append("\n"); + sb.append(" ipv6AddressCount: ").append(toIndentedString(ipv6AddressCount)).append("\n"); sb.append(" keyPairName: ").append(toIndentedString(keyPairName)).append("\n"); sb.append(" password: ").append(toIndentedString(password)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); sb.append(" scalingConfigurationId: ").append(toIndentedString(scalingConfigurationId)).append("\n"); sb.append(" scalingConfigurationName: ").append(toIndentedString(scalingConfigurationName)).append("\n"); sb.append(" securityEnhancementStrategy: ").append(toIndentedString(securityEnhancementStrategy)).append("\n"); sb.append(" securityGroupIds: ").append(toIndentedString(securityGroupIds)).append("\n"); + sb.append(" spotStrategy: ").append(toIndentedString(spotStrategy)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" userData: ").append(toIndentedString(userData)).append("\n"); sb.append(" volumes: ").append(toIndentedString(volumes)).append("\n"); sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationResponse.java index a8d92f01..a06f7f4b 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingConfigurationResponse.java @@ -28,7 +28,6 @@ */ - public class ModifyScalingConfigurationResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupRequest.java index 9dc6ef46..33c8d7dd 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupRequest.java @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.LaunchTemplateOverrideForModifyScalingGroupInput; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; import java.util.ArrayList; @@ -30,7 +31,6 @@ */ - public class ModifyScalingGroupRequest { @SerializedName("ActiveScalingConfigurationId") private String activeScalingConfigurationId = null; @@ -41,15 +41,30 @@ public class ModifyScalingGroupRequest { @SerializedName("DesireInstanceNumber") private Integer desireInstanceNumber = null; + @SerializedName("HealthCheckType") + private String healthCheckType = null; + @SerializedName("InstanceTerminatePolicy") private String instanceTerminatePolicy = null; + @SerializedName("LaunchTemplateId") + private String launchTemplateId = null; + + @SerializedName("LaunchTemplateOverrides") + private List launchTemplateOverrides = null; + + @SerializedName("LaunchTemplateVersion") + private String launchTemplateVersion = null; + @SerializedName("MaxInstanceNumber") private Integer maxInstanceNumber = null; @SerializedName("MinInstanceNumber") private Integer minInstanceNumber = null; + @SerializedName("MultiAZPolicy") + private String multiAZPolicy = null; + @SerializedName("ScalingGroupId") private String scalingGroupId = null; @@ -113,6 +128,24 @@ public void setDesireInstanceNumber(Integer desireInstanceNumber) { this.desireInstanceNumber = desireInstanceNumber; } + public ModifyScalingGroupRequest healthCheckType(String healthCheckType) { + this.healthCheckType = healthCheckType; + return this; + } + + /** + * Get healthCheckType + * @return healthCheckType + **/ + @Schema(description = "") + public String getHealthCheckType() { + return healthCheckType; + } + + public void setHealthCheckType(String healthCheckType) { + this.healthCheckType = healthCheckType; + } + public ModifyScalingGroupRequest instanceTerminatePolicy(String instanceTerminatePolicy) { this.instanceTerminatePolicy = instanceTerminatePolicy; return this; @@ -131,6 +164,69 @@ public void setInstanceTerminatePolicy(String instanceTerminatePolicy) { this.instanceTerminatePolicy = instanceTerminatePolicy; } + public ModifyScalingGroupRequest launchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + return this; + } + + /** + * Get launchTemplateId + * @return launchTemplateId + **/ + @Schema(description = "") + public String getLaunchTemplateId() { + return launchTemplateId; + } + + public void setLaunchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + } + + public ModifyScalingGroupRequest launchTemplateOverrides(List launchTemplateOverrides) { + this.launchTemplateOverrides = launchTemplateOverrides; + return this; + } + + public ModifyScalingGroupRequest addLaunchTemplateOverridesItem(LaunchTemplateOverrideForModifyScalingGroupInput launchTemplateOverridesItem) { + if (this.launchTemplateOverrides == null) { + this.launchTemplateOverrides = new ArrayList(); + } + this.launchTemplateOverrides.add(launchTemplateOverridesItem); + return this; + } + + /** + * Get launchTemplateOverrides + * @return launchTemplateOverrides + **/ + @Valid + @Schema(description = "") + public List getLaunchTemplateOverrides() { + return launchTemplateOverrides; + } + + public void setLaunchTemplateOverrides(List launchTemplateOverrides) { + this.launchTemplateOverrides = launchTemplateOverrides; + } + + public ModifyScalingGroupRequest launchTemplateVersion(String launchTemplateVersion) { + this.launchTemplateVersion = launchTemplateVersion; + return this; + } + + /** + * Get launchTemplateVersion + * @return launchTemplateVersion + **/ + @Schema(description = "") + public String getLaunchTemplateVersion() { + return launchTemplateVersion; + } + + public void setLaunchTemplateVersion(String launchTemplateVersion) { + this.launchTemplateVersion = launchTemplateVersion; + } + public ModifyScalingGroupRequest maxInstanceNumber(Integer maxInstanceNumber) { this.maxInstanceNumber = maxInstanceNumber; return this; @@ -167,6 +263,24 @@ public void setMinInstanceNumber(Integer minInstanceNumber) { this.minInstanceNumber = minInstanceNumber; } + public ModifyScalingGroupRequest multiAZPolicy(String multiAZPolicy) { + this.multiAZPolicy = multiAZPolicy; + return this; + } + + /** + * Get multiAZPolicy + * @return multiAZPolicy + **/ + @Schema(description = "") + public String getMultiAZPolicy() { + return multiAZPolicy; + } + + public void setMultiAZPolicy(String multiAZPolicy) { + this.multiAZPolicy = multiAZPolicy; + } + public ModifyScalingGroupRequest scalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; @@ -176,8 +290,7 @@ public ModifyScalingGroupRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -243,9 +356,14 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.activeScalingConfigurationId, modifyScalingGroupRequest.activeScalingConfigurationId) && Objects.equals(this.defaultCooldown, modifyScalingGroupRequest.defaultCooldown) && Objects.equals(this.desireInstanceNumber, modifyScalingGroupRequest.desireInstanceNumber) && + Objects.equals(this.healthCheckType, modifyScalingGroupRequest.healthCheckType) && Objects.equals(this.instanceTerminatePolicy, modifyScalingGroupRequest.instanceTerminatePolicy) && + Objects.equals(this.launchTemplateId, modifyScalingGroupRequest.launchTemplateId) && + Objects.equals(this.launchTemplateOverrides, modifyScalingGroupRequest.launchTemplateOverrides) && + Objects.equals(this.launchTemplateVersion, modifyScalingGroupRequest.launchTemplateVersion) && Objects.equals(this.maxInstanceNumber, modifyScalingGroupRequest.maxInstanceNumber) && Objects.equals(this.minInstanceNumber, modifyScalingGroupRequest.minInstanceNumber) && + Objects.equals(this.multiAZPolicy, modifyScalingGroupRequest.multiAZPolicy) && Objects.equals(this.scalingGroupId, modifyScalingGroupRequest.scalingGroupId) && Objects.equals(this.scalingGroupName, modifyScalingGroupRequest.scalingGroupName) && Objects.equals(this.subnetIds, modifyScalingGroupRequest.subnetIds); @@ -253,7 +371,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(activeScalingConfigurationId, defaultCooldown, desireInstanceNumber, instanceTerminatePolicy, maxInstanceNumber, minInstanceNumber, scalingGroupId, scalingGroupName, subnetIds); + return Objects.hash(activeScalingConfigurationId, defaultCooldown, desireInstanceNumber, healthCheckType, instanceTerminatePolicy, launchTemplateId, launchTemplateOverrides, launchTemplateVersion, maxInstanceNumber, minInstanceNumber, multiAZPolicy, scalingGroupId, scalingGroupName, subnetIds); } @@ -265,9 +383,14 @@ public String toString() { sb.append(" activeScalingConfigurationId: ").append(toIndentedString(activeScalingConfigurationId)).append("\n"); sb.append(" defaultCooldown: ").append(toIndentedString(defaultCooldown)).append("\n"); sb.append(" desireInstanceNumber: ").append(toIndentedString(desireInstanceNumber)).append("\n"); + sb.append(" healthCheckType: ").append(toIndentedString(healthCheckType)).append("\n"); sb.append(" instanceTerminatePolicy: ").append(toIndentedString(instanceTerminatePolicy)).append("\n"); + sb.append(" launchTemplateId: ").append(toIndentedString(launchTemplateId)).append("\n"); + sb.append(" launchTemplateOverrides: ").append(toIndentedString(launchTemplateOverrides)).append("\n"); + sb.append(" launchTemplateVersion: ").append(toIndentedString(launchTemplateVersion)).append("\n"); sb.append(" maxInstanceNumber: ").append(toIndentedString(maxInstanceNumber)).append("\n"); sb.append(" minInstanceNumber: ").append(toIndentedString(minInstanceNumber)).append("\n"); + sb.append(" multiAZPolicy: ").append(toIndentedString(multiAZPolicy)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append(" scalingGroupName: ").append(toIndentedString(scalingGroupName)).append("\n"); sb.append(" subnetIds: ").append(toIndentedString(subnetIds)).append("\n"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupResponse.java index e9b2aa35..9f1e4f60 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingGroupResponse.java @@ -28,7 +28,6 @@ */ - public class ModifyScalingGroupResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingGroupId") private String scalingGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyRequest.java index 714bd371..023de8f8 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyRequest.java @@ -30,7 +30,6 @@ */ - public class ModifyScalingPolicyRequest { @SerializedName("AdjustmentType") private String adjustmentType = null; @@ -135,8 +134,7 @@ public ModifyScalingPolicyRequest scalingPolicyId(String scalingPolicyId) { * Get scalingPolicyId * @return scalingPolicyId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingPolicyId() { return scalingPolicyId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyResponse.java index 624d97b0..0f6b6ba6 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ModifyScalingPolicyResponse.java @@ -28,7 +28,6 @@ */ - public class ModifyScalingPolicyResponse extends com.volcengine.model.AbstractResponse { @SerializedName("ScalingPolicyId") private String scalingPolicyId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForTagResourcesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForTagResourcesOutput.java new file mode 100644 index 00000000..32934cd5 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForTagResourcesOutput.java @@ -0,0 +1,118 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.ErrorForTagResourcesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * OperationDetailForTagResourcesOutput + */ + + +public class OperationDetailForTagResourcesOutput { + @SerializedName("Error") + private ErrorForTagResourcesOutput error = null; + + @SerializedName("ResourceId") + private String resourceId = null; + + public OperationDetailForTagResourcesOutput error(ErrorForTagResourcesOutput error) { + this.error = error; + return this; + } + + /** + * Get error + * @return error + **/ + @Valid + @Schema(description = "") + public ErrorForTagResourcesOutput getError() { + return error; + } + + public void setError(ErrorForTagResourcesOutput error) { + this.error = error; + } + + public OperationDetailForTagResourcesOutput resourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + + /** + * Get resourceId + * @return resourceId + **/ + @Schema(description = "") + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OperationDetailForTagResourcesOutput operationDetailForTagResourcesOutput = (OperationDetailForTagResourcesOutput) o; + return Objects.equals(this.error, operationDetailForTagResourcesOutput.error) && + Objects.equals(this.resourceId, operationDetailForTagResourcesOutput.resourceId); + } + + @Override + public int hashCode() { + return Objects.hash(error, resourceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OperationDetailForTagResourcesOutput {\n"); + + sb.append(" error: ").append(toIndentedString(error)).append("\n"); + sb.append(" resourceId: ").append(toIndentedString(resourceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForUntagResourcesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForUntagResourcesOutput.java new file mode 100644 index 00000000..788aadd3 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/OperationDetailForUntagResourcesOutput.java @@ -0,0 +1,118 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.ErrorForUntagResourcesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * OperationDetailForUntagResourcesOutput + */ + + +public class OperationDetailForUntagResourcesOutput { + @SerializedName("Error") + private ErrorForUntagResourcesOutput error = null; + + @SerializedName("ResourceId") + private String resourceId = null; + + public OperationDetailForUntagResourcesOutput error(ErrorForUntagResourcesOutput error) { + this.error = error; + return this; + } + + /** + * Get error + * @return error + **/ + @Valid + @Schema(description = "") + public ErrorForUntagResourcesOutput getError() { + return error; + } + + public void setError(ErrorForUntagResourcesOutput error) { + this.error = error; + } + + public OperationDetailForUntagResourcesOutput resourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + + /** + * Get resourceId + * @return resourceId + **/ + @Schema(description = "") + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OperationDetailForUntagResourcesOutput operationDetailForUntagResourcesOutput = (OperationDetailForUntagResourcesOutput) o; + return Objects.equals(this.error, operationDetailForUntagResourcesOutput.error) && + Objects.equals(this.resourceId, operationDetailForUntagResourcesOutput.resourceId); + } + + @Override + public int hashCode() { + return Objects.hash(error, resourceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OperationDetailForUntagResourcesOutput {\n"); + + sb.append(" error: ").append(toIndentedString(error)).append("\n"); + sb.append(" resourceId: ").append(toIndentedString(resourceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RelatedInstanceForDescribeScalingActivitiesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RelatedInstanceForDescribeScalingActivitiesOutput.java index 4e3f5238..b011b294 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RelatedInstanceForDescribeScalingActivitiesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RelatedInstanceForDescribeScalingActivitiesOutput.java @@ -28,7 +28,6 @@ */ - public class RelatedInstanceForDescribeScalingActivitiesOutput { @SerializedName("InstanceId") private String instanceId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesRequest.java index aa3cb4a9..2ea10e9b 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesRequest.java @@ -30,7 +30,6 @@ */ - public class RemoveInstancesRequest { @SerializedName("DecreaseDesiredCapacity") private Boolean decreaseDesiredCapacity = null; @@ -38,6 +37,12 @@ public class RemoveInstancesRequest { @SerializedName("InstanceIds") private List instanceIds = null; + @SerializedName("LifecycleHook") + private Boolean lifecycleHook = null; + + @SerializedName("RemoveMode") + private String removeMode = null; + @SerializedName("ScalingGroupId") private String scalingGroupId = null; @@ -85,6 +90,42 @@ public void setInstanceIds(List instanceIds) { this.instanceIds = instanceIds; } + public RemoveInstancesRequest lifecycleHook(Boolean lifecycleHook) { + this.lifecycleHook = lifecycleHook; + return this; + } + + /** + * Get lifecycleHook + * @return lifecycleHook + **/ + @Schema(description = "") + public Boolean isLifecycleHook() { + return lifecycleHook; + } + + public void setLifecycleHook(Boolean lifecycleHook) { + this.lifecycleHook = lifecycleHook; + } + + public RemoveInstancesRequest removeMode(String removeMode) { + this.removeMode = removeMode; + return this; + } + + /** + * Get removeMode + * @return removeMode + **/ + @Schema(description = "") + public String getRemoveMode() { + return removeMode; + } + + public void setRemoveMode(String removeMode) { + this.removeMode = removeMode; + } + public RemoveInstancesRequest scalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; @@ -94,8 +135,7 @@ public RemoveInstancesRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } @@ -116,12 +156,14 @@ public boolean equals(java.lang.Object o) { RemoveInstancesRequest removeInstancesRequest = (RemoveInstancesRequest) o; return Objects.equals(this.decreaseDesiredCapacity, removeInstancesRequest.decreaseDesiredCapacity) && Objects.equals(this.instanceIds, removeInstancesRequest.instanceIds) && + Objects.equals(this.lifecycleHook, removeInstancesRequest.lifecycleHook) && + Objects.equals(this.removeMode, removeInstancesRequest.removeMode) && Objects.equals(this.scalingGroupId, removeInstancesRequest.scalingGroupId); } @Override public int hashCode() { - return Objects.hash(decreaseDesiredCapacity, instanceIds, scalingGroupId); + return Objects.hash(decreaseDesiredCapacity, instanceIds, lifecycleHook, removeMode, scalingGroupId); } @@ -132,6 +174,8 @@ public String toString() { sb.append(" decreaseDesiredCapacity: ").append(toIndentedString(decreaseDesiredCapacity)).append("\n"); sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n"); + sb.append(" lifecycleHook: ").append(toIndentedString(lifecycleHook)).append("\n"); + sb.append(" removeMode: ").append(toIndentedString(removeMode)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesResponse.java index 43cda9ab..19c0278f 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/RemoveInstancesResponse.java @@ -21,7 +21,6 @@ */ - public class RemoveInstancesResponse extends com.volcengine.model.AbstractResponse { @Override diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingActivityForDescribeScalingActivitiesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingActivityForDescribeScalingActivitiesOutput.java index c31a54d7..22e34775 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingActivityForDescribeScalingActivitiesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingActivityForDescribeScalingActivitiesOutput.java @@ -31,7 +31,6 @@ */ - public class ScalingActivityForDescribeScalingActivitiesOutput { @SerializedName("ActivityType") private String activityType = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingConfigurationForDescribeScalingConfigurationsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingConfigurationForDescribeScalingConfigurationsOutput.java index fa561692..19a1ea4e 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingConfigurationForDescribeScalingConfigurationsOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingConfigurationForDescribeScalingConfigurationsOutput.java @@ -20,6 +20,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import com.volcengine.autoscaling.model.EipForDescribeScalingConfigurationsOutput; +import com.volcengine.autoscaling.model.TagForDescribeScalingConfigurationsOutput; import com.volcengine.autoscaling.model.VolumeForDescribeScalingConfigurationsOutput; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; @@ -32,7 +33,6 @@ */ - public class ScalingConfigurationForDescribeScalingConfigurationsOutput { @SerializedName("CreatedAt") private String createdAt = null; @@ -43,9 +43,15 @@ public class ScalingConfigurationForDescribeScalingConfigurationsOutput { @SerializedName("HostName") private String hostName = null; + @SerializedName("HpcClusterId") + private String hpcClusterId = null; + @SerializedName("ImageId") private String imageId = null; + @SerializedName("InstanceChargeType") + private String instanceChargeType = null; + @SerializedName("InstanceDescription") private String instanceDescription = null; @@ -55,12 +61,18 @@ public class ScalingConfigurationForDescribeScalingConfigurationsOutput { @SerializedName("InstanceTypes") private List instanceTypes = null; + @SerializedName("Ipv6AddressCount") + private Integer ipv6AddressCount = null; + @SerializedName("KeyPairName") private String keyPairName = null; @SerializedName("LifecycleState") private String lifecycleState = null; + @SerializedName("ProjectName") + private String projectName = null; + @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; @@ -76,6 +88,12 @@ public class ScalingConfigurationForDescribeScalingConfigurationsOutput { @SerializedName("SecurityGroupIds") private List securityGroupIds = null; + @SerializedName("SpotStrategy") + private String spotStrategy = null; + + @SerializedName("Tags") + private List tags = null; + @SerializedName("UpdatedAt") private String updatedAt = null; @@ -143,6 +161,24 @@ public void setHostName(String hostName) { this.hostName = hostName; } + public ScalingConfigurationForDescribeScalingConfigurationsOutput hpcClusterId(String hpcClusterId) { + this.hpcClusterId = hpcClusterId; + return this; + } + + /** + * Get hpcClusterId + * @return hpcClusterId + **/ + @Schema(description = "") + public String getHpcClusterId() { + return hpcClusterId; + } + + public void setHpcClusterId(String hpcClusterId) { + this.hpcClusterId = hpcClusterId; + } + public ScalingConfigurationForDescribeScalingConfigurationsOutput imageId(String imageId) { this.imageId = imageId; return this; @@ -161,6 +197,24 @@ public void setImageId(String imageId) { this.imageId = imageId; } + public ScalingConfigurationForDescribeScalingConfigurationsOutput instanceChargeType(String instanceChargeType) { + this.instanceChargeType = instanceChargeType; + return this; + } + + /** + * Get instanceChargeType + * @return instanceChargeType + **/ + @Schema(description = "") + public String getInstanceChargeType() { + return instanceChargeType; + } + + public void setInstanceChargeType(String instanceChargeType) { + this.instanceChargeType = instanceChargeType; + } + public ScalingConfigurationForDescribeScalingConfigurationsOutput instanceDescription(String instanceDescription) { this.instanceDescription = instanceDescription; return this; @@ -223,6 +277,24 @@ public void setInstanceTypes(List instanceTypes) { this.instanceTypes = instanceTypes; } + public ScalingConfigurationForDescribeScalingConfigurationsOutput ipv6AddressCount(Integer ipv6AddressCount) { + this.ipv6AddressCount = ipv6AddressCount; + return this; + } + + /** + * Get ipv6AddressCount + * @return ipv6AddressCount + **/ + @Schema(description = "") + public Integer getIpv6AddressCount() { + return ipv6AddressCount; + } + + public void setIpv6AddressCount(Integer ipv6AddressCount) { + this.ipv6AddressCount = ipv6AddressCount; + } + public ScalingConfigurationForDescribeScalingConfigurationsOutput keyPairName(String keyPairName) { this.keyPairName = keyPairName; return this; @@ -259,6 +331,24 @@ public void setLifecycleState(String lifecycleState) { this.lifecycleState = lifecycleState; } + public ScalingConfigurationForDescribeScalingConfigurationsOutput projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + public ScalingConfigurationForDescribeScalingConfigurationsOutput scalingConfigurationId(String scalingConfigurationId) { this.scalingConfigurationId = scalingConfigurationId; return this; @@ -357,6 +447,51 @@ public void setSecurityGroupIds(List securityGroupIds) { this.securityGroupIds = securityGroupIds; } + public ScalingConfigurationForDescribeScalingConfigurationsOutput spotStrategy(String spotStrategy) { + this.spotStrategy = spotStrategy; + return this; + } + + /** + * Get spotStrategy + * @return spotStrategy + **/ + @Schema(description = "") + public String getSpotStrategy() { + return spotStrategy; + } + + public void setSpotStrategy(String spotStrategy) { + this.spotStrategy = spotStrategy; + } + + public ScalingConfigurationForDescribeScalingConfigurationsOutput tags(List tags) { + this.tags = tags; + return this; + } + + public ScalingConfigurationForDescribeScalingConfigurationsOutput addTagsItem(TagForDescribeScalingConfigurationsOutput tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Get tags + * @return tags + **/ + @Valid + @Schema(description = "") + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + public ScalingConfigurationForDescribeScalingConfigurationsOutput updatedAt(String updatedAt) { this.updatedAt = updatedAt; return this; @@ -451,17 +586,23 @@ public boolean equals(java.lang.Object o) { return Objects.equals(this.createdAt, scalingConfigurationForDescribeScalingConfigurationsOutput.createdAt) && Objects.equals(this.eip, scalingConfigurationForDescribeScalingConfigurationsOutput.eip) && Objects.equals(this.hostName, scalingConfigurationForDescribeScalingConfigurationsOutput.hostName) && + Objects.equals(this.hpcClusterId, scalingConfigurationForDescribeScalingConfigurationsOutput.hpcClusterId) && Objects.equals(this.imageId, scalingConfigurationForDescribeScalingConfigurationsOutput.imageId) && + Objects.equals(this.instanceChargeType, scalingConfigurationForDescribeScalingConfigurationsOutput.instanceChargeType) && Objects.equals(this.instanceDescription, scalingConfigurationForDescribeScalingConfigurationsOutput.instanceDescription) && Objects.equals(this.instanceName, scalingConfigurationForDescribeScalingConfigurationsOutput.instanceName) && Objects.equals(this.instanceTypes, scalingConfigurationForDescribeScalingConfigurationsOutput.instanceTypes) && + Objects.equals(this.ipv6AddressCount, scalingConfigurationForDescribeScalingConfigurationsOutput.ipv6AddressCount) && Objects.equals(this.keyPairName, scalingConfigurationForDescribeScalingConfigurationsOutput.keyPairName) && Objects.equals(this.lifecycleState, scalingConfigurationForDescribeScalingConfigurationsOutput.lifecycleState) && + Objects.equals(this.projectName, scalingConfigurationForDescribeScalingConfigurationsOutput.projectName) && Objects.equals(this.scalingConfigurationId, scalingConfigurationForDescribeScalingConfigurationsOutput.scalingConfigurationId) && Objects.equals(this.scalingConfigurationName, scalingConfigurationForDescribeScalingConfigurationsOutput.scalingConfigurationName) && Objects.equals(this.scalingGroupId, scalingConfigurationForDescribeScalingConfigurationsOutput.scalingGroupId) && Objects.equals(this.securityEnhancementStrategy, scalingConfigurationForDescribeScalingConfigurationsOutput.securityEnhancementStrategy) && Objects.equals(this.securityGroupIds, scalingConfigurationForDescribeScalingConfigurationsOutput.securityGroupIds) && + Objects.equals(this.spotStrategy, scalingConfigurationForDescribeScalingConfigurationsOutput.spotStrategy) && + Objects.equals(this.tags, scalingConfigurationForDescribeScalingConfigurationsOutput.tags) && Objects.equals(this.updatedAt, scalingConfigurationForDescribeScalingConfigurationsOutput.updatedAt) && Objects.equals(this.userData, scalingConfigurationForDescribeScalingConfigurationsOutput.userData) && Objects.equals(this.volumes, scalingConfigurationForDescribeScalingConfigurationsOutput.volumes) && @@ -470,7 +611,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(createdAt, eip, hostName, imageId, instanceDescription, instanceName, instanceTypes, keyPairName, lifecycleState, scalingConfigurationId, scalingConfigurationName, scalingGroupId, securityEnhancementStrategy, securityGroupIds, updatedAt, userData, volumes, zoneId); + return Objects.hash(createdAt, eip, hostName, hpcClusterId, imageId, instanceChargeType, instanceDescription, instanceName, instanceTypes, ipv6AddressCount, keyPairName, lifecycleState, projectName, scalingConfigurationId, scalingConfigurationName, scalingGroupId, securityEnhancementStrategy, securityGroupIds, spotStrategy, tags, updatedAt, userData, volumes, zoneId); } @@ -482,17 +623,23 @@ public String toString() { sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" eip: ").append(toIndentedString(eip)).append("\n"); sb.append(" hostName: ").append(toIndentedString(hostName)).append("\n"); + sb.append(" hpcClusterId: ").append(toIndentedString(hpcClusterId)).append("\n"); sb.append(" imageId: ").append(toIndentedString(imageId)).append("\n"); + sb.append(" instanceChargeType: ").append(toIndentedString(instanceChargeType)).append("\n"); sb.append(" instanceDescription: ").append(toIndentedString(instanceDescription)).append("\n"); sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); sb.append(" instanceTypes: ").append(toIndentedString(instanceTypes)).append("\n"); + sb.append(" ipv6AddressCount: ").append(toIndentedString(ipv6AddressCount)).append("\n"); sb.append(" keyPairName: ").append(toIndentedString(keyPairName)).append("\n"); sb.append(" lifecycleState: ").append(toIndentedString(lifecycleState)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); sb.append(" scalingConfigurationId: ").append(toIndentedString(scalingConfigurationId)).append("\n"); sb.append(" scalingConfigurationName: ").append(toIndentedString(scalingConfigurationName)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append(" securityEnhancementStrategy: ").append(toIndentedString(securityEnhancementStrategy)).append("\n"); sb.append(" securityGroupIds: ").append(toIndentedString(securityGroupIds)).append("\n"); + sb.append(" spotStrategy: ").append(toIndentedString(spotStrategy)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" userData: ").append(toIndentedString(userData)).append("\n"); sb.append(" volumes: ").append(toIndentedString(volumes)).append("\n"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java index 5b7c8c49..9ee29447 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java @@ -19,7 +19,9 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.LaunchTemplateOverrideForDescribeScalingGroupsOutput; import com.volcengine.autoscaling.model.ServerGroupAttributeForDescribeScalingGroupsOutput; +import com.volcengine.autoscaling.model.TagForDescribeScalingGroupsOutput; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; import java.util.ArrayList; @@ -31,7 +33,6 @@ */ - public class ScalingGroupForDescribeScalingGroupsOutput { @SerializedName("ActiveScalingConfigurationId") private String activeScalingConfigurationId = null; @@ -48,9 +49,15 @@ public class ScalingGroupForDescribeScalingGroupsOutput { @SerializedName("DesireInstanceNumber") private Integer desireInstanceNumber = null; + @SerializedName("HealthCheckType") + private String healthCheckType = null; + @SerializedName("InstanceTerminatePolicy") private String instanceTerminatePolicy = null; + @SerializedName("LaunchTemplateOverrides") + private List launchTemplateOverrides = null; + @SerializedName("LifecycleState") private String lifecycleState = null; @@ -63,18 +70,30 @@ public class ScalingGroupForDescribeScalingGroupsOutput { @SerializedName("MultiAZPolicy") private String multiAZPolicy = null; + @SerializedName("ProjectName") + private String projectName = null; + @SerializedName("ScalingGroupId") private String scalingGroupId = null; @SerializedName("ScalingGroupName") private String scalingGroupName = null; + @SerializedName("ScalingMode") + private String scalingMode = null; + @SerializedName("ServerGroupAttributes") private List serverGroupAttributes = null; + @SerializedName("StoppedInstanceCount") + private Integer stoppedInstanceCount = null; + @SerializedName("SubnetIds") private List subnetIds = null; + @SerializedName("Tags") + private List tags = null; + @SerializedName("TotalInstanceCount") private Integer totalInstanceCount = null; @@ -182,6 +201,24 @@ public void setDesireInstanceNumber(Integer desireInstanceNumber) { this.desireInstanceNumber = desireInstanceNumber; } + public ScalingGroupForDescribeScalingGroupsOutput healthCheckType(String healthCheckType) { + this.healthCheckType = healthCheckType; + return this; + } + + /** + * Get healthCheckType + * @return healthCheckType + **/ + @Schema(description = "") + public String getHealthCheckType() { + return healthCheckType; + } + + public void setHealthCheckType(String healthCheckType) { + this.healthCheckType = healthCheckType; + } + public ScalingGroupForDescribeScalingGroupsOutput instanceTerminatePolicy(String instanceTerminatePolicy) { this.instanceTerminatePolicy = instanceTerminatePolicy; return this; @@ -200,6 +237,33 @@ public void setInstanceTerminatePolicy(String instanceTerminatePolicy) { this.instanceTerminatePolicy = instanceTerminatePolicy; } + public ScalingGroupForDescribeScalingGroupsOutput launchTemplateOverrides(List launchTemplateOverrides) { + this.launchTemplateOverrides = launchTemplateOverrides; + return this; + } + + public ScalingGroupForDescribeScalingGroupsOutput addLaunchTemplateOverridesItem(LaunchTemplateOverrideForDescribeScalingGroupsOutput launchTemplateOverridesItem) { + if (this.launchTemplateOverrides == null) { + this.launchTemplateOverrides = new ArrayList(); + } + this.launchTemplateOverrides.add(launchTemplateOverridesItem); + return this; + } + + /** + * Get launchTemplateOverrides + * @return launchTemplateOverrides + **/ + @Valid + @Schema(description = "") + public List getLaunchTemplateOverrides() { + return launchTemplateOverrides; + } + + public void setLaunchTemplateOverrides(List launchTemplateOverrides) { + this.launchTemplateOverrides = launchTemplateOverrides; + } + public ScalingGroupForDescribeScalingGroupsOutput lifecycleState(String lifecycleState) { this.lifecycleState = lifecycleState; return this; @@ -272,6 +336,24 @@ public void setMultiAZPolicy(String multiAZPolicy) { this.multiAZPolicy = multiAZPolicy; } + public ScalingGroupForDescribeScalingGroupsOutput projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + public ScalingGroupForDescribeScalingGroupsOutput scalingGroupId(String scalingGroupId) { this.scalingGroupId = scalingGroupId; return this; @@ -308,6 +390,24 @@ public void setScalingGroupName(String scalingGroupName) { this.scalingGroupName = scalingGroupName; } + public ScalingGroupForDescribeScalingGroupsOutput scalingMode(String scalingMode) { + this.scalingMode = scalingMode; + return this; + } + + /** + * Get scalingMode + * @return scalingMode + **/ + @Schema(description = "") + public String getScalingMode() { + return scalingMode; + } + + public void setScalingMode(String scalingMode) { + this.scalingMode = scalingMode; + } + public ScalingGroupForDescribeScalingGroupsOutput serverGroupAttributes(List serverGroupAttributes) { this.serverGroupAttributes = serverGroupAttributes; return this; @@ -335,6 +435,24 @@ public void setServerGroupAttributes(List subnetIds) { this.subnetIds = subnetIds; return this; @@ -361,6 +479,33 @@ public void setSubnetIds(List subnetIds) { this.subnetIds = subnetIds; } + public ScalingGroupForDescribeScalingGroupsOutput tags(List tags) { + this.tags = tags; + return this; + } + + public ScalingGroupForDescribeScalingGroupsOutput addTagsItem(TagForDescribeScalingGroupsOutput tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Get tags + * @return tags + **/ + @Valid + @Schema(description = "") + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + public ScalingGroupForDescribeScalingGroupsOutput totalInstanceCount(Integer totalInstanceCount) { this.totalInstanceCount = totalInstanceCount; return this; @@ -430,15 +575,21 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.dbInstanceIds, scalingGroupForDescribeScalingGroupsOutput.dbInstanceIds) && Objects.equals(this.defaultCooldown, scalingGroupForDescribeScalingGroupsOutput.defaultCooldown) && Objects.equals(this.desireInstanceNumber, scalingGroupForDescribeScalingGroupsOutput.desireInstanceNumber) && + Objects.equals(this.healthCheckType, scalingGroupForDescribeScalingGroupsOutput.healthCheckType) && Objects.equals(this.instanceTerminatePolicy, scalingGroupForDescribeScalingGroupsOutput.instanceTerminatePolicy) && + Objects.equals(this.launchTemplateOverrides, scalingGroupForDescribeScalingGroupsOutput.launchTemplateOverrides) && Objects.equals(this.lifecycleState, scalingGroupForDescribeScalingGroupsOutput.lifecycleState) && Objects.equals(this.maxInstanceNumber, scalingGroupForDescribeScalingGroupsOutput.maxInstanceNumber) && Objects.equals(this.minInstanceNumber, scalingGroupForDescribeScalingGroupsOutput.minInstanceNumber) && Objects.equals(this.multiAZPolicy, scalingGroupForDescribeScalingGroupsOutput.multiAZPolicy) && + Objects.equals(this.projectName, scalingGroupForDescribeScalingGroupsOutput.projectName) && Objects.equals(this.scalingGroupId, scalingGroupForDescribeScalingGroupsOutput.scalingGroupId) && Objects.equals(this.scalingGroupName, scalingGroupForDescribeScalingGroupsOutput.scalingGroupName) && + Objects.equals(this.scalingMode, scalingGroupForDescribeScalingGroupsOutput.scalingMode) && Objects.equals(this.serverGroupAttributes, scalingGroupForDescribeScalingGroupsOutput.serverGroupAttributes) && + Objects.equals(this.stoppedInstanceCount, scalingGroupForDescribeScalingGroupsOutput.stoppedInstanceCount) && Objects.equals(this.subnetIds, scalingGroupForDescribeScalingGroupsOutput.subnetIds) && + Objects.equals(this.tags, scalingGroupForDescribeScalingGroupsOutput.tags) && Objects.equals(this.totalInstanceCount, scalingGroupForDescribeScalingGroupsOutput.totalInstanceCount) && Objects.equals(this.updatedAt, scalingGroupForDescribeScalingGroupsOutput.updatedAt) && Objects.equals(this.vpcId, scalingGroupForDescribeScalingGroupsOutput.vpcId); @@ -446,7 +597,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(activeScalingConfigurationId, createdAt, dbInstanceIds, defaultCooldown, desireInstanceNumber, instanceTerminatePolicy, lifecycleState, maxInstanceNumber, minInstanceNumber, multiAZPolicy, scalingGroupId, scalingGroupName, serverGroupAttributes, subnetIds, totalInstanceCount, updatedAt, vpcId); + return Objects.hash(activeScalingConfigurationId, createdAt, dbInstanceIds, defaultCooldown, desireInstanceNumber, healthCheckType, instanceTerminatePolicy, launchTemplateOverrides, lifecycleState, maxInstanceNumber, minInstanceNumber, multiAZPolicy, projectName, scalingGroupId, scalingGroupName, scalingMode, serverGroupAttributes, stoppedInstanceCount, subnetIds, tags, totalInstanceCount, updatedAt, vpcId); } @@ -460,15 +611,21 @@ public String toString() { sb.append(" dbInstanceIds: ").append(toIndentedString(dbInstanceIds)).append("\n"); sb.append(" defaultCooldown: ").append(toIndentedString(defaultCooldown)).append("\n"); sb.append(" desireInstanceNumber: ").append(toIndentedString(desireInstanceNumber)).append("\n"); + sb.append(" healthCheckType: ").append(toIndentedString(healthCheckType)).append("\n"); sb.append(" instanceTerminatePolicy: ").append(toIndentedString(instanceTerminatePolicy)).append("\n"); + sb.append(" launchTemplateOverrides: ").append(toIndentedString(launchTemplateOverrides)).append("\n"); sb.append(" lifecycleState: ").append(toIndentedString(lifecycleState)).append("\n"); sb.append(" maxInstanceNumber: ").append(toIndentedString(maxInstanceNumber)).append("\n"); sb.append(" minInstanceNumber: ").append(toIndentedString(minInstanceNumber)).append("\n"); sb.append(" multiAZPolicy: ").append(toIndentedString(multiAZPolicy)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append(" scalingGroupName: ").append(toIndentedString(scalingGroupName)).append("\n"); + sb.append(" scalingMode: ").append(toIndentedString(scalingMode)).append("\n"); sb.append(" serverGroupAttributes: ").append(toIndentedString(serverGroupAttributes)).append("\n"); + sb.append(" stoppedInstanceCount: ").append(toIndentedString(stoppedInstanceCount)).append("\n"); sb.append(" subnetIds: ").append(toIndentedString(subnetIds)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" totalInstanceCount: ").append(toIndentedString(totalInstanceCount)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingInstanceForDescribeScalingInstancesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingInstanceForDescribeScalingInstancesOutput.java index 7454e1d0..7736614d 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingInstanceForDescribeScalingInstancesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingInstanceForDescribeScalingInstancesOutput.java @@ -28,7 +28,6 @@ */ - public class ScalingInstanceForDescribeScalingInstancesOutput { @SerializedName("CreatedTime") private String createdTime = null; @@ -42,6 +41,12 @@ public class ScalingInstanceForDescribeScalingInstancesOutput { @SerializedName("InstanceId") private String instanceId = null; + @SerializedName("LaunchTemplateId") + private String launchTemplateId = null; + + @SerializedName("LaunchTemplateVersion") + private String launchTemplateVersion = null; + @SerializedName("ScalingConfigurationId") private String scalingConfigurationId = null; @@ -129,6 +134,42 @@ public void setInstanceId(String instanceId) { this.instanceId = instanceId; } + public ScalingInstanceForDescribeScalingInstancesOutput launchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + return this; + } + + /** + * Get launchTemplateId + * @return launchTemplateId + **/ + @Schema(description = "") + public String getLaunchTemplateId() { + return launchTemplateId; + } + + public void setLaunchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + } + + public ScalingInstanceForDescribeScalingInstancesOutput launchTemplateVersion(String launchTemplateVersion) { + this.launchTemplateVersion = launchTemplateVersion; + return this; + } + + /** + * Get launchTemplateVersion + * @return launchTemplateVersion + **/ + @Schema(description = "") + public String getLaunchTemplateVersion() { + return launchTemplateVersion; + } + + public void setLaunchTemplateVersion(String launchTemplateVersion) { + this.launchTemplateVersion = launchTemplateVersion; + } + public ScalingInstanceForDescribeScalingInstancesOutput scalingConfigurationId(String scalingConfigurationId) { this.scalingConfigurationId = scalingConfigurationId; return this; @@ -233,6 +274,8 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.creationType, scalingInstanceForDescribeScalingInstancesOutput.creationType) && Objects.equals(this.entrusted, scalingInstanceForDescribeScalingInstancesOutput.entrusted) && Objects.equals(this.instanceId, scalingInstanceForDescribeScalingInstancesOutput.instanceId) && + Objects.equals(this.launchTemplateId, scalingInstanceForDescribeScalingInstancesOutput.launchTemplateId) && + Objects.equals(this.launchTemplateVersion, scalingInstanceForDescribeScalingInstancesOutput.launchTemplateVersion) && Objects.equals(this.scalingConfigurationId, scalingInstanceForDescribeScalingInstancesOutput.scalingConfigurationId) && Objects.equals(this.scalingGroupId, scalingInstanceForDescribeScalingInstancesOutput.scalingGroupId) && Objects.equals(this.scalingPolicyId, scalingInstanceForDescribeScalingInstancesOutput.scalingPolicyId) && @@ -242,7 +285,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return Objects.hash(createdTime, creationType, entrusted, instanceId, scalingConfigurationId, scalingGroupId, scalingPolicyId, status, zoneId); + return Objects.hash(createdTime, creationType, entrusted, instanceId, launchTemplateId, launchTemplateVersion, scalingConfigurationId, scalingGroupId, scalingPolicyId, status, zoneId); } @@ -255,6 +298,8 @@ public String toString() { sb.append(" creationType: ").append(toIndentedString(creationType)).append("\n"); sb.append(" entrusted: ").append(toIndentedString(entrusted)).append("\n"); sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" launchTemplateId: ").append(toIndentedString(launchTemplateId)).append("\n"); + sb.append(" launchTemplateVersion: ").append(toIndentedString(launchTemplateVersion)).append("\n"); sb.append(" scalingConfigurationId: ").append(toIndentedString(scalingConfigurationId)).append("\n"); sb.append(" scalingGroupId: ").append(toIndentedString(scalingGroupId)).append("\n"); sb.append(" scalingPolicyId: ").append(toIndentedString(scalingPolicyId)).append("\n"); diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingPolicyForDescribeScalingPoliciesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingPolicyForDescribeScalingPoliciesOutput.java index ff1df81e..2ac51414 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingPolicyForDescribeScalingPoliciesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingPolicyForDescribeScalingPoliciesOutput.java @@ -30,7 +30,6 @@ */ - public class ScalingPolicyForDescribeScalingPoliciesOutput { @SerializedName("AdjustmentType") private String adjustmentType = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForCreateScalingPolicyInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForCreateScalingPolicyInput.java index 84b1c4e8..3e94e572 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForCreateScalingPolicyInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForCreateScalingPolicyInput.java @@ -28,7 +28,6 @@ */ - public class ScheduledPolicyForCreateScalingPolicyInput { @SerializedName("LaunchTime") private String launchTime = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForDescribeScalingPoliciesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForDescribeScalingPoliciesOutput.java index 7e78ea6d..abcbf3a3 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForDescribeScalingPoliciesOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForDescribeScalingPoliciesOutput.java @@ -28,7 +28,6 @@ */ - public class ScheduledPolicyForDescribeScalingPoliciesOutput { @SerializedName("LaunchTime") private String launchTime = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForModifyScalingPolicyInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForModifyScalingPolicyInput.java index 96da71fe..23969797 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForModifyScalingPolicyInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScheduledPolicyForModifyScalingPolicyInput.java @@ -28,7 +28,6 @@ */ - public class ScheduledPolicyForModifyScalingPolicyInput { @SerializedName("LaunchTime") private String launchTime = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForAttachServerGroupsInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForAttachServerGroupsInput.java index 0e793847..c0b4418e 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForAttachServerGroupsInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForAttachServerGroupsInput.java @@ -28,7 +28,6 @@ */ - public class ServerGroupAttributeForAttachServerGroupsInput { @SerializedName("Port") private Integer port = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForCreateScalingGroupInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForCreateScalingGroupInput.java index c02450de..8207c6ef 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForCreateScalingGroupInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForCreateScalingGroupInput.java @@ -28,7 +28,6 @@ */ - public class ServerGroupAttributeForCreateScalingGroupInput { @SerializedName("Port") private Integer port = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDescribeScalingGroupsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDescribeScalingGroupsOutput.java index 7b22f875..26233f3e 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDescribeScalingGroupsOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDescribeScalingGroupsOutput.java @@ -28,7 +28,6 @@ */ - public class ServerGroupAttributeForDescribeScalingGroupsOutput { @SerializedName("LoadBalancerId") private String loadBalancerId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDetachServerGroupsInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDetachServerGroupsInput.java index 2eaf3091..a434c36b 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDetachServerGroupsInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ServerGroupAttributeForDetachServerGroupsInput.java @@ -28,7 +28,6 @@ */ - public class ServerGroupAttributeForDetachServerGroupsInput { @SerializedName("ServerGroupId") private String serverGroupId = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionRequest.java index c1f5cea5..be61f537 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionRequest.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionRequest.java @@ -30,7 +30,6 @@ */ - public class SetInstancesProtectionRequest { @SerializedName("InstanceIds") private List instanceIds = null; @@ -76,8 +75,7 @@ public SetInstancesProtectionRequest protectedFromScaleIn(Boolean protectedFromS * Get protectedFromScaleIn * @return protectedFromScaleIn **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public Boolean isProtectedFromScaleIn() { return protectedFromScaleIn; } @@ -95,8 +93,7 @@ public SetInstancesProtectionRequest scalingGroupId(String scalingGroupId) { * Get scalingGroupId * @return scalingGroupId **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getScalingGroupId() { return scalingGroupId; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionResponse.java index 2b39c221..2bd8b77e 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionResponse.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/SetInstancesProtectionResponse.java @@ -31,7 +31,6 @@ */ - public class SetInstancesProtectionResponse extends com.volcengine.model.AbstractResponse { @SerializedName("InstanceProtectionResults") private List instanceProtectionResults = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForDescribeScalingGroupsInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForDescribeScalingGroupsInput.java new file mode 100644 index 00000000..942b3662 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForDescribeScalingGroupsInput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagFilterForDescribeScalingGroupsInput + */ + + +public class TagFilterForDescribeScalingGroupsInput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagFilterForDescribeScalingGroupsInput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public TagFilterForDescribeScalingGroupsInput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagFilterForDescribeScalingGroupsInput tagFilterForDescribeScalingGroupsInput = (TagFilterForDescribeScalingGroupsInput) o; + return Objects.equals(this.key, tagFilterForDescribeScalingGroupsInput.key) && + Objects.equals(this.value, tagFilterForDescribeScalingGroupsInput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagFilterForDescribeScalingGroupsInput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForListTagResourcesInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForListTagResourcesInput.java new file mode 100644 index 00000000..e96c62de --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagFilterForListTagResourcesInput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagFilterForListTagResourcesInput + */ + + +public class TagFilterForListTagResourcesInput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagFilterForListTagResourcesInput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public TagFilterForListTagResourcesInput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagFilterForListTagResourcesInput tagFilterForListTagResourcesInput = (TagFilterForListTagResourcesInput) o; + return Objects.equals(this.key, tagFilterForListTagResourcesInput.key) && + Objects.equals(this.value, tagFilterForListTagResourcesInput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagFilterForListTagResourcesInput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForCreateScalingGroupInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForCreateScalingGroupInput.java new file mode 100644 index 00000000..08e300b0 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForCreateScalingGroupInput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagForCreateScalingGroupInput + */ + + +public class TagForCreateScalingGroupInput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagForCreateScalingGroupInput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public TagForCreateScalingGroupInput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagForCreateScalingGroupInput tagForCreateScalingGroupInput = (TagForCreateScalingGroupInput) o; + return Objects.equals(this.key, tagForCreateScalingGroupInput.key) && + Objects.equals(this.value, tagForCreateScalingGroupInput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagForCreateScalingGroupInput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingConfigurationsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingConfigurationsOutput.java new file mode 100644 index 00000000..3c9895bb --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingConfigurationsOutput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagForDescribeScalingConfigurationsOutput + */ + + +public class TagForDescribeScalingConfigurationsOutput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagForDescribeScalingConfigurationsOutput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public TagForDescribeScalingConfigurationsOutput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagForDescribeScalingConfigurationsOutput tagForDescribeScalingConfigurationsOutput = (TagForDescribeScalingConfigurationsOutput) o; + return Objects.equals(this.key, tagForDescribeScalingConfigurationsOutput.key) && + Objects.equals(this.value, tagForDescribeScalingConfigurationsOutput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagForDescribeScalingConfigurationsOutput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingGroupsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingGroupsOutput.java new file mode 100644 index 00000000..cd7ff6b9 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForDescribeScalingGroupsOutput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagForDescribeScalingGroupsOutput + */ + + +public class TagForDescribeScalingGroupsOutput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagForDescribeScalingGroupsOutput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public TagForDescribeScalingGroupsOutput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagForDescribeScalingGroupsOutput tagForDescribeScalingGroupsOutput = (TagForDescribeScalingGroupsOutput) o; + return Objects.equals(this.key, tagForDescribeScalingGroupsOutput.key) && + Objects.equals(this.value, tagForDescribeScalingGroupsOutput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagForDescribeScalingGroupsOutput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForTagResourcesInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForTagResourcesInput.java new file mode 100644 index 00000000..3428a084 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagForTagResourcesInput.java @@ -0,0 +1,116 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagForTagResourcesInput + */ + + +public class TagForTagResourcesInput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagForTagResourcesInput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public TagForTagResourcesInput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagForTagResourcesInput tagForTagResourcesInput = (TagForTagResourcesInput) o; + return Objects.equals(this.key, tagForTagResourcesInput.key) && + Objects.equals(this.value, tagForTagResourcesInput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagForTagResourcesInput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourceForListTagResourcesOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourceForListTagResourcesOutput.java new file mode 100644 index 00000000..c4bd5f64 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourceForListTagResourcesOutput.java @@ -0,0 +1,162 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagResourceForListTagResourcesOutput + */ + + +public class TagResourceForListTagResourcesOutput { + @SerializedName("ResourceId") + private String resourceId = null; + + @SerializedName("ResourceType") + private String resourceType = null; + + @SerializedName("TagKey") + private String tagKey = null; + + @SerializedName("TagValue") + private String tagValue = null; + + public TagResourceForListTagResourcesOutput resourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + + /** + * Get resourceId + * @return resourceId + **/ + @Schema(description = "") + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public TagResourceForListTagResourcesOutput resourceType(String resourceType) { + this.resourceType = resourceType; + return this; + } + + /** + * Get resourceType + * @return resourceType + **/ + @Schema(description = "") + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public TagResourceForListTagResourcesOutput tagKey(String tagKey) { + this.tagKey = tagKey; + return this; + } + + /** + * Get tagKey + * @return tagKey + **/ + @Schema(description = "") + public String getTagKey() { + return tagKey; + } + + public void setTagKey(String tagKey) { + this.tagKey = tagKey; + } + + public TagResourceForListTagResourcesOutput tagValue(String tagValue) { + this.tagValue = tagValue; + return this; + } + + /** + * Get tagValue + * @return tagValue + **/ + @Schema(description = "") + public String getTagValue() { + return tagValue; + } + + public void setTagValue(String tagValue) { + this.tagValue = tagValue; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagResourceForListTagResourcesOutput tagResourceForListTagResourcesOutput = (TagResourceForListTagResourcesOutput) o; + return Objects.equals(this.resourceId, tagResourceForListTagResourcesOutput.resourceId) && + Objects.equals(this.resourceType, tagResourceForListTagResourcesOutput.resourceType) && + Objects.equals(this.tagKey, tagResourceForListTagResourcesOutput.tagKey) && + Objects.equals(this.tagValue, tagResourceForListTagResourcesOutput.tagValue); + } + + @Override + public int hashCode() { + return Objects.hash(resourceId, resourceType, tagKey, tagValue); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagResourceForListTagResourcesOutput {\n"); + + sb.append(" resourceId: ").append(toIndentedString(resourceId)).append("\n"); + sb.append(" resourceType: ").append(toIndentedString(resourceType)).append("\n"); + sb.append(" tagKey: ").append(toIndentedString(tagKey)).append("\n"); + sb.append(" tagValue: ").append(toIndentedString(tagValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesRequest.java new file mode 100644 index 00000000..cc29c92c --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesRequest.java @@ -0,0 +1,159 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.TagForTagResourcesInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagResourcesRequest + */ + + +public class TagResourcesRequest { + @SerializedName("ResourceIds") + private List resourceIds = null; + + @SerializedName("ResourceType") + private String resourceType = null; + + @SerializedName("Tags") + private List tags = null; + + public TagResourcesRequest resourceIds(List resourceIds) { + this.resourceIds = resourceIds; + return this; + } + + public TagResourcesRequest addResourceIdsItem(String resourceIdsItem) { + if (this.resourceIds == null) { + this.resourceIds = new ArrayList(); + } + this.resourceIds.add(resourceIdsItem); + return this; + } + + /** + * Get resourceIds + * @return resourceIds + **/ + @Schema(description = "") + public List getResourceIds() { + return resourceIds; + } + + public void setResourceIds(List resourceIds) { + this.resourceIds = resourceIds; + } + + public TagResourcesRequest resourceType(String resourceType) { + this.resourceType = resourceType; + return this; + } + + /** + * Get resourceType + * @return resourceType + **/ + @Schema(description = "") + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public TagResourcesRequest tags(List tags) { + this.tags = tags; + return this; + } + + public TagResourcesRequest addTagsItem(TagForTagResourcesInput tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Get tags + * @return tags + **/ + @Valid + @Schema(description = "") + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagResourcesRequest tagResourcesRequest = (TagResourcesRequest) o; + return Objects.equals(this.resourceIds, tagResourcesRequest.resourceIds) && + Objects.equals(this.resourceType, tagResourcesRequest.resourceType) && + Objects.equals(this.tags, tagResourcesRequest.tags); + } + + @Override + public int hashCode() { + return Objects.hash(resourceIds, resourceType, tags); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagResourcesRequest {\n"); + + sb.append(" resourceIds: ").append(toIndentedString(resourceIds)).append("\n"); + sb.append(" resourceType: ").append(toIndentedString(resourceType)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesResponse.java new file mode 100644 index 00000000..a3600572 --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/TagResourcesResponse.java @@ -0,0 +1,105 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.OperationDetailForTagResourcesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagResourcesResponse + */ + + +public class TagResourcesResponse extends com.volcengine.model.AbstractResponse { + @SerializedName("OperationDetails") + private List operationDetails = null; + + public TagResourcesResponse operationDetails(List operationDetails) { + this.operationDetails = operationDetails; + return this; + } + + public TagResourcesResponse addOperationDetailsItem(OperationDetailForTagResourcesOutput operationDetailsItem) { + if (this.operationDetails == null) { + this.operationDetails = new ArrayList(); + } + this.operationDetails.add(operationDetailsItem); + return this; + } + + /** + * Get operationDetails + * @return operationDetails + **/ + @Valid + @Schema(description = "") + public List getOperationDetails() { + return operationDetails; + } + + public void setOperationDetails(List operationDetails) { + this.operationDetails = operationDetails; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagResourcesResponse tagResourcesResponse = (TagResourcesResponse) o; + return Objects.equals(this.operationDetails, tagResourcesResponse.operationDetails); + } + + @Override + public int hashCode() { + return Objects.hash(operationDetails); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagResourcesResponse {\n"); + + sb.append(" operationDetails: ").append(toIndentedString(operationDetails)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesRequest.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesRequest.java new file mode 100644 index 00000000..ddbf7f8e --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesRequest.java @@ -0,0 +1,157 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * UntagResourcesRequest + */ + + +public class UntagResourcesRequest { + @SerializedName("ResourceIds") + private List resourceIds = null; + + @SerializedName("ResourceType") + private String resourceType = null; + + @SerializedName("TagKeys") + private List tagKeys = null; + + public UntagResourcesRequest resourceIds(List resourceIds) { + this.resourceIds = resourceIds; + return this; + } + + public UntagResourcesRequest addResourceIdsItem(String resourceIdsItem) { + if (this.resourceIds == null) { + this.resourceIds = new ArrayList(); + } + this.resourceIds.add(resourceIdsItem); + return this; + } + + /** + * Get resourceIds + * @return resourceIds + **/ + @Schema(description = "") + public List getResourceIds() { + return resourceIds; + } + + public void setResourceIds(List resourceIds) { + this.resourceIds = resourceIds; + } + + public UntagResourcesRequest resourceType(String resourceType) { + this.resourceType = resourceType; + return this; + } + + /** + * Get resourceType + * @return resourceType + **/ + @Schema(description = "") + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public UntagResourcesRequest tagKeys(List tagKeys) { + this.tagKeys = tagKeys; + return this; + } + + public UntagResourcesRequest addTagKeysItem(String tagKeysItem) { + if (this.tagKeys == null) { + this.tagKeys = new ArrayList(); + } + this.tagKeys.add(tagKeysItem); + return this; + } + + /** + * Get tagKeys + * @return tagKeys + **/ + @Schema(description = "") + public List getTagKeys() { + return tagKeys; + } + + public void setTagKeys(List tagKeys) { + this.tagKeys = tagKeys; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UntagResourcesRequest untagResourcesRequest = (UntagResourcesRequest) o; + return Objects.equals(this.resourceIds, untagResourcesRequest.resourceIds) && + Objects.equals(this.resourceType, untagResourcesRequest.resourceType) && + Objects.equals(this.tagKeys, untagResourcesRequest.tagKeys); + } + + @Override + public int hashCode() { + return Objects.hash(resourceIds, resourceType, tagKeys); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UntagResourcesRequest {\n"); + + sb.append(" resourceIds: ").append(toIndentedString(resourceIds)).append("\n"); + sb.append(" resourceType: ").append(toIndentedString(resourceType)).append("\n"); + sb.append(" tagKeys: ").append(toIndentedString(tagKeys)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesResponse.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesResponse.java new file mode 100644 index 00000000..f3fe08ac --- /dev/null +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/UntagResourcesResponse.java @@ -0,0 +1,105 @@ +/* + * auto_scaling + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.autoscaling.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.autoscaling.model.OperationDetailForUntagResourcesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * UntagResourcesResponse + */ + + +public class UntagResourcesResponse extends com.volcengine.model.AbstractResponse { + @SerializedName("OperationDetails") + private List operationDetails = null; + + public UntagResourcesResponse operationDetails(List operationDetails) { + this.operationDetails = operationDetails; + return this; + } + + public UntagResourcesResponse addOperationDetailsItem(OperationDetailForUntagResourcesOutput operationDetailsItem) { + if (this.operationDetails == null) { + this.operationDetails = new ArrayList(); + } + this.operationDetails.add(operationDetailsItem); + return this; + } + + /** + * Get operationDetails + * @return operationDetails + **/ + @Valid + @Schema(description = "") + public List getOperationDetails() { + return operationDetails; + } + + public void setOperationDetails(List operationDetails) { + this.operationDetails = operationDetails; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UntagResourcesResponse untagResourcesResponse = (UntagResourcesResponse) o; + return Objects.equals(this.operationDetails, untagResourcesResponse.operationDetails); + } + + @Override + public int hashCode() { + return Objects.hash(operationDetails); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UntagResourcesResponse {\n"); + + sb.append(" operationDetails: ").append(toIndentedString(operationDetails)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForCreateScalingConfigurationInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForCreateScalingConfigurationInput.java index f790987d..d0cfabab 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForCreateScalingConfigurationInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForCreateScalingConfigurationInput.java @@ -28,7 +28,6 @@ */ - public class VolumeForCreateScalingConfigurationInput { @SerializedName("DeleteWithInstance") private Boolean deleteWithInstance = null; @@ -66,8 +65,7 @@ public VolumeForCreateScalingConfigurationInput size(Integer size) { * Get size * @return size **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public Integer getSize() { return size; } @@ -85,8 +83,7 @@ public VolumeForCreateScalingConfigurationInput volumeType(String volumeType) { * Get volumeType * @return volumeType **/ - @NotNull - @Schema(required = true, description = "") + @Schema(description = "") public String getVolumeType() { return volumeType; } diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForDescribeScalingConfigurationsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForDescribeScalingConfigurationsOutput.java index 732e6949..ed47b2e2 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForDescribeScalingConfigurationsOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForDescribeScalingConfigurationsOutput.java @@ -28,7 +28,6 @@ */ - public class VolumeForDescribeScalingConfigurationsOutput { @SerializedName("DeleteWithInstance") private Boolean deleteWithInstance = null; diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForModifyScalingConfigurationInput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForModifyScalingConfigurationInput.java index 714f866a..5a4ea5ef 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForModifyScalingConfigurationInput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/VolumeForModifyScalingConfigurationInput.java @@ -28,7 +28,6 @@ */ - public class VolumeForModifyScalingConfigurationInput { @SerializedName("DeleteWithInstance") private Boolean deleteWithInstance = null; diff --git a/volcengine-java-sdk-bom/pom.xml b/volcengine-java-sdk-bom/pom.xml index 3fdd6b7c..028e749c 100644 --- a/volcengine-java-sdk-bom/pom.xml +++ b/volcengine-java-sdk-bom/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-cen/pom.xml b/volcengine-java-sdk-cen/pom.xml index 8512ad92..f71a768d 100644 --- a/volcengine-java-sdk-cen/pom.xml +++ b/volcengine-java-sdk-cen/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-clb/pom.xml b/volcengine-java-sdk-clb/pom.xml index ffef9e49..4db0aaca 100644 --- a/volcengine-java-sdk-clb/pom.xml +++ b/volcengine-java-sdk-clb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/pom.xml b/volcengine-java-sdk-core/pom.xml index 42209310..988b03c1 100644 --- a/volcengine-java-sdk-core/pom.xml +++ b/volcengine-java-sdk-core/pom.xml @@ -3,7 +3,7 @@ com.volcengine volcengine-java-sdk - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java index 832fda18..6987b67f 100644 --- a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java +++ b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java @@ -1,6 +1,6 @@ package com.volcengine.version; public class Version { - public final static String SDK_VERSION = "0.1.73"; + public final static String SDK_VERSION = "0.1.74"; public final static String SDK_NAME = "volcengine-java-sdk"; } \ No newline at end of file diff --git a/volcengine-java-sdk-cr/pom.xml b/volcengine-java-sdk-cr/pom.xml index 29d7ebfa..24b819ba 100644 --- a/volcengine-java-sdk-cr/pom.xml +++ b/volcengine-java-sdk-cr/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-directconnect/pom.xml b/volcengine-java-sdk-directconnect/pom.xml index 56d2d357..cf0c62e7 100644 --- a/volcengine-java-sdk-directconnect/pom.xml +++ b/volcengine-java-sdk-directconnect/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-ecs/pom.xml b/volcengine-java-sdk-ecs/pom.xml index c4d889d5..339655ef 100644 --- a/volcengine-java-sdk-ecs/pom.xml +++ b/volcengine-java-sdk-ecs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-iam/pom.xml b/volcengine-java-sdk-iam/pom.xml index 930146e5..2fe888e2 100644 --- a/volcengine-java-sdk-iam/pom.xml +++ b/volcengine-java-sdk-iam/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-kafka/pom.xml b/volcengine-java-sdk-kafka/pom.xml index 4cde34b3..618c644a 100644 --- a/volcengine-java-sdk-kafka/pom.xml +++ b/volcengine-java-sdk-kafka/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-mongodb/pom.xml b/volcengine-java-sdk-mongodb/pom.xml index 90f5c5a6..1a883164 100644 --- a/volcengine-java-sdk-mongodb/pom.xml +++ b/volcengine-java-sdk-mongodb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-natgateway/pom.xml b/volcengine-java-sdk-natgateway/pom.xml index cbe66c33..b8f8c506 100644 --- a/volcengine-java-sdk-natgateway/pom.xml +++ b/volcengine-java-sdk-natgateway/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysql/pom.xml b/volcengine-java-sdk-rdsmysql/pom.xml index 6dd0b128..54646ba4 100644 --- a/volcengine-java-sdk-rdsmysql/pom.xml +++ b/volcengine-java-sdk-rdsmysql/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysqlv2/pom.xml b/volcengine-java-sdk-rdsmysqlv2/pom.xml index f1c92c72..ae4437f8 100644 --- a/volcengine-java-sdk-rdsmysqlv2/pom.xml +++ b/volcengine-java-sdk-rdsmysqlv2/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-redis/pom.xml b/volcengine-java-sdk-redis/pom.xml index a4801a7e..1233ce4f 100644 --- a/volcengine-java-sdk-redis/pom.xml +++ b/volcengine-java-sdk-redis/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-spark/pom.xml b/volcengine-java-sdk-spark/pom.xml index d9bbbcde..fd7d2670 100644 --- a/volcengine-java-sdk-spark/pom.xml +++ b/volcengine-java-sdk-spark/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-storageebs/pom.xml b/volcengine-java-sdk-storageebs/pom.xml index 6fed72d1..0f717958 100644 --- a/volcengine-java-sdk-storageebs/pom.xml +++ b/volcengine-java-sdk-storageebs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vke/pom.xml b/volcengine-java-sdk-vke/pom.xml index 5e04e387..8b214d7a 100644 --- a/volcengine-java-sdk-vke/pom.xml +++ b/volcengine-java-sdk-vke/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-volcobserve/pom.xml b/volcengine-java-sdk-volcobserve/pom.xml index d12a65e1..8e3414ef 100644 --- a/volcengine-java-sdk-volcobserve/pom.xml +++ b/volcengine-java-sdk-volcobserve/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpc/pom.xml b/volcengine-java-sdk-vpc/pom.xml index 5a2959c5..387c8d75 100644 --- a/volcengine-java-sdk-vpc/pom.xml +++ b/volcengine-java-sdk-vpc/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpn/pom.xml b/volcengine-java-sdk-vpn/pom.xml index 2e1174c2..852ffce8 100644 --- a/volcengine-java-sdk-vpn/pom.xml +++ b/volcengine-java-sdk-vpn/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 From 0ce61942c45b56e8bb2020a64bf86f313a4e523b Mon Sep 17 00:00:00 2001 From: ci_volc_sdk_gen Date: Mon, 14 Aug 2023 11:10:05 +0800 Subject: [PATCH 2/3] feat: auto temporary change meta info to master for merge --- README.md | 6 +++--- meta.json | 4 ++-- pom.xml | 2 +- volcengine-java-sdk-alb/pom.xml | 2 +- volcengine-java-sdk-autoscaling/pom.xml | 2 +- volcengine-java-sdk-bom/pom.xml | 2 +- volcengine-java-sdk-cen/pom.xml | 2 +- volcengine-java-sdk-clb/pom.xml | 2 +- volcengine-java-sdk-core/pom.xml | 2 +- .../src/main/java/com/volcengine/version/Version.java | 2 +- volcengine-java-sdk-cr/pom.xml | 2 +- volcengine-java-sdk-directconnect/pom.xml | 2 +- volcengine-java-sdk-ecs/pom.xml | 2 +- volcengine-java-sdk-iam/pom.xml | 2 +- volcengine-java-sdk-kafka/pom.xml | 2 +- volcengine-java-sdk-mongodb/pom.xml | 2 +- volcengine-java-sdk-natgateway/pom.xml | 2 +- volcengine-java-sdk-rdsmysql/pom.xml | 2 +- volcengine-java-sdk-rdsmysqlv2/pom.xml | 2 +- volcengine-java-sdk-redis/pom.xml | 2 +- volcengine-java-sdk-spark/pom.xml | 2 +- volcengine-java-sdk-storageebs/pom.xml | 2 +- volcengine-java-sdk-vke/pom.xml | 2 +- volcengine-java-sdk-volcobserve/pom.xml | 2 +- volcengine-java-sdk-vpc/pom.xml | 2 +- volcengine-java-sdk-vpn/pom.xml | 2 +- 26 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 29faf6ff..45fad311 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ com.volcengine volcengine-java-sdk-bom - 0.1.74 + 0.1.73 pom import @@ -70,12 +70,12 @@ com.volcengine volcengine-java-sdk-vpc - 0.1.74 + 0.1.73 com.volcengine volcengine-java-sdk-ecs - 0.1.74 + 0.1.73 ``` diff --git a/meta.json b/meta.json index 6cf69e49..877ee581 100755 --- a/meta.json +++ b/meta.json @@ -1,4 +1,4 @@ { - "lasted": "0.1.74", - "meta_commit": "d84608a227a4e7bd29e271508cac1b8fc9a10630" + "lasted": "0.1.73", + "meta_commit": "346fee177a0181dc84cb8af6acaf4ece97149bed" } \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6ca67dc0..40fa9f7d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.volcengine volcengine-java-sdk pom - 0.1.74 + 0.1.73 volcengine-java-sdk https://open.volcengineapi.com The Java SDK For Volcengine diff --git a/volcengine-java-sdk-alb/pom.xml b/volcengine-java-sdk-alb/pom.xml index 0fb45e23..346c52f8 100644 --- a/volcengine-java-sdk-alb/pom.xml +++ b/volcengine-java-sdk-alb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-autoscaling/pom.xml b/volcengine-java-sdk-autoscaling/pom.xml index 9189638d..809e26b2 100644 --- a/volcengine-java-sdk-autoscaling/pom.xml +++ b/volcengine-java-sdk-autoscaling/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-bom/pom.xml b/volcengine-java-sdk-bom/pom.xml index 028e749c..3fdd6b7c 100644 --- a/volcengine-java-sdk-bom/pom.xml +++ b/volcengine-java-sdk-bom/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-cen/pom.xml b/volcengine-java-sdk-cen/pom.xml index f71a768d..8512ad92 100644 --- a/volcengine-java-sdk-cen/pom.xml +++ b/volcengine-java-sdk-cen/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-clb/pom.xml b/volcengine-java-sdk-clb/pom.xml index 4db0aaca..ffef9e49 100644 --- a/volcengine-java-sdk-clb/pom.xml +++ b/volcengine-java-sdk-clb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/pom.xml b/volcengine-java-sdk-core/pom.xml index 988b03c1..42209310 100644 --- a/volcengine-java-sdk-core/pom.xml +++ b/volcengine-java-sdk-core/pom.xml @@ -3,7 +3,7 @@ com.volcengine volcengine-java-sdk - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java index 6987b67f..832fda18 100644 --- a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java +++ b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java @@ -1,6 +1,6 @@ package com.volcengine.version; public class Version { - public final static String SDK_VERSION = "0.1.74"; + public final static String SDK_VERSION = "0.1.73"; public final static String SDK_NAME = "volcengine-java-sdk"; } \ No newline at end of file diff --git a/volcengine-java-sdk-cr/pom.xml b/volcengine-java-sdk-cr/pom.xml index 24b819ba..29d7ebfa 100644 --- a/volcengine-java-sdk-cr/pom.xml +++ b/volcengine-java-sdk-cr/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-directconnect/pom.xml b/volcengine-java-sdk-directconnect/pom.xml index cf0c62e7..56d2d357 100644 --- a/volcengine-java-sdk-directconnect/pom.xml +++ b/volcengine-java-sdk-directconnect/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-ecs/pom.xml b/volcengine-java-sdk-ecs/pom.xml index 339655ef..c4d889d5 100644 --- a/volcengine-java-sdk-ecs/pom.xml +++ b/volcengine-java-sdk-ecs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-iam/pom.xml b/volcengine-java-sdk-iam/pom.xml index 2fe888e2..930146e5 100644 --- a/volcengine-java-sdk-iam/pom.xml +++ b/volcengine-java-sdk-iam/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-kafka/pom.xml b/volcengine-java-sdk-kafka/pom.xml index 618c644a..4cde34b3 100644 --- a/volcengine-java-sdk-kafka/pom.xml +++ b/volcengine-java-sdk-kafka/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-mongodb/pom.xml b/volcengine-java-sdk-mongodb/pom.xml index 1a883164..90f5c5a6 100644 --- a/volcengine-java-sdk-mongodb/pom.xml +++ b/volcengine-java-sdk-mongodb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-natgateway/pom.xml b/volcengine-java-sdk-natgateway/pom.xml index b8f8c506..cbe66c33 100644 --- a/volcengine-java-sdk-natgateway/pom.xml +++ b/volcengine-java-sdk-natgateway/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysql/pom.xml b/volcengine-java-sdk-rdsmysql/pom.xml index 54646ba4..6dd0b128 100644 --- a/volcengine-java-sdk-rdsmysql/pom.xml +++ b/volcengine-java-sdk-rdsmysql/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysqlv2/pom.xml b/volcengine-java-sdk-rdsmysqlv2/pom.xml index ae4437f8..f1c92c72 100644 --- a/volcengine-java-sdk-rdsmysqlv2/pom.xml +++ b/volcengine-java-sdk-rdsmysqlv2/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-redis/pom.xml b/volcengine-java-sdk-redis/pom.xml index 1233ce4f..a4801a7e 100644 --- a/volcengine-java-sdk-redis/pom.xml +++ b/volcengine-java-sdk-redis/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-spark/pom.xml b/volcengine-java-sdk-spark/pom.xml index fd7d2670..d9bbbcde 100644 --- a/volcengine-java-sdk-spark/pom.xml +++ b/volcengine-java-sdk-spark/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-storageebs/pom.xml b/volcengine-java-sdk-storageebs/pom.xml index 0f717958..6fed72d1 100644 --- a/volcengine-java-sdk-storageebs/pom.xml +++ b/volcengine-java-sdk-storageebs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vke/pom.xml b/volcengine-java-sdk-vke/pom.xml index 8b214d7a..5e04e387 100644 --- a/volcengine-java-sdk-vke/pom.xml +++ b/volcengine-java-sdk-vke/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-volcobserve/pom.xml b/volcengine-java-sdk-volcobserve/pom.xml index 8e3414ef..d12a65e1 100644 --- a/volcengine-java-sdk-volcobserve/pom.xml +++ b/volcengine-java-sdk-volcobserve/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpc/pom.xml b/volcengine-java-sdk-vpc/pom.xml index 387c8d75..5a2959c5 100644 --- a/volcengine-java-sdk-vpc/pom.xml +++ b/volcengine-java-sdk-vpc/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpn/pom.xml b/volcengine-java-sdk-vpn/pom.xml index 852ffce8..2e1174c2 100644 --- a/volcengine-java-sdk-vpn/pom.xml +++ b/volcengine-java-sdk-vpn/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.74 + 0.1.73 ../pom.xml 4.0.0 From 8e144b6101820761f1a8a66a25df835351660989 Mon Sep 17 00:00:00 2001 From: ci_volc_sdk_gen Date: Mon, 14 Aug 2023 11:10:20 +0800 Subject: [PATCH 3/3] feat: auto generate for xieming-0623-0811 --- README.md | 6 +-- meta.json | 4 +- pom.xml | 2 +- volcengine-java-sdk-alb/pom.xml | 2 +- volcengine-java-sdk-autoscaling/pom.xml | 2 +- ...ngGroupForDescribeScalingGroupsOutput.java | 48 ++++++++++++++++++- volcengine-java-sdk-bom/pom.xml | 2 +- volcengine-java-sdk-cen/pom.xml | 2 +- volcengine-java-sdk-clb/pom.xml | 2 +- volcengine-java-sdk-core/pom.xml | 2 +- .../java/com/volcengine/version/Version.java | 2 +- volcengine-java-sdk-cr/pom.xml | 2 +- volcengine-java-sdk-directconnect/pom.xml | 2 +- volcengine-java-sdk-ecs/pom.xml | 2 +- volcengine-java-sdk-iam/pom.xml | 2 +- volcengine-java-sdk-kafka/pom.xml | 2 +- volcengine-java-sdk-mongodb/pom.xml | 2 +- volcengine-java-sdk-natgateway/pom.xml | 2 +- volcengine-java-sdk-rdsmysql/pom.xml | 2 +- volcengine-java-sdk-rdsmysqlv2/pom.xml | 2 +- volcengine-java-sdk-redis/pom.xml | 2 +- volcengine-java-sdk-spark/pom.xml | 2 +- volcengine-java-sdk-storageebs/pom.xml | 2 +- volcengine-java-sdk-vke/pom.xml | 2 +- volcengine-java-sdk-volcobserve/pom.xml | 2 +- volcengine-java-sdk-vpc/pom.xml | 2 +- volcengine-java-sdk-vpn/pom.xml | 2 +- 27 files changed, 76 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 45fad311..29faf6ff 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ com.volcengine volcengine-java-sdk-bom - 0.1.73 + 0.1.74 pom import @@ -70,12 +70,12 @@ com.volcengine volcengine-java-sdk-vpc - 0.1.73 + 0.1.74 com.volcengine volcengine-java-sdk-ecs - 0.1.73 + 0.1.74 ``` diff --git a/meta.json b/meta.json index 877ee581..445fd1fa 100755 --- a/meta.json +++ b/meta.json @@ -1,4 +1,4 @@ { - "lasted": "0.1.73", - "meta_commit": "346fee177a0181dc84cb8af6acaf4ece97149bed" + "lasted": "0.1.74", + "meta_commit": "dd1f30a0f17e36cb19b558dee510d71efa7e8cfa" } \ No newline at end of file diff --git a/pom.xml b/pom.xml index 40fa9f7d..6ca67dc0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.volcengine volcengine-java-sdk pom - 0.1.73 + 0.1.74 volcengine-java-sdk https://open.volcengineapi.com The Java SDK For Volcengine diff --git a/volcengine-java-sdk-alb/pom.xml b/volcengine-java-sdk-alb/pom.xml index 346c52f8..0fb45e23 100644 --- a/volcengine-java-sdk-alb/pom.xml +++ b/volcengine-java-sdk-alb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-autoscaling/pom.xml b/volcengine-java-sdk-autoscaling/pom.xml index 809e26b2..9189638d 100644 --- a/volcengine-java-sdk-autoscaling/pom.xml +++ b/volcengine-java-sdk-autoscaling/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java index 9ee29447..465f127f 100644 --- a/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java +++ b/volcengine-java-sdk-autoscaling/src/main/java/com/volcengine/autoscaling/model/ScalingGroupForDescribeScalingGroupsOutput.java @@ -55,9 +55,15 @@ public class ScalingGroupForDescribeScalingGroupsOutput { @SerializedName("InstanceTerminatePolicy") private String instanceTerminatePolicy = null; + @SerializedName("LaunchTemplateId") + private String launchTemplateId = null; + @SerializedName("LaunchTemplateOverrides") private List launchTemplateOverrides = null; + @SerializedName("LaunchTemplateVersion") + private String launchTemplateVersion = null; + @SerializedName("LifecycleState") private String lifecycleState = null; @@ -237,6 +243,24 @@ public void setInstanceTerminatePolicy(String instanceTerminatePolicy) { this.instanceTerminatePolicy = instanceTerminatePolicy; } + public ScalingGroupForDescribeScalingGroupsOutput launchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + return this; + } + + /** + * Get launchTemplateId + * @return launchTemplateId + **/ + @Schema(description = "") + public String getLaunchTemplateId() { + return launchTemplateId; + } + + public void setLaunchTemplateId(String launchTemplateId) { + this.launchTemplateId = launchTemplateId; + } + public ScalingGroupForDescribeScalingGroupsOutput launchTemplateOverrides(List launchTemplateOverrides) { this.launchTemplateOverrides = launchTemplateOverrides; return this; @@ -264,6 +288,24 @@ public void setLaunchTemplateOverrides(List volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-cen/pom.xml b/volcengine-java-sdk-cen/pom.xml index 8512ad92..f71a768d 100644 --- a/volcengine-java-sdk-cen/pom.xml +++ b/volcengine-java-sdk-cen/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-clb/pom.xml b/volcengine-java-sdk-clb/pom.xml index ffef9e49..4db0aaca 100644 --- a/volcengine-java-sdk-clb/pom.xml +++ b/volcengine-java-sdk-clb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/pom.xml b/volcengine-java-sdk-core/pom.xml index 42209310..988b03c1 100644 --- a/volcengine-java-sdk-core/pom.xml +++ b/volcengine-java-sdk-core/pom.xml @@ -3,7 +3,7 @@ com.volcengine volcengine-java-sdk - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java index 832fda18..6987b67f 100644 --- a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java +++ b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java @@ -1,6 +1,6 @@ package com.volcengine.version; public class Version { - public final static String SDK_VERSION = "0.1.73"; + public final static String SDK_VERSION = "0.1.74"; public final static String SDK_NAME = "volcengine-java-sdk"; } \ No newline at end of file diff --git a/volcengine-java-sdk-cr/pom.xml b/volcengine-java-sdk-cr/pom.xml index 29d7ebfa..24b819ba 100644 --- a/volcengine-java-sdk-cr/pom.xml +++ b/volcengine-java-sdk-cr/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-directconnect/pom.xml b/volcengine-java-sdk-directconnect/pom.xml index 56d2d357..cf0c62e7 100644 --- a/volcengine-java-sdk-directconnect/pom.xml +++ b/volcengine-java-sdk-directconnect/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-ecs/pom.xml b/volcengine-java-sdk-ecs/pom.xml index c4d889d5..339655ef 100644 --- a/volcengine-java-sdk-ecs/pom.xml +++ b/volcengine-java-sdk-ecs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-iam/pom.xml b/volcengine-java-sdk-iam/pom.xml index 930146e5..2fe888e2 100644 --- a/volcengine-java-sdk-iam/pom.xml +++ b/volcengine-java-sdk-iam/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-kafka/pom.xml b/volcengine-java-sdk-kafka/pom.xml index 4cde34b3..618c644a 100644 --- a/volcengine-java-sdk-kafka/pom.xml +++ b/volcengine-java-sdk-kafka/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-mongodb/pom.xml b/volcengine-java-sdk-mongodb/pom.xml index 90f5c5a6..1a883164 100644 --- a/volcengine-java-sdk-mongodb/pom.xml +++ b/volcengine-java-sdk-mongodb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-natgateway/pom.xml b/volcengine-java-sdk-natgateway/pom.xml index cbe66c33..b8f8c506 100644 --- a/volcengine-java-sdk-natgateway/pom.xml +++ b/volcengine-java-sdk-natgateway/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysql/pom.xml b/volcengine-java-sdk-rdsmysql/pom.xml index 6dd0b128..54646ba4 100644 --- a/volcengine-java-sdk-rdsmysql/pom.xml +++ b/volcengine-java-sdk-rdsmysql/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysqlv2/pom.xml b/volcengine-java-sdk-rdsmysqlv2/pom.xml index f1c92c72..ae4437f8 100644 --- a/volcengine-java-sdk-rdsmysqlv2/pom.xml +++ b/volcengine-java-sdk-rdsmysqlv2/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-redis/pom.xml b/volcengine-java-sdk-redis/pom.xml index a4801a7e..1233ce4f 100644 --- a/volcengine-java-sdk-redis/pom.xml +++ b/volcengine-java-sdk-redis/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-spark/pom.xml b/volcengine-java-sdk-spark/pom.xml index d9bbbcde..fd7d2670 100644 --- a/volcengine-java-sdk-spark/pom.xml +++ b/volcengine-java-sdk-spark/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-storageebs/pom.xml b/volcengine-java-sdk-storageebs/pom.xml index 6fed72d1..0f717958 100644 --- a/volcengine-java-sdk-storageebs/pom.xml +++ b/volcengine-java-sdk-storageebs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vke/pom.xml b/volcengine-java-sdk-vke/pom.xml index 5e04e387..8b214d7a 100644 --- a/volcengine-java-sdk-vke/pom.xml +++ b/volcengine-java-sdk-vke/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-volcobserve/pom.xml b/volcengine-java-sdk-volcobserve/pom.xml index d12a65e1..8e3414ef 100644 --- a/volcengine-java-sdk-volcobserve/pom.xml +++ b/volcengine-java-sdk-volcobserve/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpc/pom.xml b/volcengine-java-sdk-vpc/pom.xml index 5a2959c5..387c8d75 100644 --- a/volcengine-java-sdk-vpc/pom.xml +++ b/volcengine-java-sdk-vpc/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpn/pom.xml b/volcengine-java-sdk-vpn/pom.xml index 2e1174c2..852ffce8 100644 --- a/volcengine-java-sdk-vpn/pom.xml +++ b/volcengine-java-sdk-vpn/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.73 + 0.1.74 ../pom.xml 4.0.0