From d8d5c7cfb3b46895e5d87bd5d69b5bb3118def3e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 18 Dec 2024 06:49:05 +0000 Subject: [PATCH] Generated 2023-05-22 for selectdb. --- aliyun-java-sdk-selectdb/ChangeLog.txt | 3 + aliyun-java-sdk-selectdb/pom.xml | 119 +++++ ...locateInstancePublicConnectionRequest.java | 90 ++++ ...ocateInstancePublicConnectionResponse.java | 66 +++ .../CheckCreateDBInstanceRequest.java | 246 +++++++++ .../CheckCreateDBInstanceResponse.java | 46 ++ .../CheckServiceLinkedRoleRequest.java | 64 +++ .../CheckServiceLinkedRoleResponse.java | 56 ++ .../v20230522/CreateDBClusterRequest.java | 207 ++++++++ .../v20230522/CreateDBClusterResponse.java | 89 ++++ .../v20230522/CreateDBInstanceRequest.java | 288 ++++++++++ .../v20230522/CreateDBInstanceResponse.java | 79 +++ .../v20230522/CreateElasticRuleRequest.java | 116 +++++ .../v20230522/CreateElasticRuleResponse.java | 119 +++++ ...teServiceLinkedRoleForSelectDBRequest.java | 64 +++ ...eServiceLinkedRoleForSelectDBResponse.java | 46 ++ .../v20230522/DeleteDBClusterRequest.java | 90 ++++ .../v20230522/DeleteDBClusterResponse.java | 79 +++ .../v20230522/DeleteDBInstanceRequest.java | 64 +++ .../v20230522/DeleteDBInstanceResponse.java | 46 ++ .../v20230522/DeleteElasticRuleRequest.java | 103 ++++ .../v20230522/DeleteElasticRuleResponse.java | 56 ++ .../DescribeAllDBInstanceClassRequest.java | 51 ++ .../DescribeAllDBInstanceClassResponse.java | 130 +++++ ...cribeDBClusterConfigChangeLogsRequest.java | 101 ++++ ...ribeDBClusterConfigChangeLogsResponse.java | 213 ++++++++ .../DescribeDBClusterConfigRequest.java | 75 +++ .../DescribeDBClusterConfigResponse.java | 223 ++++++++ .../DescribeDBInstanceAttributeRequest.java | 64 +++ .../DescribeDBInstanceAttributeResponse.java | 473 +++++++++++++++++ .../DescribeDBInstanceNetInfoRequest.java | 64 +++ .../DescribeDBInstanceNetInfoResponse.java | 299 +++++++++++ .../v20230522/DescribeDBInstancesRequest.java | 171 ++++++ .../DescribeDBInstancesResponse.java | 493 ++++++++++++++++++ .../DescribeElasticRulesRequest.java | 90 ++++ .../DescribeElasticRulesResponse.java | 133 +++++ .../DescribeSecurityIPListRequest.java | 64 +++ .../DescribeSecurityIPListResponse.java | 120 +++++ .../EnDisableScalingRulesRequest.java | 103 ++++ .../EnDisableScalingRulesResponse.java | 89 ++++ .../GetCreateBEClusterInquiryRequest.java | 168 ++++++ .../GetCreateBEClusterInquiryResponse.java | 79 +++ .../GetModifyBEClusterInquiryRequest.java | 181 +++++++ .../GetModifyBEClusterInquiryResponse.java | 79 +++ .../ModifyBEClusterAttributeRequest.java | 103 ++++ .../ModifyBEClusterAttributeResponse.java | 46 ++ .../ModifyDBClusterConfigRequest.java | 101 ++++ .../ModifyDBClusterConfigResponse.java | 129 +++++ .../v20230522/ModifyDBClusterRequest.java | 116 +++++ .../v20230522/ModifyDBClusterResponse.java | 99 ++++ .../ModifyDBInstanceAttributeRequest.java | 90 ++++ .../ModifyDBInstanceAttributeResponse.java | 46 ++ .../v20230522/ModifyElasticRuleRequest.java | 142 +++++ .../v20230522/ModifyElasticRuleResponse.java | 119 +++++ .../ModifySecurityIPListRequest.java | 103 ++++ .../ModifySecurityIPListResponse.java | 116 +++++ ...eleaseInstancePublicConnectionRequest.java | 77 +++ ...leaseInstancePublicConnectionResponse.java | 46 ++ .../ResetAccountPasswordRequest.java | 90 ++++ .../ResetAccountPasswordResponse.java | 46 ++ .../v20230522/RestartDBClusterRequest.java | 90 ++++ .../v20230522/RestartDBClusterResponse.java | 79 +++ .../v20230522/StartBEClusterRequest.java | 77 +++ .../v20230522/StartBEClusterResponse.java | 46 ++ .../model/v20230522/StopBEClusterRequest.java | 77 +++ .../v20230522/StopBEClusterResponse.java | 46 ++ ...UpgradeDBInstanceEngineVersionRequest.java | 90 ++++ ...pgradeDBInstanceEngineVersionResponse.java | 46 ++ ...ePublicConnectionResponseUnmarshaller.java | 31 ++ ...kCreateDBInstanceResponseUnmarshaller.java | 29 ++ ...ServiceLinkedRoleResponseUnmarshaller.java | 30 ++ .../CreateDBClusterResponseUnmarshaller.java | 36 ++ .../CreateDBInstanceResponseUnmarshaller.java | 35 ++ ...CreateElasticRuleResponseUnmarshaller.java | 39 ++ ...edRoleForSelectDBResponseUnmarshaller.java | 29 ++ .../DeleteDBClusterResponseUnmarshaller.java | 35 ++ .../DeleteDBInstanceResponseUnmarshaller.java | 29 ++ ...DeleteElasticRuleResponseUnmarshaller.java | 30 ++ ...llDBInstanceClassResponseUnmarshaller.java | 48 ++ ...rConfigChangeLogsResponseUnmarshaller.java | 59 +++ ...beDBClusterConfigResponseUnmarshaller.java | 60 +++ ...InstanceAttributeResponseUnmarshaller.java | 95 ++++ ...DBInstanceNetInfoResponseUnmarshaller.java | 88 ++++ ...scribeDBInstancesResponseUnmarshaller.java | 92 ++++ ...cribeElasticRulesResponseUnmarshaller.java | 51 ++ ...ibeSecurityIPListResponseUnmarshaller.java | 47 ++ ...sableScalingRulesResponseUnmarshaller.java | 36 ++ ...eBEClusterInquiryResponseUnmarshaller.java | 35 ++ ...yBEClusterInquiryResponseUnmarshaller.java | 35 ++ ...EClusterAttributeResponseUnmarshaller.java | 29 ++ ...fyDBClusterConfigResponseUnmarshaller.java | 40 ++ .../ModifyDBClusterResponseUnmarshaller.java | 37 ++ ...InstanceAttributeResponseUnmarshaller.java | 29 ++ ...ModifyElasticRuleResponseUnmarshaller.java | 39 ++ ...ifySecurityIPListResponseUnmarshaller.java | 36 ++ ...ePublicConnectionResponseUnmarshaller.java | 29 ++ ...etAccountPasswordResponseUnmarshaller.java | 29 ++ .../RestartDBClusterResponseUnmarshaller.java | 35 ++ .../StartBEClusterResponseUnmarshaller.java | 29 ++ .../StopBEClusterResponseUnmarshaller.java | 29 ++ ...anceEngineVersionResponseUnmarshaller.java | 29 ++ 101 files changed, 8978 insertions(+) create mode 100644 aliyun-java-sdk-selectdb/ChangeLog.txt create mode 100644 aliyun-java-sdk-selectdb/pom.xml create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionRequest.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionResponse.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/AllocateInstancePublicConnectionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckCreateDBInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckServiceLinkedRoleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateElasticRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateServiceLinkedRoleForSelectDBResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteElasticRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeAllDBInstanceClassResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigChangeLogsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceAttributeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceNetInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstancesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeElasticRulesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeSecurityIPListResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/EnDisableScalingRulesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetCreateBEClusterInquiryResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetModifyBEClusterInquiryResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyBEClusterAttributeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBInstanceAttributeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyElasticRuleResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifySecurityIPListResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ReleaseInstancePublicConnectionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ResetAccountPasswordResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/RestartDBClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StartBEClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StopBEClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/UpgradeDBInstanceEngineVersionResponseUnmarshaller.java diff --git a/aliyun-java-sdk-selectdb/ChangeLog.txt b/aliyun-java-sdk-selectdb/ChangeLog.txt new file mode 100644 index 0000000000..85aaf0034a --- /dev/null +++ b/aliyun-java-sdk-selectdb/ChangeLog.txt @@ -0,0 +1,3 @@ +2024-12-18 Version: 1.0.0 +- Generated 2023-05-22 for `selectdb`. + diff --git a/aliyun-java-sdk-selectdb/pom.xml b/aliyun-java-sdk-selectdb/pom.xml new file mode 100644 index 0000000000..5bd0e287a5 --- /dev/null +++ b/aliyun-java-sdk-selectdb/pom.xml @@ -0,0 +1,119 @@ + + + 4.0.0 + com.aliyun + aliyun-java-sdk-selectdb + jar + 1.0.0 + aliyun-java-sdk-selectdb + http://www.aliyun.com + Aliyun Open API SDK for Java +Copyright (C) Alibaba Cloud Computing +All rights reserved. +版权所有 (C)阿里云计算有限公司 +http://www.aliyun.com + + + sonatype-nexus-snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + com.aliyun + aliyun-java-sdk-core + true + [4.4.9,5.0.0) + + + com.google.code.gson + gson + 2.8.9 + + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git + scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git + https://github.com/aliyun/aliyun-openapi-java-sdk + + + + aliyunproducts + Aliyun SDK + aliyunsdk@aliyun.com + + + + + + maven-compiler-plugin + 2.3.2 + + 1.6 + 1.6 + UTF-8 + + + + org.apache.maven.plugins + maven-jar-plugin + 2.3.2 + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.10 + + -Dfile.encoding=UTF-8 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.0 + + UTF-8 + none + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + sonatype-nexus-staging + https://s01.oss.sonatype.org/ + true + + + + + \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionRequest.java new file mode 100644 index 0000000000..7f16a732ad --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class AllocateInstancePublicConnectionRequest extends RpcAcsRequest { + + + private String connectionStringPrefix; + + private Long resourceOwnerId; + + private String netType; + + private String dBInstanceId; + public AllocateInstancePublicConnectionRequest() { + super("selectdb", "2023-05-22", "AllocateInstancePublicConnection"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getConnectionStringPrefix() { + return this.connectionStringPrefix; + } + + public void setConnectionStringPrefix(String connectionStringPrefix) { + this.connectionStringPrefix = connectionStringPrefix; + if(connectionStringPrefix != null){ + putQueryParameter("ConnectionStringPrefix", connectionStringPrefix); + } + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getNetType() { + return this.netType; + } + + public void setNetType(String netType) { + this.netType = netType; + if(netType != null){ + putQueryParameter("NetType", netType); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return AllocateInstancePublicConnectionResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionResponse.java new file mode 100644 index 0000000000..8bacba44c3 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/AllocateInstancePublicConnectionResponse.java @@ -0,0 +1,66 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.AllocateInstancePublicConnectionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AllocateInstancePublicConnectionResponse extends AcsResponse { + + private String requestId; + + private String instanceName; + + private Long taskId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getInstanceName() { + return this.instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public Long getTaskId() { + return this.taskId; + } + + public void setTaskId(Long taskId) { + this.taskId = taskId; + } + + @Override + public AllocateInstancePublicConnectionResponse getInstance(UnmarshallerContext context) { + return AllocateInstancePublicConnectionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceRequest.java new file mode 100644 index 0000000000..2dcdd78cb7 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceRequest.java @@ -0,0 +1,246 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CheckCreateDBInstanceRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String clientToken; + + private String connectionString; + + private String engineVersion; + + private Integer cacheSize; + + private String resourceGroupId; + + private String engine; + + private String dBInstanceDescription; + + private String period; + + private Integer usedTime; + + private String dBInstanceClass; + + private String vSwitchId; + + private String securityIPList; + + private String vpcId; + + private String zoneId; + + private String chargeType; + public CheckCreateDBInstanceRequest() { + super("selectdb", "2023-05-22", "CheckCreateDBInstance"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getClientToken() { + return this.clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + if(clientToken != null){ + putQueryParameter("ClientToken", clientToken); + } + } + + public String getConnectionString() { + return this.connectionString; + } + + public void setConnectionString(String connectionString) { + this.connectionString = connectionString; + if(connectionString != null){ + putQueryParameter("ConnectionString", connectionString); + } + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + if(engineVersion != null){ + putQueryParameter("EngineVersion", engineVersion); + } + } + + public Integer getCacheSize() { + return this.cacheSize; + } + + public void setCacheSize(Integer cacheSize) { + this.cacheSize = cacheSize; + if(cacheSize != null){ + putQueryParameter("CacheSize", cacheSize.toString()); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putQueryParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + if(engine != null){ + putQueryParameter("Engine", engine); + } + } + + public String getDBInstanceDescription() { + return this.dBInstanceDescription; + } + + public void setDBInstanceDescription(String dBInstanceDescription) { + this.dBInstanceDescription = dBInstanceDescription; + if(dBInstanceDescription != null){ + putQueryParameter("DBInstanceDescription", dBInstanceDescription); + } + } + + public String getPeriod() { + return this.period; + } + + public void setPeriod(String period) { + this.period = period; + if(period != null){ + putQueryParameter("Period", period); + } + } + + public Integer getUsedTime() { + return this.usedTime; + } + + public void setUsedTime(Integer usedTime) { + this.usedTime = usedTime; + if(usedTime != null){ + putQueryParameter("UsedTime", usedTime.toString()); + } + } + + public String getDBInstanceClass() { + return this.dBInstanceClass; + } + + public void setDBInstanceClass(String dBInstanceClass) { + this.dBInstanceClass = dBInstanceClass; + if(dBInstanceClass != null){ + putQueryParameter("DBInstanceClass", dBInstanceClass); + } + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + if(vSwitchId != null){ + putQueryParameter("VSwitchId", vSwitchId); + } + } + + public String getSecurityIPList() { + return this.securityIPList; + } + + public void setSecurityIPList(String securityIPList) { + this.securityIPList = securityIPList; + if(securityIPList != null){ + putQueryParameter("SecurityIPList", securityIPList); + } + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + if(vpcId != null){ + putQueryParameter("VpcId", vpcId); + } + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + if(zoneId != null){ + putQueryParameter("ZoneId", zoneId); + } + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + if(chargeType != null){ + putQueryParameter("ChargeType", chargeType); + } + } + + @Override + public Class getResponseClass() { + return CheckCreateDBInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceResponse.java new file mode 100644 index 0000000000..2375de50f8 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckCreateDBInstanceResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.CheckCreateDBInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckCreateDBInstanceResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CheckCreateDBInstanceResponse getInstance(UnmarshallerContext context) { + return CheckCreateDBInstanceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleRequest.java new file mode 100644 index 0000000000..0100a6d379 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CheckServiceLinkedRoleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String ownerAccount; + public CheckServiceLinkedRoleRequest() { + super("selectdb", "2023-05-22", "CheckServiceLinkedRole"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + @Override + public Class getResponseClass() { + return CheckServiceLinkedRoleResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleResponse.java new file mode 100644 index 0000000000..ef0c326481 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CheckServiceLinkedRoleResponse.java @@ -0,0 +1,56 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.CheckServiceLinkedRoleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckServiceLinkedRoleResponse extends AcsResponse { + + private String requestId; + + private Boolean hasServiceLinkedRole; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getHasServiceLinkedRole() { + return this.hasServiceLinkedRole; + } + + public void setHasServiceLinkedRole(Boolean hasServiceLinkedRole) { + this.hasServiceLinkedRole = hasServiceLinkedRole; + } + + @Override + public CheckServiceLinkedRoleResponse getInstance(UnmarshallerContext context) { + return CheckServiceLinkedRoleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterRequest.java new file mode 100644 index 0000000000..b510d44b94 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterRequest.java @@ -0,0 +1,207 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateDBClusterRequest extends RpcAcsRequest { + + + private String dBClusterDescription; + + private Long resourceOwnerId; + + private String engineVersion; + + private String cacheSize; + + private String engine; + + private String dBInstanceId; + + private String period; + + private String dBClusterClass; + + private String usedTime; + + private String vSwitchId; + + private String vpcId; + + private String zoneId; + + private String chargeType; + public CreateDBClusterRequest() { + super("selectdb", "2023-05-22", "CreateDBCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getDBClusterDescription() { + return this.dBClusterDescription; + } + + public void setDBClusterDescription(String dBClusterDescription) { + this.dBClusterDescription = dBClusterDescription; + if(dBClusterDescription != null){ + putQueryParameter("DBClusterDescription", dBClusterDescription); + } + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + if(engineVersion != null){ + putQueryParameter("EngineVersion", engineVersion); + } + } + + public String getCacheSize() { + return this.cacheSize; + } + + public void setCacheSize(String cacheSize) { + this.cacheSize = cacheSize; + if(cacheSize != null){ + putQueryParameter("CacheSize", cacheSize); + } + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + if(engine != null){ + putQueryParameter("Engine", engine); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putBodyParameter("DBInstanceId", dBInstanceId); + } + } + + public String getPeriod() { + return this.period; + } + + public void setPeriod(String period) { + this.period = period; + if(period != null){ + putQueryParameter("Period", period); + } + } + + public String getDBClusterClass() { + return this.dBClusterClass; + } + + public void setDBClusterClass(String dBClusterClass) { + this.dBClusterClass = dBClusterClass; + if(dBClusterClass != null){ + putQueryParameter("DBClusterClass", dBClusterClass); + } + } + + public String getUsedTime() { + return this.usedTime; + } + + public void setUsedTime(String usedTime) { + this.usedTime = usedTime; + if(usedTime != null){ + putQueryParameter("UsedTime", usedTime); + } + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + if(vSwitchId != null){ + putQueryParameter("VSwitchId", vSwitchId); + } + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + if(vpcId != null){ + putQueryParameter("VpcId", vpcId); + } + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + if(zoneId != null){ + putQueryParameter("ZoneId", zoneId); + } + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + if(chargeType != null){ + putQueryParameter("ChargeType", chargeType); + } + } + + @Override + public Class getResponseClass() { + return CreateDBClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterResponse.java new file mode 100644 index 0000000000..885dae9f93 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBClusterResponse.java @@ -0,0 +1,89 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.CreateDBClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateDBClusterResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dBInstanceId; + + private Long orderId; + + private String clusterId; + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public Long getOrderId() { + return this.orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + } + + @Override + public CreateDBClusterResponse getInstance(UnmarshallerContext context) { + return CreateDBClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceRequest.java new file mode 100644 index 0000000000..89bd1fff3a --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceRequest.java @@ -0,0 +1,288 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateDBInstanceRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String clientToken; + + private String connectionString; + + private String engineVersion; + + private Integer cacheSize; + + private String resourceGroupId; + + private String engine; + + private String dBInstanceDescription; + + @SerializedName("tag") + private List tag; + + private String period; + + private Integer usedTime; + + private String dBInstanceClass; + + private String vSwitchId; + + private String securityIPList; + + private String vpcId; + + private String zoneId; + + private String chargeType; + public CreateDBInstanceRequest() { + super("selectdb", "2023-05-22", "CreateDBInstance"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getClientToken() { + return this.clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + if(clientToken != null){ + putQueryParameter("ClientToken", clientToken); + } + } + + public String getConnectionString() { + return this.connectionString; + } + + public void setConnectionString(String connectionString) { + this.connectionString = connectionString; + if(connectionString != null){ + putQueryParameter("ConnectionString", connectionString); + } + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + if(engineVersion != null){ + putQueryParameter("EngineVersion", engineVersion); + } + } + + public Integer getCacheSize() { + return this.cacheSize; + } + + public void setCacheSize(Integer cacheSize) { + this.cacheSize = cacheSize; + if(cacheSize != null){ + putQueryParameter("CacheSize", cacheSize.toString()); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putBodyParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + if(engine != null){ + putQueryParameter("Engine", engine); + } + } + + public String getDBInstanceDescription() { + return this.dBInstanceDescription; + } + + public void setDBInstanceDescription(String dBInstanceDescription) { + this.dBInstanceDescription = dBInstanceDescription; + if(dBInstanceDescription != null){ + putQueryParameter("DBInstanceDescription", dBInstanceDescription); + } + } + + public List getTag() { + return this.tag; + } + + public void setTag(List tag) { + this.tag = tag; + if (tag != null) { + putQueryParameter("Tag" , new Gson().toJson(tag)); + } + } + + public String getPeriod() { + return this.period; + } + + public void setPeriod(String period) { + this.period = period; + if(period != null){ + putQueryParameter("Period", period); + } + } + + public Integer getUsedTime() { + return this.usedTime; + } + + public void setUsedTime(Integer usedTime) { + this.usedTime = usedTime; + if(usedTime != null){ + putQueryParameter("UsedTime", usedTime.toString()); + } + } + + public String getDBInstanceClass() { + return this.dBInstanceClass; + } + + public void setDBInstanceClass(String dBInstanceClass) { + this.dBInstanceClass = dBInstanceClass; + if(dBInstanceClass != null){ + putQueryParameter("DBInstanceClass", dBInstanceClass); + } + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + if(vSwitchId != null){ + putQueryParameter("VSwitchId", vSwitchId); + } + } + + public String getSecurityIPList() { + return this.securityIPList; + } + + public void setSecurityIPList(String securityIPList) { + this.securityIPList = securityIPList; + if(securityIPList != null){ + putQueryParameter("SecurityIPList", securityIPList); + } + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + if(vpcId != null){ + putQueryParameter("VpcId", vpcId); + } + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + if(zoneId != null){ + putQueryParameter("ZoneId", zoneId); + } + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + if(chargeType != null){ + putQueryParameter("ChargeType", chargeType); + } + } + + public static class Tag { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + + @Override + public Class getResponseClass() { + return CreateDBInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceResponse.java new file mode 100644 index 0000000000..8451e5b140 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateDBInstanceResponse.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.CreateDBInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateDBInstanceResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dBInstanceId; + + private Long orderId; + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public Long getOrderId() { + return this.orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + } + + @Override + public CreateDBInstanceResponse getInstance(UnmarshallerContext context) { + return CreateDBInstanceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleRequest.java new file mode 100644 index 0000000000..168fe097e5 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleRequest.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateElasticRuleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String executionPeriod; + + private String clusterId; + + private String elasticRuleStartTime; + + private String clusterClass; + + private String dbInstanceId; + public CreateElasticRuleRequest() { + super("selectdb", "2023-05-22", "CreateElasticRule"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getExecutionPeriod() { + return this.executionPeriod; + } + + public void setExecutionPeriod(String executionPeriod) { + this.executionPeriod = executionPeriod; + if(executionPeriod != null){ + putQueryParameter("ExecutionPeriod", executionPeriod); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getElasticRuleStartTime() { + return this.elasticRuleStartTime; + } + + public void setElasticRuleStartTime(String elasticRuleStartTime) { + this.elasticRuleStartTime = elasticRuleStartTime; + if(elasticRuleStartTime != null){ + putQueryParameter("ElasticRuleStartTime", elasticRuleStartTime); + } + } + + public String getClusterClass() { + return this.clusterClass; + } + + public void setClusterClass(String clusterClass) { + this.clusterClass = clusterClass; + if(clusterClass != null){ + putQueryParameter("ClusterClass", clusterClass); + } + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + if(dbInstanceId != null){ + putQueryParameter("DbInstanceId", dbInstanceId); + } + } + + @Override + public Class getResponseClass() { + return CreateElasticRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleResponse.java new file mode 100644 index 0000000000..46491c0f64 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateElasticRuleResponse.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.CreateElasticRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateElasticRuleResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dbInstanceId; + + private String clusterId; + + private Long ruleId; + + private String executionPeriod; + + private String elasticRuleStartTime; + + private String clusterClass; + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public Long getRuleId() { + return this.ruleId; + } + + public void setRuleId(Long ruleId) { + this.ruleId = ruleId; + } + + public String getExecutionPeriod() { + return this.executionPeriod; + } + + public void setExecutionPeriod(String executionPeriod) { + this.executionPeriod = executionPeriod; + } + + public String getElasticRuleStartTime() { + return this.elasticRuleStartTime; + } + + public void setElasticRuleStartTime(String elasticRuleStartTime) { + this.elasticRuleStartTime = elasticRuleStartTime; + } + + public String getClusterClass() { + return this.clusterClass; + } + + public void setClusterClass(String clusterClass) { + this.clusterClass = clusterClass; + } + } + + @Override + public CreateElasticRuleResponse getInstance(UnmarshallerContext context) { + return CreateElasticRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBRequest.java new file mode 100644 index 0000000000..4b6cb0994c --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateServiceLinkedRoleForSelectDBRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String ownerAccount; + public CreateServiceLinkedRoleForSelectDBRequest() { + super("selectdb", "2023-05-22", "CreateServiceLinkedRoleForSelectDB"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + @Override + public Class getResponseClass() { + return CreateServiceLinkedRoleForSelectDBResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBResponse.java new file mode 100644 index 0000000000..18c2af45e4 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/CreateServiceLinkedRoleForSelectDBResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.CreateServiceLinkedRoleForSelectDBResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateServiceLinkedRoleForSelectDBResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateServiceLinkedRoleForSelectDBResponse getInstance(UnmarshallerContext context) { + return CreateServiceLinkedRoleForSelectDBResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterRequest.java new file mode 100644 index 0000000000..ea753a26bf --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteDBClusterRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBClusterId; + + private String resourceGroupId; + + private String dBInstanceId; + public DeleteDBClusterRequest() { + super("selectdb", "2023-05-22", "DeleteDBCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putBodyParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putBodyParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteDBClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterResponse.java new file mode 100644 index 0000000000..9fc60d0fbd --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBClusterResponse.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DeleteDBClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDBClusterResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dBInstanceId; + + private String orderId; + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public String getOrderId() { + return this.orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + } + + @Override + public DeleteDBClusterResponse getInstance(UnmarshallerContext context) { + return DeleteDBClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceRequest.java new file mode 100644 index 0000000000..9c5f924e04 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteDBInstanceRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBInstanceId; + public DeleteDBInstanceRequest() { + super("selectdb", "2023-05-22", "DeleteDBInstance"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putBodyParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteDBInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceResponse.java new file mode 100644 index 0000000000..c96c2ce240 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteDBInstanceResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DeleteDBInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDBInstanceResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteDBInstanceResponse getInstance(UnmarshallerContext context) { + return DeleteDBInstanceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleRequest.java new file mode 100644 index 0000000000..e19f109a1e --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteElasticRuleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String product; + + private String clusterId; + + private String dbInstanceId; + + private Long ruleId; + public DeleteElasticRuleRequest() { + super("selectdb", "2023-05-22", "DeleteElasticRule"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getProduct() { + return this.product; + } + + public void setProduct(String product) { + this.product = product; + if(product != null){ + putQueryParameter("Product", product); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + if(dbInstanceId != null){ + putQueryParameter("DbInstanceId", dbInstanceId); + } + } + + public Long getRuleId() { + return this.ruleId; + } + + public void setRuleId(Long ruleId) { + this.ruleId = ruleId; + if(ruleId != null){ + putQueryParameter("RuleId", ruleId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DeleteElasticRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleResponse.java new file mode 100644 index 0000000000..5dcb7cfe69 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DeleteElasticRuleResponse.java @@ -0,0 +1,56 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DeleteElasticRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteElasticRuleResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public DeleteElasticRuleResponse getInstance(UnmarshallerContext context) { + return DeleteElasticRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassRequest.java new file mode 100644 index 0000000000..85333933e6 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassRequest.java @@ -0,0 +1,51 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeAllDBInstanceClassRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + public DescribeAllDBInstanceClassRequest() { + super("selectdb", "2023-05-22", "DescribeAllDBInstanceClass"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DescribeAllDBInstanceClassResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassResponse.java new file mode 100644 index 0000000000..630fdf93fc --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeAllDBInstanceClassResponse.java @@ -0,0 +1,130 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeAllDBInstanceClassResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeAllDBInstanceClassResponse extends AcsResponse { + + private String requestId; + + private List classCodeList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getClassCodeList() { + return this.classCodeList; + } + + public void setClassCodeList(List classCodeList) { + this.classCodeList = classCodeList; + } + + public static class ClassCodeListItem { + + private String classCode; + + private Long cpuCores; + + private Long memoryInGB; + + private Long defaultStorageInGB; + + private Long minStorageInGB; + + private Long maxStorageInGB; + + private Long stepStorageInGB; + + public String getClassCode() { + return this.classCode; + } + + public void setClassCode(String classCode) { + this.classCode = classCode; + } + + public Long getCpuCores() { + return this.cpuCores; + } + + public void setCpuCores(Long cpuCores) { + this.cpuCores = cpuCores; + } + + public Long getMemoryInGB() { + return this.memoryInGB; + } + + public void setMemoryInGB(Long memoryInGB) { + this.memoryInGB = memoryInGB; + } + + public Long getDefaultStorageInGB() { + return this.defaultStorageInGB; + } + + public void setDefaultStorageInGB(Long defaultStorageInGB) { + this.defaultStorageInGB = defaultStorageInGB; + } + + public Long getMinStorageInGB() { + return this.minStorageInGB; + } + + public void setMinStorageInGB(Long minStorageInGB) { + this.minStorageInGB = minStorageInGB; + } + + public Long getMaxStorageInGB() { + return this.maxStorageInGB; + } + + public void setMaxStorageInGB(Long maxStorageInGB) { + this.maxStorageInGB = maxStorageInGB; + } + + public Long getStepStorageInGB() { + return this.stepStorageInGB; + } + + public void setStepStorageInGB(Long stepStorageInGB) { + this.stepStorageInGB = stepStorageInGB; + } + } + + @Override + public DescribeAllDBInstanceClassResponse getInstance(UnmarshallerContext context) { + return DescribeAllDBInstanceClassResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsRequest.java new file mode 100644 index 0000000000..4efc582c46 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsRequest.java @@ -0,0 +1,101 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeDBClusterConfigChangeLogsRequest extends RpcAcsRequest { + + + private String startTime; + + private String configKey; + + private String dBInstanceId; + + private String dBClusterId; + + private String endTime; + public DescribeDBClusterConfigChangeLogsRequest() { + super("selectdb", "2023-05-22", "DescribeDBClusterConfigChangeLogs"); + setMethod(MethodType.POST); + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public String getConfigKey() { + return this.configKey; + } + + public void setConfigKey(String configKey) { + this.configKey = configKey; + if(configKey != null){ + putQueryParameter("ConfigKey", configKey); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + @Override + public Class getResponseClass() { + return DescribeDBClusterConfigChangeLogsResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsResponse.java new file mode 100644 index 0000000000..1588802d28 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigChangeLogsResponse.java @@ -0,0 +1,213 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeDBClusterConfigChangeLogsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDBClusterConfigChangeLogsResponse extends AcsResponse { + + private String dynamicCode; + + private String dynamicMessage; + + private String accessDeniedDetail; + + private String requestId; + + private Data data; + + public String getDynamicCode() { + return this.dynamicCode; + } + + public void setDynamicCode(String dynamicCode) { + this.dynamicCode = dynamicCode; + } + + public String getDynamicMessage() { + return this.dynamicMessage; + } + + public void setDynamicMessage(String dynamicMessage) { + this.dynamicMessage = dynamicMessage; + } + + public String getAccessDeniedDetail() { + return this.accessDeniedDetail; + } + + public void setAccessDeniedDetail(String accessDeniedDetail) { + this.accessDeniedDetail = accessDeniedDetail; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dbInstanceName; + + private String dbInstanceId; + + private String dbClusterId; + + private Integer taskId; + + private List paramChangeLogs; + + public String getDbInstanceName() { + return this.dbInstanceName; + } + + public void setDbInstanceName(String dbInstanceName) { + this.dbInstanceName = dbInstanceName; + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + } + + public String getDbClusterId() { + return this.dbClusterId; + } + + public void setDbClusterId(String dbClusterId) { + this.dbClusterId = dbClusterId; + } + + public Integer getTaskId() { + return this.taskId; + } + + public void setTaskId(Integer taskId) { + this.taskId = taskId; + } + + public List getParamChangeLogs() { + return this.paramChangeLogs; + } + + public void setParamChangeLogs(List paramChangeLogs) { + this.paramChangeLogs = paramChangeLogs; + } + + public static class ParamChangeLog { + + private Long id; + + private String name; + + private String oldValue; + + private String newValue; + + private Boolean isApplied; + + private String gmtCreated; + + private String gmtModified; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getOldValue() { + return this.oldValue; + } + + public void setOldValue(String oldValue) { + this.oldValue = oldValue; + } + + public String getNewValue() { + return this.newValue; + } + + public void setNewValue(String newValue) { + this.newValue = newValue; + } + + public Boolean getIsApplied() { + return this.isApplied; + } + + public void setIsApplied(Boolean isApplied) { + this.isApplied = isApplied; + } + + public String getGmtCreated() { + return this.gmtCreated; + } + + public void setGmtCreated(String gmtCreated) { + this.gmtCreated = gmtCreated; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + } + } + + @Override + public DescribeDBClusterConfigChangeLogsResponse getInstance(UnmarshallerContext context) { + return DescribeDBClusterConfigChangeLogsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigRequest.java new file mode 100644 index 0000000000..b5272303ff --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeDBClusterConfigRequest extends RpcAcsRequest { + + + private String dBClusterId; + + private String configKey; + + private String dBInstanceId; + public DescribeDBClusterConfigRequest() { + super("selectdb", "2023-05-22", "DescribeDBClusterConfig"); + setMethod(MethodType.POST); + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getConfigKey() { + return this.configKey; + } + + public void setConfigKey(String configKey) { + this.configKey = configKey; + if(configKey != null){ + putQueryParameter("ConfigKey", configKey); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DescribeDBClusterConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigResponse.java new file mode 100644 index 0000000000..fb7d3fb4e6 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBClusterConfigResponse.java @@ -0,0 +1,223 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeDBClusterConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDBClusterConfigResponse extends AcsResponse { + + private String dynamicCode; + + private String dynamicMessage; + + private String accessDeniedDetail; + + private String requestId; + + private Data data; + + public String getDynamicCode() { + return this.dynamicCode; + } + + public void setDynamicCode(String dynamicCode) { + this.dynamicCode = dynamicCode; + } + + public String getDynamicMessage() { + return this.dynamicMessage; + } + + public void setDynamicMessage(String dynamicMessage) { + this.dynamicMessage = dynamicMessage; + } + + public String getAccessDeniedDetail() { + return this.accessDeniedDetail; + } + + public void setAccessDeniedDetail(String accessDeniedDetail) { + this.accessDeniedDetail = accessDeniedDetail; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dbInstanceName; + + private String dbInstanceId; + + private String dbClusterId; + + private Integer taskId; + + private List params; + + public String getDbInstanceName() { + return this.dbInstanceName; + } + + public void setDbInstanceName(String dbInstanceName) { + this.dbInstanceName = dbInstanceName; + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + } + + public String getDbClusterId() { + return this.dbClusterId; + } + + public void setDbClusterId(String dbClusterId) { + this.dbClusterId = dbClusterId; + } + + public Integer getTaskId() { + return this.taskId; + } + + public void setTaskId(Integer taskId) { + this.taskId = taskId; + } + + public List getParams() { + return this.params; + } + + public void setParams(List params) { + this.params = params; + } + + public static class Param { + + private String name; + + private String optional; + + private String comment; + + private String value; + + private String paramCategory; + + private String defaultValue; + + private Integer isDynamic; + + private Integer isUserModifiable; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getOptional() { + return this.optional; + } + + public void setOptional(String optional) { + this.optional = optional; + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getParamCategory() { + return this.paramCategory; + } + + public void setParamCategory(String paramCategory) { + this.paramCategory = paramCategory; + } + + public String getDefaultValue() { + return this.defaultValue; + } + + public void setDefaultValue(String defaultValue) { + this.defaultValue = defaultValue; + } + + public Integer getIsDynamic() { + return this.isDynamic; + } + + public void setIsDynamic(Integer isDynamic) { + this.isDynamic = isDynamic; + } + + public Integer getIsUserModifiable() { + return this.isUserModifiable; + } + + public void setIsUserModifiable(Integer isUserModifiable) { + this.isUserModifiable = isUserModifiable; + } + } + } + + @Override + public DescribeDBClusterConfigResponse getInstance(UnmarshallerContext context) { + return DescribeDBClusterConfigResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeRequest.java new file mode 100644 index 0000000000..6e9356a8ce --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstanceAttributeRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBInstanceId; + public DescribeDBInstanceAttributeRequest() { + super("selectdb", "2023-05-22", "DescribeDBInstanceAttribute"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DescribeDBInstanceAttributeResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeResponse.java new file mode 100644 index 0000000000..11939b065a --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceAttributeResponse.java @@ -0,0 +1,473 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeDBInstanceAttributeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstanceAttributeResponse extends AcsResponse { + + private String requestId; + + private String status; + + private String subDomain; + + private String gmtModified; + + private Long lockMode; + + private String lockReason; + + private Long resourceCpu; + + private Long storageSize; + + private Long objectStoreSize; + + private String maintainStarttime; + + private String maintainEndtime; + + private String engine; + + private String engineVersion; + + private String engineMinorVersion; + + private String dBInstanceId; + + private String description; + + private String createTime; + + private String chargeType; + + private String expireTime; + + private String resourceGroupId; + + private String regionId; + + private String zoneId; + + private String vpcId; + + private List dBClusterList; + + private List tags; + + private List canUpgradeVersions; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getSubDomain() { + return this.subDomain; + } + + public void setSubDomain(String subDomain) { + this.subDomain = subDomain; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public Long getLockMode() { + return this.lockMode; + } + + public void setLockMode(Long lockMode) { + this.lockMode = lockMode; + } + + public String getLockReason() { + return this.lockReason; + } + + public void setLockReason(String lockReason) { + this.lockReason = lockReason; + } + + public Long getResourceCpu() { + return this.resourceCpu; + } + + public void setResourceCpu(Long resourceCpu) { + this.resourceCpu = resourceCpu; + } + + public Long getStorageSize() { + return this.storageSize; + } + + public void setStorageSize(Long storageSize) { + this.storageSize = storageSize; + } + + public Long getObjectStoreSize() { + return this.objectStoreSize; + } + + public void setObjectStoreSize(Long objectStoreSize) { + this.objectStoreSize = objectStoreSize; + } + + public String getMaintainStarttime() { + return this.maintainStarttime; + } + + public void setMaintainStarttime(String maintainStarttime) { + this.maintainStarttime = maintainStarttime; + } + + public String getMaintainEndtime() { + return this.maintainEndtime; + } + + public void setMaintainEndtime(String maintainEndtime) { + this.maintainEndtime = maintainEndtime; + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + } + + public String getEngineMinorVersion() { + return this.engineMinorVersion; + } + + public void setEngineMinorVersion(String engineMinorVersion) { + this.engineMinorVersion = engineMinorVersion; + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getExpireTime() { + return this.expireTime; + } + + public void setExpireTime(String expireTime) { + this.expireTime = expireTime; + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public List getDBClusterList() { + return this.dBClusterList; + } + + public void setDBClusterList(List dBClusterList) { + this.dBClusterList = dBClusterList; + } + + public List getTags() { + return this.tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public List getCanUpgradeVersions() { + return this.canUpgradeVersions; + } + + public void setCanUpgradeVersions(List canUpgradeVersions) { + this.canUpgradeVersions = canUpgradeVersions; + } + + public static class DbClusterListItem { + + private String dbInstanceName; + + private String dbClusterId; + + private String dbClusterName; + + private String status; + + private String createdTime; + + private String dbClusterClass; + + private Long cpuCores; + + private Long memory; + + private String cacheStorageType; + + private String performanceLevel; + + private String cacheStorageSizeGB; + + private String startTime; + + private String chargeType; + + private String modifiedTime; + + private Boolean scalingRulesEnable; + + public String getDbInstanceName() { + return this.dbInstanceName; + } + + public void setDbInstanceName(String dbInstanceName) { + this.dbInstanceName = dbInstanceName; + } + + public String getDbClusterId() { + return this.dbClusterId; + } + + public void setDbClusterId(String dbClusterId) { + this.dbClusterId = dbClusterId; + } + + public String getDbClusterName() { + return this.dbClusterName; + } + + public void setDbClusterName(String dbClusterName) { + this.dbClusterName = dbClusterName; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getCreatedTime() { + return this.createdTime; + } + + public void setCreatedTime(String createdTime) { + this.createdTime = createdTime; + } + + public String getDbClusterClass() { + return this.dbClusterClass; + } + + public void setDbClusterClass(String dbClusterClass) { + this.dbClusterClass = dbClusterClass; + } + + public Long getCpuCores() { + return this.cpuCores; + } + + public void setCpuCores(Long cpuCores) { + this.cpuCores = cpuCores; + } + + public Long getMemory() { + return this.memory; + } + + public void setMemory(Long memory) { + this.memory = memory; + } + + public String getCacheStorageType() { + return this.cacheStorageType; + } + + public void setCacheStorageType(String cacheStorageType) { + this.cacheStorageType = cacheStorageType; + } + + public String getPerformanceLevel() { + return this.performanceLevel; + } + + public void setPerformanceLevel(String performanceLevel) { + this.performanceLevel = performanceLevel; + } + + public String getCacheStorageSizeGB() { + return this.cacheStorageSizeGB; + } + + public void setCacheStorageSizeGB(String cacheStorageSizeGB) { + this.cacheStorageSizeGB = cacheStorageSizeGB; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getModifiedTime() { + return this.modifiedTime; + } + + public void setModifiedTime(String modifiedTime) { + this.modifiedTime = modifiedTime; + } + + public Boolean getScalingRulesEnable() { + return this.scalingRulesEnable; + } + + public void setScalingRulesEnable(Boolean scalingRulesEnable) { + this.scalingRulesEnable = scalingRulesEnable; + } + } + + public static class TagsItem { + + private String tagKey; + + private String tagValue; + + public String getTagKey() { + return this.tagKey; + } + + public void setTagKey(String tagKey) { + this.tagKey = tagKey; + } + + public String getTagValue() { + return this.tagValue; + } + + public void setTagValue(String tagValue) { + this.tagValue = tagValue; + } + } + + @Override + public DescribeDBInstanceAttributeResponse getInstance(UnmarshallerContext context) { + return DescribeDBInstanceAttributeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoRequest.java new file mode 100644 index 0000000000..facc6b4f92 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstanceNetInfoRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBInstanceId; + public DescribeDBInstanceNetInfoRequest() { + super("selectdb", "2023-05-22", "DescribeDBInstanceNetInfo"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DescribeDBInstanceNetInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoResponse.java new file mode 100644 index 0000000000..91e6af93f6 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstanceNetInfoResponse.java @@ -0,0 +1,299 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeDBInstanceNetInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstanceNetInfoResponse extends AcsResponse { + + private String requestId; + + private List dBInstanceNetInfos; + + private List dBClustersNetInfos; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getDBInstanceNetInfos() { + return this.dBInstanceNetInfos; + } + + public void setDBInstanceNetInfos(List dBInstanceNetInfos) { + this.dBInstanceNetInfos = dBInstanceNetInfos; + } + + public List getDBClustersNetInfos() { + return this.dBClustersNetInfos; + } + + public void setDBClustersNetInfos(List dBClustersNetInfos) { + this.dBClustersNetInfos = dBClustersNetInfos; + } + + public static class DBInstanceNetInfosItem { + + private String netType; + + private String vpcInstanceId; + + private String vpcId; + + private String vswitchId; + + private Boolean userVisible; + + private String connectionString; + + private String ip; + + private String clusterId; + + private List portList; + + public String getNetType() { + return this.netType; + } + + public void setNetType(String netType) { + this.netType = netType; + } + + public String getVpcInstanceId() { + return this.vpcInstanceId; + } + + public void setVpcInstanceId(String vpcInstanceId) { + this.vpcInstanceId = vpcInstanceId; + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public String getVswitchId() { + return this.vswitchId; + } + + public void setVswitchId(String vswitchId) { + this.vswitchId = vswitchId; + } + + public Boolean getUserVisible() { + return this.userVisible; + } + + public void setUserVisible(Boolean userVisible) { + this.userVisible = userVisible; + } + + public String getConnectionString() { + return this.connectionString; + } + + public void setConnectionString(String connectionString) { + this.connectionString = connectionString; + } + + public String getIp() { + return this.ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public List getPortList() { + return this.portList; + } + + public void setPortList(List portList) { + this.portList = portList; + } + + public static class PortListItem { + + private String protocol; + + private Integer port; + + public String getBizProtocol() { + return this.protocol; + } + + public void setBizProtocol(String protocol) { + this.protocol = protocol; + } + + public Integer getPort() { + return this.port; + } + + public void setPort(Integer port) { + this.port = port; + } + } + } + + public static class DBClustersNetInfosItem { + + private String netType; + + private String vpcInstanceId; + + private String vpcId; + + private String vswitchId; + + private Boolean userVisible; + + private String connectionString; + + private String ip; + + private String clusterId; + + private List portList1; + + public String getNetType() { + return this.netType; + } + + public void setNetType(String netType) { + this.netType = netType; + } + + public String getVpcInstanceId() { + return this.vpcInstanceId; + } + + public void setVpcInstanceId(String vpcInstanceId) { + this.vpcInstanceId = vpcInstanceId; + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public String getVswitchId() { + return this.vswitchId; + } + + public void setVswitchId(String vswitchId) { + this.vswitchId = vswitchId; + } + + public Boolean getUserVisible() { + return this.userVisible; + } + + public void setUserVisible(Boolean userVisible) { + this.userVisible = userVisible; + } + + public String getConnectionString() { + return this.connectionString; + } + + public void setConnectionString(String connectionString) { + this.connectionString = connectionString; + } + + public String getIp() { + return this.ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public List getPortList1() { + return this.portList1; + } + + public void setPortList1(List portList1) { + this.portList1 = portList1; + } + + public static class PortListItem2 { + + private String protocol; + + private Integer port; + + public String getBizProtocol() { + return this.protocol; + } + + public void setBizProtocol(String protocol) { + this.protocol = protocol; + } + + public Integer getPort() { + return this.port; + } + + public void setPort(Integer port) { + this.port = port; + } + } + } + + @Override + public DescribeDBInstanceNetInfoResponse getInstance(UnmarshallerContext context) { + return DescribeDBInstanceNetInfoResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesRequest.java new file mode 100644 index 0000000000..c562b9e9a1 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesRequest.java @@ -0,0 +1,171 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstancesRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long pageNumber; + + private String resourceGroupId; + + private Long pageSize; + + private String dBInstanceStatus; + + private String dBInstanceDescription; + + @SerializedName("tag") + private List tag; + + private String dBInstanceIds; + public DescribeDBInstancesRequest() { + super("selectdb", "2023-05-22", "DescribeDBInstances"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public Long getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putQueryParameter("ResourceGroupId", resourceGroupId); + } + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getDBInstanceStatus() { + return this.dBInstanceStatus; + } + + public void setDBInstanceStatus(String dBInstanceStatus) { + this.dBInstanceStatus = dBInstanceStatus; + if(dBInstanceStatus != null){ + putQueryParameter("DBInstanceStatus", dBInstanceStatus); + } + } + + public String getDBInstanceDescription() { + return this.dBInstanceDescription; + } + + public void setDBInstanceDescription(String dBInstanceDescription) { + this.dBInstanceDescription = dBInstanceDescription; + if(dBInstanceDescription != null){ + putQueryParameter("DBInstanceDescription", dBInstanceDescription); + } + } + + public List getTag() { + return this.tag; + } + + public void setTag(List tag) { + this.tag = tag; + if (tag != null) { + putQueryParameter("Tag" , new Gson().toJson(tag)); + } + } + + public String getDBInstanceIds() { + return this.dBInstanceIds; + } + + public void setDBInstanceIds(String dBInstanceIds) { + this.dBInstanceIds = dBInstanceIds; + if(dBInstanceIds != null){ + putQueryParameter("DBInstanceIds", dBInstanceIds); + } + } + + public static class Tag { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + + @Override + public Class getResponseClass() { + return DescribeDBInstancesResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesResponse.java new file mode 100644 index 0000000000..8cc60f6d30 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeDBInstancesResponse.java @@ -0,0 +1,493 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeDBInstancesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstancesResponse extends AcsResponse { + + private String requestId; + + private Long pageNumber; + + private Long pageSize; + + private Long totalRecordCount; + + private List items; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Long getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + } + + public Long getTotalRecordCount() { + return this.totalRecordCount; + } + + public void setTotalRecordCount(Long totalRecordCount) { + this.totalRecordCount = totalRecordCount; + } + + public List getItems() { + return this.items; + } + + public void setItems(List items) { + this.items = items; + } + + public static class DBInstance { + + private String connectionString; + + private String dBInstanceId; + + private String description; + + private String engine; + + private String engineVersion; + + private String instanceUsedType; + + private String regionId; + + private String zoneId; + + private String chargeType; + + private String category; + + private String status; + + private String vpcId; + + private String vswitchId; + + private Long resourceCpu; + + private Long resourceMemory; + + private Long scaleMin; + + private Long scaleMax; + + private Long scaleReplica; + + private Long storageSize; + + private String storageType; + + private Long objectStoreSize; + + private String expireTime; + + private Long lockMode; + + private String lockReason; + + private Boolean isDeleted; + + private String maintainStarttime; + + private String maintainEndtime; + + private String gmtCreated; + + private String gmtModified; + + private String parentInstance; + + private String resourceGroupId; + + private String maintainStartTimeStr; + + private String maintainEndTimeStr; + + private String tenantClusterId; + + private String tenantToken; + + private String tenantUserId; + + private Integer clusterCount; + + private List tags; + + public String getConnectionString() { + return this.connectionString; + } + + public void setConnectionString(String connectionString) { + this.connectionString = connectionString; + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + } + + public String getInstanceUsedType() { + return this.instanceUsedType; + } + + public void setInstanceUsedType(String instanceUsedType) { + this.instanceUsedType = instanceUsedType; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public String getVswitchId() { + return this.vswitchId; + } + + public void setVswitchId(String vswitchId) { + this.vswitchId = vswitchId; + } + + public Long getResourceCpu() { + return this.resourceCpu; + } + + public void setResourceCpu(Long resourceCpu) { + this.resourceCpu = resourceCpu; + } + + public Long getResourceMemory() { + return this.resourceMemory; + } + + public void setResourceMemory(Long resourceMemory) { + this.resourceMemory = resourceMemory; + } + + public Long getScaleMin() { + return this.scaleMin; + } + + public void setScaleMin(Long scaleMin) { + this.scaleMin = scaleMin; + } + + public Long getScaleMax() { + return this.scaleMax; + } + + public void setScaleMax(Long scaleMax) { + this.scaleMax = scaleMax; + } + + public Long getScaleReplica() { + return this.scaleReplica; + } + + public void setScaleReplica(Long scaleReplica) { + this.scaleReplica = scaleReplica; + } + + public Long getStorageSize() { + return this.storageSize; + } + + public void setStorageSize(Long storageSize) { + this.storageSize = storageSize; + } + + public String getStorageType() { + return this.storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public Long getObjectStoreSize() { + return this.objectStoreSize; + } + + public void setObjectStoreSize(Long objectStoreSize) { + this.objectStoreSize = objectStoreSize; + } + + public String getExpireTime() { + return this.expireTime; + } + + public void setExpireTime(String expireTime) { + this.expireTime = expireTime; + } + + public Long getLockMode() { + return this.lockMode; + } + + public void setLockMode(Long lockMode) { + this.lockMode = lockMode; + } + + public String getLockReason() { + return this.lockReason; + } + + public void setLockReason(String lockReason) { + this.lockReason = lockReason; + } + + public Boolean getIsDeleted() { + return this.isDeleted; + } + + public void setIsDeleted(Boolean isDeleted) { + this.isDeleted = isDeleted; + } + + public String getMaintainStarttime() { + return this.maintainStarttime; + } + + public void setMaintainStarttime(String maintainStarttime) { + this.maintainStarttime = maintainStarttime; + } + + public String getMaintainEndtime() { + return this.maintainEndtime; + } + + public void setMaintainEndtime(String maintainEndtime) { + this.maintainEndtime = maintainEndtime; + } + + public String getGmtCreated() { + return this.gmtCreated; + } + + public void setGmtCreated(String gmtCreated) { + this.gmtCreated = gmtCreated; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getParentInstance() { + return this.parentInstance; + } + + public void setParentInstance(String parentInstance) { + this.parentInstance = parentInstance; + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + } + + public String getMaintainStartTimeStr() { + return this.maintainStartTimeStr; + } + + public void setMaintainStartTimeStr(String maintainStartTimeStr) { + this.maintainStartTimeStr = maintainStartTimeStr; + } + + public String getMaintainEndTimeStr() { + return this.maintainEndTimeStr; + } + + public void setMaintainEndTimeStr(String maintainEndTimeStr) { + this.maintainEndTimeStr = maintainEndTimeStr; + } + + public String getTenantClusterId() { + return this.tenantClusterId; + } + + public void setTenantClusterId(String tenantClusterId) { + this.tenantClusterId = tenantClusterId; + } + + public String getTenantToken() { + return this.tenantToken; + } + + public void setTenantToken(String tenantToken) { + this.tenantToken = tenantToken; + } + + public String getTenantUserId() { + return this.tenantUserId; + } + + public void setTenantUserId(String tenantUserId) { + this.tenantUserId = tenantUserId; + } + + public Integer getClusterCount() { + return this.clusterCount; + } + + public void setClusterCount(Integer clusterCount) { + this.clusterCount = clusterCount; + } + + public List getTags() { + return this.tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public static class TagsItem { + + private String tagKey; + + private String tagValue; + + public String getTagKey() { + return this.tagKey; + } + + public void setTagKey(String tagKey) { + this.tagKey = tagKey; + } + + public String getTagValue() { + return this.tagValue; + } + + public void setTagValue(String tagValue) { + this.tagValue = tagValue; + } + } + } + + @Override + public DescribeDBInstancesResponse getInstance(UnmarshallerContext context) { + return DescribeDBInstancesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesRequest.java new file mode 100644 index 0000000000..3b3545d3bf --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeElasticRulesRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String product; + + private String clusterId; + + private String dbInstanceId; + public DescribeElasticRulesRequest() { + super("selectdb", "2023-05-22", "DescribeElasticRules"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getProduct() { + return this.product; + } + + public void setProduct(String product) { + this.product = product; + if(product != null){ + putQueryParameter("Product", product); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + if(dbInstanceId != null){ + putQueryParameter("DbInstanceId", dbInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DescribeElasticRulesResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesResponse.java new file mode 100644 index 0000000000..5672a45dd4 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeElasticRulesResponse.java @@ -0,0 +1,133 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeElasticRulesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeElasticRulesResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dbInstanceId; + + private String clusterId; + + private List rules; + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public List getRules() { + return this.rules; + } + + public void setRules(List rules) { + this.rules = rules; + } + + public static class RulesItem { + + private Long ruleId; + + private String executionPeriod; + + private String elasticRuleStartTime; + + private String clusterClass; + + public Long getRuleId() { + return this.ruleId; + } + + public void setRuleId(Long ruleId) { + this.ruleId = ruleId; + } + + public String getExecutionPeriod() { + return this.executionPeriod; + } + + public void setExecutionPeriod(String executionPeriod) { + this.executionPeriod = executionPeriod; + } + + public String getElasticRuleStartTime() { + return this.elasticRuleStartTime; + } + + public void setElasticRuleStartTime(String elasticRuleStartTime) { + this.elasticRuleStartTime = elasticRuleStartTime; + } + + public String getClusterClass() { + return this.clusterClass; + } + + public void setClusterClass(String clusterClass) { + this.clusterClass = clusterClass; + } + } + } + + @Override + public DescribeElasticRulesResponse getInstance(UnmarshallerContext context) { + return DescribeElasticRulesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListRequest.java new file mode 100644 index 0000000000..c91b794a31 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityIPListRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBInstanceId; + public DescribeSecurityIPListRequest() { + super("selectdb", "2023-05-22", "DescribeSecurityIPList"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DescribeSecurityIPListResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListResponse.java new file mode 100644 index 0000000000..0ad2be56d9 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/DescribeSecurityIPListResponse.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.DescribeSecurityIPListResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeSecurityIPListResponse extends AcsResponse { + + private String requestId; + + private String dBInstanceName; + + private List groupItems; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getDBInstanceName() { + return this.dBInstanceName; + } + + public void setDBInstanceName(String dBInstanceName) { + this.dBInstanceName = dBInstanceName; + } + + public List getGroupItems() { + return this.groupItems; + } + + public void setGroupItems(List groupItems) { + this.groupItems = groupItems; + } + + public static class GroupItemsItem { + + private String groupName; + + private String aecurityIPType; + + private String groupTag; + + private String securityIPList; + + private String whitelistNetType; + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + public String getAecurityIPType() { + return this.aecurityIPType; + } + + public void setAecurityIPType(String aecurityIPType) { + this.aecurityIPType = aecurityIPType; + } + + public String getGroupTag() { + return this.groupTag; + } + + public void setGroupTag(String groupTag) { + this.groupTag = groupTag; + } + + public String getSecurityIPList() { + return this.securityIPList; + } + + public void setSecurityIPList(String securityIPList) { + this.securityIPList = securityIPList; + } + + public String getWhitelistNetType() { + return this.whitelistNetType; + } + + public void setWhitelistNetType(String whitelistNetType) { + this.whitelistNetType = whitelistNetType; + } + } + + @Override + public DescribeSecurityIPListResponse getInstance(UnmarshallerContext context) { + return DescribeSecurityIPListResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesRequest.java new file mode 100644 index 0000000000..b1c61afa68 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class EnDisableScalingRulesRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String product; + + private String clusterId; + + private String dbInstanceId; + + private Boolean scalingRulesEnable; + public EnDisableScalingRulesRequest() { + super("selectdb", "2023-05-22", "EnDisableScalingRules"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getProduct() { + return this.product; + } + + public void setProduct(String product) { + this.product = product; + if(product != null){ + putQueryParameter("Product", product); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + if(dbInstanceId != null){ + putQueryParameter("DbInstanceId", dbInstanceId); + } + } + + public Boolean getScalingRulesEnable() { + return this.scalingRulesEnable; + } + + public void setScalingRulesEnable(Boolean scalingRulesEnable) { + this.scalingRulesEnable = scalingRulesEnable; + if(scalingRulesEnable != null){ + putQueryParameter("ScalingRulesEnable", scalingRulesEnable.toString()); + } + } + + @Override + public Class getResponseClass() { + return EnDisableScalingRulesResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesResponse.java new file mode 100644 index 0000000000..98ab24966b --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/EnDisableScalingRulesResponse.java @@ -0,0 +1,89 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.EnDisableScalingRulesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class EnDisableScalingRulesResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dbInstanceId; + + private String clusterId; + + private Boolean scalingRulesEnable; + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public Boolean getScalingRulesEnable() { + return this.scalingRulesEnable; + } + + public void setScalingRulesEnable(Boolean scalingRulesEnable) { + this.scalingRulesEnable = scalingRulesEnable; + } + } + + @Override + public EnDisableScalingRulesResponse getInstance(UnmarshallerContext context) { + return EnDisableScalingRulesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryRequest.java new file mode 100644 index 0000000000..0fb571a21e --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryRequest.java @@ -0,0 +1,168 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetCreateBEClusterInquiryRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long cacheSize; + + private Long preCacheSize; + + private Long computeSize; + + private String dbInstanceId; + + private Long preComputeSize; + + private Long quantity; + + private String commodityCode; + + private String chargeType; + + private String pricingCycle; + public GetCreateBEClusterInquiryRequest() { + super("selectdb", "2023-05-22", "GetCreateBEClusterInquiry"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public Long getCacheSize() { + return this.cacheSize; + } + + public void setCacheSize(Long cacheSize) { + this.cacheSize = cacheSize; + if(cacheSize != null){ + putQueryParameter("CacheSize", cacheSize.toString()); + } + } + + public Long getPreCacheSize() { + return this.preCacheSize; + } + + public void setPreCacheSize(Long preCacheSize) { + this.preCacheSize = preCacheSize; + if(preCacheSize != null){ + putQueryParameter("PreCacheSize", preCacheSize.toString()); + } + } + + public Long getComputeSize() { + return this.computeSize; + } + + public void setComputeSize(Long computeSize) { + this.computeSize = computeSize; + if(computeSize != null){ + putQueryParameter("ComputeSize", computeSize.toString()); + } + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + if(dbInstanceId != null){ + putQueryParameter("DbInstanceId", dbInstanceId); + } + } + + public Long getPreComputeSize() { + return this.preComputeSize; + } + + public void setPreComputeSize(Long preComputeSize) { + this.preComputeSize = preComputeSize; + if(preComputeSize != null){ + putQueryParameter("PreComputeSize", preComputeSize.toString()); + } + } + + public Long getQuantity() { + return this.quantity; + } + + public void setQuantity(Long quantity) { + this.quantity = quantity; + if(quantity != null){ + putQueryParameter("Quantity", quantity.toString()); + } + } + + public String getCommodityCode() { + return this.commodityCode; + } + + public void setCommodityCode(String commodityCode) { + this.commodityCode = commodityCode; + if(commodityCode != null){ + putQueryParameter("CommodityCode", commodityCode); + } + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + if(chargeType != null){ + putQueryParameter("ChargeType", chargeType); + } + } + + public String getPricingCycle() { + return this.pricingCycle; + } + + public void setPricingCycle(String pricingCycle) { + this.pricingCycle = pricingCycle; + if(pricingCycle != null){ + putQueryParameter("PricingCycle", pricingCycle); + } + } + + @Override + public Class getResponseClass() { + return GetCreateBEClusterInquiryResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryResponse.java new file mode 100644 index 0000000000..b80542021b --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetCreateBEClusterInquiryResponse.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.GetCreateBEClusterInquiryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetCreateBEClusterInquiryResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String currency; + + private String tradeAmount; + + public String getCurrency() { + return this.currency; + } + + public void setCurrency(String currency) { + this.currency = currency; + } + + public String getTradeAmount() { + return this.tradeAmount; + } + + public void setTradeAmount(String tradeAmount) { + this.tradeAmount = tradeAmount; + } + } + + @Override + public GetCreateBEClusterInquiryResponse getInstance(UnmarshallerContext context) { + return GetCreateBEClusterInquiryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryRequest.java new file mode 100644 index 0000000000..600eb7ddc5 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryRequest.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetModifyBEClusterInquiryRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private Long cacheSize; + + private Long preCacheSize; + + private Long computeSize; + + private String dbInstanceId; + + private Long preComputeSize; + + private Long quantity; + + private String clusterId; + + private String commodityCode; + + private String chargeType; + + private String pricingCycle; + public GetModifyBEClusterInquiryRequest() { + super("selectdb", "2023-05-22", "GetModifyBEClusterInquiry"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public Long getCacheSize() { + return this.cacheSize; + } + + public void setCacheSize(Long cacheSize) { + this.cacheSize = cacheSize; + if(cacheSize != null){ + putQueryParameter("CacheSize", cacheSize.toString()); + } + } + + public Long getPreCacheSize() { + return this.preCacheSize; + } + + public void setPreCacheSize(Long preCacheSize) { + this.preCacheSize = preCacheSize; + if(preCacheSize != null){ + putQueryParameter("PreCacheSize", preCacheSize.toString()); + } + } + + public Long getComputeSize() { + return this.computeSize; + } + + public void setComputeSize(Long computeSize) { + this.computeSize = computeSize; + if(computeSize != null){ + putQueryParameter("ComputeSize", computeSize.toString()); + } + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + if(dbInstanceId != null){ + putQueryParameter("DbInstanceId", dbInstanceId); + } + } + + public Long getPreComputeSize() { + return this.preComputeSize; + } + + public void setPreComputeSize(Long preComputeSize) { + this.preComputeSize = preComputeSize; + if(preComputeSize != null){ + putQueryParameter("PreComputeSize", preComputeSize.toString()); + } + } + + public Long getQuantity() { + return this.quantity; + } + + public void setQuantity(Long quantity) { + this.quantity = quantity; + if(quantity != null){ + putQueryParameter("Quantity", quantity.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getCommodityCode() { + return this.commodityCode; + } + + public void setCommodityCode(String commodityCode) { + this.commodityCode = commodityCode; + if(commodityCode != null){ + putQueryParameter("CommodityCode", commodityCode); + } + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + if(chargeType != null){ + putQueryParameter("ChargeType", chargeType); + } + } + + public String getPricingCycle() { + return this.pricingCycle; + } + + public void setPricingCycle(String pricingCycle) { + this.pricingCycle = pricingCycle; + if(pricingCycle != null){ + putQueryParameter("PricingCycle", pricingCycle); + } + } + + @Override + public Class getResponseClass() { + return GetModifyBEClusterInquiryResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryResponse.java new file mode 100644 index 0000000000..bb969b05a3 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/GetModifyBEClusterInquiryResponse.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.GetModifyBEClusterInquiryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetModifyBEClusterInquiryResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String currency; + + private String tradeAmount; + + public String getCurrency() { + return this.currency; + } + + public void setCurrency(String currency) { + this.currency = currency; + } + + public String getTradeAmount() { + return this.tradeAmount; + } + + public void setTradeAmount(String tradeAmount) { + this.tradeAmount = tradeAmount; + } + } + + @Override + public GetModifyBEClusterInquiryResponse getInstance(UnmarshallerContext context) { + return GetModifyBEClusterInquiryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeRequest.java new file mode 100644 index 0000000000..7eb2565678 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ModifyBEClusterAttributeRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBClusterId; + + private String dBInstanceId; + + private String value; + + private String instanceAttributeType; + public ModifyBEClusterAttributeRequest() { + super("selectdb", "2023-05-22", "ModifyBEClusterAttribute"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + if(value != null){ + putQueryParameter("Value", value); + } + } + + public String getInstanceAttributeType() { + return this.instanceAttributeType; + } + + public void setInstanceAttributeType(String instanceAttributeType) { + this.instanceAttributeType = instanceAttributeType; + if(instanceAttributeType != null){ + putQueryParameter("InstanceAttributeType", instanceAttributeType); + } + } + + @Override + public Class getResponseClass() { + return ModifyBEClusterAttributeResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeResponse.java new file mode 100644 index 0000000000..55693a538b --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyBEClusterAttributeResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ModifyBEClusterAttributeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyBEClusterAttributeResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifyBEClusterAttributeResponse getInstance(UnmarshallerContext context) { + return ModifyBEClusterAttributeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigRequest.java new file mode 100644 index 0000000000..75742bf02d --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigRequest.java @@ -0,0 +1,101 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ModifyDBClusterConfigRequest extends RpcAcsRequest { + + + private String configKey; + + private String switchTimeMode; + + private String dBInstanceId; + + private String dBClusterId; + + private String parameters; + public ModifyDBClusterConfigRequest() { + super("selectdb", "2023-05-22", "ModifyDBClusterConfig"); + setMethod(MethodType.POST); + } + + public String getConfigKey() { + return this.configKey; + } + + public void setConfigKey(String configKey) { + this.configKey = configKey; + if(configKey != null){ + putQueryParameter("ConfigKey", configKey); + } + } + + public String getSwitchTimeMode() { + return this.switchTimeMode; + } + + public void setSwitchTimeMode(String switchTimeMode) { + this.switchTimeMode = switchTimeMode; + if(switchTimeMode != null){ + putQueryParameter("SwitchTimeMode", switchTimeMode); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getParameters() { + return this.parameters; + } + + public void setParameters(String parameters) { + this.parameters = parameters; + if(parameters != null){ + putQueryParameter("Parameters", parameters); + } + } + + @Override + public Class getResponseClass() { + return ModifyDBClusterConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigResponse.java new file mode 100644 index 0000000000..cb2bee81d8 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterConfigResponse.java @@ -0,0 +1,129 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ModifyDBClusterConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyDBClusterConfigResponse extends AcsResponse { + + private String dynamicCode; + + private String dynamicMessage; + + private String accessDeniedDetail; + + private String requestId; + + private Data data; + + public String getDynamicCode() { + return this.dynamicCode; + } + + public void setDynamicCode(String dynamicCode) { + this.dynamicCode = dynamicCode; + } + + public String getDynamicMessage() { + return this.dynamicMessage; + } + + public void setDynamicMessage(String dynamicMessage) { + this.dynamicMessage = dynamicMessage; + } + + public String getAccessDeniedDetail() { + return this.accessDeniedDetail; + } + + public void setAccessDeniedDetail(String accessDeniedDetail) { + this.accessDeniedDetail = accessDeniedDetail; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dbInstanceName; + + private String dbInstanceId; + + private String dbClusterId; + + private Integer taskId; + + public String getDbInstanceName() { + return this.dbInstanceName; + } + + public void setDbInstanceName(String dbInstanceName) { + this.dbInstanceName = dbInstanceName; + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + } + + public String getDbClusterId() { + return this.dbClusterId; + } + + public void setDbClusterId(String dbClusterId) { + this.dbClusterId = dbClusterId; + } + + public Integer getTaskId() { + return this.taskId; + } + + public void setTaskId(Integer taskId) { + this.taskId = taskId; + } + } + + @Override + public ModifyDBClusterConfigResponse getInstance(UnmarshallerContext context) { + return ModifyDBClusterConfigResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterRequest.java new file mode 100644 index 0000000000..0153d397df --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterRequest.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ModifyDBClusterRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBClusterId; + + private String dBClusterClass; + + private String cacheSize; + + private String engine; + + private String dBInstanceId; + public ModifyDBClusterRequest() { + super("selectdb", "2023-05-22", "ModifyDBCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getDBClusterClass() { + return this.dBClusterClass; + } + + public void setDBClusterClass(String dBClusterClass) { + this.dBClusterClass = dBClusterClass; + if(dBClusterClass != null){ + putQueryParameter("DBClusterClass", dBClusterClass); + } + } + + public String getCacheSize() { + return this.cacheSize; + } + + public void setCacheSize(String cacheSize) { + this.cacheSize = cacheSize; + if(cacheSize != null){ + putQueryParameter("CacheSize", cacheSize); + } + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + if(engine != null){ + putQueryParameter("Engine", engine); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return ModifyDBClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterResponse.java new file mode 100644 index 0000000000..7f47ac18f2 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBClusterResponse.java @@ -0,0 +1,99 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ModifyDBClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyDBClusterResponse extends AcsResponse { + + private String requestId; + + private String dBInstanceId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dBInstanceId; + + private String dBClusterId; + + private Long orderId; + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + + public Long getOrderId() { + return this.orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + } + + @Override + public ModifyDBClusterResponse getInstance(UnmarshallerContext context) { + return ModifyDBClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeRequest.java new file mode 100644 index 0000000000..deb3226c90 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ModifyDBInstanceAttributeRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBInstanceId; + + private String value; + + private String instanceAttributeType; + public ModifyDBInstanceAttributeRequest() { + super("selectdb", "2023-05-22", "ModifyDBInstanceAttribute"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + if(value != null){ + putQueryParameter("Value", value); + } + } + + public String getInstanceAttributeType() { + return this.instanceAttributeType; + } + + public void setInstanceAttributeType(String instanceAttributeType) { + this.instanceAttributeType = instanceAttributeType; + if(instanceAttributeType != null){ + putQueryParameter("InstanceAttributeType", instanceAttributeType); + } + } + + @Override + public Class getResponseClass() { + return ModifyDBInstanceAttributeResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeResponse.java new file mode 100644 index 0000000000..27632ba7b5 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyDBInstanceAttributeResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ModifyDBInstanceAttributeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyDBInstanceAttributeResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifyDBInstanceAttributeResponse getInstance(UnmarshallerContext context) { + return ModifyDBInstanceAttributeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleRequest.java new file mode 100644 index 0000000000..3125f65dfa --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleRequest.java @@ -0,0 +1,142 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ModifyElasticRuleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dbInstanceId; + + private String product; + + private String executionPeriod; + + private String clusterId; + + private String elasticRuleStartTime; + + private String clusterClass; + + private Long ruleId; + public ModifyElasticRuleRequest() { + super("selectdb", "2023-05-22", "ModifyElasticRule"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + if(dbInstanceId != null){ + putQueryParameter("DbInstanceId", dbInstanceId); + } + } + + public String getProduct() { + return this.product; + } + + public void setProduct(String product) { + this.product = product; + if(product != null){ + putQueryParameter("Product", product); + } + } + + public String getExecutionPeriod() { + return this.executionPeriod; + } + + public void setExecutionPeriod(String executionPeriod) { + this.executionPeriod = executionPeriod; + if(executionPeriod != null){ + putQueryParameter("ExecutionPeriod", executionPeriod); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getElasticRuleStartTime() { + return this.elasticRuleStartTime; + } + + public void setElasticRuleStartTime(String elasticRuleStartTime) { + this.elasticRuleStartTime = elasticRuleStartTime; + if(elasticRuleStartTime != null){ + putQueryParameter("ElasticRuleStartTime", elasticRuleStartTime); + } + } + + public String getClusterClass() { + return this.clusterClass; + } + + public void setClusterClass(String clusterClass) { + this.clusterClass = clusterClass; + if(clusterClass != null){ + putQueryParameter("ClusterClass", clusterClass); + } + } + + public Long getRuleId() { + return this.ruleId; + } + + public void setRuleId(Long ruleId) { + this.ruleId = ruleId; + if(ruleId != null){ + putQueryParameter("RuleId", ruleId.toString()); + } + } + + @Override + public Class getResponseClass() { + return ModifyElasticRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleResponse.java new file mode 100644 index 0000000000..34eea0213b --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifyElasticRuleResponse.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ModifyElasticRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyElasticRuleResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dbInstanceId; + + private String clusterId; + + private Long ruleId; + + private String executionPeriod; + + private String elasticRuleStartTime; + + private String clusterClass; + + public String getDbInstanceId() { + return this.dbInstanceId; + } + + public void setDbInstanceId(String dbInstanceId) { + this.dbInstanceId = dbInstanceId; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public Long getRuleId() { + return this.ruleId; + } + + public void setRuleId(Long ruleId) { + this.ruleId = ruleId; + } + + public String getExecutionPeriod() { + return this.executionPeriod; + } + + public void setExecutionPeriod(String executionPeriod) { + this.executionPeriod = executionPeriod; + } + + public String getElasticRuleStartTime() { + return this.elasticRuleStartTime; + } + + public void setElasticRuleStartTime(String elasticRuleStartTime) { + this.elasticRuleStartTime = elasticRuleStartTime; + } + + public String getClusterClass() { + return this.clusterClass; + } + + public void setClusterClass(String clusterClass) { + this.clusterClass = clusterClass; + } + } + + @Override + public ModifyElasticRuleResponse getInstance(UnmarshallerContext context) { + return ModifyElasticRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListRequest.java new file mode 100644 index 0000000000..a52bc53674 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ModifySecurityIPListRequest extends RpcAcsRequest { + + + private String modifyMode; + + private Long resourceOwnerId; + + private String groupName; + + private String securityIPList; + + private String dBInstanceId; + public ModifySecurityIPListRequest() { + super("selectdb", "2023-05-22", "ModifySecurityIPList"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getModifyMode() { + return this.modifyMode; + } + + public void setModifyMode(String modifyMode) { + this.modifyMode = modifyMode; + if(modifyMode != null){ + putQueryParameter("ModifyMode", modifyMode); + } + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + if(groupName != null){ + putQueryParameter("GroupName", groupName); + } + } + + public String getSecurityIPList() { + return this.securityIPList; + } + + public void setSecurityIPList(String securityIPList) { + this.securityIPList = securityIPList; + if(securityIPList != null){ + putQueryParameter("SecurityIPList", securityIPList); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return ModifySecurityIPListResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListResponse.java new file mode 100644 index 0000000000..82fa7cad24 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ModifySecurityIPListResponse.java @@ -0,0 +1,116 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ModifySecurityIPListResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifySecurityIPListResponse extends AcsResponse { + + private String requestId; + + private String groupName; + + private String securityIPType; + + private String groupTag; + + private Long taskId; + + private String securityIPList; + + private String whitelistNetType; + + private String dBInstanceName; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + public String getSecurityIPType() { + return this.securityIPType; + } + + public void setSecurityIPType(String securityIPType) { + this.securityIPType = securityIPType; + } + + public String getGroupTag() { + return this.groupTag; + } + + public void setGroupTag(String groupTag) { + this.groupTag = groupTag; + } + + public Long getTaskId() { + return this.taskId; + } + + public void setTaskId(Long taskId) { + this.taskId = taskId; + } + + public String getSecurityIPList() { + return this.securityIPList; + } + + public void setSecurityIPList(String securityIPList) { + this.securityIPList = securityIPList; + } + + public String getWhitelistNetType() { + return this.whitelistNetType; + } + + public void setWhitelistNetType(String whitelistNetType) { + this.whitelistNetType = whitelistNetType; + } + + public String getDBInstanceName() { + return this.dBInstanceName; + } + + public void setDBInstanceName(String dBInstanceName) { + this.dBInstanceName = dBInstanceName; + } + + @Override + public ModifySecurityIPListResponse getInstance(UnmarshallerContext context) { + return ModifySecurityIPListResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionRequest.java new file mode 100644 index 0000000000..e8a693519d --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ReleaseInstancePublicConnectionRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String connectionString; + + private String dBInstanceId; + public ReleaseInstancePublicConnectionRequest() { + super("selectdb", "2023-05-22", "ReleaseInstancePublicConnection"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getConnectionString() { + return this.connectionString; + } + + public void setConnectionString(String connectionString) { + this.connectionString = connectionString; + if(connectionString != null){ + putQueryParameter("ConnectionString", connectionString); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return ReleaseInstancePublicConnectionResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionResponse.java new file mode 100644 index 0000000000..4e5386bfc5 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ReleaseInstancePublicConnectionResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ReleaseInstancePublicConnectionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ReleaseInstancePublicConnectionResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ReleaseInstancePublicConnectionResponse getInstance(UnmarshallerContext context) { + return ReleaseInstancePublicConnectionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordRequest.java new file mode 100644 index 0000000000..a3f3a95abd --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ResetAccountPasswordRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String accountPassword; + + private String accountName; + + private String dBInstanceId; + public ResetAccountPasswordRequest() { + super("selectdb", "2023-05-22", "ResetAccountPassword"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getAccountPassword() { + return this.accountPassword; + } + + public void setAccountPassword(String accountPassword) { + this.accountPassword = accountPassword; + if(accountPassword != null){ + putQueryParameter("AccountPassword", accountPassword); + } + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + if(accountName != null){ + putQueryParameter("AccountName", accountName); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return ResetAccountPasswordResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordResponse.java new file mode 100644 index 0000000000..fb7b4b91a1 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/ResetAccountPasswordResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.ResetAccountPasswordResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ResetAccountPasswordResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ResetAccountPasswordResponse getInstance(UnmarshallerContext context) { + return ResetAccountPasswordResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterRequest.java new file mode 100644 index 0000000000..8de73170fb --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class RestartDBClusterRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBClusterId; + + private String resourceGroupId; + + private String dBInstanceId; + public RestartDBClusterRequest() { + super("selectdb", "2023-05-22", "RestartDBCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putBodyParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putBodyParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return RestartDBClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterResponse.java new file mode 100644 index 0000000000..2e3695162d --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/RestartDBClusterResponse.java @@ -0,0 +1,79 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.RestartDBClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RestartDBClusterResponse extends AcsResponse { + + private String requestId; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String dBInstanceId; + + private String dBClusterId; + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + } + + @Override + public RestartDBClusterResponse getInstance(UnmarshallerContext context) { + return RestartDBClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterRequest.java new file mode 100644 index 0000000000..c92b3b00e8 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class StartBEClusterRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBClusterId; + + private String dBInstanceId; + public StartBEClusterRequest() { + super("selectdb", "2023-05-22", "StartBECluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return StartBEClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterResponse.java new file mode 100644 index 0000000000..0eb16413e5 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StartBEClusterResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.StartBEClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StartBEClusterResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public StartBEClusterResponse getInstance(UnmarshallerContext context) { + return StartBEClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterRequest.java new file mode 100644 index 0000000000..62ee96baab --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class StopBEClusterRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBClusterId; + + private String dBInstanceId; + public StopBEClusterRequest() { + super("selectdb", "2023-05-22", "StopBECluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return StopBEClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterResponse.java new file mode 100644 index 0000000000..8c082afa30 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/StopBEClusterResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.StopBEClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StopBEClusterResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public StopBEClusterResponse getInstance(UnmarshallerContext context) { + return StopBEClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionRequest.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionRequest.java new file mode 100644 index 0000000000..4c1c32dd36 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpgradeDBInstanceEngineVersionRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String engineVersion; + + private String switchTimeMode; + + private String dBInstanceId; + public UpgradeDBInstanceEngineVersionRequest() { + super("selectdb", "2023-05-22", "UpgradeDBInstanceEngineVersion"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + if(engineVersion != null){ + putQueryParameter("EngineVersion", engineVersion); + } + } + + public String getSwitchTimeMode() { + return this.switchTimeMode; + } + + public void setSwitchTimeMode(String switchTimeMode) { + this.switchTimeMode = switchTimeMode; + if(switchTimeMode != null){ + putQueryParameter("SwitchTimeMode", switchTimeMode); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + @Override + public Class getResponseClass() { + return UpgradeDBInstanceEngineVersionResponse.class; + } + +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionResponse.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionResponse.java new file mode 100644 index 0000000000..fe012980da --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/model/v20230522/UpgradeDBInstanceEngineVersionResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.model.v20230522; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.selectdb.transform.v20230522.UpgradeDBInstanceEngineVersionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpgradeDBInstanceEngineVersionResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpgradeDBInstanceEngineVersionResponse getInstance(UnmarshallerContext context) { + return UpgradeDBInstanceEngineVersionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/AllocateInstancePublicConnectionResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/AllocateInstancePublicConnectionResponseUnmarshaller.java new file mode 100644 index 0000000000..6da9911405 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/AllocateInstancePublicConnectionResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.AllocateInstancePublicConnectionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AllocateInstancePublicConnectionResponseUnmarshaller { + + public static AllocateInstancePublicConnectionResponse unmarshall(AllocateInstancePublicConnectionResponse allocateInstancePublicConnectionResponse, UnmarshallerContext _ctx) { + + allocateInstancePublicConnectionResponse.setRequestId(_ctx.stringValue("AllocateInstancePublicConnectionResponse.RequestId")); + allocateInstancePublicConnectionResponse.setInstanceName(_ctx.stringValue("AllocateInstancePublicConnectionResponse.InstanceName")); + allocateInstancePublicConnectionResponse.setTaskId(_ctx.longValue("AllocateInstancePublicConnectionResponse.TaskId")); + + return allocateInstancePublicConnectionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckCreateDBInstanceResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckCreateDBInstanceResponseUnmarshaller.java new file mode 100644 index 0000000000..315df12327 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckCreateDBInstanceResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.CheckCreateDBInstanceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckCreateDBInstanceResponseUnmarshaller { + + public static CheckCreateDBInstanceResponse unmarshall(CheckCreateDBInstanceResponse checkCreateDBInstanceResponse, UnmarshallerContext _ctx) { + + checkCreateDBInstanceResponse.setRequestId(_ctx.stringValue("CheckCreateDBInstanceResponse.RequestId")); + + return checkCreateDBInstanceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckServiceLinkedRoleResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckServiceLinkedRoleResponseUnmarshaller.java new file mode 100644 index 0000000000..e8c4e92a72 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CheckServiceLinkedRoleResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.CheckServiceLinkedRoleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckServiceLinkedRoleResponseUnmarshaller { + + public static CheckServiceLinkedRoleResponse unmarshall(CheckServiceLinkedRoleResponse checkServiceLinkedRoleResponse, UnmarshallerContext _ctx) { + + checkServiceLinkedRoleResponse.setRequestId(_ctx.stringValue("CheckServiceLinkedRoleResponse.RequestId")); + checkServiceLinkedRoleResponse.setHasServiceLinkedRole(_ctx.booleanValue("CheckServiceLinkedRoleResponse.HasServiceLinkedRole")); + + return checkServiceLinkedRoleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBClusterResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..11263ea8fd --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBClusterResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.CreateDBClusterResponse; +import com.aliyuncs.selectdb.model.v20230522.CreateDBClusterResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateDBClusterResponseUnmarshaller { + + public static CreateDBClusterResponse unmarshall(CreateDBClusterResponse createDBClusterResponse, UnmarshallerContext _ctx) { + + createDBClusterResponse.setRequestId(_ctx.stringValue("CreateDBClusterResponse.RequestId")); + + Data data = new Data(); + data.setDBInstanceId(_ctx.stringValue("CreateDBClusterResponse.Data.DBInstanceId")); + data.setOrderId(_ctx.longValue("CreateDBClusterResponse.Data.OrderId")); + data.setClusterId(_ctx.stringValue("CreateDBClusterResponse.Data.ClusterId")); + createDBClusterResponse.setData(data); + + return createDBClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBInstanceResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBInstanceResponseUnmarshaller.java new file mode 100644 index 0000000000..1701970896 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateDBInstanceResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.CreateDBInstanceResponse; +import com.aliyuncs.selectdb.model.v20230522.CreateDBInstanceResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateDBInstanceResponseUnmarshaller { + + public static CreateDBInstanceResponse unmarshall(CreateDBInstanceResponse createDBInstanceResponse, UnmarshallerContext _ctx) { + + createDBInstanceResponse.setRequestId(_ctx.stringValue("CreateDBInstanceResponse.RequestId")); + + Data data = new Data(); + data.setDBInstanceId(_ctx.stringValue("CreateDBInstanceResponse.Data.DBInstanceId")); + data.setOrderId(_ctx.longValue("CreateDBInstanceResponse.Data.OrderId")); + createDBInstanceResponse.setData(data); + + return createDBInstanceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateElasticRuleResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateElasticRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..a86fb53a65 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateElasticRuleResponseUnmarshaller.java @@ -0,0 +1,39 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.CreateElasticRuleResponse; +import com.aliyuncs.selectdb.model.v20230522.CreateElasticRuleResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateElasticRuleResponseUnmarshaller { + + public static CreateElasticRuleResponse unmarshall(CreateElasticRuleResponse createElasticRuleResponse, UnmarshallerContext _ctx) { + + createElasticRuleResponse.setRequestId(_ctx.stringValue("CreateElasticRuleResponse.RequestId")); + + Data data = new Data(); + data.setDbInstanceId(_ctx.stringValue("CreateElasticRuleResponse.Data.DbInstanceId")); + data.setClusterId(_ctx.stringValue("CreateElasticRuleResponse.Data.ClusterId")); + data.setRuleId(_ctx.longValue("CreateElasticRuleResponse.Data.RuleId")); + data.setExecutionPeriod(_ctx.stringValue("CreateElasticRuleResponse.Data.ExecutionPeriod")); + data.setElasticRuleStartTime(_ctx.stringValue("CreateElasticRuleResponse.Data.ElasticRuleStartTime")); + data.setClusterClass(_ctx.stringValue("CreateElasticRuleResponse.Data.ClusterClass")); + createElasticRuleResponse.setData(data); + + return createElasticRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateServiceLinkedRoleForSelectDBResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateServiceLinkedRoleForSelectDBResponseUnmarshaller.java new file mode 100644 index 0000000000..736796214c --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/CreateServiceLinkedRoleForSelectDBResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.CreateServiceLinkedRoleForSelectDBResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateServiceLinkedRoleForSelectDBResponseUnmarshaller { + + public static CreateServiceLinkedRoleForSelectDBResponse unmarshall(CreateServiceLinkedRoleForSelectDBResponse createServiceLinkedRoleForSelectDBResponse, UnmarshallerContext _ctx) { + + createServiceLinkedRoleForSelectDBResponse.setRequestId(_ctx.stringValue("CreateServiceLinkedRoleForSelectDBResponse.RequestId")); + + return createServiceLinkedRoleForSelectDBResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBClusterResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..75ee190cd4 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBClusterResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.DeleteDBClusterResponse; +import com.aliyuncs.selectdb.model.v20230522.DeleteDBClusterResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDBClusterResponseUnmarshaller { + + public static DeleteDBClusterResponse unmarshall(DeleteDBClusterResponse deleteDBClusterResponse, UnmarshallerContext _ctx) { + + deleteDBClusterResponse.setRequestId(_ctx.stringValue("DeleteDBClusterResponse.RequestId")); + + Data data = new Data(); + data.setDBInstanceId(_ctx.stringValue("DeleteDBClusterResponse.Data.DBInstanceId")); + data.setOrderId(_ctx.stringValue("DeleteDBClusterResponse.Data.OrderId")); + deleteDBClusterResponse.setData(data); + + return deleteDBClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBInstanceResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBInstanceResponseUnmarshaller.java new file mode 100644 index 0000000000..cdca398f0c --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteDBInstanceResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.DeleteDBInstanceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDBInstanceResponseUnmarshaller { + + public static DeleteDBInstanceResponse unmarshall(DeleteDBInstanceResponse deleteDBInstanceResponse, UnmarshallerContext _ctx) { + + deleteDBInstanceResponse.setRequestId(_ctx.stringValue("DeleteDBInstanceResponse.RequestId")); + + return deleteDBInstanceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteElasticRuleResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteElasticRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..d3976d12a3 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DeleteElasticRuleResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.DeleteElasticRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteElasticRuleResponseUnmarshaller { + + public static DeleteElasticRuleResponse unmarshall(DeleteElasticRuleResponse deleteElasticRuleResponse, UnmarshallerContext _ctx) { + + deleteElasticRuleResponse.setRequestId(_ctx.stringValue("DeleteElasticRuleResponse.RequestId")); + deleteElasticRuleResponse.setSuccess(_ctx.booleanValue("DeleteElasticRuleResponse.Success")); + + return deleteElasticRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeAllDBInstanceClassResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeAllDBInstanceClassResponseUnmarshaller.java new file mode 100644 index 0000000000..3f54ebf1f0 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeAllDBInstanceClassResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeAllDBInstanceClassResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeAllDBInstanceClassResponse.ClassCodeListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeAllDBInstanceClassResponseUnmarshaller { + + public static DescribeAllDBInstanceClassResponse unmarshall(DescribeAllDBInstanceClassResponse describeAllDBInstanceClassResponse, UnmarshallerContext _ctx) { + + describeAllDBInstanceClassResponse.setRequestId(_ctx.stringValue("DescribeAllDBInstanceClassResponse.RequestId")); + + List classCodeList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeAllDBInstanceClassResponse.ClassCodeList.Length"); i++) { + ClassCodeListItem classCodeListItem = new ClassCodeListItem(); + classCodeListItem.setClassCode(_ctx.stringValue("DescribeAllDBInstanceClassResponse.ClassCodeList["+ i +"].ClassCode")); + classCodeListItem.setCpuCores(_ctx.longValue("DescribeAllDBInstanceClassResponse.ClassCodeList["+ i +"].CpuCores")); + classCodeListItem.setMemoryInGB(_ctx.longValue("DescribeAllDBInstanceClassResponse.ClassCodeList["+ i +"].MemoryInGB")); + classCodeListItem.setDefaultStorageInGB(_ctx.longValue("DescribeAllDBInstanceClassResponse.ClassCodeList["+ i +"].DefaultStorageInGB")); + classCodeListItem.setMinStorageInGB(_ctx.longValue("DescribeAllDBInstanceClassResponse.ClassCodeList["+ i +"].MinStorageInGB")); + classCodeListItem.setMaxStorageInGB(_ctx.longValue("DescribeAllDBInstanceClassResponse.ClassCodeList["+ i +"].MaxStorageInGB")); + classCodeListItem.setStepStorageInGB(_ctx.longValue("DescribeAllDBInstanceClassResponse.ClassCodeList["+ i +"].StepStorageInGB")); + + classCodeList.add(classCodeListItem); + } + describeAllDBInstanceClassResponse.setClassCodeList(classCodeList); + + return describeAllDBInstanceClassResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigChangeLogsResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigChangeLogsResponseUnmarshaller.java new file mode 100644 index 0000000000..8e2201524c --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigChangeLogsResponseUnmarshaller.java @@ -0,0 +1,59 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeDBClusterConfigChangeLogsResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBClusterConfigChangeLogsResponse.Data; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLog; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDBClusterConfigChangeLogsResponseUnmarshaller { + + public static DescribeDBClusterConfigChangeLogsResponse unmarshall(DescribeDBClusterConfigChangeLogsResponse describeDBClusterConfigChangeLogsResponse, UnmarshallerContext _ctx) { + + describeDBClusterConfigChangeLogsResponse.setRequestId(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.RequestId")); + describeDBClusterConfigChangeLogsResponse.setDynamicCode(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.DynamicCode")); + describeDBClusterConfigChangeLogsResponse.setDynamicMessage(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.DynamicMessage")); + describeDBClusterConfigChangeLogsResponse.setAccessDeniedDetail(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.AccessDeniedDetail")); + + Data data = new Data(); + data.setDbInstanceName(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.DbInstanceName")); + data.setDbInstanceId(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.DbInstanceId")); + data.setDbClusterId(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.DbClusterId")); + data.setTaskId(_ctx.integerValue("DescribeDBClusterConfigChangeLogsResponse.Data.TaskId")); + + List paramChangeLogs = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs.Length"); i++) { + ParamChangeLog paramChangeLog = new ParamChangeLog(); + paramChangeLog.setId(_ctx.longValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs["+ i +"].Id")); + paramChangeLog.setName(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs["+ i +"].Name")); + paramChangeLog.setOldValue(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs["+ i +"].OldValue")); + paramChangeLog.setNewValue(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs["+ i +"].NewValue")); + paramChangeLog.setIsApplied(_ctx.booleanValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs["+ i +"].IsApplied")); + paramChangeLog.setGmtCreated(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs["+ i +"].GmtCreated")); + paramChangeLog.setGmtModified(_ctx.stringValue("DescribeDBClusterConfigChangeLogsResponse.Data.ParamChangeLogs["+ i +"].GmtModified")); + + paramChangeLogs.add(paramChangeLog); + } + data.setParamChangeLogs(paramChangeLogs); + describeDBClusterConfigChangeLogsResponse.setData(data); + + return describeDBClusterConfigChangeLogsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..612a82e026 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBClusterConfigResponseUnmarshaller.java @@ -0,0 +1,60 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeDBClusterConfigResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBClusterConfigResponse.Data; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBClusterConfigResponse.Data.Param; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDBClusterConfigResponseUnmarshaller { + + public static DescribeDBClusterConfigResponse unmarshall(DescribeDBClusterConfigResponse describeDBClusterConfigResponse, UnmarshallerContext _ctx) { + + describeDBClusterConfigResponse.setRequestId(_ctx.stringValue("DescribeDBClusterConfigResponse.RequestId")); + describeDBClusterConfigResponse.setDynamicCode(_ctx.stringValue("DescribeDBClusterConfigResponse.DynamicCode")); + describeDBClusterConfigResponse.setDynamicMessage(_ctx.stringValue("DescribeDBClusterConfigResponse.DynamicMessage")); + describeDBClusterConfigResponse.setAccessDeniedDetail(_ctx.stringValue("DescribeDBClusterConfigResponse.AccessDeniedDetail")); + + Data data = new Data(); + data.setDbInstanceName(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.DbInstanceName")); + data.setDbInstanceId(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.DbInstanceId")); + data.setDbClusterId(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.DbClusterId")); + data.setTaskId(_ctx.integerValue("DescribeDBClusterConfigResponse.Data.TaskId")); + + List params = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBClusterConfigResponse.Data.Params.Length"); i++) { + Param param = new Param(); + param.setName(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].Name")); + param.setOptional(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].Optional")); + param.setComment(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].Comment")); + param.setValue(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].Value")); + param.setParamCategory(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].ParamCategory")); + param.setDefaultValue(_ctx.stringValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].DefaultValue")); + param.setIsDynamic(_ctx.integerValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].IsDynamic")); + param.setIsUserModifiable(_ctx.integerValue("DescribeDBClusterConfigResponse.Data.Params["+ i +"].IsUserModifiable")); + + params.add(param); + } + data.setParams(params); + describeDBClusterConfigResponse.setData(data); + + return describeDBClusterConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceAttributeResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceAttributeResponseUnmarshaller.java new file mode 100644 index 0000000000..6d5f4c4bfc --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceAttributeResponseUnmarshaller.java @@ -0,0 +1,95 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceAttributeResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceAttributeResponse.DbClusterListItem; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceAttributeResponse.TagsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDBInstanceAttributeResponseUnmarshaller { + + public static DescribeDBInstanceAttributeResponse unmarshall(DescribeDBInstanceAttributeResponse describeDBInstanceAttributeResponse, UnmarshallerContext _ctx) { + + describeDBInstanceAttributeResponse.setRequestId(_ctx.stringValue("DescribeDBInstanceAttributeResponse.RequestId")); + describeDBInstanceAttributeResponse.setStatus(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Status")); + describeDBInstanceAttributeResponse.setSubDomain(_ctx.stringValue("DescribeDBInstanceAttributeResponse.SubDomain")); + describeDBInstanceAttributeResponse.setGmtModified(_ctx.stringValue("DescribeDBInstanceAttributeResponse.GmtModified")); + describeDBInstanceAttributeResponse.setLockMode(_ctx.longValue("DescribeDBInstanceAttributeResponse.LockMode")); + describeDBInstanceAttributeResponse.setLockReason(_ctx.stringValue("DescribeDBInstanceAttributeResponse.LockReason")); + describeDBInstanceAttributeResponse.setResourceCpu(_ctx.longValue("DescribeDBInstanceAttributeResponse.ResourceCpu")); + describeDBInstanceAttributeResponse.setStorageSize(_ctx.longValue("DescribeDBInstanceAttributeResponse.StorageSize")); + describeDBInstanceAttributeResponse.setObjectStoreSize(_ctx.longValue("DescribeDBInstanceAttributeResponse.ObjectStoreSize")); + describeDBInstanceAttributeResponse.setMaintainStarttime(_ctx.stringValue("DescribeDBInstanceAttributeResponse.MaintainStarttime")); + describeDBInstanceAttributeResponse.setMaintainEndtime(_ctx.stringValue("DescribeDBInstanceAttributeResponse.MaintainEndtime")); + describeDBInstanceAttributeResponse.setEngine(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Engine")); + describeDBInstanceAttributeResponse.setEngineVersion(_ctx.stringValue("DescribeDBInstanceAttributeResponse.EngineVersion")); + describeDBInstanceAttributeResponse.setEngineMinorVersion(_ctx.stringValue("DescribeDBInstanceAttributeResponse.EngineMinorVersion")); + describeDBInstanceAttributeResponse.setDBInstanceId(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBInstanceId")); + describeDBInstanceAttributeResponse.setDescription(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Description")); + describeDBInstanceAttributeResponse.setCreateTime(_ctx.stringValue("DescribeDBInstanceAttributeResponse.CreateTime")); + describeDBInstanceAttributeResponse.setChargeType(_ctx.stringValue("DescribeDBInstanceAttributeResponse.ChargeType")); + describeDBInstanceAttributeResponse.setExpireTime(_ctx.stringValue("DescribeDBInstanceAttributeResponse.ExpireTime")); + describeDBInstanceAttributeResponse.setResourceGroupId(_ctx.stringValue("DescribeDBInstanceAttributeResponse.ResourceGroupId")); + describeDBInstanceAttributeResponse.setRegionId(_ctx.stringValue("DescribeDBInstanceAttributeResponse.RegionId")); + describeDBInstanceAttributeResponse.setZoneId(_ctx.stringValue("DescribeDBInstanceAttributeResponse.ZoneId")); + describeDBInstanceAttributeResponse.setVpcId(_ctx.stringValue("DescribeDBInstanceAttributeResponse.VpcId")); + + List canUpgradeVersions = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBInstanceAttributeResponse.CanUpgradeVersions.Length"); i++) { + canUpgradeVersions.add(_ctx.stringValue("DescribeDBInstanceAttributeResponse.CanUpgradeVersions["+ i +"]")); + } + describeDBInstanceAttributeResponse.setCanUpgradeVersions(canUpgradeVersions); + + List dBClusterList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBInstanceAttributeResponse.DBClusterList.Length"); i++) { + DbClusterListItem dbClusterListItem = new DbClusterListItem(); + dbClusterListItem.setDbInstanceName(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].DbInstanceName")); + dbClusterListItem.setDbClusterId(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].DbClusterId")); + dbClusterListItem.setDbClusterName(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].DbClusterName")); + dbClusterListItem.setStatus(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].Status")); + dbClusterListItem.setCreatedTime(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].CreatedTime")); + dbClusterListItem.setDbClusterClass(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].DbClusterClass")); + dbClusterListItem.setCpuCores(_ctx.longValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].CpuCores")); + dbClusterListItem.setMemory(_ctx.longValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].Memory")); + dbClusterListItem.setCacheStorageType(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].CacheStorageType")); + dbClusterListItem.setPerformanceLevel(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].PerformanceLevel")); + dbClusterListItem.setCacheStorageSizeGB(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].CacheStorageSizeGB")); + dbClusterListItem.setStartTime(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].StartTime")); + dbClusterListItem.setChargeType(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].ChargeType")); + dbClusterListItem.setModifiedTime(_ctx.stringValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].ModifiedTime")); + dbClusterListItem.setScalingRulesEnable(_ctx.booleanValue("DescribeDBInstanceAttributeResponse.DBClusterList["+ i +"].ScalingRulesEnable")); + + dBClusterList.add(dbClusterListItem); + } + describeDBInstanceAttributeResponse.setDBClusterList(dBClusterList); + + List tags = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBInstanceAttributeResponse.Tags.Length"); i++) { + TagsItem tagsItem = new TagsItem(); + tagsItem.setTagKey(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Tags["+ i +"].TagKey")); + tagsItem.setTagValue(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Tags["+ i +"].TagValue")); + + tags.add(tagsItem); + } + describeDBInstanceAttributeResponse.setTags(tags); + + return describeDBInstanceAttributeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceNetInfoResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceNetInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..a42e03a3a6 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstanceNetInfoResponseUnmarshaller.java @@ -0,0 +1,88 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceNetInfoResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceNetInfoResponse.DBClustersNetInfosItem; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceNetInfoResponse.DBClustersNetInfosItem.PortListItem2; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceNetInfoResponse.DBInstanceNetInfosItem; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstanceNetInfoResponse.DBInstanceNetInfosItem.PortListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDBInstanceNetInfoResponseUnmarshaller { + + public static DescribeDBInstanceNetInfoResponse unmarshall(DescribeDBInstanceNetInfoResponse describeDBInstanceNetInfoResponse, UnmarshallerContext _ctx) { + + describeDBInstanceNetInfoResponse.setRequestId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.RequestId")); + + List dBInstanceNetInfos = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos.Length"); i++) { + DBInstanceNetInfosItem dBInstanceNetInfosItem = new DBInstanceNetInfosItem(); + dBInstanceNetInfosItem.setNetType(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].NetType")); + dBInstanceNetInfosItem.setVpcInstanceId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].VpcInstanceId")); + dBInstanceNetInfosItem.setVpcId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].VpcId")); + dBInstanceNetInfosItem.setVswitchId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].VswitchId")); + dBInstanceNetInfosItem.setUserVisible(_ctx.booleanValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].UserVisible")); + dBInstanceNetInfosItem.setConnectionString(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].ConnectionString")); + dBInstanceNetInfosItem.setIp(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].Ip")); + dBInstanceNetInfosItem.setClusterId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].ClusterId")); + + List portList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].PortList.Length"); j++) { + PortListItem portListItem = new PortListItem(); + portListItem.setBizProtocol(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].PortList["+ j +"].Protocol")); + portListItem.setPort(_ctx.integerValue("DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+ i +"].PortList["+ j +"].Port")); + + portList.add(portListItem); + } + dBInstanceNetInfosItem.setPortList(portList); + + dBInstanceNetInfos.add(dBInstanceNetInfosItem); + } + describeDBInstanceNetInfoResponse.setDBInstanceNetInfos(dBInstanceNetInfos); + + List dBClustersNetInfos = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos.Length"); i++) { + DBClustersNetInfosItem dBClustersNetInfosItem = new DBClustersNetInfosItem(); + dBClustersNetInfosItem.setNetType(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].NetType")); + dBClustersNetInfosItem.setVpcInstanceId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].VpcInstanceId")); + dBClustersNetInfosItem.setVpcId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].VpcId")); + dBClustersNetInfosItem.setVswitchId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].VswitchId")); + dBClustersNetInfosItem.setUserVisible(_ctx.booleanValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].UserVisible")); + dBClustersNetInfosItem.setConnectionString(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].ConnectionString")); + dBClustersNetInfosItem.setIp(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].Ip")); + dBClustersNetInfosItem.setClusterId(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].ClusterId")); + + List portList1 = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].PortList.Length"); j++) { + PortListItem2 portListItem2 = new PortListItem2(); + portListItem2.setBizProtocol(_ctx.stringValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].PortList["+ j +"].Protocol")); + portListItem2.setPort(_ctx.integerValue("DescribeDBInstanceNetInfoResponse.DBClustersNetInfos["+ i +"].PortList["+ j +"].Port")); + + portList1.add(portListItem2); + } + dBClustersNetInfosItem.setPortList1(portList1); + + dBClustersNetInfos.add(dBClustersNetInfosItem); + } + describeDBInstanceNetInfoResponse.setDBClustersNetInfos(dBClustersNetInfos); + + return describeDBInstanceNetInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstancesResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstancesResponseUnmarshaller.java new file mode 100644 index 0000000000..a4caa7c3de --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeDBInstancesResponseUnmarshaller.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstancesResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstancesResponse.DBInstance; +import com.aliyuncs.selectdb.model.v20230522.DescribeDBInstancesResponse.DBInstance.TagsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDBInstancesResponseUnmarshaller { + + public static DescribeDBInstancesResponse unmarshall(DescribeDBInstancesResponse describeDBInstancesResponse, UnmarshallerContext _ctx) { + + describeDBInstancesResponse.setRequestId(_ctx.stringValue("DescribeDBInstancesResponse.RequestId")); + describeDBInstancesResponse.setPageNumber(_ctx.longValue("DescribeDBInstancesResponse.PageNumber")); + describeDBInstancesResponse.setPageSize(_ctx.longValue("DescribeDBInstancesResponse.PageSize")); + describeDBInstancesResponse.setTotalRecordCount(_ctx.longValue("DescribeDBInstancesResponse.TotalRecordCount")); + + List items = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDBInstancesResponse.Items.Length"); i++) { + DBInstance dBInstance = new DBInstance(); + dBInstance.setConnectionString(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].connectionString")); + dBInstance.setDBInstanceId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].DBInstanceId")); + dBInstance.setDescription(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].Description")); + dBInstance.setEngine(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].Engine")); + dBInstance.setEngineVersion(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].EngineVersion")); + dBInstance.setInstanceUsedType(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].InstanceUsedType")); + dBInstance.setRegionId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].RegionId")); + dBInstance.setZoneId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].ZoneId")); + dBInstance.setChargeType(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].ChargeType")); + dBInstance.setCategory(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].Category")); + dBInstance.setStatus(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].Status")); + dBInstance.setVpcId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].VpcId")); + dBInstance.setVswitchId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].VswitchId")); + dBInstance.setResourceCpu(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].ResourceCpu")); + dBInstance.setResourceMemory(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].ResourceMemory")); + dBInstance.setScaleMin(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].ScaleMin")); + dBInstance.setScaleMax(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].ScaleMax")); + dBInstance.setScaleReplica(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].ScaleReplica")); + dBInstance.setStorageSize(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].StorageSize")); + dBInstance.setStorageType(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].StorageType")); + dBInstance.setObjectStoreSize(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].ObjectStoreSize")); + dBInstance.setExpireTime(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].ExpireTime")); + dBInstance.setLockMode(_ctx.longValue("DescribeDBInstancesResponse.Items["+ i +"].LockMode")); + dBInstance.setLockReason(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].LockReason")); + dBInstance.setIsDeleted(_ctx.booleanValue("DescribeDBInstancesResponse.Items["+ i +"].IsDeleted")); + dBInstance.setMaintainStarttime(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].MaintainStarttime")); + dBInstance.setMaintainEndtime(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].MaintainEndtime")); + dBInstance.setGmtCreated(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].GmtCreated")); + dBInstance.setGmtModified(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].GmtModified")); + dBInstance.setParentInstance(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].ParentInstance")); + dBInstance.setResourceGroupId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].ResourceGroupId")); + dBInstance.setMaintainStartTimeStr(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].MaintainStartTimeStr")); + dBInstance.setMaintainEndTimeStr(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].MaintainEndTimeStr")); + dBInstance.setTenantClusterId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].TenantClusterId")); + dBInstance.setTenantToken(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].TenantToken")); + dBInstance.setTenantUserId(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].TenantUserId")); + dBInstance.setClusterCount(_ctx.integerValue("DescribeDBInstancesResponse.Items["+ i +"].ClusterCount")); + + List tags = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeDBInstancesResponse.Items["+ i +"].Tags.Length"); j++) { + TagsItem tagsItem = new TagsItem(); + tagsItem.setTagKey(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].Tags["+ j +"].TagKey")); + tagsItem.setTagValue(_ctx.stringValue("DescribeDBInstancesResponse.Items["+ i +"].Tags["+ j +"].TagValue")); + + tags.add(tagsItem); + } + dBInstance.setTags(tags); + + items.add(dBInstance); + } + describeDBInstancesResponse.setItems(items); + + return describeDBInstancesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeElasticRulesResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeElasticRulesResponseUnmarshaller.java new file mode 100644 index 0000000000..83977e7e7d --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeElasticRulesResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeElasticRulesResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeElasticRulesResponse.Data; +import com.aliyuncs.selectdb.model.v20230522.DescribeElasticRulesResponse.Data.RulesItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeElasticRulesResponseUnmarshaller { + + public static DescribeElasticRulesResponse unmarshall(DescribeElasticRulesResponse describeElasticRulesResponse, UnmarshallerContext _ctx) { + + describeElasticRulesResponse.setRequestId(_ctx.stringValue("DescribeElasticRulesResponse.RequestId")); + + Data data = new Data(); + data.setDbInstanceId(_ctx.stringValue("DescribeElasticRulesResponse.Data.DbInstanceId")); + data.setClusterId(_ctx.stringValue("DescribeElasticRulesResponse.Data.ClusterId")); + + List rules = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeElasticRulesResponse.Data.Rules.Length"); i++) { + RulesItem rulesItem = new RulesItem(); + rulesItem.setRuleId(_ctx.longValue("DescribeElasticRulesResponse.Data.Rules["+ i +"].RuleId")); + rulesItem.setExecutionPeriod(_ctx.stringValue("DescribeElasticRulesResponse.Data.Rules["+ i +"].ExecutionPeriod")); + rulesItem.setElasticRuleStartTime(_ctx.stringValue("DescribeElasticRulesResponse.Data.Rules["+ i +"].ElasticRuleStartTime")); + rulesItem.setClusterClass(_ctx.stringValue("DescribeElasticRulesResponse.Data.Rules["+ i +"].ClusterClass")); + + rules.add(rulesItem); + } + data.setRules(rules); + describeElasticRulesResponse.setData(data); + + return describeElasticRulesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeSecurityIPListResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeSecurityIPListResponseUnmarshaller.java new file mode 100644 index 0000000000..15fca14939 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/DescribeSecurityIPListResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.selectdb.model.v20230522.DescribeSecurityIPListResponse; +import com.aliyuncs.selectdb.model.v20230522.DescribeSecurityIPListResponse.GroupItemsItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeSecurityIPListResponseUnmarshaller { + + public static DescribeSecurityIPListResponse unmarshall(DescribeSecurityIPListResponse describeSecurityIPListResponse, UnmarshallerContext _ctx) { + + describeSecurityIPListResponse.setRequestId(_ctx.stringValue("DescribeSecurityIPListResponse.RequestId")); + describeSecurityIPListResponse.setDBInstanceName(_ctx.stringValue("DescribeSecurityIPListResponse.DBInstanceName")); + + List groupItems = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeSecurityIPListResponse.GroupItems.Length"); i++) { + GroupItemsItem groupItemsItem = new GroupItemsItem(); + groupItemsItem.setGroupName(_ctx.stringValue("DescribeSecurityIPListResponse.GroupItems["+ i +"].GroupName")); + groupItemsItem.setAecurityIPType(_ctx.stringValue("DescribeSecurityIPListResponse.GroupItems["+ i +"].AecurityIPType")); + groupItemsItem.setGroupTag(_ctx.stringValue("DescribeSecurityIPListResponse.GroupItems["+ i +"].GroupTag")); + groupItemsItem.setSecurityIPList(_ctx.stringValue("DescribeSecurityIPListResponse.GroupItems["+ i +"].SecurityIPList")); + groupItemsItem.setWhitelistNetType(_ctx.stringValue("DescribeSecurityIPListResponse.GroupItems["+ i +"].WhitelistNetType")); + + groupItems.add(groupItemsItem); + } + describeSecurityIPListResponse.setGroupItems(groupItems); + + return describeSecurityIPListResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/EnDisableScalingRulesResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/EnDisableScalingRulesResponseUnmarshaller.java new file mode 100644 index 0000000000..0d3aa280e6 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/EnDisableScalingRulesResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.EnDisableScalingRulesResponse; +import com.aliyuncs.selectdb.model.v20230522.EnDisableScalingRulesResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class EnDisableScalingRulesResponseUnmarshaller { + + public static EnDisableScalingRulesResponse unmarshall(EnDisableScalingRulesResponse enDisableScalingRulesResponse, UnmarshallerContext _ctx) { + + enDisableScalingRulesResponse.setRequestId(_ctx.stringValue("EnDisableScalingRulesResponse.RequestId")); + + Data data = new Data(); + data.setDbInstanceId(_ctx.stringValue("EnDisableScalingRulesResponse.Data.DbInstanceId")); + data.setClusterId(_ctx.stringValue("EnDisableScalingRulesResponse.Data.ClusterId")); + data.setScalingRulesEnable(_ctx.booleanValue("EnDisableScalingRulesResponse.Data.ScalingRulesEnable")); + enDisableScalingRulesResponse.setData(data); + + return enDisableScalingRulesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetCreateBEClusterInquiryResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetCreateBEClusterInquiryResponseUnmarshaller.java new file mode 100644 index 0000000000..f70d91ffb8 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetCreateBEClusterInquiryResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.GetCreateBEClusterInquiryResponse; +import com.aliyuncs.selectdb.model.v20230522.GetCreateBEClusterInquiryResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetCreateBEClusterInquiryResponseUnmarshaller { + + public static GetCreateBEClusterInquiryResponse unmarshall(GetCreateBEClusterInquiryResponse getCreateBEClusterInquiryResponse, UnmarshallerContext _ctx) { + + getCreateBEClusterInquiryResponse.setRequestId(_ctx.stringValue("GetCreateBEClusterInquiryResponse.RequestId")); + + Data data = new Data(); + data.setCurrency(_ctx.stringValue("GetCreateBEClusterInquiryResponse.Data.Currency")); + data.setTradeAmount(_ctx.stringValue("GetCreateBEClusterInquiryResponse.Data.TradeAmount")); + getCreateBEClusterInquiryResponse.setData(data); + + return getCreateBEClusterInquiryResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetModifyBEClusterInquiryResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetModifyBEClusterInquiryResponseUnmarshaller.java new file mode 100644 index 0000000000..cdeab49f82 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/GetModifyBEClusterInquiryResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.GetModifyBEClusterInquiryResponse; +import com.aliyuncs.selectdb.model.v20230522.GetModifyBEClusterInquiryResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetModifyBEClusterInquiryResponseUnmarshaller { + + public static GetModifyBEClusterInquiryResponse unmarshall(GetModifyBEClusterInquiryResponse getModifyBEClusterInquiryResponse, UnmarshallerContext _ctx) { + + getModifyBEClusterInquiryResponse.setRequestId(_ctx.stringValue("GetModifyBEClusterInquiryResponse.RequestId")); + + Data data = new Data(); + data.setCurrency(_ctx.stringValue("GetModifyBEClusterInquiryResponse.Data.Currency")); + data.setTradeAmount(_ctx.stringValue("GetModifyBEClusterInquiryResponse.Data.TradeAmount")); + getModifyBEClusterInquiryResponse.setData(data); + + return getModifyBEClusterInquiryResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyBEClusterAttributeResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyBEClusterAttributeResponseUnmarshaller.java new file mode 100644 index 0000000000..14c49f81de --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyBEClusterAttributeResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ModifyBEClusterAttributeResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyBEClusterAttributeResponseUnmarshaller { + + public static ModifyBEClusterAttributeResponse unmarshall(ModifyBEClusterAttributeResponse modifyBEClusterAttributeResponse, UnmarshallerContext _ctx) { + + modifyBEClusterAttributeResponse.setRequestId(_ctx.stringValue("ModifyBEClusterAttributeResponse.RequestId")); + + return modifyBEClusterAttributeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterConfigResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..b2ef9c28e8 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterConfigResponseUnmarshaller.java @@ -0,0 +1,40 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ModifyDBClusterConfigResponse; +import com.aliyuncs.selectdb.model.v20230522.ModifyDBClusterConfigResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyDBClusterConfigResponseUnmarshaller { + + public static ModifyDBClusterConfigResponse unmarshall(ModifyDBClusterConfigResponse modifyDBClusterConfigResponse, UnmarshallerContext _ctx) { + + modifyDBClusterConfigResponse.setRequestId(_ctx.stringValue("ModifyDBClusterConfigResponse.RequestId")); + modifyDBClusterConfigResponse.setDynamicCode(_ctx.stringValue("ModifyDBClusterConfigResponse.DynamicCode")); + modifyDBClusterConfigResponse.setDynamicMessage(_ctx.stringValue("ModifyDBClusterConfigResponse.DynamicMessage")); + modifyDBClusterConfigResponse.setAccessDeniedDetail(_ctx.stringValue("ModifyDBClusterConfigResponse.AccessDeniedDetail")); + + Data data = new Data(); + data.setDbInstanceName(_ctx.stringValue("ModifyDBClusterConfigResponse.Data.DbInstanceName")); + data.setDbInstanceId(_ctx.stringValue("ModifyDBClusterConfigResponse.Data.DbInstanceId")); + data.setDbClusterId(_ctx.stringValue("ModifyDBClusterConfigResponse.Data.DbClusterId")); + data.setTaskId(_ctx.integerValue("ModifyDBClusterConfigResponse.Data.TaskId")); + modifyDBClusterConfigResponse.setData(data); + + return modifyDBClusterConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..9a9424a692 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBClusterResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ModifyDBClusterResponse; +import com.aliyuncs.selectdb.model.v20230522.ModifyDBClusterResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyDBClusterResponseUnmarshaller { + + public static ModifyDBClusterResponse unmarshall(ModifyDBClusterResponse modifyDBClusterResponse, UnmarshallerContext _ctx) { + + modifyDBClusterResponse.setRequestId(_ctx.stringValue("ModifyDBClusterResponse.RequestId")); + modifyDBClusterResponse.setDBInstanceId(_ctx.stringValue("ModifyDBClusterResponse.DBInstanceId")); + + Data data = new Data(); + data.setDBInstanceId(_ctx.stringValue("ModifyDBClusterResponse.Data.DBInstanceId")); + data.setDBClusterId(_ctx.stringValue("ModifyDBClusterResponse.Data.DBClusterId")); + data.setOrderId(_ctx.longValue("ModifyDBClusterResponse.Data.OrderId")); + modifyDBClusterResponse.setData(data); + + return modifyDBClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBInstanceAttributeResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBInstanceAttributeResponseUnmarshaller.java new file mode 100644 index 0000000000..4f89497edf --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyDBInstanceAttributeResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ModifyDBInstanceAttributeResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyDBInstanceAttributeResponseUnmarshaller { + + public static ModifyDBInstanceAttributeResponse unmarshall(ModifyDBInstanceAttributeResponse modifyDBInstanceAttributeResponse, UnmarshallerContext _ctx) { + + modifyDBInstanceAttributeResponse.setRequestId(_ctx.stringValue("ModifyDBInstanceAttributeResponse.RequestId")); + + return modifyDBInstanceAttributeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyElasticRuleResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyElasticRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..a3595ec5a4 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifyElasticRuleResponseUnmarshaller.java @@ -0,0 +1,39 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ModifyElasticRuleResponse; +import com.aliyuncs.selectdb.model.v20230522.ModifyElasticRuleResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyElasticRuleResponseUnmarshaller { + + public static ModifyElasticRuleResponse unmarshall(ModifyElasticRuleResponse modifyElasticRuleResponse, UnmarshallerContext _ctx) { + + modifyElasticRuleResponse.setRequestId(_ctx.stringValue("ModifyElasticRuleResponse.RequestId")); + + Data data = new Data(); + data.setDbInstanceId(_ctx.stringValue("ModifyElasticRuleResponse.Data.DbInstanceId")); + data.setClusterId(_ctx.stringValue("ModifyElasticRuleResponse.Data.ClusterId")); + data.setRuleId(_ctx.longValue("ModifyElasticRuleResponse.Data.RuleId")); + data.setExecutionPeriod(_ctx.stringValue("ModifyElasticRuleResponse.Data.ExecutionPeriod")); + data.setElasticRuleStartTime(_ctx.stringValue("ModifyElasticRuleResponse.Data.ElasticRuleStartTime")); + data.setClusterClass(_ctx.stringValue("ModifyElasticRuleResponse.Data.ClusterClass")); + modifyElasticRuleResponse.setData(data); + + return modifyElasticRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifySecurityIPListResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifySecurityIPListResponseUnmarshaller.java new file mode 100644 index 0000000000..35979f7ece --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ModifySecurityIPListResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ModifySecurityIPListResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifySecurityIPListResponseUnmarshaller { + + public static ModifySecurityIPListResponse unmarshall(ModifySecurityIPListResponse modifySecurityIPListResponse, UnmarshallerContext _ctx) { + + modifySecurityIPListResponse.setRequestId(_ctx.stringValue("ModifySecurityIPListResponse.RequestId")); + modifySecurityIPListResponse.setGroupName(_ctx.stringValue("ModifySecurityIPListResponse.GroupName")); + modifySecurityIPListResponse.setSecurityIPType(_ctx.stringValue("ModifySecurityIPListResponse.SecurityIPType")); + modifySecurityIPListResponse.setGroupTag(_ctx.stringValue("ModifySecurityIPListResponse.GroupTag")); + modifySecurityIPListResponse.setTaskId(_ctx.longValue("ModifySecurityIPListResponse.TaskId")); + modifySecurityIPListResponse.setSecurityIPList(_ctx.stringValue("ModifySecurityIPListResponse.SecurityIPList")); + modifySecurityIPListResponse.setWhitelistNetType(_ctx.stringValue("ModifySecurityIPListResponse.WhitelistNetType")); + modifySecurityIPListResponse.setDBInstanceName(_ctx.stringValue("ModifySecurityIPListResponse.DBInstanceName")); + + return modifySecurityIPListResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ReleaseInstancePublicConnectionResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ReleaseInstancePublicConnectionResponseUnmarshaller.java new file mode 100644 index 0000000000..df534913c5 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ReleaseInstancePublicConnectionResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ReleaseInstancePublicConnectionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ReleaseInstancePublicConnectionResponseUnmarshaller { + + public static ReleaseInstancePublicConnectionResponse unmarshall(ReleaseInstancePublicConnectionResponse releaseInstancePublicConnectionResponse, UnmarshallerContext _ctx) { + + releaseInstancePublicConnectionResponse.setRequestId(_ctx.stringValue("ReleaseInstancePublicConnectionResponse.RequestId")); + + return releaseInstancePublicConnectionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ResetAccountPasswordResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ResetAccountPasswordResponseUnmarshaller.java new file mode 100644 index 0000000000..a493734d47 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/ResetAccountPasswordResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.ResetAccountPasswordResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ResetAccountPasswordResponseUnmarshaller { + + public static ResetAccountPasswordResponse unmarshall(ResetAccountPasswordResponse resetAccountPasswordResponse, UnmarshallerContext _ctx) { + + resetAccountPasswordResponse.setRequestId(_ctx.stringValue("ResetAccountPasswordResponse.RequestId")); + + return resetAccountPasswordResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/RestartDBClusterResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/RestartDBClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..ec3671d842 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/RestartDBClusterResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.RestartDBClusterResponse; +import com.aliyuncs.selectdb.model.v20230522.RestartDBClusterResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RestartDBClusterResponseUnmarshaller { + + public static RestartDBClusterResponse unmarshall(RestartDBClusterResponse restartDBClusterResponse, UnmarshallerContext _ctx) { + + restartDBClusterResponse.setRequestId(_ctx.stringValue("RestartDBClusterResponse.RequestId")); + + Data data = new Data(); + data.setDBInstanceId(_ctx.stringValue("RestartDBClusterResponse.Data.DBInstanceId")); + data.setDBClusterId(_ctx.stringValue("RestartDBClusterResponse.Data.DBClusterId")); + restartDBClusterResponse.setData(data); + + return restartDBClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StartBEClusterResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StartBEClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..46166cfd4f --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StartBEClusterResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.StartBEClusterResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StartBEClusterResponseUnmarshaller { + + public static StartBEClusterResponse unmarshall(StartBEClusterResponse startBEClusterResponse, UnmarshallerContext _ctx) { + + startBEClusterResponse.setRequestId(_ctx.stringValue("StartBEClusterResponse.RequestId")); + + return startBEClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StopBEClusterResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StopBEClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..3810ef3f17 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/StopBEClusterResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.StopBEClusterResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StopBEClusterResponseUnmarshaller { + + public static StopBEClusterResponse unmarshall(StopBEClusterResponse stopBEClusterResponse, UnmarshallerContext _ctx) { + + stopBEClusterResponse.setRequestId(_ctx.stringValue("StopBEClusterResponse.RequestId")); + + return stopBEClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/UpgradeDBInstanceEngineVersionResponseUnmarshaller.java b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/UpgradeDBInstanceEngineVersionResponseUnmarshaller.java new file mode 100644 index 0000000000..0db3eb80c3 --- /dev/null +++ b/aliyun-java-sdk-selectdb/src/main/java/com/aliyuncs/selectdb/transform/v20230522/UpgradeDBInstanceEngineVersionResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.selectdb.transform.v20230522; + +import com.aliyuncs.selectdb.model.v20230522.UpgradeDBInstanceEngineVersionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpgradeDBInstanceEngineVersionResponseUnmarshaller { + + public static UpgradeDBInstanceEngineVersionResponse unmarshall(UpgradeDBInstanceEngineVersionResponse upgradeDBInstanceEngineVersionResponse, UnmarshallerContext _ctx) { + + upgradeDBInstanceEngineVersionResponse.setRequestId(_ctx.stringValue("UpgradeDBInstanceEngineVersionResponse.RequestId")); + + return upgradeDBInstanceEngineVersionResponse; + } +} \ No newline at end of file