From d74396621c9915c968162b07e4c836b308ae5bc6 Mon Sep 17 00:00:00 2001 From: ci_volc_sdk_gen Date: Fri, 3 Mar 2023 11:05:07 +0800 Subject: [PATCH 1/3] feat: auto generate for feat/rdsv2 --- README.md | 6 +- pom.xml | 3 +- volcengine-java-sdk-alb/pom.xml | 2 +- volcengine-java-sdk-autoscaling/pom.xml | 2 +- volcengine-java-sdk-bom/pom.xml | 8 +- volcengine-java-sdk-cen/pom.xml | 2 +- volcengine-java-sdk-clb/pom.xml | 2 +- volcengine-java-sdk-core/pom.xml | 2 +- .../java/com/volcengine/version/Version.java | 2 +- volcengine-java-sdk-cr/pom.xml | 2 +- volcengine-java-sdk-directconnect/pom.xml | 2 +- volcengine-java-sdk-ecs/pom.xml | 2 +- volcengine-java-sdk-mongodb/pom.xml | 2 +- volcengine-java-sdk-natgateway/pom.xml | 2 +- volcengine-java-sdk-rdsmysql/pom.xml | 2 +- volcengine-java-sdk-rdsmysqlv2/pom.xml | 18 + .../volcengine/rdsmysqlv2/RdsMysqlV2Api.java | 5474 +++++++++++++++++ .../AccountForDescribeDBAccountsOutput.java | 151 + ...countPrivilegeForCreateDBAccountInput.java | 139 + ...tPrivilegeForDescribeDBAccountsOutput.java | 139 + ...vilegeForGrantDBAccountPrivilegeInput.java | 139 + ...ressForDescribeDBInstanceDetailOutput.java | 231 + ...essObjectForDescribeDBInstancesOutput.java | 231 + .../AllowListForDescribeAllowListsOutput.java | 208 + .../model/AssociateAllowListRequest.java | 134 + .../model/AssociateAllowListResponse.java | 63 + ...tanceForDescribeAllowListDetailOutput.java | 139 + .../model/BackupForDescribeBackupsOutput.java | 335 + .../model/BackupMetaForCreateBackupInput.java | 93 + ...InfoForDescribeDBInstanceDetailOutput.java | 636 ++ ...tailForDescribeDBInstanceDetailOutput.java | 277 + ...rgeDetailForDescribeDBInstancesOutput.java | 277 + .../ChargeInfoForCreateDBInstanceInput.java | 185 + ...hargeInfoForRestoreToNewInstanceInput.java | 185 + .../model/CreateAllowListRequest.java | 164 + .../model/CreateAllowListResponse.java | 93 + .../rdsmysqlv2/model/CreateBackupRequest.java | 175 + .../model/CreateBackupResponse.java | 63 + .../model/CreateDBAccountRequest.java | 198 + .../model/CreateDBAccountResponse.java | 63 + .../CreateDBEndpointPublicAddressRequest.java | 165 + ...CreateDBEndpointPublicAddressResponse.java | 63 + .../model/CreateDBEndpointRequest.java | 232 + .../model/CreateDBEndpointResponse.java | 63 + .../model/CreateDBInstanceRequest.java | 462 ++ .../model/CreateDBInstanceResponse.java | 116 + .../model/CreateDatabaseRequest.java | 175 + .../model/CreateDatabaseResponse.java | 63 + .../DBTableInfoForDescribeBackupsOutput.java | 126 + .../DatabasForDescribeDatabasesOutput.java | 151 + ...tabasePrivilegeForCreateDatabaseInput.java | 139 + ...sePrivilegeForDescribeDatabasesOutput.java | 139 + ...ivilegeForGrantDatabasePrivilegeInput.java | 139 + .../model/DeleteAllowListRequest.java | 94 + .../model/DeleteAllowListResponse.java | 63 + .../model/DeleteDBAccountRequest.java | 118 + .../model/DeleteDBAccountResponse.java | 63 + .../DeleteDBEndpointPublicAddressRequest.java | 166 + ...DeleteDBEndpointPublicAddressResponse.java | 63 + .../model/DeleteDBEndpointRequest.java | 118 + .../model/DeleteDBEndpointResponse.java | 63 + .../model/DeleteDBInstanceRequest.java | 117 + .../model/DeleteDBInstanceResponse.java | 63 + .../model/DeleteDatabaseRequest.java | 118 + .../model/DeleteDatabaseResponse.java | 63 + .../model/DescribeAllowListDetailRequest.java | 94 + .../DescribeAllowListDetailResponse.java | 220 + .../model/DescribeAllowListsRequest.java | 116 + .../model/DescribeAllowListsResponse.java | 105 + .../DescribeAvailabilityZonesRequest.java | 93 + .../DescribeAvailabilityZonesResponse.java | 128 + .../model/DescribeBackupsRequest.java | 278 + .../model/DescribeBackupsResponse.java | 128 + .../model/DescribeDBAccountsRequest.java | 163 + .../model/DescribeDBAccountsResponse.java | 128 + .../DescribeDBInstanceDetailRequest.java | 94 + .../DescribeDBInstanceDetailResponse.java | 188 + ...escribeDBInstanceParametersLogRequest.java | 142 + ...scribeDBInstanceParametersLogResponse.java | 128 + .../DescribeDBInstanceParametersRequest.java | 117 + .../DescribeDBInstanceParametersResponse.java | 197 + .../model/DescribeDBInstancesRequest.java | 323 + .../model/DescribeDBInstancesResponse.java | 128 + .../model/DescribeDatabasesRequest.java | 162 + .../model/DescribeDatabasesResponse.java | 128 + .../model/DescribeRecoverableTimeRequest.java | 117 + .../DescribeRecoverableTimeResponse.java | 105 + .../model/DescribeRegionsRequest.java | 63 + .../model/DescribeRegionsResponse.java | 105 + .../model/DisassociateAllowListRequest.java | 134 + .../model/DisassociateAllowListResponse.java | 63 + .../model/DownloadBackupRequest.java | 117 + .../model/DownloadBackupResponse.java | 63 + ...ointForDescribeDBInstanceDetailOutput.java | 322 + .../model/GetBackupDownloadLinkRequest.java | 117 + .../model/GetBackupDownloadLinkResponse.java | 254 + .../model/GrantDBAccountPrivilegeRequest.java | 153 + .../GrantDBAccountPrivilegeResponse.java | 63 + .../model/GrantDatabasePrivilegeRequest.java | 153 + .../model/GrantDatabasePrivilegeResponse.java | 63 + .../InstanceForDescribeDBInstancesOutput.java | 569 ++ .../InstanceTagForCreateDBInstanceInput.java | 116 + ...ndowForDescribeDBInstanceDetailOutput.java | 180 + ...nceWindowForDescribeDBInstancesOutput.java | 180 + .../model/ModifyAllowListRequest.java | 210 + .../model/ModifyAllowListResponse.java | 63 + .../model/ModifyDBEndpointAddressRequest.java | 163 + .../ModifyDBEndpointAddressResponse.java | 63 + .../model/ModifyDBEndpointDNSRequest.java | 166 + .../model/ModifyDBEndpointDNSResponse.java | 63 + .../model/ModifyDBEndpointRequest.java | 337 + .../model/ModifyDBEndpointResponse.java | 63 + .../ModifyDBInstanceParametersRequest.java | 129 + .../ModifyDBInstanceParametersResponse.java | 93 + .../model/ModifyDBInstanceSpecRequest.java | 175 + .../model/ModifyDBInstanceSpecResponse.java | 116 + ...NodeForDescribeDBInstanceDetailOutput.java | 323 + .../NodeInfoForCreateDBInstanceInput.java | 208 + .../NodeInfoForModifyDBInstanceSpecInput.java | 185 + .../NodeInfoForRestoreToNewInstanceInput.java | 185 + ...DescribeDBInstanceParametersLogOutput.java | 185 + ...ForDescribeDBInstanceParametersOutput.java | 208 + ...terForModifyDBInstanceParametersInput.java | 116 + ...ightForDescribeDBInstanceDetailOutput.java | 139 + ...nlyNodeWeightForModifyDBEndpointInput.java | 139 + ...eInfoForDescribeRecoverableTimeOutput.java | 116 + .../model/RegionForDescribeRegionsOutput.java | 116 + .../model/ResetDBAccountRequest.java | 141 + .../model/ResetDBAccountResponse.java | 63 + .../model/RestartDBInstanceRequest.java | 94 + .../model/RestartDBInstanceResponse.java | 63 + .../model/RestoreToNewInstanceRequest.java | 360 ++ .../model/RestoreToNewInstanceResponse.java | 116 + .../RevokeDBAccountPrivilegeRequest.java | 142 + .../RevokeDBAccountPrivilegeResponse.java | 63 + .../model/RevokeDatabasePrivilegeRequest.java | 142 + .../RevokeDatabasePrivilegeResponse.java | 63 + .../TagForDescribeDBInstanceDetailOutput.java | 116 + .../model/UpgradeAllowListVersionRequest.java | 94 + .../UpgradeAllowListVersionResponse.java | 63 + ...oneForDescribeAvailabilityZonesOutput.java | 139 + volcengine-java-sdk-storageebs/pom.xml | 2 +- volcengine-java-sdk-vke/pom.xml | 2 +- volcengine-java-sdk-volcobserve/pom.xml | 2 +- volcengine-java-sdk-vpc/pom.xml | 2 +- volcengine-java-sdk-vpn/pom.xml | 2 +- 146 files changed, 24198 insertions(+), 22 deletions(-) create mode 100644 volcengine-java-sdk-rdsmysqlv2/pom.xml create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/RdsMysqlV2Api.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountForDescribeDBAccountsOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForCreateDBAccountInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForDescribeDBAccountsOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForGrantDBAccountPrivilegeInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressObjectForDescribeDBInstancesOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AllowListForDescribeAllowListsOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociatedInstanceForDescribeAllowListDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupForDescribeBackupsOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupMetaForCreateBackupInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BasicInfoForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstancesOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForCreateDBInstanceInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForRestoreToNewInstanceInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DBTableInfoForDescribeBackupsOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasForDescribeDatabasesOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForCreateDatabaseInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForDescribeDatabasesOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForGrantDatabasePrivilegeInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/EndpointForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceForDescribeDBInstancesOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceTagForCreateDBInstanceInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstancesOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForCreateDBInstanceInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForModifyDBInstanceSpecInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForRestoreToNewInstanceInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForDescribeDBInstanceParametersOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForModifyDBInstanceParametersInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForModifyDBEndpointInput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RecoverableTimeInfoForDescribeRecoverableTimeOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RegionForDescribeRegionsOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/TagForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionRequest.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionResponse.java create mode 100644 volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ZoneForDescribeAvailabilityZonesOutput.java diff --git a/README.md b/README.md index 5a99a74b..3f5da1b1 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ com.volcengine volcengine-java-sdk-bom - 0.1.36 + 0.1.37 pom import @@ -70,12 +70,12 @@ com.volcengine volcengine-java-sdk-vpc - 0.1.36 + 0.1.37 com.volcengine volcengine-java-sdk-ecs - 0.1.36 + 0.1.37 ``` diff --git a/pom.xml b/pom.xml index f0e21db3..ea763cd7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.volcengine volcengine-java-sdk pom - 0.1.36 + 0.1.37 volcengine-java-sdk https://open.volcengineapi.com The Java SDK For Volcengine @@ -224,5 +224,6 @@ volcengine-java-sdk-directconnect volcengine-java-sdk-mongodb volcengine-java-sdk-volcobserve + volcengine-java-sdk-rdsmysqlv2 diff --git a/volcengine-java-sdk-alb/pom.xml b/volcengine-java-sdk-alb/pom.xml index e0ea0b4e..6ccfbd9c 100644 --- a/volcengine-java-sdk-alb/pom.xml +++ b/volcengine-java-sdk-alb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-autoscaling/pom.xml b/volcengine-java-sdk-autoscaling/pom.xml index 46ab930e..e013ad71 100644 --- a/volcengine-java-sdk-autoscaling/pom.xml +++ b/volcengine-java-sdk-autoscaling/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-bom/pom.xml b/volcengine-java-sdk-bom/pom.xml index 8a6b9cc7..caf4b870 100644 --- a/volcengine-java-sdk-bom/pom.xml +++ b/volcengine-java-sdk-bom/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 @@ -109,6 +109,12 @@ false ${project.version} + + com.volcengine + volcengine-java-sdk-rdsmysqlv2 + false + ${project.version} + diff --git a/volcengine-java-sdk-cen/pom.xml b/volcengine-java-sdk-cen/pom.xml index 8b1f23e4..86a0790c 100644 --- a/volcengine-java-sdk-cen/pom.xml +++ b/volcengine-java-sdk-cen/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-clb/pom.xml b/volcengine-java-sdk-clb/pom.xml index 44fb1e6f..27009674 100644 --- a/volcengine-java-sdk-clb/pom.xml +++ b/volcengine-java-sdk-clb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/pom.xml b/volcengine-java-sdk-core/pom.xml index 18c961c4..b87c65bd 100644 --- a/volcengine-java-sdk-core/pom.xml +++ b/volcengine-java-sdk-core/pom.xml @@ -3,7 +3,7 @@ com.volcengine volcengine-java-sdk - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java index c7996a45..66bb5796 100644 --- a/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java +++ b/volcengine-java-sdk-core/src/main/java/com/volcengine/version/Version.java @@ -1,6 +1,6 @@ package com.volcengine.version; public class Version { - public final static String SDK_VERSION = "0.1.36"; + public final static String SDK_VERSION = "0.1.37"; public final static String SDK_NAME = "volcengine-java-sdk"; } \ No newline at end of file diff --git a/volcengine-java-sdk-cr/pom.xml b/volcengine-java-sdk-cr/pom.xml index a8aa491f..3afc8df4 100644 --- a/volcengine-java-sdk-cr/pom.xml +++ b/volcengine-java-sdk-cr/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-directconnect/pom.xml b/volcengine-java-sdk-directconnect/pom.xml index 97f7d81b..8707570f 100644 --- a/volcengine-java-sdk-directconnect/pom.xml +++ b/volcengine-java-sdk-directconnect/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-ecs/pom.xml b/volcengine-java-sdk-ecs/pom.xml index dd5d5ad9..e3d7a25d 100644 --- a/volcengine-java-sdk-ecs/pom.xml +++ b/volcengine-java-sdk-ecs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-mongodb/pom.xml b/volcengine-java-sdk-mongodb/pom.xml index 7c09b527..b2092c3d 100644 --- a/volcengine-java-sdk-mongodb/pom.xml +++ b/volcengine-java-sdk-mongodb/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-natgateway/pom.xml b/volcengine-java-sdk-natgateway/pom.xml index 9afc77f5..66045eb4 100644 --- a/volcengine-java-sdk-natgateway/pom.xml +++ b/volcengine-java-sdk-natgateway/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysql/pom.xml b/volcengine-java-sdk-rdsmysql/pom.xml index ccc84ae7..3eea84fe 100644 --- a/volcengine-java-sdk-rdsmysql/pom.xml +++ b/volcengine-java-sdk-rdsmysql/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysqlv2/pom.xml b/volcengine-java-sdk-rdsmysqlv2/pom.xml new file mode 100644 index 00000000..0b03b8ff --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/pom.xml @@ -0,0 +1,18 @@ + + + + volcengine-java-sdk + com.volcengine + 0.1.37 + ../pom.xml + + 4.0.0 + volcengine-java-sdk-rdsmysqlv2 + + + com.volcengine + volcengine-java-sdk-core + ${project.version} + + + diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/RdsMysqlV2Api.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/RdsMysqlV2Api.java new file mode 100644 index 00000000..207f8a00 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/RdsMysqlV2Api.java @@ -0,0 +1,5474 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2; + +import com.volcengine.ApiCallback; +import com.volcengine.ApiClient; +import com.volcengine.ApiException; +import com.volcengine.ApiResponse; +import com.volcengine.Configuration; +import com.volcengine.Pair; +import com.volcengine.ProgressRequestBody; +import com.volcengine.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + +import javax.validation.constraints.*; + +import com.volcengine.rdsmysqlv2.model.AssociateAllowListRequest; +import com.volcengine.rdsmysqlv2.model.AssociateAllowListResponse; +import com.volcengine.rdsmysqlv2.model.CreateAllowListRequest; +import com.volcengine.rdsmysqlv2.model.CreateAllowListResponse; +import com.volcengine.rdsmysqlv2.model.CreateBackupRequest; +import com.volcengine.rdsmysqlv2.model.CreateBackupResponse; +import com.volcengine.rdsmysqlv2.model.CreateDBAccountRequest; +import com.volcengine.rdsmysqlv2.model.CreateDBAccountResponse; +import com.volcengine.rdsmysqlv2.model.CreateDBEndpointPublicAddressRequest; +import com.volcengine.rdsmysqlv2.model.CreateDBEndpointPublicAddressResponse; +import com.volcengine.rdsmysqlv2.model.CreateDBEndpointRequest; +import com.volcengine.rdsmysqlv2.model.CreateDBEndpointResponse; +import com.volcengine.rdsmysqlv2.model.CreateDBInstanceRequest; +import com.volcengine.rdsmysqlv2.model.CreateDBInstanceResponse; +import com.volcengine.rdsmysqlv2.model.CreateDatabaseRequest; +import com.volcengine.rdsmysqlv2.model.CreateDatabaseResponse; +import com.volcengine.rdsmysqlv2.model.DeleteAllowListRequest; +import com.volcengine.rdsmysqlv2.model.DeleteAllowListResponse; +import com.volcengine.rdsmysqlv2.model.DeleteDBAccountRequest; +import com.volcengine.rdsmysqlv2.model.DeleteDBAccountResponse; +import com.volcengine.rdsmysqlv2.model.DeleteDBEndpointPublicAddressRequest; +import com.volcengine.rdsmysqlv2.model.DeleteDBEndpointPublicAddressResponse; +import com.volcengine.rdsmysqlv2.model.DeleteDBEndpointRequest; +import com.volcengine.rdsmysqlv2.model.DeleteDBEndpointResponse; +import com.volcengine.rdsmysqlv2.model.DeleteDBInstanceRequest; +import com.volcengine.rdsmysqlv2.model.DeleteDBInstanceResponse; +import com.volcengine.rdsmysqlv2.model.DeleteDatabaseRequest; +import com.volcengine.rdsmysqlv2.model.DeleteDatabaseResponse; +import com.volcengine.rdsmysqlv2.model.DescribeAllowListDetailRequest; +import com.volcengine.rdsmysqlv2.model.DescribeAllowListDetailResponse; +import com.volcengine.rdsmysqlv2.model.DescribeAllowListsRequest; +import com.volcengine.rdsmysqlv2.model.DescribeAllowListsResponse; +import com.volcengine.rdsmysqlv2.model.DescribeAvailabilityZonesRequest; +import com.volcengine.rdsmysqlv2.model.DescribeAvailabilityZonesResponse; +import com.volcengine.rdsmysqlv2.model.DescribeBackupsRequest; +import com.volcengine.rdsmysqlv2.model.DescribeBackupsResponse; +import com.volcengine.rdsmysqlv2.model.DescribeDBAccountsRequest; +import com.volcengine.rdsmysqlv2.model.DescribeDBAccountsResponse; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstanceDetailRequest; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstanceDetailResponse; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstanceParametersLogRequest; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstanceParametersLogResponse; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstanceParametersRequest; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstanceParametersResponse; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstancesRequest; +import com.volcengine.rdsmysqlv2.model.DescribeDBInstancesResponse; +import com.volcengine.rdsmysqlv2.model.DescribeDatabasesRequest; +import com.volcengine.rdsmysqlv2.model.DescribeDatabasesResponse; +import com.volcengine.rdsmysqlv2.model.DescribeRecoverableTimeRequest; +import com.volcengine.rdsmysqlv2.model.DescribeRecoverableTimeResponse; +import com.volcengine.rdsmysqlv2.model.DescribeRegionsRequest; +import com.volcengine.rdsmysqlv2.model.DescribeRegionsResponse; +import com.volcengine.rdsmysqlv2.model.DisassociateAllowListRequest; +import com.volcengine.rdsmysqlv2.model.DisassociateAllowListResponse; +import com.volcengine.rdsmysqlv2.model.DownloadBackupRequest; +import com.volcengine.rdsmysqlv2.model.DownloadBackupResponse; +import com.volcengine.rdsmysqlv2.model.GetBackupDownloadLinkRequest; +import com.volcengine.rdsmysqlv2.model.GetBackupDownloadLinkResponse; +import com.volcengine.rdsmysqlv2.model.GrantDBAccountPrivilegeRequest; +import com.volcengine.rdsmysqlv2.model.GrantDBAccountPrivilegeResponse; +import com.volcengine.rdsmysqlv2.model.GrantDatabasePrivilegeRequest; +import com.volcengine.rdsmysqlv2.model.GrantDatabasePrivilegeResponse; +import com.volcengine.rdsmysqlv2.model.ModifyAllowListRequest; +import com.volcengine.rdsmysqlv2.model.ModifyAllowListResponse; +import com.volcengine.rdsmysqlv2.model.ModifyDBEndpointAddressRequest; +import com.volcengine.rdsmysqlv2.model.ModifyDBEndpointAddressResponse; +import com.volcengine.rdsmysqlv2.model.ModifyDBEndpointDNSRequest; +import com.volcengine.rdsmysqlv2.model.ModifyDBEndpointDNSResponse; +import com.volcengine.rdsmysqlv2.model.ModifyDBEndpointRequest; +import com.volcengine.rdsmysqlv2.model.ModifyDBEndpointResponse; +import com.volcengine.rdsmysqlv2.model.ModifyDBInstanceParametersRequest; +import com.volcengine.rdsmysqlv2.model.ModifyDBInstanceParametersResponse; +import com.volcengine.rdsmysqlv2.model.ModifyDBInstanceSpecRequest; +import com.volcengine.rdsmysqlv2.model.ModifyDBInstanceSpecResponse; +import com.volcengine.rdsmysqlv2.model.ResetDBAccountRequest; +import com.volcengine.rdsmysqlv2.model.ResetDBAccountResponse; +import com.volcengine.rdsmysqlv2.model.RestartDBInstanceRequest; +import com.volcengine.rdsmysqlv2.model.RestartDBInstanceResponse; +import com.volcengine.rdsmysqlv2.model.RestoreToNewInstanceRequest; +import com.volcengine.rdsmysqlv2.model.RestoreToNewInstanceResponse; +import com.volcengine.rdsmysqlv2.model.RevokeDBAccountPrivilegeRequest; +import com.volcengine.rdsmysqlv2.model.RevokeDBAccountPrivilegeResponse; +import com.volcengine.rdsmysqlv2.model.RevokeDatabasePrivilegeRequest; +import com.volcengine.rdsmysqlv2.model.RevokeDatabasePrivilegeResponse; +import com.volcengine.rdsmysqlv2.model.UpgradeAllowListVersionRequest; +import com.volcengine.rdsmysqlv2.model.UpgradeAllowListVersionResponse; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class RdsMysqlV2Api { + private ApiClient apiClient; + + public RdsMysqlV2Api() { + this(Configuration.getDefaultApiClient()); + } + + public RdsMysqlV2Api(ApiClient apiClient) { + this.apiClient = apiClient; + } + + public ApiClient getApiClient() { + return apiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.apiClient = apiClient; + } + + /** + * Build call for associateAllowList + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call associateAllowListCall(AssociateAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/AssociateAllowList/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call associateAllowListValidateBeforeCall(AssociateAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling associateAllowList(Async)"); + } + + com.squareup.okhttp.Call call = associateAllowListCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return AssociateAllowListResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public AssociateAllowListResponse associateAllowList(AssociateAllowListRequest body) throws ApiException { + ApiResponse resp = associateAllowListWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<AssociateAllowListResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse associateAllowListWithHttpInfo( @NotNull AssociateAllowListRequest body) throws ApiException { + com.squareup.okhttp.Call call = associateAllowListValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call associateAllowListAsync(AssociateAllowListRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = associateAllowListValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createAllowList + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createAllowListCall(CreateAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/CreateAllowList/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createAllowListValidateBeforeCall(CreateAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createAllowList(Async)"); + } + + com.squareup.okhttp.Call call = createAllowListCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return CreateAllowListResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CreateAllowListResponse createAllowList(CreateAllowListRequest body) throws ApiException { + ApiResponse resp = createAllowListWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<CreateAllowListResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createAllowListWithHttpInfo( @NotNull CreateAllowListRequest body) throws ApiException { + com.squareup.okhttp.Call call = createAllowListValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createAllowListAsync(CreateAllowListRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createAllowListValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createBackup + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createBackupCall(CreateBackupRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/CreateBackup/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createBackupValidateBeforeCall(CreateBackupRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createBackup(Async)"); + } + + com.squareup.okhttp.Call call = createBackupCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return CreateBackupResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CreateBackupResponse createBackup(CreateBackupRequest body) throws ApiException { + ApiResponse resp = createBackupWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<CreateBackupResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createBackupWithHttpInfo( @NotNull CreateBackupRequest body) throws ApiException { + com.squareup.okhttp.Call call = createBackupValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createBackupAsync(CreateBackupRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createBackupValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createDBAccount + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createDBAccountCall(CreateDBAccountRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/CreateDBAccount/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createDBAccountValidateBeforeCall(CreateDBAccountRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createDBAccount(Async)"); + } + + com.squareup.okhttp.Call call = createDBAccountCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return CreateDBAccountResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CreateDBAccountResponse createDBAccount(CreateDBAccountRequest body) throws ApiException { + ApiResponse resp = createDBAccountWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<CreateDBAccountResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createDBAccountWithHttpInfo( @NotNull CreateDBAccountRequest body) throws ApiException { + com.squareup.okhttp.Call call = createDBAccountValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createDBAccountAsync(CreateDBAccountRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createDBAccountValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createDBEndpoint + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createDBEndpointCall(CreateDBEndpointRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/CreateDBEndpoint/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createDBEndpointValidateBeforeCall(CreateDBEndpointRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createDBEndpoint(Async)"); + } + + com.squareup.okhttp.Call call = createDBEndpointCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return CreateDBEndpointResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CreateDBEndpointResponse createDBEndpoint(CreateDBEndpointRequest body) throws ApiException { + ApiResponse resp = createDBEndpointWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<CreateDBEndpointResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createDBEndpointWithHttpInfo( @NotNull CreateDBEndpointRequest body) throws ApiException { + com.squareup.okhttp.Call call = createDBEndpointValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createDBEndpointAsync(CreateDBEndpointRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createDBEndpointValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createDBEndpointPublicAddress + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createDBEndpointPublicAddressCall(CreateDBEndpointPublicAddressRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/CreateDBEndpointPublicAddress/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createDBEndpointPublicAddressValidateBeforeCall(CreateDBEndpointPublicAddressRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createDBEndpointPublicAddress(Async)"); + } + + com.squareup.okhttp.Call call = createDBEndpointPublicAddressCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return CreateDBEndpointPublicAddressResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CreateDBEndpointPublicAddressResponse createDBEndpointPublicAddress(CreateDBEndpointPublicAddressRequest body) throws ApiException { + ApiResponse resp = createDBEndpointPublicAddressWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<CreateDBEndpointPublicAddressResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createDBEndpointPublicAddressWithHttpInfo( @NotNull CreateDBEndpointPublicAddressRequest body) throws ApiException { + com.squareup.okhttp.Call call = createDBEndpointPublicAddressValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createDBEndpointPublicAddressAsync(CreateDBEndpointPublicAddressRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createDBEndpointPublicAddressValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createDBInstance + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createDBInstanceCall(CreateDBInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/CreateDBInstance/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createDBInstanceValidateBeforeCall(CreateDBInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createDBInstance(Async)"); + } + + com.squareup.okhttp.Call call = createDBInstanceCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return CreateDBInstanceResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CreateDBInstanceResponse createDBInstance(CreateDBInstanceRequest body) throws ApiException { + ApiResponse resp = createDBInstanceWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<CreateDBInstanceResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createDBInstanceWithHttpInfo( @NotNull CreateDBInstanceRequest body) throws ApiException { + com.squareup.okhttp.Call call = createDBInstanceValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createDBInstanceAsync(CreateDBInstanceRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createDBInstanceValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for createDatabase + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call createDatabaseCall(CreateDatabaseRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/CreateDatabase/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call createDatabaseValidateBeforeCall(CreateDatabaseRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling createDatabase(Async)"); + } + + com.squareup.okhttp.Call call = createDatabaseCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return CreateDatabaseResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public CreateDatabaseResponse createDatabase(CreateDatabaseRequest body) throws ApiException { + ApiResponse resp = createDatabaseWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<CreateDatabaseResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse createDatabaseWithHttpInfo( @NotNull CreateDatabaseRequest body) throws ApiException { + com.squareup.okhttp.Call call = createDatabaseValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call createDatabaseAsync(CreateDatabaseRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = createDatabaseValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteAllowList + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteAllowListCall(DeleteAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DeleteAllowList/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteAllowListValidateBeforeCall(DeleteAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteAllowList(Async)"); + } + + com.squareup.okhttp.Call call = deleteAllowListCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DeleteAllowListResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DeleteAllowListResponse deleteAllowList(DeleteAllowListRequest body) throws ApiException { + ApiResponse resp = deleteAllowListWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DeleteAllowListResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteAllowListWithHttpInfo( @NotNull DeleteAllowListRequest body) throws ApiException { + com.squareup.okhttp.Call call = deleteAllowListValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteAllowListAsync(DeleteAllowListRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteAllowListValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteDBAccount + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteDBAccountCall(DeleteDBAccountRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DeleteDBAccount/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteDBAccountValidateBeforeCall(DeleteDBAccountRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteDBAccount(Async)"); + } + + com.squareup.okhttp.Call call = deleteDBAccountCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DeleteDBAccountResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DeleteDBAccountResponse deleteDBAccount(DeleteDBAccountRequest body) throws ApiException { + ApiResponse resp = deleteDBAccountWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DeleteDBAccountResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteDBAccountWithHttpInfo( @NotNull DeleteDBAccountRequest body) throws ApiException { + com.squareup.okhttp.Call call = deleteDBAccountValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteDBAccountAsync(DeleteDBAccountRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteDBAccountValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteDBEndpoint + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteDBEndpointCall(DeleteDBEndpointRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DeleteDBEndpoint/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteDBEndpointValidateBeforeCall(DeleteDBEndpointRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteDBEndpoint(Async)"); + } + + com.squareup.okhttp.Call call = deleteDBEndpointCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DeleteDBEndpointResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DeleteDBEndpointResponse deleteDBEndpoint(DeleteDBEndpointRequest body) throws ApiException { + ApiResponse resp = deleteDBEndpointWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DeleteDBEndpointResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteDBEndpointWithHttpInfo( @NotNull DeleteDBEndpointRequest body) throws ApiException { + com.squareup.okhttp.Call call = deleteDBEndpointValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteDBEndpointAsync(DeleteDBEndpointRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteDBEndpointValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteDBEndpointPublicAddress + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteDBEndpointPublicAddressCall(DeleteDBEndpointPublicAddressRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DeleteDBEndpointPublicAddress/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteDBEndpointPublicAddressValidateBeforeCall(DeleteDBEndpointPublicAddressRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteDBEndpointPublicAddress(Async)"); + } + + com.squareup.okhttp.Call call = deleteDBEndpointPublicAddressCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DeleteDBEndpointPublicAddressResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DeleteDBEndpointPublicAddressResponse deleteDBEndpointPublicAddress(DeleteDBEndpointPublicAddressRequest body) throws ApiException { + ApiResponse resp = deleteDBEndpointPublicAddressWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DeleteDBEndpointPublicAddressResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteDBEndpointPublicAddressWithHttpInfo( @NotNull DeleteDBEndpointPublicAddressRequest body) throws ApiException { + com.squareup.okhttp.Call call = deleteDBEndpointPublicAddressValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteDBEndpointPublicAddressAsync(DeleteDBEndpointPublicAddressRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteDBEndpointPublicAddressValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteDBInstance + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteDBInstanceCall(DeleteDBInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DeleteDBInstance/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteDBInstanceValidateBeforeCall(DeleteDBInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteDBInstance(Async)"); + } + + com.squareup.okhttp.Call call = deleteDBInstanceCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DeleteDBInstanceResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DeleteDBInstanceResponse deleteDBInstance(DeleteDBInstanceRequest body) throws ApiException { + ApiResponse resp = deleteDBInstanceWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DeleteDBInstanceResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteDBInstanceWithHttpInfo( @NotNull DeleteDBInstanceRequest body) throws ApiException { + com.squareup.okhttp.Call call = deleteDBInstanceValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteDBInstanceAsync(DeleteDBInstanceRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteDBInstanceValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for deleteDatabase + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call deleteDatabaseCall(DeleteDatabaseRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DeleteDatabase/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call deleteDatabaseValidateBeforeCall(DeleteDatabaseRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling deleteDatabase(Async)"); + } + + com.squareup.okhttp.Call call = deleteDatabaseCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DeleteDatabaseResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DeleteDatabaseResponse deleteDatabase(DeleteDatabaseRequest body) throws ApiException { + ApiResponse resp = deleteDatabaseWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DeleteDatabaseResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse deleteDatabaseWithHttpInfo( @NotNull DeleteDatabaseRequest body) throws ApiException { + com.squareup.okhttp.Call call = deleteDatabaseValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call deleteDatabaseAsync(DeleteDatabaseRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = deleteDatabaseValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeAllowListDetail + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeAllowListDetailCall(DescribeAllowListDetailRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeAllowListDetail/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeAllowListDetailValidateBeforeCall(DescribeAllowListDetailRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeAllowListDetail(Async)"); + } + + com.squareup.okhttp.Call call = describeAllowListDetailCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeAllowListDetailResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeAllowListDetailResponse describeAllowListDetail(DescribeAllowListDetailRequest body) throws ApiException { + ApiResponse resp = describeAllowListDetailWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeAllowListDetailResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeAllowListDetailWithHttpInfo( @NotNull DescribeAllowListDetailRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeAllowListDetailValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeAllowListDetailAsync(DescribeAllowListDetailRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeAllowListDetailValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeAllowLists + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeAllowListsCall(DescribeAllowListsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeAllowLists/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeAllowListsValidateBeforeCall(DescribeAllowListsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeAllowLists(Async)"); + } + + com.squareup.okhttp.Call call = describeAllowListsCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeAllowListsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeAllowListsResponse describeAllowLists(DescribeAllowListsRequest body) throws ApiException { + ApiResponse resp = describeAllowListsWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeAllowListsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeAllowListsWithHttpInfo( @NotNull DescribeAllowListsRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeAllowListsValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeAllowListsAsync(DescribeAllowListsRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeAllowListsValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeAvailabilityZones + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeAvailabilityZonesCall(DescribeAvailabilityZonesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeAvailabilityZones/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeAvailabilityZonesValidateBeforeCall(DescribeAvailabilityZonesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeAvailabilityZones(Async)"); + } + + com.squareup.okhttp.Call call = describeAvailabilityZonesCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeAvailabilityZonesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeAvailabilityZonesResponse describeAvailabilityZones(DescribeAvailabilityZonesRequest body) throws ApiException { + ApiResponse resp = describeAvailabilityZonesWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeAvailabilityZonesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeAvailabilityZonesWithHttpInfo( @NotNull DescribeAvailabilityZonesRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeAvailabilityZonesValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeAvailabilityZonesAsync(DescribeAvailabilityZonesRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeAvailabilityZonesValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeBackups + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeBackupsCall(DescribeBackupsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeBackups/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeBackupsValidateBeforeCall(DescribeBackupsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeBackups(Async)"); + } + + com.squareup.okhttp.Call call = describeBackupsCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeBackupsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeBackupsResponse describeBackups(DescribeBackupsRequest body) throws ApiException { + ApiResponse resp = describeBackupsWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeBackupsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeBackupsWithHttpInfo( @NotNull DescribeBackupsRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeBackupsValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeBackupsAsync(DescribeBackupsRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeBackupsValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeDBAccounts + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeDBAccountsCall(DescribeDBAccountsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeDBAccounts/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeDBAccountsValidateBeforeCall(DescribeDBAccountsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeDBAccounts(Async)"); + } + + com.squareup.okhttp.Call call = describeDBAccountsCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeDBAccountsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeDBAccountsResponse describeDBAccounts(DescribeDBAccountsRequest body) throws ApiException { + ApiResponse resp = describeDBAccountsWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeDBAccountsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeDBAccountsWithHttpInfo( @NotNull DescribeDBAccountsRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeDBAccountsValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeDBAccountsAsync(DescribeDBAccountsRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeDBAccountsValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeDBInstanceDetail + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeDBInstanceDetailCall(DescribeDBInstanceDetailRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeDBInstanceDetail/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeDBInstanceDetailValidateBeforeCall(DescribeDBInstanceDetailRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeDBInstanceDetail(Async)"); + } + + com.squareup.okhttp.Call call = describeDBInstanceDetailCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeDBInstanceDetailResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeDBInstanceDetailResponse describeDBInstanceDetail(DescribeDBInstanceDetailRequest body) throws ApiException { + ApiResponse resp = describeDBInstanceDetailWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeDBInstanceDetailResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeDBInstanceDetailWithHttpInfo( @NotNull DescribeDBInstanceDetailRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeDBInstanceDetailValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeDBInstanceDetailAsync(DescribeDBInstanceDetailRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeDBInstanceDetailValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeDBInstanceParameters + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeDBInstanceParametersCall(DescribeDBInstanceParametersRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeDBInstanceParameters/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeDBInstanceParametersValidateBeforeCall(DescribeDBInstanceParametersRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeDBInstanceParameters(Async)"); + } + + com.squareup.okhttp.Call call = describeDBInstanceParametersCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeDBInstanceParametersResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeDBInstanceParametersResponse describeDBInstanceParameters(DescribeDBInstanceParametersRequest body) throws ApiException { + ApiResponse resp = describeDBInstanceParametersWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeDBInstanceParametersResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeDBInstanceParametersWithHttpInfo( @NotNull DescribeDBInstanceParametersRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeDBInstanceParametersValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeDBInstanceParametersAsync(DescribeDBInstanceParametersRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeDBInstanceParametersValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeDBInstanceParametersLog + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeDBInstanceParametersLogCall(DescribeDBInstanceParametersLogRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeDBInstanceParametersLog/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeDBInstanceParametersLogValidateBeforeCall(DescribeDBInstanceParametersLogRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeDBInstanceParametersLog(Async)"); + } + + com.squareup.okhttp.Call call = describeDBInstanceParametersLogCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeDBInstanceParametersLogResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeDBInstanceParametersLogResponse describeDBInstanceParametersLog(DescribeDBInstanceParametersLogRequest body) throws ApiException { + ApiResponse resp = describeDBInstanceParametersLogWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeDBInstanceParametersLogResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeDBInstanceParametersLogWithHttpInfo( @NotNull DescribeDBInstanceParametersLogRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeDBInstanceParametersLogValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeDBInstanceParametersLogAsync(DescribeDBInstanceParametersLogRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeDBInstanceParametersLogValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeDBInstances + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeDBInstancesCall(DescribeDBInstancesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeDBInstances/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeDBInstancesValidateBeforeCall(DescribeDBInstancesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeDBInstances(Async)"); + } + + com.squareup.okhttp.Call call = describeDBInstancesCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeDBInstancesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeDBInstancesResponse describeDBInstances(DescribeDBInstancesRequest body) throws ApiException { + ApiResponse resp = describeDBInstancesWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeDBInstancesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeDBInstancesWithHttpInfo( @NotNull DescribeDBInstancesRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeDBInstancesValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeDBInstancesAsync(DescribeDBInstancesRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeDBInstancesValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeDatabases + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeDatabasesCall(DescribeDatabasesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeDatabases/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeDatabasesValidateBeforeCall(DescribeDatabasesRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeDatabases(Async)"); + } + + com.squareup.okhttp.Call call = describeDatabasesCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeDatabasesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeDatabasesResponse describeDatabases(DescribeDatabasesRequest body) throws ApiException { + ApiResponse resp = describeDatabasesWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeDatabasesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeDatabasesWithHttpInfo( @NotNull DescribeDatabasesRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeDatabasesValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeDatabasesAsync(DescribeDatabasesRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeDatabasesValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeRecoverableTime + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeRecoverableTimeCall(DescribeRecoverableTimeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeRecoverableTime/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeRecoverableTimeValidateBeforeCall(DescribeRecoverableTimeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeRecoverableTime(Async)"); + } + + com.squareup.okhttp.Call call = describeRecoverableTimeCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeRecoverableTimeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeRecoverableTimeResponse describeRecoverableTime(DescribeRecoverableTimeRequest body) throws ApiException { + ApiResponse resp = describeRecoverableTimeWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeRecoverableTimeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeRecoverableTimeWithHttpInfo( @NotNull DescribeRecoverableTimeRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeRecoverableTimeValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeRecoverableTimeAsync(DescribeRecoverableTimeRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeRecoverableTimeValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for describeRegions + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call describeRegionsCall(DescribeRegionsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeRegions/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call describeRegionsValidateBeforeCall(DescribeRegionsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling describeRegions(Async)"); + } + + com.squareup.okhttp.Call call = describeRegionsCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeRegionsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeRegionsResponse describeRegions(DescribeRegionsRequest body) throws ApiException { + ApiResponse resp = describeRegionsWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeRegionsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeRegionsWithHttpInfo( @NotNull DescribeRegionsRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeRegionsValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call describeRegionsAsync(DescribeRegionsRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = describeRegionsValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for disassociateAllowList + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call disassociateAllowListCall(DisassociateAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DisassociateAllowList/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call disassociateAllowListValidateBeforeCall(DisassociateAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling disassociateAllowList(Async)"); + } + + com.squareup.okhttp.Call call = disassociateAllowListCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DisassociateAllowListResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DisassociateAllowListResponse disassociateAllowList(DisassociateAllowListRequest body) throws ApiException { + ApiResponse resp = disassociateAllowListWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DisassociateAllowListResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse disassociateAllowListWithHttpInfo( @NotNull DisassociateAllowListRequest body) throws ApiException { + com.squareup.okhttp.Call call = disassociateAllowListValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call disassociateAllowListAsync(DisassociateAllowListRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = disassociateAllowListValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for downloadBackup + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call downloadBackupCall(DownloadBackupRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DownloadBackup/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call downloadBackupValidateBeforeCall(DownloadBackupRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling downloadBackup(Async)"); + } + + com.squareup.okhttp.Call call = downloadBackupCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DownloadBackupResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DownloadBackupResponse downloadBackup(DownloadBackupRequest body) throws ApiException { + ApiResponse resp = downloadBackupWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DownloadBackupResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse downloadBackupWithHttpInfo( @NotNull DownloadBackupRequest body) throws ApiException { + com.squareup.okhttp.Call call = downloadBackupValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call downloadBackupAsync(DownloadBackupRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = downloadBackupValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for getBackupDownloadLink + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call getBackupDownloadLinkCall(GetBackupDownloadLinkRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/GetBackupDownloadLink/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call getBackupDownloadLinkValidateBeforeCall(GetBackupDownloadLinkRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling getBackupDownloadLink(Async)"); + } + + com.squareup.okhttp.Call call = getBackupDownloadLinkCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return GetBackupDownloadLinkResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GetBackupDownloadLinkResponse getBackupDownloadLink(GetBackupDownloadLinkRequest body) throws ApiException { + ApiResponse resp = getBackupDownloadLinkWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<GetBackupDownloadLinkResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse getBackupDownloadLinkWithHttpInfo( @NotNull GetBackupDownloadLinkRequest body) throws ApiException { + com.squareup.okhttp.Call call = getBackupDownloadLinkValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call getBackupDownloadLinkAsync(GetBackupDownloadLinkRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = getBackupDownloadLinkValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for grantDBAccountPrivilege + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call grantDBAccountPrivilegeCall(GrantDBAccountPrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/GrantDBAccountPrivilege/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call grantDBAccountPrivilegeValidateBeforeCall(GrantDBAccountPrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling grantDBAccountPrivilege(Async)"); + } + + com.squareup.okhttp.Call call = grantDBAccountPrivilegeCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return GrantDBAccountPrivilegeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GrantDBAccountPrivilegeResponse grantDBAccountPrivilege(GrantDBAccountPrivilegeRequest body) throws ApiException { + ApiResponse resp = grantDBAccountPrivilegeWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<GrantDBAccountPrivilegeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse grantDBAccountPrivilegeWithHttpInfo( @NotNull GrantDBAccountPrivilegeRequest body) throws ApiException { + com.squareup.okhttp.Call call = grantDBAccountPrivilegeValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call grantDBAccountPrivilegeAsync(GrantDBAccountPrivilegeRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = grantDBAccountPrivilegeValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for grantDatabasePrivilege + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call grantDatabasePrivilegeCall(GrantDatabasePrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/GrantDatabasePrivilege/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call grantDatabasePrivilegeValidateBeforeCall(GrantDatabasePrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling grantDatabasePrivilege(Async)"); + } + + com.squareup.okhttp.Call call = grantDatabasePrivilegeCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return GrantDatabasePrivilegeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public GrantDatabasePrivilegeResponse grantDatabasePrivilege(GrantDatabasePrivilegeRequest body) throws ApiException { + ApiResponse resp = grantDatabasePrivilegeWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<GrantDatabasePrivilegeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse grantDatabasePrivilegeWithHttpInfo( @NotNull GrantDatabasePrivilegeRequest body) throws ApiException { + com.squareup.okhttp.Call call = grantDatabasePrivilegeValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call grantDatabasePrivilegeAsync(GrantDatabasePrivilegeRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = grantDatabasePrivilegeValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for modifyAllowList + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call modifyAllowListCall(ModifyAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyAllowList/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call modifyAllowListValidateBeforeCall(ModifyAllowListRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling modifyAllowList(Async)"); + } + + com.squareup.okhttp.Call call = modifyAllowListCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyAllowListResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyAllowListResponse modifyAllowList(ModifyAllowListRequest body) throws ApiException { + ApiResponse resp = modifyAllowListWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyAllowListResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyAllowListWithHttpInfo( @NotNull ModifyAllowListRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyAllowListValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call modifyAllowListAsync(ModifyAllowListRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = modifyAllowListValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for modifyDBEndpoint + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call modifyDBEndpointCall(ModifyDBEndpointRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyDBEndpoint/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call modifyDBEndpointValidateBeforeCall(ModifyDBEndpointRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling modifyDBEndpoint(Async)"); + } + + com.squareup.okhttp.Call call = modifyDBEndpointCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyDBEndpointResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyDBEndpointResponse modifyDBEndpoint(ModifyDBEndpointRequest body) throws ApiException { + ApiResponse resp = modifyDBEndpointWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyDBEndpointResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyDBEndpointWithHttpInfo( @NotNull ModifyDBEndpointRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyDBEndpointValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call modifyDBEndpointAsync(ModifyDBEndpointRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = modifyDBEndpointValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for modifyDBEndpointAddress + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call modifyDBEndpointAddressCall(ModifyDBEndpointAddressRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyDBEndpointAddress/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call modifyDBEndpointAddressValidateBeforeCall(ModifyDBEndpointAddressRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling modifyDBEndpointAddress(Async)"); + } + + com.squareup.okhttp.Call call = modifyDBEndpointAddressCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyDBEndpointAddressResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyDBEndpointAddressResponse modifyDBEndpointAddress(ModifyDBEndpointAddressRequest body) throws ApiException { + ApiResponse resp = modifyDBEndpointAddressWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyDBEndpointAddressResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyDBEndpointAddressWithHttpInfo( @NotNull ModifyDBEndpointAddressRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyDBEndpointAddressValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call modifyDBEndpointAddressAsync(ModifyDBEndpointAddressRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = modifyDBEndpointAddressValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for modifyDBEndpointDNS + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call modifyDBEndpointDNSCall(ModifyDBEndpointDNSRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyDBEndpointDNS/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call modifyDBEndpointDNSValidateBeforeCall(ModifyDBEndpointDNSRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling modifyDBEndpointDNS(Async)"); + } + + com.squareup.okhttp.Call call = modifyDBEndpointDNSCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyDBEndpointDNSResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyDBEndpointDNSResponse modifyDBEndpointDNS(ModifyDBEndpointDNSRequest body) throws ApiException { + ApiResponse resp = modifyDBEndpointDNSWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyDBEndpointDNSResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyDBEndpointDNSWithHttpInfo( @NotNull ModifyDBEndpointDNSRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyDBEndpointDNSValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call modifyDBEndpointDNSAsync(ModifyDBEndpointDNSRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = modifyDBEndpointDNSValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for modifyDBInstanceParameters + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call modifyDBInstanceParametersCall(ModifyDBInstanceParametersRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyDBInstanceParameters/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call modifyDBInstanceParametersValidateBeforeCall(ModifyDBInstanceParametersRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling modifyDBInstanceParameters(Async)"); + } + + com.squareup.okhttp.Call call = modifyDBInstanceParametersCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyDBInstanceParametersResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyDBInstanceParametersResponse modifyDBInstanceParameters(ModifyDBInstanceParametersRequest body) throws ApiException { + ApiResponse resp = modifyDBInstanceParametersWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyDBInstanceParametersResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyDBInstanceParametersWithHttpInfo( @NotNull ModifyDBInstanceParametersRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyDBInstanceParametersValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call modifyDBInstanceParametersAsync(ModifyDBInstanceParametersRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = modifyDBInstanceParametersValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for modifyDBInstanceSpec + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call modifyDBInstanceSpecCall(ModifyDBInstanceSpecRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyDBInstanceSpec/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call modifyDBInstanceSpecValidateBeforeCall(ModifyDBInstanceSpecRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling modifyDBInstanceSpec(Async)"); + } + + com.squareup.okhttp.Call call = modifyDBInstanceSpecCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyDBInstanceSpecResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyDBInstanceSpecResponse modifyDBInstanceSpec(ModifyDBInstanceSpecRequest body) throws ApiException { + ApiResponse resp = modifyDBInstanceSpecWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyDBInstanceSpecResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyDBInstanceSpecWithHttpInfo( @NotNull ModifyDBInstanceSpecRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyDBInstanceSpecValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call modifyDBInstanceSpecAsync(ModifyDBInstanceSpecRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = modifyDBInstanceSpecValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for resetDBAccount + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call resetDBAccountCall(ResetDBAccountRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ResetDBAccount/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call resetDBAccountValidateBeforeCall(ResetDBAccountRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling resetDBAccount(Async)"); + } + + com.squareup.okhttp.Call call = resetDBAccountCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ResetDBAccountResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ResetDBAccountResponse resetDBAccount(ResetDBAccountRequest body) throws ApiException { + ApiResponse resp = resetDBAccountWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ResetDBAccountResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse resetDBAccountWithHttpInfo( @NotNull ResetDBAccountRequest body) throws ApiException { + com.squareup.okhttp.Call call = resetDBAccountValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call resetDBAccountAsync(ResetDBAccountRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = resetDBAccountValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for restartDBInstance + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call restartDBInstanceCall(RestartDBInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/RestartDBInstance/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call restartDBInstanceValidateBeforeCall(RestartDBInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling restartDBInstance(Async)"); + } + + com.squareup.okhttp.Call call = restartDBInstanceCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return RestartDBInstanceResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public RestartDBInstanceResponse restartDBInstance(RestartDBInstanceRequest body) throws ApiException { + ApiResponse resp = restartDBInstanceWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<RestartDBInstanceResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse restartDBInstanceWithHttpInfo( @NotNull RestartDBInstanceRequest body) throws ApiException { + com.squareup.okhttp.Call call = restartDBInstanceValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call restartDBInstanceAsync(RestartDBInstanceRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = restartDBInstanceValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for restoreToNewInstance + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call restoreToNewInstanceCall(RestoreToNewInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/RestoreToNewInstance/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call restoreToNewInstanceValidateBeforeCall(RestoreToNewInstanceRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling restoreToNewInstance(Async)"); + } + + com.squareup.okhttp.Call call = restoreToNewInstanceCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return RestoreToNewInstanceResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public RestoreToNewInstanceResponse restoreToNewInstance(RestoreToNewInstanceRequest body) throws ApiException { + ApiResponse resp = restoreToNewInstanceWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<RestoreToNewInstanceResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse restoreToNewInstanceWithHttpInfo( @NotNull RestoreToNewInstanceRequest body) throws ApiException { + com.squareup.okhttp.Call call = restoreToNewInstanceValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call restoreToNewInstanceAsync(RestoreToNewInstanceRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = restoreToNewInstanceValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for revokeDBAccountPrivilege + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call revokeDBAccountPrivilegeCall(RevokeDBAccountPrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/RevokeDBAccountPrivilege/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call revokeDBAccountPrivilegeValidateBeforeCall(RevokeDBAccountPrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling revokeDBAccountPrivilege(Async)"); + } + + com.squareup.okhttp.Call call = revokeDBAccountPrivilegeCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return RevokeDBAccountPrivilegeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public RevokeDBAccountPrivilegeResponse revokeDBAccountPrivilege(RevokeDBAccountPrivilegeRequest body) throws ApiException { + ApiResponse resp = revokeDBAccountPrivilegeWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<RevokeDBAccountPrivilegeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse revokeDBAccountPrivilegeWithHttpInfo( @NotNull RevokeDBAccountPrivilegeRequest body) throws ApiException { + com.squareup.okhttp.Call call = revokeDBAccountPrivilegeValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call revokeDBAccountPrivilegeAsync(RevokeDBAccountPrivilegeRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = revokeDBAccountPrivilegeValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for revokeDatabasePrivilege + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call revokeDatabasePrivilegeCall(RevokeDatabasePrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/RevokeDatabasePrivilege/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call revokeDatabasePrivilegeValidateBeforeCall(RevokeDatabasePrivilegeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling revokeDatabasePrivilege(Async)"); + } + + com.squareup.okhttp.Call call = revokeDatabasePrivilegeCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return RevokeDatabasePrivilegeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public RevokeDatabasePrivilegeResponse revokeDatabasePrivilege(RevokeDatabasePrivilegeRequest body) throws ApiException { + ApiResponse resp = revokeDatabasePrivilegeWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<RevokeDatabasePrivilegeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse revokeDatabasePrivilegeWithHttpInfo( @NotNull RevokeDatabasePrivilegeRequest body) throws ApiException { + com.squareup.okhttp.Call call = revokeDatabasePrivilegeValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call revokeDatabasePrivilegeAsync(RevokeDatabasePrivilegeRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = revokeDatabasePrivilegeValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for upgradeAllowListVersion + * @param body (required) + * @param progressListener Progress listener + * @param progressRequestListener Progress request listener + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + */ + public com.squareup.okhttp.Call upgradeAllowListVersionCall(UpgradeAllowListVersionRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/UpgradeAllowListVersion/2022-01-01/rds_mysql/post/"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + + Map localVarHeaderParams = new HashMap(); + + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = { + "application/json" + }; + final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept); + + final String[] localVarContentTypes = { + "application/json" + }; + final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); + localVarHeaderParams.put("Content-Type", localVarContentType); + + if(progressListener != null) { + apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() { + @Override + public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException { + com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request()); + return originalResponse.newBuilder() + .body(new ProgressResponseBody(originalResponse.body(), progressListener)) + .build(); + } + }); + } + + String[] localVarAuthNames = new String[] { "volcengineSign" }; + return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); + } + + @SuppressWarnings("rawtypes") + private com.squareup.okhttp.Call upgradeAllowListVersionValidateBeforeCall(UpgradeAllowListVersionRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException("Missing the required parameter 'body' when calling upgradeAllowListVersion(Async)"); + } + + com.squareup.okhttp.Call call = upgradeAllowListVersionCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return UpgradeAllowListVersionResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public UpgradeAllowListVersionResponse upgradeAllowListVersion(UpgradeAllowListVersionRequest body) throws ApiException { + ApiResponse resp = upgradeAllowListVersionWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<UpgradeAllowListVersionResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse upgradeAllowListVersionWithHttpInfo( @NotNull UpgradeAllowListVersionRequest body) throws ApiException { + com.squareup.okhttp.Call call = upgradeAllowListVersionValidateBeforeCall(body, null, null); + Type localVarReturnType = new TypeToken(){}.getType(); + return apiClient.execute(call, localVarReturnType); + } + + /** + * (asynchronously) + * + * @param body (required) + * @param callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + */ + public com.squareup.okhttp.Call upgradeAllowListVersionAsync(UpgradeAllowListVersionRequest body, final ApiCallback callback) throws ApiException { + + ProgressResponseBody.ProgressListener progressListener = null; + ProgressRequestBody.ProgressRequestListener progressRequestListener = null; + + if (callback != null) { + progressListener = new ProgressResponseBody.ProgressListener() { + @Override + public void update(long bytesRead, long contentLength, boolean done) { + callback.onDownloadProgress(bytesRead, contentLength, done); + } + }; + + progressRequestListener = new ProgressRequestBody.ProgressRequestListener() { + @Override + public void onRequestProgress(long bytesWritten, long contentLength, boolean done) { + callback.onUploadProgress(bytesWritten, contentLength, done); + } + }; + } + + com.squareup.okhttp.Call call = upgradeAllowListVersionValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountForDescribeDBAccountsOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountForDescribeDBAccountsOutput.java new file mode 100644 index 00000000..8a88101b --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountForDescribeDBAccountsOutput.java @@ -0,0 +1,151 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AccountPrivilegeForDescribeDBAccountsOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AccountForDescribeDBAccountsOutput + */ + + +public class AccountForDescribeDBAccountsOutput { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPrivileges") + private List accountPrivileges = null; + + @SerializedName("AccountType") + private String accountType = null; + + public AccountForDescribeDBAccountsOutput accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @Schema(description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public AccountForDescribeDBAccountsOutput accountPrivileges(List accountPrivileges) { + this.accountPrivileges = accountPrivileges; + return this; + } + + public AccountForDescribeDBAccountsOutput addAccountPrivilegesItem(AccountPrivilegeForDescribeDBAccountsOutput accountPrivilegesItem) { + if (this.accountPrivileges == null) { + this.accountPrivileges = new ArrayList(); + } + this.accountPrivileges.add(accountPrivilegesItem); + return this; + } + + /** + * Get accountPrivileges + * @return accountPrivileges + **/ + @Valid + @Schema(description = "") + public List getAccountPrivileges() { + return accountPrivileges; + } + + public void setAccountPrivileges(List accountPrivileges) { + this.accountPrivileges = accountPrivileges; + } + + public AccountForDescribeDBAccountsOutput accountType(String accountType) { + this.accountType = accountType; + return this; + } + + /** + * Get accountType + * @return accountType + **/ + @Schema(description = "") + public String getAccountType() { + return accountType; + } + + public void setAccountType(String accountType) { + this.accountType = accountType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccountForDescribeDBAccountsOutput accountForDescribeDBAccountsOutput = (AccountForDescribeDBAccountsOutput) o; + return Objects.equals(this.accountName, accountForDescribeDBAccountsOutput.accountName) && + Objects.equals(this.accountPrivileges, accountForDescribeDBAccountsOutput.accountPrivileges) && + Objects.equals(this.accountType, accountForDescribeDBAccountsOutput.accountType); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, accountPrivileges, accountType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountForDescribeDBAccountsOutput {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" accountPrivileges: ").append(toIndentedString(accountPrivileges)).append("\n"); + sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForCreateDBAccountInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForCreateDBAccountInput.java new file mode 100644 index 00000000..579bb306 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForCreateDBAccountInput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AccountPrivilegeForCreateDBAccountInput + */ + + +public class AccountPrivilegeForCreateDBAccountInput { + @SerializedName("AccountPrivilege") + private String accountPrivilege = null; + + @SerializedName("AccountPrivilegeDetail") + private String accountPrivilegeDetail = null; + + @SerializedName("DBName") + private String dbName = null; + + public AccountPrivilegeForCreateDBAccountInput accountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + return this; + } + + /** + * Get accountPrivilege + * @return accountPrivilege + **/ + @Schema(description = "") + public String getAccountPrivilege() { + return accountPrivilege; + } + + public void setAccountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + } + + public AccountPrivilegeForCreateDBAccountInput accountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + return this; + } + + /** + * Get accountPrivilegeDetail + * @return accountPrivilegeDetail + **/ + @Schema(description = "") + public String getAccountPrivilegeDetail() { + return accountPrivilegeDetail; + } + + public void setAccountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + } + + public AccountPrivilegeForCreateDBAccountInput dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @Schema(description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccountPrivilegeForCreateDBAccountInput accountPrivilegeForCreateDBAccountInput = (AccountPrivilegeForCreateDBAccountInput) o; + return Objects.equals(this.accountPrivilege, accountPrivilegeForCreateDBAccountInput.accountPrivilege) && + Objects.equals(this.accountPrivilegeDetail, accountPrivilegeForCreateDBAccountInput.accountPrivilegeDetail) && + Objects.equals(this.dbName, accountPrivilegeForCreateDBAccountInput.dbName); + } + + @Override + public int hashCode() { + return Objects.hash(accountPrivilege, accountPrivilegeDetail, dbName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountPrivilegeForCreateDBAccountInput {\n"); + + sb.append(" accountPrivilege: ").append(toIndentedString(accountPrivilege)).append("\n"); + sb.append(" accountPrivilegeDetail: ").append(toIndentedString(accountPrivilegeDetail)).append("\n"); + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForDescribeDBAccountsOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForDescribeDBAccountsOutput.java new file mode 100644 index 00000000..41809cb9 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForDescribeDBAccountsOutput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AccountPrivilegeForDescribeDBAccountsOutput + */ + + +public class AccountPrivilegeForDescribeDBAccountsOutput { + @SerializedName("AccountPrivilege") + private String accountPrivilege = null; + + @SerializedName("AccountPrivilegeDetail") + private String accountPrivilegeDetail = null; + + @SerializedName("DBName") + private String dbName = null; + + public AccountPrivilegeForDescribeDBAccountsOutput accountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + return this; + } + + /** + * Get accountPrivilege + * @return accountPrivilege + **/ + @Schema(description = "") + public String getAccountPrivilege() { + return accountPrivilege; + } + + public void setAccountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + } + + public AccountPrivilegeForDescribeDBAccountsOutput accountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + return this; + } + + /** + * Get accountPrivilegeDetail + * @return accountPrivilegeDetail + **/ + @Schema(description = "") + public String getAccountPrivilegeDetail() { + return accountPrivilegeDetail; + } + + public void setAccountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + } + + public AccountPrivilegeForDescribeDBAccountsOutput dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @Schema(description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccountPrivilegeForDescribeDBAccountsOutput accountPrivilegeForDescribeDBAccountsOutput = (AccountPrivilegeForDescribeDBAccountsOutput) o; + return Objects.equals(this.accountPrivilege, accountPrivilegeForDescribeDBAccountsOutput.accountPrivilege) && + Objects.equals(this.accountPrivilegeDetail, accountPrivilegeForDescribeDBAccountsOutput.accountPrivilegeDetail) && + Objects.equals(this.dbName, accountPrivilegeForDescribeDBAccountsOutput.dbName); + } + + @Override + public int hashCode() { + return Objects.hash(accountPrivilege, accountPrivilegeDetail, dbName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountPrivilegeForDescribeDBAccountsOutput {\n"); + + sb.append(" accountPrivilege: ").append(toIndentedString(accountPrivilege)).append("\n"); + sb.append(" accountPrivilegeDetail: ").append(toIndentedString(accountPrivilegeDetail)).append("\n"); + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForGrantDBAccountPrivilegeInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForGrantDBAccountPrivilegeInput.java new file mode 100644 index 00000000..1a118128 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AccountPrivilegeForGrantDBAccountPrivilegeInput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AccountPrivilegeForGrantDBAccountPrivilegeInput + */ + + +public class AccountPrivilegeForGrantDBAccountPrivilegeInput { + @SerializedName("AccountPrivilege") + private String accountPrivilege = null; + + @SerializedName("AccountPrivilegeDetail") + private String accountPrivilegeDetail = null; + + @SerializedName("DBName") + private String dbName = null; + + public AccountPrivilegeForGrantDBAccountPrivilegeInput accountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + return this; + } + + /** + * Get accountPrivilege + * @return accountPrivilege + **/ + @Schema(description = "") + public String getAccountPrivilege() { + return accountPrivilege; + } + + public void setAccountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + } + + public AccountPrivilegeForGrantDBAccountPrivilegeInput accountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + return this; + } + + /** + * Get accountPrivilegeDetail + * @return accountPrivilegeDetail + **/ + @Schema(description = "") + public String getAccountPrivilegeDetail() { + return accountPrivilegeDetail; + } + + public void setAccountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + } + + public AccountPrivilegeForGrantDBAccountPrivilegeInput dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @Schema(description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccountPrivilegeForGrantDBAccountPrivilegeInput accountPrivilegeForGrantDBAccountPrivilegeInput = (AccountPrivilegeForGrantDBAccountPrivilegeInput) o; + return Objects.equals(this.accountPrivilege, accountPrivilegeForGrantDBAccountPrivilegeInput.accountPrivilege) && + Objects.equals(this.accountPrivilegeDetail, accountPrivilegeForGrantDBAccountPrivilegeInput.accountPrivilegeDetail) && + Objects.equals(this.dbName, accountPrivilegeForGrantDBAccountPrivilegeInput.dbName); + } + + @Override + public int hashCode() { + return Objects.hash(accountPrivilege, accountPrivilegeDetail, dbName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountPrivilegeForGrantDBAccountPrivilegeInput {\n"); + + sb.append(" accountPrivilege: ").append(toIndentedString(accountPrivilege)).append("\n"); + sb.append(" accountPrivilegeDetail: ").append(toIndentedString(accountPrivilegeDetail)).append("\n"); + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..9cd625cd --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,231 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AddressForDescribeDBInstanceDetailOutput + */ + + +public class AddressForDescribeDBInstanceDetailOutput { + @SerializedName("DNSVisibility") + private Boolean dnSVisibility = null; + + @SerializedName("Domain") + private String domain = null; + + @SerializedName("EipId") + private String eipId = null; + + @SerializedName("IPAddress") + private String ipAddress = null; + + @SerializedName("NetworkType") + private String networkType = null; + + @SerializedName("Port") + private String port = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + public AddressForDescribeDBInstanceDetailOutput dnSVisibility(Boolean dnSVisibility) { + this.dnSVisibility = dnSVisibility; + return this; + } + + /** + * Get dnSVisibility + * @return dnSVisibility + **/ + @Schema(description = "") + public Boolean isDnSVisibility() { + return dnSVisibility; + } + + public void setDnSVisibility(Boolean dnSVisibility) { + this.dnSVisibility = dnSVisibility; + } + + public AddressForDescribeDBInstanceDetailOutput domain(String domain) { + this.domain = domain; + return this; + } + + /** + * Get domain + * @return domain + **/ + @Schema(description = "") + public String getDomain() { + return domain; + } + + public void setDomain(String domain) { + this.domain = domain; + } + + public AddressForDescribeDBInstanceDetailOutput eipId(String eipId) { + this.eipId = eipId; + return this; + } + + /** + * Get eipId + * @return eipId + **/ + @Schema(description = "") + public String getEipId() { + return eipId; + } + + public void setEipId(String eipId) { + this.eipId = eipId; + } + + public AddressForDescribeDBInstanceDetailOutput ipAddress(String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * Get ipAddress + * @return ipAddress + **/ + @Schema(description = "") + public String getIpAddress() { + return ipAddress; + } + + public void setIpAddress(String ipAddress) { + this.ipAddress = ipAddress; + } + + public AddressForDescribeDBInstanceDetailOutput networkType(String networkType) { + this.networkType = networkType; + return this; + } + + /** + * Get networkType + * @return networkType + **/ + @Schema(description = "") + public String getNetworkType() { + return networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + } + + public AddressForDescribeDBInstanceDetailOutput port(String port) { + this.port = port; + return this; + } + + /** + * Get port + * @return port + **/ + @Schema(description = "") + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + public AddressForDescribeDBInstanceDetailOutput subnetId(String subnetId) { + this.subnetId = subnetId; + return this; + } + + /** + * Get subnetId + * @return subnetId + **/ + @Schema(description = "") + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddressForDescribeDBInstanceDetailOutput addressForDescribeDBInstanceDetailOutput = (AddressForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.dnSVisibility, addressForDescribeDBInstanceDetailOutput.dnSVisibility) && + Objects.equals(this.domain, addressForDescribeDBInstanceDetailOutput.domain) && + Objects.equals(this.eipId, addressForDescribeDBInstanceDetailOutput.eipId) && + Objects.equals(this.ipAddress, addressForDescribeDBInstanceDetailOutput.ipAddress) && + Objects.equals(this.networkType, addressForDescribeDBInstanceDetailOutput.networkType) && + Objects.equals(this.port, addressForDescribeDBInstanceDetailOutput.port) && + Objects.equals(this.subnetId, addressForDescribeDBInstanceDetailOutput.subnetId); + } + + @Override + public int hashCode() { + return Objects.hash(dnSVisibility, domain, eipId, ipAddress, networkType, port, subnetId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddressForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" dnSVisibility: ").append(toIndentedString(dnSVisibility)).append("\n"); + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append(" eipId: ").append(toIndentedString(eipId)).append("\n"); + sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n"); + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressObjectForDescribeDBInstancesOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressObjectForDescribeDBInstancesOutput.java new file mode 100644 index 00000000..13502c00 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AddressObjectForDescribeDBInstancesOutput.java @@ -0,0 +1,231 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AddressObjectForDescribeDBInstancesOutput + */ + + +public class AddressObjectForDescribeDBInstancesOutput { + @SerializedName("DNSVisibility") + private Boolean dnSVisibility = null; + + @SerializedName("Domain") + private String domain = null; + + @SerializedName("EipId") + private String eipId = null; + + @SerializedName("IPAddress") + private String ipAddress = null; + + @SerializedName("NetworkType") + private String networkType = null; + + @SerializedName("Port") + private String port = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + public AddressObjectForDescribeDBInstancesOutput dnSVisibility(Boolean dnSVisibility) { + this.dnSVisibility = dnSVisibility; + return this; + } + + /** + * Get dnSVisibility + * @return dnSVisibility + **/ + @Schema(description = "") + public Boolean isDnSVisibility() { + return dnSVisibility; + } + + public void setDnSVisibility(Boolean dnSVisibility) { + this.dnSVisibility = dnSVisibility; + } + + public AddressObjectForDescribeDBInstancesOutput domain(String domain) { + this.domain = domain; + return this; + } + + /** + * Get domain + * @return domain + **/ + @Schema(description = "") + public String getDomain() { + return domain; + } + + public void setDomain(String domain) { + this.domain = domain; + } + + public AddressObjectForDescribeDBInstancesOutput eipId(String eipId) { + this.eipId = eipId; + return this; + } + + /** + * Get eipId + * @return eipId + **/ + @Schema(description = "") + public String getEipId() { + return eipId; + } + + public void setEipId(String eipId) { + this.eipId = eipId; + } + + public AddressObjectForDescribeDBInstancesOutput ipAddress(String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * Get ipAddress + * @return ipAddress + **/ + @Schema(description = "") + public String getIpAddress() { + return ipAddress; + } + + public void setIpAddress(String ipAddress) { + this.ipAddress = ipAddress; + } + + public AddressObjectForDescribeDBInstancesOutput networkType(String networkType) { + this.networkType = networkType; + return this; + } + + /** + * Get networkType + * @return networkType + **/ + @Schema(description = "") + public String getNetworkType() { + return networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + } + + public AddressObjectForDescribeDBInstancesOutput port(String port) { + this.port = port; + return this; + } + + /** + * Get port + * @return port + **/ + @Schema(description = "") + public String getPort() { + return port; + } + + public void setPort(String port) { + this.port = port; + } + + public AddressObjectForDescribeDBInstancesOutput subnetId(String subnetId) { + this.subnetId = subnetId; + return this; + } + + /** + * Get subnetId + * @return subnetId + **/ + @Schema(description = "") + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddressObjectForDescribeDBInstancesOutput addressObjectForDescribeDBInstancesOutput = (AddressObjectForDescribeDBInstancesOutput) o; + return Objects.equals(this.dnSVisibility, addressObjectForDescribeDBInstancesOutput.dnSVisibility) && + Objects.equals(this.domain, addressObjectForDescribeDBInstancesOutput.domain) && + Objects.equals(this.eipId, addressObjectForDescribeDBInstancesOutput.eipId) && + Objects.equals(this.ipAddress, addressObjectForDescribeDBInstancesOutput.ipAddress) && + Objects.equals(this.networkType, addressObjectForDescribeDBInstancesOutput.networkType) && + Objects.equals(this.port, addressObjectForDescribeDBInstancesOutput.port) && + Objects.equals(this.subnetId, addressObjectForDescribeDBInstancesOutput.subnetId); + } + + @Override + public int hashCode() { + return Objects.hash(dnSVisibility, domain, eipId, ipAddress, networkType, port, subnetId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddressObjectForDescribeDBInstancesOutput {\n"); + + sb.append(" dnSVisibility: ").append(toIndentedString(dnSVisibility)).append("\n"); + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append(" eipId: ").append(toIndentedString(eipId)).append("\n"); + sb.append(" ipAddress: ").append(toIndentedString(ipAddress)).append("\n"); + sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n"); + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AllowListForDescribeAllowListsOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AllowListForDescribeAllowListsOutput.java new file mode 100644 index 00000000..72f85901 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AllowListForDescribeAllowListsOutput.java @@ -0,0 +1,208 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AllowListForDescribeAllowListsOutput + */ + + +public class AllowListForDescribeAllowListsOutput { + @SerializedName("AllowListDesc") + private String allowListDesc = null; + + @SerializedName("AllowListIPNum") + private Integer allowListIPNum = null; + + @SerializedName("AllowListId") + private String allowListId = null; + + @SerializedName("AllowListName") + private String allowListName = null; + + @SerializedName("AllowListType") + private String allowListType = null; + + @SerializedName("AssociatedInstanceNum") + private Integer associatedInstanceNum = null; + + public AllowListForDescribeAllowListsOutput allowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + return this; + } + + /** + * Get allowListDesc + * @return allowListDesc + **/ + @Schema(description = "") + public String getAllowListDesc() { + return allowListDesc; + } + + public void setAllowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + } + + public AllowListForDescribeAllowListsOutput allowListIPNum(Integer allowListIPNum) { + this.allowListIPNum = allowListIPNum; + return this; + } + + /** + * Get allowListIPNum + * @return allowListIPNum + **/ + @Schema(description = "") + public Integer getAllowListIPNum() { + return allowListIPNum; + } + + public void setAllowListIPNum(Integer allowListIPNum) { + this.allowListIPNum = allowListIPNum; + } + + public AllowListForDescribeAllowListsOutput allowListId(String allowListId) { + this.allowListId = allowListId; + return this; + } + + /** + * Get allowListId + * @return allowListId + **/ + @Schema(description = "") + public String getAllowListId() { + return allowListId; + } + + public void setAllowListId(String allowListId) { + this.allowListId = allowListId; + } + + public AllowListForDescribeAllowListsOutput allowListName(String allowListName) { + this.allowListName = allowListName; + return this; + } + + /** + * Get allowListName + * @return allowListName + **/ + @Schema(description = "") + public String getAllowListName() { + return allowListName; + } + + public void setAllowListName(String allowListName) { + this.allowListName = allowListName; + } + + public AllowListForDescribeAllowListsOutput allowListType(String allowListType) { + this.allowListType = allowListType; + return this; + } + + /** + * Get allowListType + * @return allowListType + **/ + @Schema(description = "") + public String getAllowListType() { + return allowListType; + } + + public void setAllowListType(String allowListType) { + this.allowListType = allowListType; + } + + public AllowListForDescribeAllowListsOutput associatedInstanceNum(Integer associatedInstanceNum) { + this.associatedInstanceNum = associatedInstanceNum; + return this; + } + + /** + * Get associatedInstanceNum + * @return associatedInstanceNum + **/ + @Schema(description = "") + public Integer getAssociatedInstanceNum() { + return associatedInstanceNum; + } + + public void setAssociatedInstanceNum(Integer associatedInstanceNum) { + this.associatedInstanceNum = associatedInstanceNum; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AllowListForDescribeAllowListsOutput allowListForDescribeAllowListsOutput = (AllowListForDescribeAllowListsOutput) o; + return Objects.equals(this.allowListDesc, allowListForDescribeAllowListsOutput.allowListDesc) && + Objects.equals(this.allowListIPNum, allowListForDescribeAllowListsOutput.allowListIPNum) && + Objects.equals(this.allowListId, allowListForDescribeAllowListsOutput.allowListId) && + Objects.equals(this.allowListName, allowListForDescribeAllowListsOutput.allowListName) && + Objects.equals(this.allowListType, allowListForDescribeAllowListsOutput.allowListType) && + Objects.equals(this.associatedInstanceNum, allowListForDescribeAllowListsOutput.associatedInstanceNum); + } + + @Override + public int hashCode() { + return Objects.hash(allowListDesc, allowListIPNum, allowListId, allowListName, allowListType, associatedInstanceNum); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AllowListForDescribeAllowListsOutput {\n"); + + sb.append(" allowListDesc: ").append(toIndentedString(allowListDesc)).append("\n"); + sb.append(" allowListIPNum: ").append(toIndentedString(allowListIPNum)).append("\n"); + sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n"); + sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n"); + sb.append(" allowListType: ").append(toIndentedString(allowListType)).append("\n"); + sb.append(" associatedInstanceNum: ").append(toIndentedString(associatedInstanceNum)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListRequest.java new file mode 100644 index 00000000..cfcea375 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListRequest.java @@ -0,0 +1,134 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AssociateAllowListRequest + */ + + +public class AssociateAllowListRequest { + @SerializedName("AllowListIds") + private List allowListIds = null; + + @SerializedName("InstanceIds") + private List instanceIds = null; + + public AssociateAllowListRequest allowListIds(List allowListIds) { + this.allowListIds = allowListIds; + return this; + } + + public AssociateAllowListRequest addAllowListIdsItem(String allowListIdsItem) { + if (this.allowListIds == null) { + this.allowListIds = new ArrayList(); + } + this.allowListIds.add(allowListIdsItem); + return this; + } + + /** + * Get allowListIds + * @return allowListIds + **/ + @Schema(description = "") + public List getAllowListIds() { + return allowListIds; + } + + public void setAllowListIds(List allowListIds) { + this.allowListIds = allowListIds; + } + + public AssociateAllowListRequest instanceIds(List instanceIds) { + this.instanceIds = instanceIds; + return this; + } + + public AssociateAllowListRequest addInstanceIdsItem(String instanceIdsItem) { + if (this.instanceIds == null) { + this.instanceIds = new ArrayList(); + } + this.instanceIds.add(instanceIdsItem); + return this; + } + + /** + * Get instanceIds + * @return instanceIds + **/ + @Schema(description = "") + public List getInstanceIds() { + return instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AssociateAllowListRequest associateAllowListRequest = (AssociateAllowListRequest) o; + return Objects.equals(this.allowListIds, associateAllowListRequest.allowListIds) && + Objects.equals(this.instanceIds, associateAllowListRequest.instanceIds); + } + + @Override + public int hashCode() { + return Objects.hash(allowListIds, instanceIds); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AssociateAllowListRequest {\n"); + + sb.append(" allowListIds: ").append(toIndentedString(allowListIds)).append("\n"); + sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListResponse.java new file mode 100644 index 00000000..2d571ff8 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociateAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AssociateAllowListResponse + */ + + +public class AssociateAllowListResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AssociateAllowListResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociatedInstanceForDescribeAllowListDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociatedInstanceForDescribeAllowListDetailOutput.java new file mode 100644 index 00000000..11f61396 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/AssociatedInstanceForDescribeAllowListDetailOutput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AssociatedInstanceForDescribeAllowListDetailOutput + */ + + +public class AssociatedInstanceForDescribeAllowListDetailOutput { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + @SerializedName("VPC") + private String VPC = null; + + public AssociatedInstanceForDescribeAllowListDetailOutput instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public AssociatedInstanceForDescribeAllowListDetailOutput instanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + /** + * Get instanceName + * @return instanceName + **/ + @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public AssociatedInstanceForDescribeAllowListDetailOutput VPC(String VPC) { + this.VPC = VPC; + return this; + } + + /** + * Get VPC + * @return VPC + **/ + @Schema(description = "") + public String getVPC() { + return VPC; + } + + public void setVPC(String VPC) { + this.VPC = VPC; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AssociatedInstanceForDescribeAllowListDetailOutput associatedInstanceForDescribeAllowListDetailOutput = (AssociatedInstanceForDescribeAllowListDetailOutput) o; + return Objects.equals(this.instanceId, associatedInstanceForDescribeAllowListDetailOutput.instanceId) && + Objects.equals(this.instanceName, associatedInstanceForDescribeAllowListDetailOutput.instanceName) && + Objects.equals(this.VPC, associatedInstanceForDescribeAllowListDetailOutput.VPC); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, instanceName, VPC); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AssociatedInstanceForDescribeAllowListDetailOutput {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" VPC: ").append(toIndentedString(VPC)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupForDescribeBackupsOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupForDescribeBackupsOutput.java new file mode 100644 index 00000000..49817550 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupForDescribeBackupsOutput.java @@ -0,0 +1,335 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.DBTableInfoForDescribeBackupsOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * BackupForDescribeBackupsOutput + */ + + +public class BackupForDescribeBackupsOutput { + @SerializedName("BackupEndTime") + private String backupEndTime = null; + + @SerializedName("BackupFileName") + private String backupFileName = null; + + @SerializedName("BackupFileSize") + private Long backupFileSize = null; + + @SerializedName("BackupId") + private String backupId = null; + + @SerializedName("BackupMethod") + private String backupMethod = null; + + @SerializedName("BackupStartTime") + private String backupStartTime = null; + + @SerializedName("BackupStatus") + private String backupStatus = null; + + @SerializedName("BackupType") + private String backupType = null; + + @SerializedName("ConsistentTime") + private String consistentTime = null; + + @SerializedName("CreateType") + private String createType = null; + + @SerializedName("DBTableInfos") + private List dbTableInfos = null; + + public BackupForDescribeBackupsOutput backupEndTime(String backupEndTime) { + this.backupEndTime = backupEndTime; + return this; + } + + /** + * Get backupEndTime + * @return backupEndTime + **/ + @Schema(description = "") + public String getBackupEndTime() { + return backupEndTime; + } + + public void setBackupEndTime(String backupEndTime) { + this.backupEndTime = backupEndTime; + } + + public BackupForDescribeBackupsOutput backupFileName(String backupFileName) { + this.backupFileName = backupFileName; + return this; + } + + /** + * Get backupFileName + * @return backupFileName + **/ + @Schema(description = "") + public String getBackupFileName() { + return backupFileName; + } + + public void setBackupFileName(String backupFileName) { + this.backupFileName = backupFileName; + } + + public BackupForDescribeBackupsOutput backupFileSize(Long backupFileSize) { + this.backupFileSize = backupFileSize; + return this; + } + + /** + * Get backupFileSize + * @return backupFileSize + **/ + @Schema(description = "") + public Long getBackupFileSize() { + return backupFileSize; + } + + public void setBackupFileSize(Long backupFileSize) { + this.backupFileSize = backupFileSize; + } + + public BackupForDescribeBackupsOutput backupId(String backupId) { + this.backupId = backupId; + return this; + } + + /** + * Get backupId + * @return backupId + **/ + @Schema(description = "") + public String getBackupId() { + return backupId; + } + + public void setBackupId(String backupId) { + this.backupId = backupId; + } + + public BackupForDescribeBackupsOutput backupMethod(String backupMethod) { + this.backupMethod = backupMethod; + return this; + } + + /** + * Get backupMethod + * @return backupMethod + **/ + @Schema(description = "") + public String getBackupMethod() { + return backupMethod; + } + + public void setBackupMethod(String backupMethod) { + this.backupMethod = backupMethod; + } + + public BackupForDescribeBackupsOutput backupStartTime(String backupStartTime) { + this.backupStartTime = backupStartTime; + return this; + } + + /** + * Get backupStartTime + * @return backupStartTime + **/ + @Schema(description = "") + public String getBackupStartTime() { + return backupStartTime; + } + + public void setBackupStartTime(String backupStartTime) { + this.backupStartTime = backupStartTime; + } + + public BackupForDescribeBackupsOutput backupStatus(String backupStatus) { + this.backupStatus = backupStatus; + return this; + } + + /** + * Get backupStatus + * @return backupStatus + **/ + @Schema(description = "") + public String getBackupStatus() { + return backupStatus; + } + + public void setBackupStatus(String backupStatus) { + this.backupStatus = backupStatus; + } + + public BackupForDescribeBackupsOutput backupType(String backupType) { + this.backupType = backupType; + return this; + } + + /** + * Get backupType + * @return backupType + **/ + @Schema(description = "") + public String getBackupType() { + return backupType; + } + + public void setBackupType(String backupType) { + this.backupType = backupType; + } + + public BackupForDescribeBackupsOutput consistentTime(String consistentTime) { + this.consistentTime = consistentTime; + return this; + } + + /** + * Get consistentTime + * @return consistentTime + **/ + @Schema(description = "") + public String getConsistentTime() { + return consistentTime; + } + + public void setConsistentTime(String consistentTime) { + this.consistentTime = consistentTime; + } + + public BackupForDescribeBackupsOutput createType(String createType) { + this.createType = createType; + return this; + } + + /** + * Get createType + * @return createType + **/ + @Schema(description = "") + public String getCreateType() { + return createType; + } + + public void setCreateType(String createType) { + this.createType = createType; + } + + public BackupForDescribeBackupsOutput dbTableInfos(List dbTableInfos) { + this.dbTableInfos = dbTableInfos; + return this; + } + + public BackupForDescribeBackupsOutput addDbTableInfosItem(DBTableInfoForDescribeBackupsOutput dbTableInfosItem) { + if (this.dbTableInfos == null) { + this.dbTableInfos = new ArrayList(); + } + this.dbTableInfos.add(dbTableInfosItem); + return this; + } + + /** + * Get dbTableInfos + * @return dbTableInfos + **/ + @Valid + @Schema(description = "") + public List getDbTableInfos() { + return dbTableInfos; + } + + public void setDbTableInfos(List dbTableInfos) { + this.dbTableInfos = dbTableInfos; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BackupForDescribeBackupsOutput backupForDescribeBackupsOutput = (BackupForDescribeBackupsOutput) o; + return Objects.equals(this.backupEndTime, backupForDescribeBackupsOutput.backupEndTime) && + Objects.equals(this.backupFileName, backupForDescribeBackupsOutput.backupFileName) && + Objects.equals(this.backupFileSize, backupForDescribeBackupsOutput.backupFileSize) && + Objects.equals(this.backupId, backupForDescribeBackupsOutput.backupId) && + Objects.equals(this.backupMethod, backupForDescribeBackupsOutput.backupMethod) && + Objects.equals(this.backupStartTime, backupForDescribeBackupsOutput.backupStartTime) && + Objects.equals(this.backupStatus, backupForDescribeBackupsOutput.backupStatus) && + Objects.equals(this.backupType, backupForDescribeBackupsOutput.backupType) && + Objects.equals(this.consistentTime, backupForDescribeBackupsOutput.consistentTime) && + Objects.equals(this.createType, backupForDescribeBackupsOutput.createType) && + Objects.equals(this.dbTableInfos, backupForDescribeBackupsOutput.dbTableInfos); + } + + @Override + public int hashCode() { + return Objects.hash(backupEndTime, backupFileName, backupFileSize, backupId, backupMethod, backupStartTime, backupStatus, backupType, consistentTime, createType, dbTableInfos); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BackupForDescribeBackupsOutput {\n"); + + sb.append(" backupEndTime: ").append(toIndentedString(backupEndTime)).append("\n"); + sb.append(" backupFileName: ").append(toIndentedString(backupFileName)).append("\n"); + sb.append(" backupFileSize: ").append(toIndentedString(backupFileSize)).append("\n"); + sb.append(" backupId: ").append(toIndentedString(backupId)).append("\n"); + sb.append(" backupMethod: ").append(toIndentedString(backupMethod)).append("\n"); + sb.append(" backupStartTime: ").append(toIndentedString(backupStartTime)).append("\n"); + sb.append(" backupStatus: ").append(toIndentedString(backupStatus)).append("\n"); + sb.append(" backupType: ").append(toIndentedString(backupType)).append("\n"); + sb.append(" consistentTime: ").append(toIndentedString(consistentTime)).append("\n"); + sb.append(" createType: ").append(toIndentedString(createType)).append("\n"); + sb.append(" dbTableInfos: ").append(toIndentedString(dbTableInfos)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupMetaForCreateBackupInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupMetaForCreateBackupInput.java new file mode 100644 index 00000000..29a608d1 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BackupMetaForCreateBackupInput.java @@ -0,0 +1,93 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * BackupMetaForCreateBackupInput + */ + + +public class BackupMetaForCreateBackupInput { + @SerializedName("DBName") + private String dbName = null; + + public BackupMetaForCreateBackupInput dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @Schema(description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BackupMetaForCreateBackupInput backupMetaForCreateBackupInput = (BackupMetaForCreateBackupInput) o; + return Objects.equals(this.dbName, backupMetaForCreateBackupInput.dbName); + } + + @Override + public int hashCode() { + return Objects.hash(dbName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BackupMetaForCreateBackupInput {\n"); + + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BasicInfoForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BasicInfoForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..4d579485 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/BasicInfoForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,636 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.MaintenanceWindowForDescribeDBInstanceDetailOutput; +import com.volcengine.rdsmysqlv2.model.TagForDescribeDBInstanceDetailOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * BasicInfoForDescribeDBInstanceDetailOutput + */ + + +public class BasicInfoForDescribeDBInstanceDetailOutput { + @SerializedName("BackupUse") + private Double backupUse = null; + + @SerializedName("CreateTime") + private String createTime = null; + + @SerializedName("DBEngineVersion") + private String dbEngineVersion = null; + + @SerializedName("DataSyncMode") + private String dataSyncMode = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + @SerializedName("InstanceStatus") + private String instanceStatus = null; + + @SerializedName("LowerCaseTableNames") + private String lowerCaseTableNames = null; + + @SerializedName("MaintenanceWindow") + private MaintenanceWindowForDescribeDBInstanceDetailOutput maintenanceWindow = null; + + @SerializedName("Memory") + private Integer memory = null; + + @SerializedName("NodeNumber") + private String nodeNumber = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("RegionId") + private String regionId = null; + + @SerializedName("StorageSpace") + private Long storageSpace = null; + + @SerializedName("StorageType") + private String storageType = null; + + @SerializedName("StorageUse") + private Double storageUse = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + @SerializedName("Tags") + private List tags = null; + + @SerializedName("TimeZone") + private String timeZone = null; + + @SerializedName("UpdateTime") + private String updateTime = null; + + @SerializedName("VCPU") + private Integer VCPU = null; + + @SerializedName("VpcId") + private String vpcId = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public BasicInfoForDescribeDBInstanceDetailOutput backupUse(Double backupUse) { + this.backupUse = backupUse; + return this; + } + + /** + * Get backupUse + * @return backupUse + **/ + @Schema(description = "") + public Double getBackupUse() { + return backupUse; + } + + public void setBackupUse(Double backupUse) { + this.backupUse = backupUse; + } + + public BasicInfoForDescribeDBInstanceDetailOutput createTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Get createTime + * @return createTime + **/ + @Schema(description = "") + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public BasicInfoForDescribeDBInstanceDetailOutput dbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public String getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public BasicInfoForDescribeDBInstanceDetailOutput dataSyncMode(String dataSyncMode) { + this.dataSyncMode = dataSyncMode; + return this; + } + + /** + * Get dataSyncMode + * @return dataSyncMode + **/ + @Schema(description = "") + public String getDataSyncMode() { + return dataSyncMode; + } + + public void setDataSyncMode(String dataSyncMode) { + this.dataSyncMode = dataSyncMode; + } + + public BasicInfoForDescribeDBInstanceDetailOutput instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public BasicInfoForDescribeDBInstanceDetailOutput instanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + /** + * Get instanceName + * @return instanceName + **/ + @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public BasicInfoForDescribeDBInstanceDetailOutput instanceStatus(String instanceStatus) { + this.instanceStatus = instanceStatus; + return this; + } + + /** + * Get instanceStatus + * @return instanceStatus + **/ + @Schema(description = "") + public String getInstanceStatus() { + return instanceStatus; + } + + public void setInstanceStatus(String instanceStatus) { + this.instanceStatus = instanceStatus; + } + + public BasicInfoForDescribeDBInstanceDetailOutput lowerCaseTableNames(String lowerCaseTableNames) { + this.lowerCaseTableNames = lowerCaseTableNames; + return this; + } + + /** + * Get lowerCaseTableNames + * @return lowerCaseTableNames + **/ + @Schema(description = "") + public String getLowerCaseTableNames() { + return lowerCaseTableNames; + } + + public void setLowerCaseTableNames(String lowerCaseTableNames) { + this.lowerCaseTableNames = lowerCaseTableNames; + } + + public BasicInfoForDescribeDBInstanceDetailOutput maintenanceWindow(MaintenanceWindowForDescribeDBInstanceDetailOutput maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + return this; + } + + /** + * Get maintenanceWindow + * @return maintenanceWindow + **/ + @Valid + @Schema(description = "") + public MaintenanceWindowForDescribeDBInstanceDetailOutput getMaintenanceWindow() { + return maintenanceWindow; + } + + public void setMaintenanceWindow(MaintenanceWindowForDescribeDBInstanceDetailOutput maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + } + + public BasicInfoForDescribeDBInstanceDetailOutput memory(Integer memory) { + this.memory = memory; + return this; + } + + /** + * Get memory + * @return memory + **/ + @Schema(description = "") + public Integer getMemory() { + return memory; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public BasicInfoForDescribeDBInstanceDetailOutput nodeNumber(String nodeNumber) { + this.nodeNumber = nodeNumber; + return this; + } + + /** + * Get nodeNumber + * @return nodeNumber + **/ + @Schema(description = "") + public String getNodeNumber() { + return nodeNumber; + } + + public void setNodeNumber(String nodeNumber) { + this.nodeNumber = nodeNumber; + } + + public BasicInfoForDescribeDBInstanceDetailOutput nodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + return this; + } + + /** + * Get nodeSpec + * @return nodeSpec + **/ + @Schema(description = "") + public String getNodeSpec() { + return nodeSpec; + } + + public void setNodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + } + + public BasicInfoForDescribeDBInstanceDetailOutput projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public BasicInfoForDescribeDBInstanceDetailOutput regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + @Schema(description = "") + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public BasicInfoForDescribeDBInstanceDetailOutput storageSpace(Long storageSpace) { + this.storageSpace = storageSpace; + return this; + } + + /** + * Get storageSpace + * @return storageSpace + **/ + @Schema(description = "") + public Long getStorageSpace() { + return storageSpace; + } + + public void setStorageSpace(Long storageSpace) { + this.storageSpace = storageSpace; + } + + public BasicInfoForDescribeDBInstanceDetailOutput storageType(String storageType) { + this.storageType = storageType; + return this; + } + + /** + * Get storageType + * @return storageType + **/ + @Schema(description = "") + public String getStorageType() { + return storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public BasicInfoForDescribeDBInstanceDetailOutput storageUse(Double storageUse) { + this.storageUse = storageUse; + return this; + } + + /** + * Get storageUse + * @return storageUse + **/ + @Schema(description = "") + public Double getStorageUse() { + return storageUse; + } + + public void setStorageUse(Double storageUse) { + this.storageUse = storageUse; + } + + public BasicInfoForDescribeDBInstanceDetailOutput subnetId(String subnetId) { + this.subnetId = subnetId; + return this; + } + + /** + * Get subnetId + * @return subnetId + **/ + @Schema(description = "") + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + public BasicInfoForDescribeDBInstanceDetailOutput tags(List tags) { + this.tags = tags; + return this; + } + + public BasicInfoForDescribeDBInstanceDetailOutput addTagsItem(TagForDescribeDBInstanceDetailOutput tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Get tags + * @return tags + **/ + @Valid + @Schema(description = "") + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public BasicInfoForDescribeDBInstanceDetailOutput timeZone(String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * Get timeZone + * @return timeZone + **/ + @Schema(description = "") + public String getTimeZone() { + return timeZone; + } + + public void setTimeZone(String timeZone) { + this.timeZone = timeZone; + } + + public BasicInfoForDescribeDBInstanceDetailOutput updateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Get updateTime + * @return updateTime + **/ + @Schema(description = "") + public String getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + public BasicInfoForDescribeDBInstanceDetailOutput VCPU(Integer VCPU) { + this.VCPU = VCPU; + return this; + } + + /** + * Get VCPU + * @return VCPU + **/ + @Schema(description = "") + public Integer getVCPU() { + return VCPU; + } + + public void setVCPU(Integer VCPU) { + this.VCPU = VCPU; + } + + public BasicInfoForDescribeDBInstanceDetailOutput vpcId(String vpcId) { + this.vpcId = vpcId; + return this; + } + + /** + * Get vpcId + * @return vpcId + **/ + @Schema(description = "") + public String getVpcId() { + return vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public BasicInfoForDescribeDBInstanceDetailOutput zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + BasicInfoForDescribeDBInstanceDetailOutput basicInfoForDescribeDBInstanceDetailOutput = (BasicInfoForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.backupUse, basicInfoForDescribeDBInstanceDetailOutput.backupUse) && + Objects.equals(this.createTime, basicInfoForDescribeDBInstanceDetailOutput.createTime) && + Objects.equals(this.dbEngineVersion, basicInfoForDescribeDBInstanceDetailOutput.dbEngineVersion) && + Objects.equals(this.dataSyncMode, basicInfoForDescribeDBInstanceDetailOutput.dataSyncMode) && + Objects.equals(this.instanceId, basicInfoForDescribeDBInstanceDetailOutput.instanceId) && + Objects.equals(this.instanceName, basicInfoForDescribeDBInstanceDetailOutput.instanceName) && + Objects.equals(this.instanceStatus, basicInfoForDescribeDBInstanceDetailOutput.instanceStatus) && + Objects.equals(this.lowerCaseTableNames, basicInfoForDescribeDBInstanceDetailOutput.lowerCaseTableNames) && + Objects.equals(this.maintenanceWindow, basicInfoForDescribeDBInstanceDetailOutput.maintenanceWindow) && + Objects.equals(this.memory, basicInfoForDescribeDBInstanceDetailOutput.memory) && + Objects.equals(this.nodeNumber, basicInfoForDescribeDBInstanceDetailOutput.nodeNumber) && + Objects.equals(this.nodeSpec, basicInfoForDescribeDBInstanceDetailOutput.nodeSpec) && + Objects.equals(this.projectName, basicInfoForDescribeDBInstanceDetailOutput.projectName) && + Objects.equals(this.regionId, basicInfoForDescribeDBInstanceDetailOutput.regionId) && + Objects.equals(this.storageSpace, basicInfoForDescribeDBInstanceDetailOutput.storageSpace) && + Objects.equals(this.storageType, basicInfoForDescribeDBInstanceDetailOutput.storageType) && + Objects.equals(this.storageUse, basicInfoForDescribeDBInstanceDetailOutput.storageUse) && + Objects.equals(this.subnetId, basicInfoForDescribeDBInstanceDetailOutput.subnetId) && + Objects.equals(this.tags, basicInfoForDescribeDBInstanceDetailOutput.tags) && + Objects.equals(this.timeZone, basicInfoForDescribeDBInstanceDetailOutput.timeZone) && + Objects.equals(this.updateTime, basicInfoForDescribeDBInstanceDetailOutput.updateTime) && + Objects.equals(this.VCPU, basicInfoForDescribeDBInstanceDetailOutput.VCPU) && + Objects.equals(this.vpcId, basicInfoForDescribeDBInstanceDetailOutput.vpcId) && + Objects.equals(this.zoneId, basicInfoForDescribeDBInstanceDetailOutput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(backupUse, createTime, dbEngineVersion, dataSyncMode, instanceId, instanceName, instanceStatus, lowerCaseTableNames, maintenanceWindow, memory, nodeNumber, nodeSpec, projectName, regionId, storageSpace, storageType, storageUse, subnetId, tags, timeZone, updateTime, VCPU, vpcId, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class BasicInfoForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" backupUse: ").append(toIndentedString(backupUse)).append("\n"); + sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" dataSyncMode: ").append(toIndentedString(dataSyncMode)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" instanceStatus: ").append(toIndentedString(instanceStatus)).append("\n"); + sb.append(" lowerCaseTableNames: ").append(toIndentedString(lowerCaseTableNames)).append("\n"); + sb.append(" maintenanceWindow: ").append(toIndentedString(maintenanceWindow)).append("\n"); + sb.append(" memory: ").append(toIndentedString(memory)).append("\n"); + sb.append(" nodeNumber: ").append(toIndentedString(nodeNumber)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n"); + sb.append(" storageSpace: ").append(toIndentedString(storageSpace)).append("\n"); + sb.append(" storageType: ").append(toIndentedString(storageType)).append("\n"); + sb.append(" storageUse: ").append(toIndentedString(storageUse)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); + sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n"); + sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n"); + sb.append(" VCPU: ").append(toIndentedString(VCPU)).append("\n"); + sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..8327c086 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,277 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ChargeDetailForDescribeDBInstanceDetailOutput + */ + + +public class ChargeDetailForDescribeDBInstanceDetailOutput { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + @SerializedName("ChargeEndTime") + private String chargeEndTime = null; + + @SerializedName("ChargeStartTime") + private String chargeStartTime = null; + + @SerializedName("ChargeStatus") + private String chargeStatus = null; + + @SerializedName("ChargeType") + private String chargeType = null; + + @SerializedName("OverdueReclaimTime") + private String overdueReclaimTime = null; + + @SerializedName("OverdueTime") + private String overdueTime = null; + + @SerializedName("Period") + private Integer period = null; + + @SerializedName("PeriodUnit") + private String periodUnit = null; + + public ChargeDetailForDescribeDBInstanceDetailOutput autoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * Get autoRenew + * @return autoRenew + **/ + @Schema(description = "") + public Boolean isAutoRenew() { + return autoRenew; + } + + public void setAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput chargeEndTime(String chargeEndTime) { + this.chargeEndTime = chargeEndTime; + return this; + } + + /** + * Get chargeEndTime + * @return chargeEndTime + **/ + @Schema(description = "") + public String getChargeEndTime() { + return chargeEndTime; + } + + public void setChargeEndTime(String chargeEndTime) { + this.chargeEndTime = chargeEndTime; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput chargeStartTime(String chargeStartTime) { + this.chargeStartTime = chargeStartTime; + return this; + } + + /** + * Get chargeStartTime + * @return chargeStartTime + **/ + @Schema(description = "") + public String getChargeStartTime() { + return chargeStartTime; + } + + public void setChargeStartTime(String chargeStartTime) { + this.chargeStartTime = chargeStartTime; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput chargeStatus(String chargeStatus) { + this.chargeStatus = chargeStatus; + return this; + } + + /** + * Get chargeStatus + * @return chargeStatus + **/ + @Schema(description = "") + public String getChargeStatus() { + return chargeStatus; + } + + public void setChargeStatus(String chargeStatus) { + this.chargeStatus = chargeStatus; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput chargeType(String chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput overdueReclaimTime(String overdueReclaimTime) { + this.overdueReclaimTime = overdueReclaimTime; + return this; + } + + /** + * Get overdueReclaimTime + * @return overdueReclaimTime + **/ + @Schema(description = "") + public String getOverdueReclaimTime() { + return overdueReclaimTime; + } + + public void setOverdueReclaimTime(String overdueReclaimTime) { + this.overdueReclaimTime = overdueReclaimTime; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput overdueTime(String overdueTime) { + this.overdueTime = overdueTime; + return this; + } + + /** + * Get overdueTime + * @return overdueTime + **/ + @Schema(description = "") + public String getOverdueTime() { + return overdueTime; + } + + public void setOverdueTime(String overdueTime) { + this.overdueTime = overdueTime; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput period(Integer period) { + this.period = period; + return this; + } + + /** + * Get period + * @return period + **/ + @Schema(description = "") + public Integer getPeriod() { + return period; + } + + public void setPeriod(Integer period) { + this.period = period; + } + + public ChargeDetailForDescribeDBInstanceDetailOutput periodUnit(String periodUnit) { + this.periodUnit = periodUnit; + return this; + } + + /** + * Get periodUnit + * @return periodUnit + **/ + @Schema(description = "") + public String getPeriodUnit() { + return periodUnit; + } + + public void setPeriodUnit(String periodUnit) { + this.periodUnit = periodUnit; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ChargeDetailForDescribeDBInstanceDetailOutput chargeDetailForDescribeDBInstanceDetailOutput = (ChargeDetailForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.autoRenew, chargeDetailForDescribeDBInstanceDetailOutput.autoRenew) && + Objects.equals(this.chargeEndTime, chargeDetailForDescribeDBInstanceDetailOutput.chargeEndTime) && + Objects.equals(this.chargeStartTime, chargeDetailForDescribeDBInstanceDetailOutput.chargeStartTime) && + Objects.equals(this.chargeStatus, chargeDetailForDescribeDBInstanceDetailOutput.chargeStatus) && + Objects.equals(this.chargeType, chargeDetailForDescribeDBInstanceDetailOutput.chargeType) && + Objects.equals(this.overdueReclaimTime, chargeDetailForDescribeDBInstanceDetailOutput.overdueReclaimTime) && + Objects.equals(this.overdueTime, chargeDetailForDescribeDBInstanceDetailOutput.overdueTime) && + Objects.equals(this.period, chargeDetailForDescribeDBInstanceDetailOutput.period) && + Objects.equals(this.periodUnit, chargeDetailForDescribeDBInstanceDetailOutput.periodUnit); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeEndTime, chargeStartTime, chargeStatus, chargeType, overdueReclaimTime, overdueTime, period, periodUnit); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ChargeDetailForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeEndTime: ").append(toIndentedString(chargeEndTime)).append("\n"); + sb.append(" chargeStartTime: ").append(toIndentedString(chargeStartTime)).append("\n"); + sb.append(" chargeStatus: ").append(toIndentedString(chargeStatus)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" overdueReclaimTime: ").append(toIndentedString(overdueReclaimTime)).append("\n"); + sb.append(" overdueTime: ").append(toIndentedString(overdueTime)).append("\n"); + sb.append(" period: ").append(toIndentedString(period)).append("\n"); + sb.append(" periodUnit: ").append(toIndentedString(periodUnit)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstancesOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstancesOutput.java new file mode 100644 index 00000000..b9f68213 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeDetailForDescribeDBInstancesOutput.java @@ -0,0 +1,277 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ChargeDetailForDescribeDBInstancesOutput + */ + + +public class ChargeDetailForDescribeDBInstancesOutput { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + @SerializedName("ChargeEndTime") + private String chargeEndTime = null; + + @SerializedName("ChargeStartTime") + private String chargeStartTime = null; + + @SerializedName("ChargeStatus") + private String chargeStatus = null; + + @SerializedName("ChargeType") + private String chargeType = null; + + @SerializedName("OverdueReclaimTime") + private String overdueReclaimTime = null; + + @SerializedName("OverdueTime") + private String overdueTime = null; + + @SerializedName("Period") + private Integer period = null; + + @SerializedName("PeriodUnit") + private String periodUnit = null; + + public ChargeDetailForDescribeDBInstancesOutput autoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * Get autoRenew + * @return autoRenew + **/ + @Schema(description = "") + public Boolean isAutoRenew() { + return autoRenew; + } + + public void setAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + } + + public ChargeDetailForDescribeDBInstancesOutput chargeEndTime(String chargeEndTime) { + this.chargeEndTime = chargeEndTime; + return this; + } + + /** + * Get chargeEndTime + * @return chargeEndTime + **/ + @Schema(description = "") + public String getChargeEndTime() { + return chargeEndTime; + } + + public void setChargeEndTime(String chargeEndTime) { + this.chargeEndTime = chargeEndTime; + } + + public ChargeDetailForDescribeDBInstancesOutput chargeStartTime(String chargeStartTime) { + this.chargeStartTime = chargeStartTime; + return this; + } + + /** + * Get chargeStartTime + * @return chargeStartTime + **/ + @Schema(description = "") + public String getChargeStartTime() { + return chargeStartTime; + } + + public void setChargeStartTime(String chargeStartTime) { + this.chargeStartTime = chargeStartTime; + } + + public ChargeDetailForDescribeDBInstancesOutput chargeStatus(String chargeStatus) { + this.chargeStatus = chargeStatus; + return this; + } + + /** + * Get chargeStatus + * @return chargeStatus + **/ + @Schema(description = "") + public String getChargeStatus() { + return chargeStatus; + } + + public void setChargeStatus(String chargeStatus) { + this.chargeStatus = chargeStatus; + } + + public ChargeDetailForDescribeDBInstancesOutput chargeType(String chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public ChargeDetailForDescribeDBInstancesOutput overdueReclaimTime(String overdueReclaimTime) { + this.overdueReclaimTime = overdueReclaimTime; + return this; + } + + /** + * Get overdueReclaimTime + * @return overdueReclaimTime + **/ + @Schema(description = "") + public String getOverdueReclaimTime() { + return overdueReclaimTime; + } + + public void setOverdueReclaimTime(String overdueReclaimTime) { + this.overdueReclaimTime = overdueReclaimTime; + } + + public ChargeDetailForDescribeDBInstancesOutput overdueTime(String overdueTime) { + this.overdueTime = overdueTime; + return this; + } + + /** + * Get overdueTime + * @return overdueTime + **/ + @Schema(description = "") + public String getOverdueTime() { + return overdueTime; + } + + public void setOverdueTime(String overdueTime) { + this.overdueTime = overdueTime; + } + + public ChargeDetailForDescribeDBInstancesOutput period(Integer period) { + this.period = period; + return this; + } + + /** + * Get period + * @return period + **/ + @Schema(description = "") + public Integer getPeriod() { + return period; + } + + public void setPeriod(Integer period) { + this.period = period; + } + + public ChargeDetailForDescribeDBInstancesOutput periodUnit(String periodUnit) { + this.periodUnit = periodUnit; + return this; + } + + /** + * Get periodUnit + * @return periodUnit + **/ + @Schema(description = "") + public String getPeriodUnit() { + return periodUnit; + } + + public void setPeriodUnit(String periodUnit) { + this.periodUnit = periodUnit; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ChargeDetailForDescribeDBInstancesOutput chargeDetailForDescribeDBInstancesOutput = (ChargeDetailForDescribeDBInstancesOutput) o; + return Objects.equals(this.autoRenew, chargeDetailForDescribeDBInstancesOutput.autoRenew) && + Objects.equals(this.chargeEndTime, chargeDetailForDescribeDBInstancesOutput.chargeEndTime) && + Objects.equals(this.chargeStartTime, chargeDetailForDescribeDBInstancesOutput.chargeStartTime) && + Objects.equals(this.chargeStatus, chargeDetailForDescribeDBInstancesOutput.chargeStatus) && + Objects.equals(this.chargeType, chargeDetailForDescribeDBInstancesOutput.chargeType) && + Objects.equals(this.overdueReclaimTime, chargeDetailForDescribeDBInstancesOutput.overdueReclaimTime) && + Objects.equals(this.overdueTime, chargeDetailForDescribeDBInstancesOutput.overdueTime) && + Objects.equals(this.period, chargeDetailForDescribeDBInstancesOutput.period) && + Objects.equals(this.periodUnit, chargeDetailForDescribeDBInstancesOutput.periodUnit); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeEndTime, chargeStartTime, chargeStatus, chargeType, overdueReclaimTime, overdueTime, period, periodUnit); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ChargeDetailForDescribeDBInstancesOutput {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeEndTime: ").append(toIndentedString(chargeEndTime)).append("\n"); + sb.append(" chargeStartTime: ").append(toIndentedString(chargeStartTime)).append("\n"); + sb.append(" chargeStatus: ").append(toIndentedString(chargeStatus)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" overdueReclaimTime: ").append(toIndentedString(overdueReclaimTime)).append("\n"); + sb.append(" overdueTime: ").append(toIndentedString(overdueTime)).append("\n"); + sb.append(" period: ").append(toIndentedString(period)).append("\n"); + sb.append(" periodUnit: ").append(toIndentedString(periodUnit)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForCreateDBInstanceInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForCreateDBInstanceInput.java new file mode 100644 index 00000000..edd1ebe4 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForCreateDBInstanceInput.java @@ -0,0 +1,185 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ChargeInfoForCreateDBInstanceInput + */ + + +public class ChargeInfoForCreateDBInstanceInput { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + @SerializedName("ChargeType") + private String chargeType = null; + + @SerializedName("Number") + private Integer number = null; + + @SerializedName("Period") + private Integer period = null; + + @SerializedName("PeriodUnit") + private String periodUnit = null; + + public ChargeInfoForCreateDBInstanceInput autoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * Get autoRenew + * @return autoRenew + **/ + @Schema(description = "") + public Boolean isAutoRenew() { + return autoRenew; + } + + public void setAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + } + + public ChargeInfoForCreateDBInstanceInput chargeType(String chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public ChargeInfoForCreateDBInstanceInput number(Integer number) { + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @Schema(description = "") + public Integer getNumber() { + return number; + } + + public void setNumber(Integer number) { + this.number = number; + } + + public ChargeInfoForCreateDBInstanceInput period(Integer period) { + this.period = period; + return this; + } + + /** + * Get period + * @return period + **/ + @Schema(description = "") + public Integer getPeriod() { + return period; + } + + public void setPeriod(Integer period) { + this.period = period; + } + + public ChargeInfoForCreateDBInstanceInput periodUnit(String periodUnit) { + this.periodUnit = periodUnit; + return this; + } + + /** + * Get periodUnit + * @return periodUnit + **/ + @Schema(description = "") + public String getPeriodUnit() { + return periodUnit; + } + + public void setPeriodUnit(String periodUnit) { + this.periodUnit = periodUnit; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ChargeInfoForCreateDBInstanceInput chargeInfoForCreateDBInstanceInput = (ChargeInfoForCreateDBInstanceInput) o; + return Objects.equals(this.autoRenew, chargeInfoForCreateDBInstanceInput.autoRenew) && + Objects.equals(this.chargeType, chargeInfoForCreateDBInstanceInput.chargeType) && + Objects.equals(this.number, chargeInfoForCreateDBInstanceInput.number) && + Objects.equals(this.period, chargeInfoForCreateDBInstanceInput.period) && + Objects.equals(this.periodUnit, chargeInfoForCreateDBInstanceInput.periodUnit); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeType, number, period, periodUnit); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ChargeInfoForCreateDBInstanceInput {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" period: ").append(toIndentedString(period)).append("\n"); + sb.append(" periodUnit: ").append(toIndentedString(periodUnit)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForRestoreToNewInstanceInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForRestoreToNewInstanceInput.java new file mode 100644 index 00000000..efd8fda1 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ChargeInfoForRestoreToNewInstanceInput.java @@ -0,0 +1,185 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ChargeInfoForRestoreToNewInstanceInput + */ + + +public class ChargeInfoForRestoreToNewInstanceInput { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + @SerializedName("ChargeType") + private String chargeType = null; + + @SerializedName("Number") + private Integer number = null; + + @SerializedName("Period") + private Integer period = null; + + @SerializedName("PeriodUnit") + private String periodUnit = null; + + public ChargeInfoForRestoreToNewInstanceInput autoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * Get autoRenew + * @return autoRenew + **/ + @Schema(description = "") + public Boolean isAutoRenew() { + return autoRenew; + } + + public void setAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + } + + public ChargeInfoForRestoreToNewInstanceInput chargeType(String chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public ChargeInfoForRestoreToNewInstanceInput number(Integer number) { + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @Schema(description = "") + public Integer getNumber() { + return number; + } + + public void setNumber(Integer number) { + this.number = number; + } + + public ChargeInfoForRestoreToNewInstanceInput period(Integer period) { + this.period = period; + return this; + } + + /** + * Get period + * @return period + **/ + @Schema(description = "") + public Integer getPeriod() { + return period; + } + + public void setPeriod(Integer period) { + this.period = period; + } + + public ChargeInfoForRestoreToNewInstanceInput periodUnit(String periodUnit) { + this.periodUnit = periodUnit; + return this; + } + + /** + * Get periodUnit + * @return periodUnit + **/ + @Schema(description = "") + public String getPeriodUnit() { + return periodUnit; + } + + public void setPeriodUnit(String periodUnit) { + this.periodUnit = periodUnit; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ChargeInfoForRestoreToNewInstanceInput chargeInfoForRestoreToNewInstanceInput = (ChargeInfoForRestoreToNewInstanceInput) o; + return Objects.equals(this.autoRenew, chargeInfoForRestoreToNewInstanceInput.autoRenew) && + Objects.equals(this.chargeType, chargeInfoForRestoreToNewInstanceInput.chargeType) && + Objects.equals(this.number, chargeInfoForRestoreToNewInstanceInput.number) && + Objects.equals(this.period, chargeInfoForRestoreToNewInstanceInput.period) && + Objects.equals(this.periodUnit, chargeInfoForRestoreToNewInstanceInput.periodUnit); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeType, number, period, periodUnit); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ChargeInfoForRestoreToNewInstanceInput {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" period: ").append(toIndentedString(period)).append("\n"); + sb.append(" periodUnit: ").append(toIndentedString(periodUnit)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListRequest.java new file mode 100644 index 00000000..cae2989b --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListRequest.java @@ -0,0 +1,164 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateAllowListRequest + */ + + +public class CreateAllowListRequest { + @SerializedName("AllowList") + private String allowList = null; + + @SerializedName("AllowListDesc") + private String allowListDesc = null; + + @SerializedName("AllowListName") + private String allowListName = null; + + @SerializedName("AllowListType") + private String allowListType = null; + + public CreateAllowListRequest allowList(String allowList) { + this.allowList = allowList; + return this; + } + + /** + * Get allowList + * @return allowList + **/ + @NotNull + @Schema(required = true, description = "") + public String getAllowList() { + return allowList; + } + + public void setAllowList(String allowList) { + this.allowList = allowList; + } + + public CreateAllowListRequest allowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + return this; + } + + /** + * Get allowListDesc + * @return allowListDesc + **/ + @Schema(description = "") + public String getAllowListDesc() { + return allowListDesc; + } + + public void setAllowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + } + + public CreateAllowListRequest allowListName(String allowListName) { + this.allowListName = allowListName; + return this; + } + + /** + * Get allowListName + * @return allowListName + **/ + @NotNull + @Schema(required = true, description = "") + public String getAllowListName() { + return allowListName; + } + + public void setAllowListName(String allowListName) { + this.allowListName = allowListName; + } + + public CreateAllowListRequest allowListType(String allowListType) { + this.allowListType = allowListType; + return this; + } + + /** + * Get allowListType + * @return allowListType + **/ + @Schema(description = "") + public String getAllowListType() { + return allowListType; + } + + public void setAllowListType(String allowListType) { + this.allowListType = allowListType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateAllowListRequest createAllowListRequest = (CreateAllowListRequest) o; + return Objects.equals(this.allowList, createAllowListRequest.allowList) && + Objects.equals(this.allowListDesc, createAllowListRequest.allowListDesc) && + Objects.equals(this.allowListName, createAllowListRequest.allowListName) && + Objects.equals(this.allowListType, createAllowListRequest.allowListType); + } + + @Override + public int hashCode() { + return Objects.hash(allowList, allowListDesc, allowListName, allowListType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateAllowListRequest {\n"); + + sb.append(" allowList: ").append(toIndentedString(allowList)).append("\n"); + sb.append(" allowListDesc: ").append(toIndentedString(allowListDesc)).append("\n"); + sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n"); + sb.append(" allowListType: ").append(toIndentedString(allowListType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListResponse.java new file mode 100644 index 00000000..d07771de --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateAllowListResponse.java @@ -0,0 +1,93 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateAllowListResponse + */ + + +public class CreateAllowListResponse { + @SerializedName("AllowListId") + private String allowListId = null; + + public CreateAllowListResponse allowListId(String allowListId) { + this.allowListId = allowListId; + return this; + } + + /** + * Get allowListId + * @return allowListId + **/ + @Schema(description = "") + public String getAllowListId() { + return allowListId; + } + + public void setAllowListId(String allowListId) { + this.allowListId = allowListId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateAllowListResponse createAllowListResponse = (CreateAllowListResponse) o; + return Objects.equals(this.allowListId, createAllowListResponse.allowListId); + } + + @Override + public int hashCode() { + return Objects.hash(allowListId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateAllowListResponse {\n"); + + sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupRequest.java new file mode 100644 index 00000000..fdc9f831 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupRequest.java @@ -0,0 +1,175 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.BackupMetaForCreateBackupInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateBackupRequest + */ + + +public class CreateBackupRequest { + @SerializedName("BackupMeta") + private List backupMeta = null; + + @SerializedName("BackupMethod") + private String backupMethod = null; + + @SerializedName("BackupType") + private String backupType = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public CreateBackupRequest backupMeta(List backupMeta) { + this.backupMeta = backupMeta; + return this; + } + + public CreateBackupRequest addBackupMetaItem(BackupMetaForCreateBackupInput backupMetaItem) { + if (this.backupMeta == null) { + this.backupMeta = new ArrayList(); + } + this.backupMeta.add(backupMetaItem); + return this; + } + + /** + * Get backupMeta + * @return backupMeta + **/ + @Valid + @Schema(description = "") + public List getBackupMeta() { + return backupMeta; + } + + public void setBackupMeta(List backupMeta) { + this.backupMeta = backupMeta; + } + + public CreateBackupRequest backupMethod(String backupMethod) { + this.backupMethod = backupMethod; + return this; + } + + /** + * Get backupMethod + * @return backupMethod + **/ + @Schema(description = "") + public String getBackupMethod() { + return backupMethod; + } + + public void setBackupMethod(String backupMethod) { + this.backupMethod = backupMethod; + } + + public CreateBackupRequest backupType(String backupType) { + this.backupType = backupType; + return this; + } + + /** + * Get backupType + * @return backupType + **/ + @Schema(description = "") + public String getBackupType() { + return backupType; + } + + public void setBackupType(String backupType) { + this.backupType = backupType; + } + + public CreateBackupRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateBackupRequest createBackupRequest = (CreateBackupRequest) o; + return Objects.equals(this.backupMeta, createBackupRequest.backupMeta) && + Objects.equals(this.backupMethod, createBackupRequest.backupMethod) && + Objects.equals(this.backupType, createBackupRequest.backupType) && + Objects.equals(this.instanceId, createBackupRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(backupMeta, backupMethod, backupType, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateBackupRequest {\n"); + + sb.append(" backupMeta: ").append(toIndentedString(backupMeta)).append("\n"); + sb.append(" backupMethod: ").append(toIndentedString(backupMethod)).append("\n"); + sb.append(" backupType: ").append(toIndentedString(backupType)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupResponse.java new file mode 100644 index 00000000..14b74596 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateBackupResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateBackupResponse + */ + + +public class CreateBackupResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateBackupResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountRequest.java new file mode 100644 index 00000000..cc8f87e5 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountRequest.java @@ -0,0 +1,198 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AccountPrivilegeForCreateDBAccountInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBAccountRequest + */ + + +public class CreateDBAccountRequest { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPassword") + private String accountPassword = null; + + @SerializedName("AccountPrivileges") + private List accountPrivileges = null; + + @SerializedName("AccountType") + private String accountType = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public CreateDBAccountRequest accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @Size(min=2,max=32) @Schema(description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public CreateDBAccountRequest accountPassword(String accountPassword) { + this.accountPassword = accountPassword; + return this; + } + + /** + * Get accountPassword + * @return accountPassword + **/ + @Size(min=8,max=32) @Schema(description = "") + public String getAccountPassword() { + return accountPassword; + } + + public void setAccountPassword(String accountPassword) { + this.accountPassword = accountPassword; + } + + public CreateDBAccountRequest accountPrivileges(List accountPrivileges) { + this.accountPrivileges = accountPrivileges; + return this; + } + + public CreateDBAccountRequest addAccountPrivilegesItem(AccountPrivilegeForCreateDBAccountInput accountPrivilegesItem) { + if (this.accountPrivileges == null) { + this.accountPrivileges = new ArrayList(); + } + this.accountPrivileges.add(accountPrivilegesItem); + return this; + } + + /** + * Get accountPrivileges + * @return accountPrivileges + **/ + @Valid + @Schema(description = "") + public List getAccountPrivileges() { + return accountPrivileges; + } + + public void setAccountPrivileges(List accountPrivileges) { + this.accountPrivileges = accountPrivileges; + } + + public CreateDBAccountRequest accountType(String accountType) { + this.accountType = accountType; + return this; + } + + /** + * Get accountType + * @return accountType + **/ + @Schema(description = "") + public String getAccountType() { + return accountType; + } + + public void setAccountType(String accountType) { + this.accountType = accountType; + } + + public CreateDBAccountRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateDBAccountRequest createDBAccountRequest = (CreateDBAccountRequest) o; + return Objects.equals(this.accountName, createDBAccountRequest.accountName) && + Objects.equals(this.accountPassword, createDBAccountRequest.accountPassword) && + Objects.equals(this.accountPrivileges, createDBAccountRequest.accountPrivileges) && + Objects.equals(this.accountType, createDBAccountRequest.accountType) && + Objects.equals(this.instanceId, createDBAccountRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, accountPassword, accountPrivileges, accountType, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBAccountRequest {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" accountPassword: ").append(toIndentedString(accountPassword)).append("\n"); + sb.append(" accountPrivileges: ").append(toIndentedString(accountPrivileges)).append("\n"); + sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountResponse.java new file mode 100644 index 00000000..40255050 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBAccountResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBAccountResponse + */ + + +public class CreateDBAccountResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBAccountResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressRequest.java new file mode 100644 index 00000000..3952b37d --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressRequest.java @@ -0,0 +1,165 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBEndpointPublicAddressRequest + */ + + +public class CreateDBEndpointPublicAddressRequest { + @SerializedName("DomainPrefix") + private String domainPrefix = null; + + @SerializedName("EipId") + private String eipId = null; + + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public CreateDBEndpointPublicAddressRequest domainPrefix(String domainPrefix) { + this.domainPrefix = domainPrefix; + return this; + } + + /** + * Get domainPrefix + * @return domainPrefix + **/ + @Schema(description = "") + public String getDomainPrefix() { + return domainPrefix; + } + + public void setDomainPrefix(String domainPrefix) { + this.domainPrefix = domainPrefix; + } + + public CreateDBEndpointPublicAddressRequest eipId(String eipId) { + this.eipId = eipId; + return this; + } + + /** + * Get eipId + * @return eipId + **/ + @NotNull + @Schema(required = true, description = "") + public String getEipId() { + return eipId; + } + + public void setEipId(String eipId) { + this.eipId = eipId; + } + + public CreateDBEndpointPublicAddressRequest endpointId(String endpointId) { + this.endpointId = endpointId; + return this; + } + + /** + * Get endpointId + * @return endpointId + **/ + @NotNull + @Schema(required = true, description = "") + public String getEndpointId() { + return endpointId; + } + + public void setEndpointId(String endpointId) { + this.endpointId = endpointId; + } + + public CreateDBEndpointPublicAddressRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateDBEndpointPublicAddressRequest createDBEndpointPublicAddressRequest = (CreateDBEndpointPublicAddressRequest) o; + return Objects.equals(this.domainPrefix, createDBEndpointPublicAddressRequest.domainPrefix) && + Objects.equals(this.eipId, createDBEndpointPublicAddressRequest.eipId) && + Objects.equals(this.endpointId, createDBEndpointPublicAddressRequest.endpointId) && + Objects.equals(this.instanceId, createDBEndpointPublicAddressRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(domainPrefix, eipId, endpointId, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBEndpointPublicAddressRequest {\n"); + + sb.append(" domainPrefix: ").append(toIndentedString(domainPrefix)).append("\n"); + sb.append(" eipId: ").append(toIndentedString(eipId)).append("\n"); + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressResponse.java new file mode 100644 index 00000000..013883b0 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointPublicAddressResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBEndpointPublicAddressResponse + */ + + +public class CreateDBEndpointPublicAddressResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBEndpointPublicAddressResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointRequest.java new file mode 100644 index 00000000..b24f1ad4 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointRequest.java @@ -0,0 +1,232 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBEndpointRequest + */ + + +public class CreateDBEndpointRequest { + @SerializedName("AutoAddNewNodes") + private Boolean autoAddNewNodes = null; + + @SerializedName("Description") + private String description = null; + + @SerializedName("EndpointName") + private String endpointName = null; + + @SerializedName("EndpointType") + private String endpointType = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("Nodes") + private String nodes = null; + + @SerializedName("ReadWriteMode") + private String readWriteMode = null; + + public CreateDBEndpointRequest autoAddNewNodes(Boolean autoAddNewNodes) { + this.autoAddNewNodes = autoAddNewNodes; + return this; + } + + /** + * Get autoAddNewNodes + * @return autoAddNewNodes + **/ + @Schema(description = "") + public Boolean isAutoAddNewNodes() { + return autoAddNewNodes; + } + + public void setAutoAddNewNodes(Boolean autoAddNewNodes) { + this.autoAddNewNodes = autoAddNewNodes; + } + + public CreateDBEndpointRequest description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @Schema(description = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public CreateDBEndpointRequest endpointName(String endpointName) { + this.endpointName = endpointName; + return this; + } + + /** + * Get endpointName + * @return endpointName + **/ + @Schema(description = "") + public String getEndpointName() { + return endpointName; + } + + public void setEndpointName(String endpointName) { + this.endpointName = endpointName; + } + + public CreateDBEndpointRequest endpointType(String endpointType) { + this.endpointType = endpointType; + return this; + } + + /** + * Get endpointType + * @return endpointType + **/ + @Schema(description = "") + public String getEndpointType() { + return endpointType; + } + + public void setEndpointType(String endpointType) { + this.endpointType = endpointType; + } + + public CreateDBEndpointRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public CreateDBEndpointRequest nodes(String nodes) { + this.nodes = nodes; + return this; + } + + /** + * Get nodes + * @return nodes + **/ + @Schema(description = "") + public String getNodes() { + return nodes; + } + + public void setNodes(String nodes) { + this.nodes = nodes; + } + + public CreateDBEndpointRequest readWriteMode(String readWriteMode) { + this.readWriteMode = readWriteMode; + return this; + } + + /** + * Get readWriteMode + * @return readWriteMode + **/ + @Schema(description = "") + public String getReadWriteMode() { + return readWriteMode; + } + + public void setReadWriteMode(String readWriteMode) { + this.readWriteMode = readWriteMode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateDBEndpointRequest createDBEndpointRequest = (CreateDBEndpointRequest) o; + return Objects.equals(this.autoAddNewNodes, createDBEndpointRequest.autoAddNewNodes) && + Objects.equals(this.description, createDBEndpointRequest.description) && + Objects.equals(this.endpointName, createDBEndpointRequest.endpointName) && + Objects.equals(this.endpointType, createDBEndpointRequest.endpointType) && + Objects.equals(this.instanceId, createDBEndpointRequest.instanceId) && + Objects.equals(this.nodes, createDBEndpointRequest.nodes) && + Objects.equals(this.readWriteMode, createDBEndpointRequest.readWriteMode); + } + + @Override + public int hashCode() { + return Objects.hash(autoAddNewNodes, description, endpointName, endpointType, instanceId, nodes, readWriteMode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBEndpointRequest {\n"); + + sb.append(" autoAddNewNodes: ").append(toIndentedString(autoAddNewNodes)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" endpointName: ").append(toIndentedString(endpointName)).append("\n"); + sb.append(" endpointType: ").append(toIndentedString(endpointType)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" nodes: ").append(toIndentedString(nodes)).append("\n"); + sb.append(" readWriteMode: ").append(toIndentedString(readWriteMode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointResponse.java new file mode 100644 index 00000000..257b606f --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBEndpointResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBEndpointResponse + */ + + +public class CreateDBEndpointResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBEndpointResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceRequest.java new file mode 100644 index 00000000..ad67f05e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceRequest.java @@ -0,0 +1,462 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.ChargeInfoForCreateDBInstanceInput; +import com.volcengine.rdsmysqlv2.model.InstanceTagForCreateDBInstanceInput; +import com.volcengine.rdsmysqlv2.model.NodeInfoForCreateDBInstanceInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBInstanceRequest + */ + + +public class CreateDBInstanceRequest { + @SerializedName("ChargeInfo") + private ChargeInfoForCreateDBInstanceInput chargeInfo = null; + + @SerializedName("DBEngineVersion") + private String dbEngineVersion = null; + + @SerializedName("DBParamGroupId") + private String dbParamGroupId = null; + + @SerializedName("DBTimeZone") + private String dbTimeZone = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + @SerializedName("InstanceTags") + private List instanceTags = null; + + @SerializedName("LowerCaseTableNames") + private String lowerCaseTableNames = null; + + @SerializedName("NodeInfo") + private List nodeInfo = null; + + @SerializedName("Number") + private Integer number = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("StorageSpace") + private Integer storageSpace = null; + + @SerializedName("StorageType") + private String storageType = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + @SerializedName("SuperAccountName") + private String superAccountName = null; + + @SerializedName("SuperAccountPassword") + private String superAccountPassword = null; + + @SerializedName("VpcId") + private String vpcId = null; + + public CreateDBInstanceRequest chargeInfo(ChargeInfoForCreateDBInstanceInput chargeInfo) { + this.chargeInfo = chargeInfo; + return this; + } + + /** + * Get chargeInfo + * @return chargeInfo + **/ + @Valid + @Schema(description = "") + public ChargeInfoForCreateDBInstanceInput getChargeInfo() { + return chargeInfo; + } + + public void setChargeInfo(ChargeInfoForCreateDBInstanceInput chargeInfo) { + this.chargeInfo = chargeInfo; + } + + public CreateDBInstanceRequest dbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public String getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public CreateDBInstanceRequest dbParamGroupId(String dbParamGroupId) { + this.dbParamGroupId = dbParamGroupId; + return this; + } + + /** + * Get dbParamGroupId + * @return dbParamGroupId + **/ + @Schema(description = "") + public String getDbParamGroupId() { + return dbParamGroupId; + } + + public void setDbParamGroupId(String dbParamGroupId) { + this.dbParamGroupId = dbParamGroupId; + } + + public CreateDBInstanceRequest dbTimeZone(String dbTimeZone) { + this.dbTimeZone = dbTimeZone; + return this; + } + + /** + * Get dbTimeZone + * @return dbTimeZone + **/ + @Schema(description = "") + public String getDbTimeZone() { + return dbTimeZone; + } + + public void setDbTimeZone(String dbTimeZone) { + this.dbTimeZone = dbTimeZone; + } + + public CreateDBInstanceRequest instanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + /** + * Get instanceName + * @return instanceName + **/ + @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public CreateDBInstanceRequest instanceTags(List instanceTags) { + this.instanceTags = instanceTags; + return this; + } + + public CreateDBInstanceRequest addInstanceTagsItem(InstanceTagForCreateDBInstanceInput instanceTagsItem) { + if (this.instanceTags == null) { + this.instanceTags = new ArrayList(); + } + this.instanceTags.add(instanceTagsItem); + return this; + } + + /** + * Get instanceTags + * @return instanceTags + **/ + @Valid + @Schema(description = "") + public List getInstanceTags() { + return instanceTags; + } + + public void setInstanceTags(List instanceTags) { + this.instanceTags = instanceTags; + } + + public CreateDBInstanceRequest lowerCaseTableNames(String lowerCaseTableNames) { + this.lowerCaseTableNames = lowerCaseTableNames; + return this; + } + + /** + * Get lowerCaseTableNames + * @return lowerCaseTableNames + **/ + @Schema(description = "") + public String getLowerCaseTableNames() { + return lowerCaseTableNames; + } + + public void setLowerCaseTableNames(String lowerCaseTableNames) { + this.lowerCaseTableNames = lowerCaseTableNames; + } + + public CreateDBInstanceRequest nodeInfo(List nodeInfo) { + this.nodeInfo = nodeInfo; + return this; + } + + public CreateDBInstanceRequest addNodeInfoItem(NodeInfoForCreateDBInstanceInput nodeInfoItem) { + if (this.nodeInfo == null) { + this.nodeInfo = new ArrayList(); + } + this.nodeInfo.add(nodeInfoItem); + return this; + } + + /** + * Get nodeInfo + * @return nodeInfo + **/ + @Valid + @Schema(description = "") + public List getNodeInfo() { + return nodeInfo; + } + + public void setNodeInfo(List nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public CreateDBInstanceRequest number(Integer number) { + this.number = number; + return this; + } + + /** + * Get number + * @return number + **/ + @Schema(description = "") + public Integer getNumber() { + return number; + } + + public void setNumber(Integer number) { + this.number = number; + } + + public CreateDBInstanceRequest projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public CreateDBInstanceRequest storageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + return this; + } + + /** + * Get storageSpace + * @return storageSpace + **/ + @Schema(description = "") + public Integer getStorageSpace() { + return storageSpace; + } + + public void setStorageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + } + + public CreateDBInstanceRequest storageType(String storageType) { + this.storageType = storageType; + return this; + } + + /** + * Get storageType + * @return storageType + **/ + @Schema(description = "") + public String getStorageType() { + return storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public CreateDBInstanceRequest subnetId(String subnetId) { + this.subnetId = subnetId; + return this; + } + + /** + * Get subnetId + * @return subnetId + **/ + @Schema(description = "") + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + public CreateDBInstanceRequest superAccountName(String superAccountName) { + this.superAccountName = superAccountName; + return this; + } + + /** + * Get superAccountName + * @return superAccountName + **/ + @Size(min=2,max=16) @Schema(description = "") + public String getSuperAccountName() { + return superAccountName; + } + + public void setSuperAccountName(String superAccountName) { + this.superAccountName = superAccountName; + } + + public CreateDBInstanceRequest superAccountPassword(String superAccountPassword) { + this.superAccountPassword = superAccountPassword; + return this; + } + + /** + * Get superAccountPassword + * @return superAccountPassword + **/ + @Size(min=8,max=32) @Schema(description = "") + public String getSuperAccountPassword() { + return superAccountPassword; + } + + public void setSuperAccountPassword(String superAccountPassword) { + this.superAccountPassword = superAccountPassword; + } + + public CreateDBInstanceRequest vpcId(String vpcId) { + this.vpcId = vpcId; + return this; + } + + /** + * Get vpcId + * @return vpcId + **/ + @Schema(description = "") + public String getVpcId() { + return vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateDBInstanceRequest createDBInstanceRequest = (CreateDBInstanceRequest) o; + return Objects.equals(this.chargeInfo, createDBInstanceRequest.chargeInfo) && + Objects.equals(this.dbEngineVersion, createDBInstanceRequest.dbEngineVersion) && + Objects.equals(this.dbParamGroupId, createDBInstanceRequest.dbParamGroupId) && + Objects.equals(this.dbTimeZone, createDBInstanceRequest.dbTimeZone) && + Objects.equals(this.instanceName, createDBInstanceRequest.instanceName) && + Objects.equals(this.instanceTags, createDBInstanceRequest.instanceTags) && + Objects.equals(this.lowerCaseTableNames, createDBInstanceRequest.lowerCaseTableNames) && + Objects.equals(this.nodeInfo, createDBInstanceRequest.nodeInfo) && + Objects.equals(this.number, createDBInstanceRequest.number) && + Objects.equals(this.projectName, createDBInstanceRequest.projectName) && + Objects.equals(this.storageSpace, createDBInstanceRequest.storageSpace) && + Objects.equals(this.storageType, createDBInstanceRequest.storageType) && + Objects.equals(this.subnetId, createDBInstanceRequest.subnetId) && + Objects.equals(this.superAccountName, createDBInstanceRequest.superAccountName) && + Objects.equals(this.superAccountPassword, createDBInstanceRequest.superAccountPassword) && + Objects.equals(this.vpcId, createDBInstanceRequest.vpcId); + } + + @Override + public int hashCode() { + return Objects.hash(chargeInfo, dbEngineVersion, dbParamGroupId, dbTimeZone, instanceName, instanceTags, lowerCaseTableNames, nodeInfo, number, projectName, storageSpace, storageType, subnetId, superAccountName, superAccountPassword, vpcId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBInstanceRequest {\n"); + + sb.append(" chargeInfo: ").append(toIndentedString(chargeInfo)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" dbParamGroupId: ").append(toIndentedString(dbParamGroupId)).append("\n"); + sb.append(" dbTimeZone: ").append(toIndentedString(dbTimeZone)).append("\n"); + sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" instanceTags: ").append(toIndentedString(instanceTags)).append("\n"); + sb.append(" lowerCaseTableNames: ").append(toIndentedString(lowerCaseTableNames)).append("\n"); + sb.append(" nodeInfo: ").append(toIndentedString(nodeInfo)).append("\n"); + sb.append(" number: ").append(toIndentedString(number)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" storageSpace: ").append(toIndentedString(storageSpace)).append("\n"); + sb.append(" storageType: ").append(toIndentedString(storageType)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append(" superAccountName: ").append(toIndentedString(superAccountName)).append("\n"); + sb.append(" superAccountPassword: ").append(toIndentedString(superAccountPassword)).append("\n"); + sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceResponse.java new file mode 100644 index 00000000..2668dfdf --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDBInstanceResponse.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBInstanceResponse + */ + + +public class CreateDBInstanceResponse { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("OrderId") + private String orderId = null; + + public CreateDBInstanceResponse instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public CreateDBInstanceResponse orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Get orderId + * @return orderId + **/ + @Schema(description = "") + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateDBInstanceResponse createDBInstanceResponse = (CreateDBInstanceResponse) o; + return Objects.equals(this.instanceId, createDBInstanceResponse.instanceId) && + Objects.equals(this.orderId, createDBInstanceResponse.orderId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, orderId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBInstanceResponse {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseRequest.java new file mode 100644 index 00000000..fd2258a2 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseRequest.java @@ -0,0 +1,175 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.DatabasePrivilegeForCreateDatabaseInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDatabaseRequest + */ + + +public class CreateDatabaseRequest { + @SerializedName("CharacterSetName") + private String characterSetName = null; + + @SerializedName("DBName") + private String dbName = null; + + @SerializedName("DatabasePrivileges") + private List databasePrivileges = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public CreateDatabaseRequest characterSetName(String characterSetName) { + this.characterSetName = characterSetName; + return this; + } + + /** + * Get characterSetName + * @return characterSetName + **/ + @Schema(description = "") + public String getCharacterSetName() { + return characterSetName; + } + + public void setCharacterSetName(String characterSetName) { + this.characterSetName = characterSetName; + } + + public CreateDatabaseRequest dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @Size(min=2,max=64) @Schema(description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public CreateDatabaseRequest databasePrivileges(List databasePrivileges) { + this.databasePrivileges = databasePrivileges; + return this; + } + + public CreateDatabaseRequest addDatabasePrivilegesItem(DatabasePrivilegeForCreateDatabaseInput databasePrivilegesItem) { + if (this.databasePrivileges == null) { + this.databasePrivileges = new ArrayList(); + } + this.databasePrivileges.add(databasePrivilegesItem); + return this; + } + + /** + * Get databasePrivileges + * @return databasePrivileges + **/ + @Valid + @Schema(description = "") + public List getDatabasePrivileges() { + return databasePrivileges; + } + + public void setDatabasePrivileges(List databasePrivileges) { + this.databasePrivileges = databasePrivileges; + } + + public CreateDatabaseRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + CreateDatabaseRequest createDatabaseRequest = (CreateDatabaseRequest) o; + return Objects.equals(this.characterSetName, createDatabaseRequest.characterSetName) && + Objects.equals(this.dbName, createDatabaseRequest.dbName) && + Objects.equals(this.databasePrivileges, createDatabaseRequest.databasePrivileges) && + Objects.equals(this.instanceId, createDatabaseRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(characterSetName, dbName, databasePrivileges, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDatabaseRequest {\n"); + + sb.append(" characterSetName: ").append(toIndentedString(characterSetName)).append("\n"); + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append(" databasePrivileges: ").append(toIndentedString(databasePrivileges)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseResponse.java new file mode 100644 index 00000000..9ff108e6 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/CreateDatabaseResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDatabaseResponse + */ + + +public class CreateDatabaseResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDatabaseResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DBTableInfoForDescribeBackupsOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DBTableInfoForDescribeBackupsOutput.java new file mode 100644 index 00000000..025313d9 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DBTableInfoForDescribeBackupsOutput.java @@ -0,0 +1,126 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DBTableInfoForDescribeBackupsOutput + */ + + +public class DBTableInfoForDescribeBackupsOutput { + @SerializedName("Database") + private String database = null; + + @SerializedName("Tables") + private List tables = null; + + public DBTableInfoForDescribeBackupsOutput database(String database) { + this.database = database; + return this; + } + + /** + * Get database + * @return database + **/ + @Schema(description = "") + public String getDatabase() { + return database; + } + + public void setDatabase(String database) { + this.database = database; + } + + public DBTableInfoForDescribeBackupsOutput tables(List tables) { + this.tables = tables; + return this; + } + + public DBTableInfoForDescribeBackupsOutput addTablesItem(String tablesItem) { + if (this.tables == null) { + this.tables = new ArrayList(); + } + this.tables.add(tablesItem); + return this; + } + + /** + * Get tables + * @return tables + **/ + @Schema(description = "") + public List getTables() { + return tables; + } + + public void setTables(List tables) { + this.tables = tables; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DBTableInfoForDescribeBackupsOutput dbTableInfoForDescribeBackupsOutput = (DBTableInfoForDescribeBackupsOutput) o; + return Objects.equals(this.database, dbTableInfoForDescribeBackupsOutput.database) && + Objects.equals(this.tables, dbTableInfoForDescribeBackupsOutput.tables); + } + + @Override + public int hashCode() { + return Objects.hash(database, tables); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DBTableInfoForDescribeBackupsOutput {\n"); + + sb.append(" database: ").append(toIndentedString(database)).append("\n"); + sb.append(" tables: ").append(toIndentedString(tables)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasForDescribeDatabasesOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasForDescribeDatabasesOutput.java new file mode 100644 index 00000000..3d73d657 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasForDescribeDatabasesOutput.java @@ -0,0 +1,151 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.DatabasePrivilegeForDescribeDatabasesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DatabasForDescribeDatabasesOutput + */ + + +public class DatabasForDescribeDatabasesOutput { + @SerializedName("CharacterSetName") + private String characterSetName = null; + + @SerializedName("DBName") + private String dbName = null; + + @SerializedName("DatabasePrivileges") + private List databasePrivileges = null; + + public DatabasForDescribeDatabasesOutput characterSetName(String characterSetName) { + this.characterSetName = characterSetName; + return this; + } + + /** + * Get characterSetName + * @return characterSetName + **/ + @Schema(description = "") + public String getCharacterSetName() { + return characterSetName; + } + + public void setCharacterSetName(String characterSetName) { + this.characterSetName = characterSetName; + } + + public DatabasForDescribeDatabasesOutput dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @Schema(description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public DatabasForDescribeDatabasesOutput databasePrivileges(List databasePrivileges) { + this.databasePrivileges = databasePrivileges; + return this; + } + + public DatabasForDescribeDatabasesOutput addDatabasePrivilegesItem(DatabasePrivilegeForDescribeDatabasesOutput databasePrivilegesItem) { + if (this.databasePrivileges == null) { + this.databasePrivileges = new ArrayList(); + } + this.databasePrivileges.add(databasePrivilegesItem); + return this; + } + + /** + * Get databasePrivileges + * @return databasePrivileges + **/ + @Valid + @Schema(description = "") + public List getDatabasePrivileges() { + return databasePrivileges; + } + + public void setDatabasePrivileges(List databasePrivileges) { + this.databasePrivileges = databasePrivileges; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DatabasForDescribeDatabasesOutput databasForDescribeDatabasesOutput = (DatabasForDescribeDatabasesOutput) o; + return Objects.equals(this.characterSetName, databasForDescribeDatabasesOutput.characterSetName) && + Objects.equals(this.dbName, databasForDescribeDatabasesOutput.dbName) && + Objects.equals(this.databasePrivileges, databasForDescribeDatabasesOutput.databasePrivileges); + } + + @Override + public int hashCode() { + return Objects.hash(characterSetName, dbName, databasePrivileges); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DatabasForDescribeDatabasesOutput {\n"); + + sb.append(" characterSetName: ").append(toIndentedString(characterSetName)).append("\n"); + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append(" databasePrivileges: ").append(toIndentedString(databasePrivileges)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForCreateDatabaseInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForCreateDatabaseInput.java new file mode 100644 index 00000000..8d9b8dcc --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForCreateDatabaseInput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DatabasePrivilegeForCreateDatabaseInput + */ + + +public class DatabasePrivilegeForCreateDatabaseInput { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPrivilege") + private String accountPrivilege = null; + + @SerializedName("AccountPrivilegeDetail") + private String accountPrivilegeDetail = null; + + public DatabasePrivilegeForCreateDatabaseInput accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @Schema(description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public DatabasePrivilegeForCreateDatabaseInput accountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + return this; + } + + /** + * Get accountPrivilege + * @return accountPrivilege + **/ + @Schema(description = "") + public String getAccountPrivilege() { + return accountPrivilege; + } + + public void setAccountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + } + + public DatabasePrivilegeForCreateDatabaseInput accountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + return this; + } + + /** + * Get accountPrivilegeDetail + * @return accountPrivilegeDetail + **/ + @Schema(description = "") + public String getAccountPrivilegeDetail() { + return accountPrivilegeDetail; + } + + public void setAccountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DatabasePrivilegeForCreateDatabaseInput databasePrivilegeForCreateDatabaseInput = (DatabasePrivilegeForCreateDatabaseInput) o; + return Objects.equals(this.accountName, databasePrivilegeForCreateDatabaseInput.accountName) && + Objects.equals(this.accountPrivilege, databasePrivilegeForCreateDatabaseInput.accountPrivilege) && + Objects.equals(this.accountPrivilegeDetail, databasePrivilegeForCreateDatabaseInput.accountPrivilegeDetail); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, accountPrivilege, accountPrivilegeDetail); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DatabasePrivilegeForCreateDatabaseInput {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" accountPrivilege: ").append(toIndentedString(accountPrivilege)).append("\n"); + sb.append(" accountPrivilegeDetail: ").append(toIndentedString(accountPrivilegeDetail)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForDescribeDatabasesOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForDescribeDatabasesOutput.java new file mode 100644 index 00000000..70f370bc --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForDescribeDatabasesOutput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DatabasePrivilegeForDescribeDatabasesOutput + */ + + +public class DatabasePrivilegeForDescribeDatabasesOutput { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPrivilege") + private String accountPrivilege = null; + + @SerializedName("AccountPrivilegeDetail") + private String accountPrivilegeDetail = null; + + public DatabasePrivilegeForDescribeDatabasesOutput accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @Schema(description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public DatabasePrivilegeForDescribeDatabasesOutput accountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + return this; + } + + /** + * Get accountPrivilege + * @return accountPrivilege + **/ + @Schema(description = "") + public String getAccountPrivilege() { + return accountPrivilege; + } + + public void setAccountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + } + + public DatabasePrivilegeForDescribeDatabasesOutput accountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + return this; + } + + /** + * Get accountPrivilegeDetail + * @return accountPrivilegeDetail + **/ + @Schema(description = "") + public String getAccountPrivilegeDetail() { + return accountPrivilegeDetail; + } + + public void setAccountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DatabasePrivilegeForDescribeDatabasesOutput databasePrivilegeForDescribeDatabasesOutput = (DatabasePrivilegeForDescribeDatabasesOutput) o; + return Objects.equals(this.accountName, databasePrivilegeForDescribeDatabasesOutput.accountName) && + Objects.equals(this.accountPrivilege, databasePrivilegeForDescribeDatabasesOutput.accountPrivilege) && + Objects.equals(this.accountPrivilegeDetail, databasePrivilegeForDescribeDatabasesOutput.accountPrivilegeDetail); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, accountPrivilege, accountPrivilegeDetail); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DatabasePrivilegeForDescribeDatabasesOutput {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" accountPrivilege: ").append(toIndentedString(accountPrivilege)).append("\n"); + sb.append(" accountPrivilegeDetail: ").append(toIndentedString(accountPrivilegeDetail)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForGrantDatabasePrivilegeInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForGrantDatabasePrivilegeInput.java new file mode 100644 index 00000000..2809c47e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DatabasePrivilegeForGrantDatabasePrivilegeInput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DatabasePrivilegeForGrantDatabasePrivilegeInput + */ + + +public class DatabasePrivilegeForGrantDatabasePrivilegeInput { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPrivilege") + private String accountPrivilege = null; + + @SerializedName("AccountPrivilegeDetail") + private String accountPrivilegeDetail = null; + + public DatabasePrivilegeForGrantDatabasePrivilegeInput accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @Schema(description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public DatabasePrivilegeForGrantDatabasePrivilegeInput accountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + return this; + } + + /** + * Get accountPrivilege + * @return accountPrivilege + **/ + @Schema(description = "") + public String getAccountPrivilege() { + return accountPrivilege; + } + + public void setAccountPrivilege(String accountPrivilege) { + this.accountPrivilege = accountPrivilege; + } + + public DatabasePrivilegeForGrantDatabasePrivilegeInput accountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + return this; + } + + /** + * Get accountPrivilegeDetail + * @return accountPrivilegeDetail + **/ + @Schema(description = "") + public String getAccountPrivilegeDetail() { + return accountPrivilegeDetail; + } + + public void setAccountPrivilegeDetail(String accountPrivilegeDetail) { + this.accountPrivilegeDetail = accountPrivilegeDetail; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DatabasePrivilegeForGrantDatabasePrivilegeInput databasePrivilegeForGrantDatabasePrivilegeInput = (DatabasePrivilegeForGrantDatabasePrivilegeInput) o; + return Objects.equals(this.accountName, databasePrivilegeForGrantDatabasePrivilegeInput.accountName) && + Objects.equals(this.accountPrivilege, databasePrivilegeForGrantDatabasePrivilegeInput.accountPrivilege) && + Objects.equals(this.accountPrivilegeDetail, databasePrivilegeForGrantDatabasePrivilegeInput.accountPrivilegeDetail); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, accountPrivilege, accountPrivilegeDetail); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DatabasePrivilegeForGrantDatabasePrivilegeInput {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" accountPrivilege: ").append(toIndentedString(accountPrivilege)).append("\n"); + sb.append(" accountPrivilegeDetail: ").append(toIndentedString(accountPrivilegeDetail)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListRequest.java new file mode 100644 index 00000000..279a31c5 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListRequest.java @@ -0,0 +1,94 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteAllowListRequest + */ + + +public class DeleteAllowListRequest { + @SerializedName("AllowListId") + private String allowListId = null; + + public DeleteAllowListRequest allowListId(String allowListId) { + this.allowListId = allowListId; + return this; + } + + /** + * Get allowListId + * @return allowListId + **/ + @NotNull + @Schema(required = true, description = "") + public String getAllowListId() { + return allowListId; + } + + public void setAllowListId(String allowListId) { + this.allowListId = allowListId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteAllowListRequest deleteAllowListRequest = (DeleteAllowListRequest) o; + return Objects.equals(this.allowListId, deleteAllowListRequest.allowListId); + } + + @Override + public int hashCode() { + return Objects.hash(allowListId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteAllowListRequest {\n"); + + sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListResponse.java new file mode 100644 index 00000000..045c2921 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteAllowListResponse + */ + + +public class DeleteAllowListResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteAllowListResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountRequest.java new file mode 100644 index 00000000..c1a46e51 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountRequest.java @@ -0,0 +1,118 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBAccountRequest + */ + + +public class DeleteDBAccountRequest { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public DeleteDBAccountRequest accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @NotNull + @Size(min=2,max=32) @Schema(required = true, description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public DeleteDBAccountRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteDBAccountRequest deleteDBAccountRequest = (DeleteDBAccountRequest) o; + return Objects.equals(this.accountName, deleteDBAccountRequest.accountName) && + Objects.equals(this.instanceId, deleteDBAccountRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBAccountRequest {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountResponse.java new file mode 100644 index 00000000..d3b0bdc2 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBAccountResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBAccountResponse + */ + + +public class DeleteDBAccountResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBAccountResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressRequest.java new file mode 100644 index 00000000..4bf40ea9 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressRequest.java @@ -0,0 +1,166 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBEndpointPublicAddressRequest + */ + + +public class DeleteDBEndpointPublicAddressRequest { + @SerializedName("Domain") + private String domain = null; + + @SerializedName("EipId") + private String eipId = null; + + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public DeleteDBEndpointPublicAddressRequest domain(String domain) { + this.domain = domain; + return this; + } + + /** + * Get domain + * @return domain + **/ + @NotNull + @Schema(required = true, description = "") + public String getDomain() { + return domain; + } + + public void setDomain(String domain) { + this.domain = domain; + } + + public DeleteDBEndpointPublicAddressRequest eipId(String eipId) { + this.eipId = eipId; + return this; + } + + /** + * Get eipId + * @return eipId + **/ + @NotNull + @Schema(required = true, description = "") + public String getEipId() { + return eipId; + } + + public void setEipId(String eipId) { + this.eipId = eipId; + } + + public DeleteDBEndpointPublicAddressRequest endpointId(String endpointId) { + this.endpointId = endpointId; + return this; + } + + /** + * Get endpointId + * @return endpointId + **/ + @NotNull + @Schema(required = true, description = "") + public String getEndpointId() { + return endpointId; + } + + public void setEndpointId(String endpointId) { + this.endpointId = endpointId; + } + + public DeleteDBEndpointPublicAddressRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteDBEndpointPublicAddressRequest deleteDBEndpointPublicAddressRequest = (DeleteDBEndpointPublicAddressRequest) o; + return Objects.equals(this.domain, deleteDBEndpointPublicAddressRequest.domain) && + Objects.equals(this.eipId, deleteDBEndpointPublicAddressRequest.eipId) && + Objects.equals(this.endpointId, deleteDBEndpointPublicAddressRequest.endpointId) && + Objects.equals(this.instanceId, deleteDBEndpointPublicAddressRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(domain, eipId, endpointId, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBEndpointPublicAddressRequest {\n"); + + sb.append(" domain: ").append(toIndentedString(domain)).append("\n"); + sb.append(" eipId: ").append(toIndentedString(eipId)).append("\n"); + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressResponse.java new file mode 100644 index 00000000..43ae981a --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointPublicAddressResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBEndpointPublicAddressResponse + */ + + +public class DeleteDBEndpointPublicAddressResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBEndpointPublicAddressResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointRequest.java new file mode 100644 index 00000000..dd6665cd --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointRequest.java @@ -0,0 +1,118 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBEndpointRequest + */ + + +public class DeleteDBEndpointRequest { + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public DeleteDBEndpointRequest endpointId(String endpointId) { + this.endpointId = endpointId; + return this; + } + + /** + * Get endpointId + * @return endpointId + **/ + @NotNull + @Schema(required = true, description = "") + public String getEndpointId() { + return endpointId; + } + + public void setEndpointId(String endpointId) { + this.endpointId = endpointId; + } + + public DeleteDBEndpointRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteDBEndpointRequest deleteDBEndpointRequest = (DeleteDBEndpointRequest) o; + return Objects.equals(this.endpointId, deleteDBEndpointRequest.endpointId) && + Objects.equals(this.instanceId, deleteDBEndpointRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(endpointId, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBEndpointRequest {\n"); + + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointResponse.java new file mode 100644 index 00000000..1c03ba04 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBEndpointResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBEndpointResponse + */ + + +public class DeleteDBEndpointResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBEndpointResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceRequest.java new file mode 100644 index 00000000..bebd68c1 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceRequest.java @@ -0,0 +1,117 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBInstanceRequest + */ + + +public class DeleteDBInstanceRequest { + @SerializedName("DataKeepPolicy") + private String dataKeepPolicy = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public DeleteDBInstanceRequest dataKeepPolicy(String dataKeepPolicy) { + this.dataKeepPolicy = dataKeepPolicy; + return this; + } + + /** + * Get dataKeepPolicy + * @return dataKeepPolicy + **/ + @Schema(description = "") + public String getDataKeepPolicy() { + return dataKeepPolicy; + } + + public void setDataKeepPolicy(String dataKeepPolicy) { + this.dataKeepPolicy = dataKeepPolicy; + } + + public DeleteDBInstanceRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteDBInstanceRequest deleteDBInstanceRequest = (DeleteDBInstanceRequest) o; + return Objects.equals(this.dataKeepPolicy, deleteDBInstanceRequest.dataKeepPolicy) && + Objects.equals(this.instanceId, deleteDBInstanceRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(dataKeepPolicy, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBInstanceRequest {\n"); + + sb.append(" dataKeepPolicy: ").append(toIndentedString(dataKeepPolicy)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceResponse.java new file mode 100644 index 00000000..2c3539cb --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDBInstanceResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBInstanceResponse + */ + + +public class DeleteDBInstanceResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBInstanceResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseRequest.java new file mode 100644 index 00000000..c97b880c --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseRequest.java @@ -0,0 +1,118 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDatabaseRequest + */ + + +public class DeleteDatabaseRequest { + @SerializedName("DBName") + private String dbName = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public DeleteDatabaseRequest dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @NotNull + @Size(min=2,max=64) @Schema(required = true, description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public DeleteDatabaseRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DeleteDatabaseRequest deleteDatabaseRequest = (DeleteDatabaseRequest) o; + return Objects.equals(this.dbName, deleteDatabaseRequest.dbName) && + Objects.equals(this.instanceId, deleteDatabaseRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(dbName, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDatabaseRequest {\n"); + + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseResponse.java new file mode 100644 index 00000000..d1966ee0 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DeleteDatabaseResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDatabaseResponse + */ + + +public class DeleteDatabaseResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDatabaseResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailRequest.java new file mode 100644 index 00000000..06a95d8e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailRequest.java @@ -0,0 +1,94 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeAllowListDetailRequest + */ + + +public class DescribeAllowListDetailRequest { + @SerializedName("AllowListId") + private String allowListId = null; + + public DescribeAllowListDetailRequest allowListId(String allowListId) { + this.allowListId = allowListId; + return this; + } + + /** + * Get allowListId + * @return allowListId + **/ + @NotNull + @Schema(required = true, description = "") + public String getAllowListId() { + return allowListId; + } + + public void setAllowListId(String allowListId) { + this.allowListId = allowListId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeAllowListDetailRequest describeAllowListDetailRequest = (DescribeAllowListDetailRequest) o; + return Objects.equals(this.allowListId, describeAllowListDetailRequest.allowListId); + } + + @Override + public int hashCode() { + return Objects.hash(allowListId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeAllowListDetailRequest {\n"); + + sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailResponse.java new file mode 100644 index 00000000..f7c00289 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListDetailResponse.java @@ -0,0 +1,220 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AssociatedInstanceForDescribeAllowListDetailOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeAllowListDetailResponse + */ + + +public class DescribeAllowListDetailResponse { + @SerializedName("AllowList") + private String allowList = null; + + @SerializedName("AllowListDesc") + private String allowListDesc = null; + + @SerializedName("AllowListId") + private String allowListId = null; + + @SerializedName("AllowListName") + private String allowListName = null; + + @SerializedName("AllowListType") + private String allowListType = null; + + @SerializedName("AssociatedInstances") + private List associatedInstances = null; + + public DescribeAllowListDetailResponse allowList(String allowList) { + this.allowList = allowList; + return this; + } + + /** + * Get allowList + * @return allowList + **/ + @Schema(description = "") + public String getAllowList() { + return allowList; + } + + public void setAllowList(String allowList) { + this.allowList = allowList; + } + + public DescribeAllowListDetailResponse allowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + return this; + } + + /** + * Get allowListDesc + * @return allowListDesc + **/ + @Schema(description = "") + public String getAllowListDesc() { + return allowListDesc; + } + + public void setAllowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + } + + public DescribeAllowListDetailResponse allowListId(String allowListId) { + this.allowListId = allowListId; + return this; + } + + /** + * Get allowListId + * @return allowListId + **/ + @Schema(description = "") + public String getAllowListId() { + return allowListId; + } + + public void setAllowListId(String allowListId) { + this.allowListId = allowListId; + } + + public DescribeAllowListDetailResponse allowListName(String allowListName) { + this.allowListName = allowListName; + return this; + } + + /** + * Get allowListName + * @return allowListName + **/ + @Schema(description = "") + public String getAllowListName() { + return allowListName; + } + + public void setAllowListName(String allowListName) { + this.allowListName = allowListName; + } + + public DescribeAllowListDetailResponse allowListType(String allowListType) { + this.allowListType = allowListType; + return this; + } + + /** + * Get allowListType + * @return allowListType + **/ + @Schema(description = "") + public String getAllowListType() { + return allowListType; + } + + public void setAllowListType(String allowListType) { + this.allowListType = allowListType; + } + + public DescribeAllowListDetailResponse associatedInstances(List associatedInstances) { + this.associatedInstances = associatedInstances; + return this; + } + + public DescribeAllowListDetailResponse addAssociatedInstancesItem(AssociatedInstanceForDescribeAllowListDetailOutput associatedInstancesItem) { + if (this.associatedInstances == null) { + this.associatedInstances = new ArrayList(); + } + this.associatedInstances.add(associatedInstancesItem); + return this; + } + + /** + * Get associatedInstances + * @return associatedInstances + **/ + @Valid + @Schema(description = "") + public List getAssociatedInstances() { + return associatedInstances; + } + + public void setAssociatedInstances(List associatedInstances) { + this.associatedInstances = associatedInstances; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeAllowListDetailResponse describeAllowListDetailResponse = (DescribeAllowListDetailResponse) o; + return Objects.equals(this.allowList, describeAllowListDetailResponse.allowList) && + Objects.equals(this.allowListDesc, describeAllowListDetailResponse.allowListDesc) && + Objects.equals(this.allowListId, describeAllowListDetailResponse.allowListId) && + Objects.equals(this.allowListName, describeAllowListDetailResponse.allowListName) && + Objects.equals(this.allowListType, describeAllowListDetailResponse.allowListType) && + Objects.equals(this.associatedInstances, describeAllowListDetailResponse.associatedInstances); + } + + @Override + public int hashCode() { + return Objects.hash(allowList, allowListDesc, allowListId, allowListName, allowListType, associatedInstances); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeAllowListDetailResponse {\n"); + + sb.append(" allowList: ").append(toIndentedString(allowList)).append("\n"); + sb.append(" allowListDesc: ").append(toIndentedString(allowListDesc)).append("\n"); + sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n"); + sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n"); + sb.append(" allowListType: ").append(toIndentedString(allowListType)).append("\n"); + sb.append(" associatedInstances: ").append(toIndentedString(associatedInstances)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsRequest.java new file mode 100644 index 00000000..1ab52d40 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsRequest.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeAllowListsRequest + */ + + +public class DescribeAllowListsRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("RegionId") + private String regionId = null; + + public DescribeAllowListsRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeAllowListsRequest regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + @Schema(description = "") + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeAllowListsRequest describeAllowListsRequest = (DescribeAllowListsRequest) o; + return Objects.equals(this.instanceId, describeAllowListsRequest.instanceId) && + Objects.equals(this.regionId, describeAllowListsRequest.regionId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, regionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeAllowListsRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsResponse.java new file mode 100644 index 00000000..de9c78cb --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAllowListsResponse.java @@ -0,0 +1,105 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AllowListForDescribeAllowListsOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeAllowListsResponse + */ + + +public class DescribeAllowListsResponse { + @SerializedName("AllowLists") + private List allowLists = null; + + public DescribeAllowListsResponse allowLists(List allowLists) { + this.allowLists = allowLists; + return this; + } + + public DescribeAllowListsResponse addAllowListsItem(AllowListForDescribeAllowListsOutput allowListsItem) { + if (this.allowLists == null) { + this.allowLists = new ArrayList(); + } + this.allowLists.add(allowListsItem); + return this; + } + + /** + * Get allowLists + * @return allowLists + **/ + @Valid + @Schema(description = "") + public List getAllowLists() { + return allowLists; + } + + public void setAllowLists(List allowLists) { + this.allowLists = allowLists; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeAllowListsResponse describeAllowListsResponse = (DescribeAllowListsResponse) o; + return Objects.equals(this.allowLists, describeAllowListsResponse.allowLists); + } + + @Override + public int hashCode() { + return Objects.hash(allowLists); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeAllowListsResponse {\n"); + + sb.append(" allowLists: ").append(toIndentedString(allowLists)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesRequest.java new file mode 100644 index 00000000..f1c0f582 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesRequest.java @@ -0,0 +1,93 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeAvailabilityZonesRequest + */ + + +public class DescribeAvailabilityZonesRequest { + @SerializedName("RegionId") + private String regionId = null; + + public DescribeAvailabilityZonesRequest regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + @Schema(description = "") + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeAvailabilityZonesRequest describeAvailabilityZonesRequest = (DescribeAvailabilityZonesRequest) o; + return Objects.equals(this.regionId, describeAvailabilityZonesRequest.regionId); + } + + @Override + public int hashCode() { + return Objects.hash(regionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeAvailabilityZonesRequest {\n"); + + sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesResponse.java new file mode 100644 index 00000000..19af7486 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeAvailabilityZonesResponse.java @@ -0,0 +1,128 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.ZoneForDescribeAvailabilityZonesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeAvailabilityZonesResponse + */ + + +public class DescribeAvailabilityZonesResponse { + @SerializedName("RegionId") + private String regionId = null; + + @SerializedName("Zones") + private List zones = null; + + public DescribeAvailabilityZonesResponse regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + @Schema(description = "") + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public DescribeAvailabilityZonesResponse zones(List zones) { + this.zones = zones; + return this; + } + + public DescribeAvailabilityZonesResponse addZonesItem(ZoneForDescribeAvailabilityZonesOutput zonesItem) { + if (this.zones == null) { + this.zones = new ArrayList(); + } + this.zones.add(zonesItem); + return this; + } + + /** + * Get zones + * @return zones + **/ + @Valid + @Schema(description = "") + public List getZones() { + return zones; + } + + public void setZones(List zones) { + this.zones = zones; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeAvailabilityZonesResponse describeAvailabilityZonesResponse = (DescribeAvailabilityZonesResponse) o; + return Objects.equals(this.regionId, describeAvailabilityZonesResponse.regionId) && + Objects.equals(this.zones, describeAvailabilityZonesResponse.zones); + } + + @Override + public int hashCode() { + return Objects.hash(regionId, zones); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeAvailabilityZonesResponse {\n"); + + sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n"); + sb.append(" zones: ").append(toIndentedString(zones)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsRequest.java new file mode 100644 index 00000000..7317c8b0 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsRequest.java @@ -0,0 +1,278 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeBackupsRequest + */ + + +public class DescribeBackupsRequest { + @SerializedName("BackupEndTime") + private String backupEndTime = null; + + @SerializedName("BackupId") + private String backupId = null; + + @SerializedName("BackupMethod") + private String backupMethod = null; + + @SerializedName("BackupStartTime") + private String backupStartTime = null; + + @SerializedName("BackupStatus") + private String backupStatus = null; + + @SerializedName("BackupType") + private String backupType = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("PageNumber") + private Integer pageNumber = null; + + @SerializedName("PageSize") + private Integer pageSize = null; + + public DescribeBackupsRequest backupEndTime(String backupEndTime) { + this.backupEndTime = backupEndTime; + return this; + } + + /** + * Get backupEndTime + * @return backupEndTime + **/ + @Schema(description = "") + public String getBackupEndTime() { + return backupEndTime; + } + + public void setBackupEndTime(String backupEndTime) { + this.backupEndTime = backupEndTime; + } + + public DescribeBackupsRequest backupId(String backupId) { + this.backupId = backupId; + return this; + } + + /** + * Get backupId + * @return backupId + **/ + @Schema(description = "") + public String getBackupId() { + return backupId; + } + + public void setBackupId(String backupId) { + this.backupId = backupId; + } + + public DescribeBackupsRequest backupMethod(String backupMethod) { + this.backupMethod = backupMethod; + return this; + } + + /** + * Get backupMethod + * @return backupMethod + **/ + @Schema(description = "") + public String getBackupMethod() { + return backupMethod; + } + + public void setBackupMethod(String backupMethod) { + this.backupMethod = backupMethod; + } + + public DescribeBackupsRequest backupStartTime(String backupStartTime) { + this.backupStartTime = backupStartTime; + return this; + } + + /** + * Get backupStartTime + * @return backupStartTime + **/ + @Schema(description = "") + public String getBackupStartTime() { + return backupStartTime; + } + + public void setBackupStartTime(String backupStartTime) { + this.backupStartTime = backupStartTime; + } + + public DescribeBackupsRequest backupStatus(String backupStatus) { + this.backupStatus = backupStatus; + return this; + } + + /** + * Get backupStatus + * @return backupStatus + **/ + @Schema(description = "") + public String getBackupStatus() { + return backupStatus; + } + + public void setBackupStatus(String backupStatus) { + this.backupStatus = backupStatus; + } + + public DescribeBackupsRequest backupType(String backupType) { + this.backupType = backupType; + return this; + } + + /** + * Get backupType + * @return backupType + **/ + @Schema(description = "") + public String getBackupType() { + return backupType; + } + + public void setBackupType(String backupType) { + this.backupType = backupType; + } + + public DescribeBackupsRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeBackupsRequest pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + @Schema(description = "") + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public DescribeBackupsRequest pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + @Schema(description = "") + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeBackupsRequest describeBackupsRequest = (DescribeBackupsRequest) o; + return Objects.equals(this.backupEndTime, describeBackupsRequest.backupEndTime) && + Objects.equals(this.backupId, describeBackupsRequest.backupId) && + Objects.equals(this.backupMethod, describeBackupsRequest.backupMethod) && + Objects.equals(this.backupStartTime, describeBackupsRequest.backupStartTime) && + Objects.equals(this.backupStatus, describeBackupsRequest.backupStatus) && + Objects.equals(this.backupType, describeBackupsRequest.backupType) && + Objects.equals(this.instanceId, describeBackupsRequest.instanceId) && + Objects.equals(this.pageNumber, describeBackupsRequest.pageNumber) && + Objects.equals(this.pageSize, describeBackupsRequest.pageSize); + } + + @Override + public int hashCode() { + return Objects.hash(backupEndTime, backupId, backupMethod, backupStartTime, backupStatus, backupType, instanceId, pageNumber, pageSize); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeBackupsRequest {\n"); + + sb.append(" backupEndTime: ").append(toIndentedString(backupEndTime)).append("\n"); + sb.append(" backupId: ").append(toIndentedString(backupId)).append("\n"); + sb.append(" backupMethod: ").append(toIndentedString(backupMethod)).append("\n"); + sb.append(" backupStartTime: ").append(toIndentedString(backupStartTime)).append("\n"); + sb.append(" backupStatus: ").append(toIndentedString(backupStatus)).append("\n"); + sb.append(" backupType: ").append(toIndentedString(backupType)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsResponse.java new file mode 100644 index 00000000..b0cf0bde --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeBackupsResponse.java @@ -0,0 +1,128 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.BackupForDescribeBackupsOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeBackupsResponse + */ + + +public class DescribeBackupsResponse { + @SerializedName("Backups") + private List backups = null; + + @SerializedName("Total") + private Integer total = null; + + public DescribeBackupsResponse backups(List backups) { + this.backups = backups; + return this; + } + + public DescribeBackupsResponse addBackupsItem(BackupForDescribeBackupsOutput backupsItem) { + if (this.backups == null) { + this.backups = new ArrayList(); + } + this.backups.add(backupsItem); + return this; + } + + /** + * Get backups + * @return backups + **/ + @Valid + @Schema(description = "") + public List getBackups() { + return backups; + } + + public void setBackups(List backups) { + this.backups = backups; + } + + public DescribeBackupsResponse total(Integer total) { + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @Schema(description = "") + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeBackupsResponse describeBackupsResponse = (DescribeBackupsResponse) o; + return Objects.equals(this.backups, describeBackupsResponse.backups) && + Objects.equals(this.total, describeBackupsResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(backups, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeBackupsResponse {\n"); + + sb.append(" backups: ").append(toIndentedString(backups)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsRequest.java new file mode 100644 index 00000000..bb5d9aab --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsRequest.java @@ -0,0 +1,163 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBAccountsRequest + */ + + +public class DescribeDBAccountsRequest { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("PageNumber") + private Integer pageNumber = null; + + @SerializedName("PageSize") + private Integer pageSize = null; + + public DescribeDBAccountsRequest accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @Size(min=2,max=32) @Schema(description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public DescribeDBAccountsRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeDBAccountsRequest pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + @Schema(description = "") + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public DescribeDBAccountsRequest pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + @Schema(description = "") + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBAccountsRequest describeDBAccountsRequest = (DescribeDBAccountsRequest) o; + return Objects.equals(this.accountName, describeDBAccountsRequest.accountName) && + Objects.equals(this.instanceId, describeDBAccountsRequest.instanceId) && + Objects.equals(this.pageNumber, describeDBAccountsRequest.pageNumber) && + Objects.equals(this.pageSize, describeDBAccountsRequest.pageSize); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, instanceId, pageNumber, pageSize); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBAccountsRequest {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsResponse.java new file mode 100644 index 00000000..9395ec3f --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBAccountsResponse.java @@ -0,0 +1,128 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AccountForDescribeDBAccountsOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBAccountsResponse + */ + + +public class DescribeDBAccountsResponse { + @SerializedName("Accounts") + private List accounts = null; + + @SerializedName("Total") + private Integer total = null; + + public DescribeDBAccountsResponse accounts(List accounts) { + this.accounts = accounts; + return this; + } + + public DescribeDBAccountsResponse addAccountsItem(AccountForDescribeDBAccountsOutput accountsItem) { + if (this.accounts == null) { + this.accounts = new ArrayList(); + } + this.accounts.add(accountsItem); + return this; + } + + /** + * Get accounts + * @return accounts + **/ + @Valid + @Schema(description = "") + public List getAccounts() { + return accounts; + } + + public void setAccounts(List accounts) { + this.accounts = accounts; + } + + public DescribeDBAccountsResponse total(Integer total) { + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @Schema(description = "") + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBAccountsResponse describeDBAccountsResponse = (DescribeDBAccountsResponse) o; + return Objects.equals(this.accounts, describeDBAccountsResponse.accounts) && + Objects.equals(this.total, describeDBAccountsResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(accounts, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBAccountsResponse {\n"); + + sb.append(" accounts: ").append(toIndentedString(accounts)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailRequest.java new file mode 100644 index 00000000..f6342fbc --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailRequest.java @@ -0,0 +1,94 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstanceDetailRequest + */ + + +public class DescribeDBInstanceDetailRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + public DescribeDBInstanceDetailRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstanceDetailRequest describeDBInstanceDetailRequest = (DescribeDBInstanceDetailRequest) o; + return Objects.equals(this.instanceId, describeDBInstanceDetailRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceDetailRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailResponse.java new file mode 100644 index 00000000..199239dc --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceDetailResponse.java @@ -0,0 +1,188 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.BasicInfoForDescribeDBInstanceDetailOutput; +import com.volcengine.rdsmysqlv2.model.ChargeDetailForDescribeDBInstanceDetailOutput; +import com.volcengine.rdsmysqlv2.model.EndpointForDescribeDBInstanceDetailOutput; +import com.volcengine.rdsmysqlv2.model.NodeForDescribeDBInstanceDetailOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstanceDetailResponse + */ + + +public class DescribeDBInstanceDetailResponse { + @SerializedName("BasicInfo") + private BasicInfoForDescribeDBInstanceDetailOutput basicInfo = null; + + @SerializedName("ChargeDetail") + private ChargeDetailForDescribeDBInstanceDetailOutput chargeDetail = null; + + @SerializedName("Endpoints") + private List endpoints = null; + + @SerializedName("Nodes") + private List nodes = null; + + public DescribeDBInstanceDetailResponse basicInfo(BasicInfoForDescribeDBInstanceDetailOutput basicInfo) { + this.basicInfo = basicInfo; + return this; + } + + /** + * Get basicInfo + * @return basicInfo + **/ + @Valid + @Schema(description = "") + public BasicInfoForDescribeDBInstanceDetailOutput getBasicInfo() { + return basicInfo; + } + + public void setBasicInfo(BasicInfoForDescribeDBInstanceDetailOutput basicInfo) { + this.basicInfo = basicInfo; + } + + public DescribeDBInstanceDetailResponse chargeDetail(ChargeDetailForDescribeDBInstanceDetailOutput chargeDetail) { + this.chargeDetail = chargeDetail; + return this; + } + + /** + * Get chargeDetail + * @return chargeDetail + **/ + @Valid + @Schema(description = "") + public ChargeDetailForDescribeDBInstanceDetailOutput getChargeDetail() { + return chargeDetail; + } + + public void setChargeDetail(ChargeDetailForDescribeDBInstanceDetailOutput chargeDetail) { + this.chargeDetail = chargeDetail; + } + + public DescribeDBInstanceDetailResponse endpoints(List endpoints) { + this.endpoints = endpoints; + return this; + } + + public DescribeDBInstanceDetailResponse addEndpointsItem(EndpointForDescribeDBInstanceDetailOutput endpointsItem) { + if (this.endpoints == null) { + this.endpoints = new ArrayList(); + } + this.endpoints.add(endpointsItem); + return this; + } + + /** + * Get endpoints + * @return endpoints + **/ + @Valid + @Schema(description = "") + public List getEndpoints() { + return endpoints; + } + + public void setEndpoints(List endpoints) { + this.endpoints = endpoints; + } + + public DescribeDBInstanceDetailResponse nodes(List nodes) { + this.nodes = nodes; + return this; + } + + public DescribeDBInstanceDetailResponse addNodesItem(NodeForDescribeDBInstanceDetailOutput nodesItem) { + if (this.nodes == null) { + this.nodes = new ArrayList(); + } + this.nodes.add(nodesItem); + return this; + } + + /** + * Get nodes + * @return nodes + **/ + @Valid + @Schema(description = "") + public List getNodes() { + return nodes; + } + + public void setNodes(List nodes) { + this.nodes = nodes; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstanceDetailResponse describeDBInstanceDetailResponse = (DescribeDBInstanceDetailResponse) o; + return Objects.equals(this.basicInfo, describeDBInstanceDetailResponse.basicInfo) && + Objects.equals(this.chargeDetail, describeDBInstanceDetailResponse.chargeDetail) && + Objects.equals(this.endpoints, describeDBInstanceDetailResponse.endpoints) && + Objects.equals(this.nodes, describeDBInstanceDetailResponse.nodes); + } + + @Override + public int hashCode() { + return Objects.hash(basicInfo, chargeDetail, endpoints, nodes); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceDetailResponse {\n"); + + sb.append(" basicInfo: ").append(toIndentedString(basicInfo)).append("\n"); + sb.append(" chargeDetail: ").append(toIndentedString(chargeDetail)).append("\n"); + sb.append(" endpoints: ").append(toIndentedString(endpoints)).append("\n"); + sb.append(" nodes: ").append(toIndentedString(nodes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogRequest.java new file mode 100644 index 00000000..5dc637b3 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogRequest.java @@ -0,0 +1,142 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstanceParametersLogRequest + */ + + +public class DescribeDBInstanceParametersLogRequest { + @SerializedName("EndTime") + private String endTime = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("StartTime") + private String startTime = null; + + public DescribeDBInstanceParametersLogRequest endTime(String endTime) { + this.endTime = endTime; + return this; + } + + /** + * Get endTime + * @return endTime + **/ + @NotNull + @Schema(required = true, description = "") + public String getEndTime() { + return endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public DescribeDBInstanceParametersLogRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeDBInstanceParametersLogRequest startTime(String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Get startTime + * @return startTime + **/ + @NotNull + @Schema(required = true, description = "") + public String getStartTime() { + return startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstanceParametersLogRequest describeDBInstanceParametersLogRequest = (DescribeDBInstanceParametersLogRequest) o; + return Objects.equals(this.endTime, describeDBInstanceParametersLogRequest.endTime) && + Objects.equals(this.instanceId, describeDBInstanceParametersLogRequest.instanceId) && + Objects.equals(this.startTime, describeDBInstanceParametersLogRequest.startTime); + } + + @Override + public int hashCode() { + return Objects.hash(endTime, instanceId, startTime); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceParametersLogRequest {\n"); + + sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogResponse.java new file mode 100644 index 00000000..d330022e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersLogResponse.java @@ -0,0 +1,128 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.ParameterChangeLogForDescribeDBInstanceParametersLogOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstanceParametersLogResponse + */ + + +public class DescribeDBInstanceParametersLogResponse { + @SerializedName("ParameterChangeLogs") + private List parameterChangeLogs = null; + + @SerializedName("Total") + private Integer total = null; + + public DescribeDBInstanceParametersLogResponse parameterChangeLogs(List parameterChangeLogs) { + this.parameterChangeLogs = parameterChangeLogs; + return this; + } + + public DescribeDBInstanceParametersLogResponse addParameterChangeLogsItem(ParameterChangeLogForDescribeDBInstanceParametersLogOutput parameterChangeLogsItem) { + if (this.parameterChangeLogs == null) { + this.parameterChangeLogs = new ArrayList(); + } + this.parameterChangeLogs.add(parameterChangeLogsItem); + return this; + } + + /** + * Get parameterChangeLogs + * @return parameterChangeLogs + **/ + @Valid + @Schema(description = "") + public List getParameterChangeLogs() { + return parameterChangeLogs; + } + + public void setParameterChangeLogs(List parameterChangeLogs) { + this.parameterChangeLogs = parameterChangeLogs; + } + + public DescribeDBInstanceParametersLogResponse total(Integer total) { + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @Schema(description = "") + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstanceParametersLogResponse describeDBInstanceParametersLogResponse = (DescribeDBInstanceParametersLogResponse) o; + return Objects.equals(this.parameterChangeLogs, describeDBInstanceParametersLogResponse.parameterChangeLogs) && + Objects.equals(this.total, describeDBInstanceParametersLogResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(parameterChangeLogs, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceParametersLogResponse {\n"); + + sb.append(" parameterChangeLogs: ").append(toIndentedString(parameterChangeLogs)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersRequest.java new file mode 100644 index 00000000..66922027 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersRequest.java @@ -0,0 +1,117 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstanceParametersRequest + */ + + +public class DescribeDBInstanceParametersRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("ParameterName") + private String parameterName = null; + + public DescribeDBInstanceParametersRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeDBInstanceParametersRequest parameterName(String parameterName) { + this.parameterName = parameterName; + return this; + } + + /** + * Get parameterName + * @return parameterName + **/ + @Schema(description = "") + public String getParameterName() { + return parameterName; + } + + public void setParameterName(String parameterName) { + this.parameterName = parameterName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstanceParametersRequest describeDBInstanceParametersRequest = (DescribeDBInstanceParametersRequest) o; + return Objects.equals(this.instanceId, describeDBInstanceParametersRequest.instanceId) && + Objects.equals(this.parameterName, describeDBInstanceParametersRequest.parameterName); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, parameterName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceParametersRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" parameterName: ").append(toIndentedString(parameterName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersResponse.java new file mode 100644 index 00000000..85062823 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstanceParametersResponse.java @@ -0,0 +1,197 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.ParameterForDescribeDBInstanceParametersOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstanceParametersResponse + */ + + +public class DescribeDBInstanceParametersResponse { + @SerializedName("DBEngine") + private String dbEngine = null; + + @SerializedName("DBEngineVersion") + private String dbEngineVersion = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("ParameterCount") + private Integer parameterCount = null; + + @SerializedName("Parameters") + private List parameters = null; + + public DescribeDBInstanceParametersResponse dbEngine(String dbEngine) { + this.dbEngine = dbEngine; + return this; + } + + /** + * Get dbEngine + * @return dbEngine + **/ + @Schema(description = "") + public String getDbEngine() { + return dbEngine; + } + + public void setDbEngine(String dbEngine) { + this.dbEngine = dbEngine; + } + + public DescribeDBInstanceParametersResponse dbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public String getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public DescribeDBInstanceParametersResponse instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeDBInstanceParametersResponse parameterCount(Integer parameterCount) { + this.parameterCount = parameterCount; + return this; + } + + /** + * Get parameterCount + * @return parameterCount + **/ + @Schema(description = "") + public Integer getParameterCount() { + return parameterCount; + } + + public void setParameterCount(Integer parameterCount) { + this.parameterCount = parameterCount; + } + + public DescribeDBInstanceParametersResponse parameters(List parameters) { + this.parameters = parameters; + return this; + } + + public DescribeDBInstanceParametersResponse addParametersItem(ParameterForDescribeDBInstanceParametersOutput parametersItem) { + if (this.parameters == null) { + this.parameters = new ArrayList(); + } + this.parameters.add(parametersItem); + return this; + } + + /** + * Get parameters + * @return parameters + **/ + @Valid + @Schema(description = "") + public List getParameters() { + return parameters; + } + + public void setParameters(List parameters) { + this.parameters = parameters; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstanceParametersResponse describeDBInstanceParametersResponse = (DescribeDBInstanceParametersResponse) o; + return Objects.equals(this.dbEngine, describeDBInstanceParametersResponse.dbEngine) && + Objects.equals(this.dbEngineVersion, describeDBInstanceParametersResponse.dbEngineVersion) && + Objects.equals(this.instanceId, describeDBInstanceParametersResponse.instanceId) && + Objects.equals(this.parameterCount, describeDBInstanceParametersResponse.parameterCount) && + Objects.equals(this.parameters, describeDBInstanceParametersResponse.parameters); + } + + @Override + public int hashCode() { + return Objects.hash(dbEngine, dbEngineVersion, instanceId, parameterCount, parameters); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceParametersResponse {\n"); + + sb.append(" dbEngine: ").append(toIndentedString(dbEngine)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" parameterCount: ").append(toIndentedString(parameterCount)).append("\n"); + sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesRequest.java new file mode 100644 index 00000000..04397533 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesRequest.java @@ -0,0 +1,323 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstancesRequest + */ + + +public class DescribeDBInstancesRequest { + @SerializedName("ChargeType") + private String chargeType = null; + + @SerializedName("CreateTimeEnd") + private String createTimeEnd = null; + + @SerializedName("CreateTimeStart") + private String createTimeStart = null; + + @SerializedName("DBEngineVersion") + private String dbEngineVersion = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + @SerializedName("InstanceStatus") + private String instanceStatus = null; + + @SerializedName("PageNumber") + private Integer pageNumber = null; + + @SerializedName("PageSize") + private Integer pageSize = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public DescribeDBInstancesRequest chargeType(String chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public DescribeDBInstancesRequest createTimeEnd(String createTimeEnd) { + this.createTimeEnd = createTimeEnd; + return this; + } + + /** + * Get createTimeEnd + * @return createTimeEnd + **/ + @Schema(description = "") + public String getCreateTimeEnd() { + return createTimeEnd; + } + + public void setCreateTimeEnd(String createTimeEnd) { + this.createTimeEnd = createTimeEnd; + } + + public DescribeDBInstancesRequest createTimeStart(String createTimeStart) { + this.createTimeStart = createTimeStart; + return this; + } + + /** + * Get createTimeStart + * @return createTimeStart + **/ + @Schema(description = "") + public String getCreateTimeStart() { + return createTimeStart; + } + + public void setCreateTimeStart(String createTimeStart) { + this.createTimeStart = createTimeStart; + } + + public DescribeDBInstancesRequest dbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public String getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public DescribeDBInstancesRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeDBInstancesRequest instanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + /** + * Get instanceName + * @return instanceName + **/ + @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public DescribeDBInstancesRequest instanceStatus(String instanceStatus) { + this.instanceStatus = instanceStatus; + return this; + } + + /** + * Get instanceStatus + * @return instanceStatus + **/ + @Schema(description = "") + public String getInstanceStatus() { + return instanceStatus; + } + + public void setInstanceStatus(String instanceStatus) { + this.instanceStatus = instanceStatus; + } + + public DescribeDBInstancesRequest pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + @Schema(description = "") + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public DescribeDBInstancesRequest pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + @Schema(description = "") + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public DescribeDBInstancesRequest projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public DescribeDBInstancesRequest zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstancesRequest describeDBInstancesRequest = (DescribeDBInstancesRequest) o; + return Objects.equals(this.chargeType, describeDBInstancesRequest.chargeType) && + Objects.equals(this.createTimeEnd, describeDBInstancesRequest.createTimeEnd) && + Objects.equals(this.createTimeStart, describeDBInstancesRequest.createTimeStart) && + Objects.equals(this.dbEngineVersion, describeDBInstancesRequest.dbEngineVersion) && + Objects.equals(this.instanceId, describeDBInstancesRequest.instanceId) && + Objects.equals(this.instanceName, describeDBInstancesRequest.instanceName) && + Objects.equals(this.instanceStatus, describeDBInstancesRequest.instanceStatus) && + Objects.equals(this.pageNumber, describeDBInstancesRequest.pageNumber) && + Objects.equals(this.pageSize, describeDBInstancesRequest.pageSize) && + Objects.equals(this.projectName, describeDBInstancesRequest.projectName) && + Objects.equals(this.zoneId, describeDBInstancesRequest.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(chargeType, createTimeEnd, createTimeStart, dbEngineVersion, instanceId, instanceName, instanceStatus, pageNumber, pageSize, projectName, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstancesRequest {\n"); + + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" createTimeEnd: ").append(toIndentedString(createTimeEnd)).append("\n"); + sb.append(" createTimeStart: ").append(toIndentedString(createTimeStart)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" instanceStatus: ").append(toIndentedString(instanceStatus)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesResponse.java new file mode 100644 index 00000000..c25c9ff1 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDBInstancesResponse.java @@ -0,0 +1,128 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.InstanceForDescribeDBInstancesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstancesResponse + */ + + +public class DescribeDBInstancesResponse { + @SerializedName("Instances") + private List instances = null; + + @SerializedName("Total") + private Integer total = null; + + public DescribeDBInstancesResponse instances(List instances) { + this.instances = instances; + return this; + } + + public DescribeDBInstancesResponse addInstancesItem(InstanceForDescribeDBInstancesOutput instancesItem) { + if (this.instances == null) { + this.instances = new ArrayList(); + } + this.instances.add(instancesItem); + return this; + } + + /** + * Get instances + * @return instances + **/ + @Valid + @Schema(description = "") + public List getInstances() { + return instances; + } + + public void setInstances(List instances) { + this.instances = instances; + } + + public DescribeDBInstancesResponse total(Integer total) { + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @Schema(description = "") + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBInstancesResponse describeDBInstancesResponse = (DescribeDBInstancesResponse) o; + return Objects.equals(this.instances, describeDBInstancesResponse.instances) && + Objects.equals(this.total, describeDBInstancesResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(instances, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstancesResponse {\n"); + + sb.append(" instances: ").append(toIndentedString(instances)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesRequest.java new file mode 100644 index 00000000..3733f7b9 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesRequest.java @@ -0,0 +1,162 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDatabasesRequest + */ + + +public class DescribeDatabasesRequest { + @SerializedName("DBName") + private String dbName = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("PageNumber") + private Integer pageNumber = null; + + @SerializedName("PageSize") + private Integer pageSize = null; + + public DescribeDatabasesRequest dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @Size(min=2,max=64) @Schema(description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public DescribeDatabasesRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeDatabasesRequest pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + @Schema(description = "") + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public DescribeDatabasesRequest pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + @Schema(description = "") + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDatabasesRequest describeDatabasesRequest = (DescribeDatabasesRequest) o; + return Objects.equals(this.dbName, describeDatabasesRequest.dbName) && + Objects.equals(this.instanceId, describeDatabasesRequest.instanceId) && + Objects.equals(this.pageNumber, describeDatabasesRequest.pageNumber) && + Objects.equals(this.pageSize, describeDatabasesRequest.pageSize); + } + + @Override + public int hashCode() { + return Objects.hash(dbName, instanceId, pageNumber, pageSize); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDatabasesRequest {\n"); + + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesResponse.java new file mode 100644 index 00000000..b445dcca --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeDatabasesResponse.java @@ -0,0 +1,128 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.DatabasForDescribeDatabasesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDatabasesResponse + */ + + +public class DescribeDatabasesResponse { + @SerializedName("Databases") + private List databases = null; + + @SerializedName("Total") + private Integer total = null; + + public DescribeDatabasesResponse databases(List databases) { + this.databases = databases; + return this; + } + + public DescribeDatabasesResponse addDatabasesItem(DatabasForDescribeDatabasesOutput databasesItem) { + if (this.databases == null) { + this.databases = new ArrayList(); + } + this.databases.add(databasesItem); + return this; + } + + /** + * Get databases + * @return databases + **/ + @Valid + @Schema(description = "") + public List getDatabases() { + return databases; + } + + public void setDatabases(List databases) { + this.databases = databases; + } + + public DescribeDatabasesResponse total(Integer total) { + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @Schema(description = "") + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDatabasesResponse describeDatabasesResponse = (DescribeDatabasesResponse) o; + return Objects.equals(this.databases, describeDatabasesResponse.databases) && + Objects.equals(this.total, describeDatabasesResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(databases, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDatabasesResponse {\n"); + + sb.append(" databases: ").append(toIndentedString(databases)).append("\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeRequest.java new file mode 100644 index 00000000..f5712f69 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeRequest.java @@ -0,0 +1,117 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeRecoverableTimeRequest + */ + + +public class DescribeRecoverableTimeRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("RestoreType") + private String restoreType = null; + + public DescribeRecoverableTimeRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public DescribeRecoverableTimeRequest restoreType(String restoreType) { + this.restoreType = restoreType; + return this; + } + + /** + * Get restoreType + * @return restoreType + **/ + @Schema(description = "") + public String getRestoreType() { + return restoreType; + } + + public void setRestoreType(String restoreType) { + this.restoreType = restoreType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeRecoverableTimeRequest describeRecoverableTimeRequest = (DescribeRecoverableTimeRequest) o; + return Objects.equals(this.instanceId, describeRecoverableTimeRequest.instanceId) && + Objects.equals(this.restoreType, describeRecoverableTimeRequest.restoreType); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, restoreType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeRecoverableTimeRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" restoreType: ").append(toIndentedString(restoreType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeResponse.java new file mode 100644 index 00000000..69b145c3 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRecoverableTimeResponse.java @@ -0,0 +1,105 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.RecoverableTimeInfoForDescribeRecoverableTimeOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeRecoverableTimeResponse + */ + + +public class DescribeRecoverableTimeResponse { + @SerializedName("RecoverableTimeInfo") + private List recoverableTimeInfo = null; + + public DescribeRecoverableTimeResponse recoverableTimeInfo(List recoverableTimeInfo) { + this.recoverableTimeInfo = recoverableTimeInfo; + return this; + } + + public DescribeRecoverableTimeResponse addRecoverableTimeInfoItem(RecoverableTimeInfoForDescribeRecoverableTimeOutput recoverableTimeInfoItem) { + if (this.recoverableTimeInfo == null) { + this.recoverableTimeInfo = new ArrayList(); + } + this.recoverableTimeInfo.add(recoverableTimeInfoItem); + return this; + } + + /** + * Get recoverableTimeInfo + * @return recoverableTimeInfo + **/ + @Valid + @Schema(description = "") + public List getRecoverableTimeInfo() { + return recoverableTimeInfo; + } + + public void setRecoverableTimeInfo(List recoverableTimeInfo) { + this.recoverableTimeInfo = recoverableTimeInfo; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeRecoverableTimeResponse describeRecoverableTimeResponse = (DescribeRecoverableTimeResponse) o; + return Objects.equals(this.recoverableTimeInfo, describeRecoverableTimeResponse.recoverableTimeInfo); + } + + @Override + public int hashCode() { + return Objects.hash(recoverableTimeInfo); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeRecoverableTimeResponse {\n"); + + sb.append(" recoverableTimeInfo: ").append(toIndentedString(recoverableTimeInfo)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsRequest.java new file mode 100644 index 00000000..512c3950 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsRequest.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeRegionsRequest + */ + + +public class DescribeRegionsRequest { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeRegionsRequest {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsResponse.java new file mode 100644 index 00000000..c51ca4b1 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DescribeRegionsResponse.java @@ -0,0 +1,105 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.RegionForDescribeRegionsOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeRegionsResponse + */ + + +public class DescribeRegionsResponse { + @SerializedName("Regions") + private List regions = null; + + public DescribeRegionsResponse regions(List regions) { + this.regions = regions; + return this; + } + + public DescribeRegionsResponse addRegionsItem(RegionForDescribeRegionsOutput regionsItem) { + if (this.regions == null) { + this.regions = new ArrayList(); + } + this.regions.add(regionsItem); + return this; + } + + /** + * Get regions + * @return regions + **/ + @Valid + @Schema(description = "") + public List getRegions() { + return regions; + } + + public void setRegions(List regions) { + this.regions = regions; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeRegionsResponse describeRegionsResponse = (DescribeRegionsResponse) o; + return Objects.equals(this.regions, describeRegionsResponse.regions); + } + + @Override + public int hashCode() { + return Objects.hash(regions); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeRegionsResponse {\n"); + + sb.append(" regions: ").append(toIndentedString(regions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListRequest.java new file mode 100644 index 00000000..55556c48 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListRequest.java @@ -0,0 +1,134 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DisassociateAllowListRequest + */ + + +public class DisassociateAllowListRequest { + @SerializedName("AllowListIds") + private List allowListIds = null; + + @SerializedName("InstanceIds") + private List instanceIds = null; + + public DisassociateAllowListRequest allowListIds(List allowListIds) { + this.allowListIds = allowListIds; + return this; + } + + public DisassociateAllowListRequest addAllowListIdsItem(String allowListIdsItem) { + if (this.allowListIds == null) { + this.allowListIds = new ArrayList(); + } + this.allowListIds.add(allowListIdsItem); + return this; + } + + /** + * Get allowListIds + * @return allowListIds + **/ + @Schema(description = "") + public List getAllowListIds() { + return allowListIds; + } + + public void setAllowListIds(List allowListIds) { + this.allowListIds = allowListIds; + } + + public DisassociateAllowListRequest instanceIds(List instanceIds) { + this.instanceIds = instanceIds; + return this; + } + + public DisassociateAllowListRequest addInstanceIdsItem(String instanceIdsItem) { + if (this.instanceIds == null) { + this.instanceIds = new ArrayList(); + } + this.instanceIds.add(instanceIdsItem); + return this; + } + + /** + * Get instanceIds + * @return instanceIds + **/ + @Schema(description = "") + public List getInstanceIds() { + return instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DisassociateAllowListRequest disassociateAllowListRequest = (DisassociateAllowListRequest) o; + return Objects.equals(this.allowListIds, disassociateAllowListRequest.allowListIds) && + Objects.equals(this.instanceIds, disassociateAllowListRequest.instanceIds); + } + + @Override + public int hashCode() { + return Objects.hash(allowListIds, instanceIds); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DisassociateAllowListRequest {\n"); + + sb.append(" allowListIds: ").append(toIndentedString(allowListIds)).append("\n"); + sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListResponse.java new file mode 100644 index 00000000..e84505e1 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DisassociateAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DisassociateAllowListResponse + */ + + +public class DisassociateAllowListResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DisassociateAllowListResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupRequest.java new file mode 100644 index 00000000..1995f9ca --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupRequest.java @@ -0,0 +1,117 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DownloadBackupRequest + */ + + +public class DownloadBackupRequest { + @SerializedName("BackupId") + private String backupId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public DownloadBackupRequest backupId(String backupId) { + this.backupId = backupId; + return this; + } + + /** + * Get backupId + * @return backupId + **/ + @Schema(description = "") + public String getBackupId() { + return backupId; + } + + public void setBackupId(String backupId) { + this.backupId = backupId; + } + + public DownloadBackupRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DownloadBackupRequest downloadBackupRequest = (DownloadBackupRequest) o; + return Objects.equals(this.backupId, downloadBackupRequest.backupId) && + Objects.equals(this.instanceId, downloadBackupRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(backupId, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DownloadBackupRequest {\n"); + + sb.append(" backupId: ").append(toIndentedString(backupId)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupResponse.java new file mode 100644 index 00000000..45cbb826 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/DownloadBackupResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DownloadBackupResponse + */ + + +public class DownloadBackupResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DownloadBackupResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/EndpointForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/EndpointForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..adce48f4 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/EndpointForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,322 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AddressForDescribeDBInstanceDetailOutput; +import com.volcengine.rdsmysqlv2.model.ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * EndpointForDescribeDBInstanceDetailOutput + */ + + +public class EndpointForDescribeDBInstanceDetailOutput { + @SerializedName("Addresses") + private List addresses = null; + + @SerializedName("AutoAddNewNodes") + private String autoAddNewNodes = null; + + @SerializedName("Description") + private String description = null; + + @SerializedName("EnableReadOnly") + private String enableReadOnly = null; + + @SerializedName("EnableReadWriteSplitting") + private String enableReadWriteSplitting = null; + + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("EndpointName") + private String endpointName = null; + + @SerializedName("EndpointType") + private String endpointType = null; + + @SerializedName("ReadOnlyNodeWeight") + private List readOnlyNodeWeight = null; + + @SerializedName("ReadWriteMode") + private String readWriteMode = null; + + public EndpointForDescribeDBInstanceDetailOutput addresses(List addresses) { + this.addresses = addresses; + return this; + } + + public EndpointForDescribeDBInstanceDetailOutput addAddressesItem(AddressForDescribeDBInstanceDetailOutput addressesItem) { + if (this.addresses == null) { + this.addresses = new ArrayList(); + } + this.addresses.add(addressesItem); + return this; + } + + /** + * Get addresses + * @return addresses + **/ + @Valid + @Schema(description = "") + public List getAddresses() { + return addresses; + } + + public void setAddresses(List addresses) { + this.addresses = addresses; + } + + public EndpointForDescribeDBInstanceDetailOutput autoAddNewNodes(String autoAddNewNodes) { + this.autoAddNewNodes = autoAddNewNodes; + return this; + } + + /** + * Get autoAddNewNodes + * @return autoAddNewNodes + **/ + @Schema(description = "") + public String getAutoAddNewNodes() { + return autoAddNewNodes; + } + + public void setAutoAddNewNodes(String autoAddNewNodes) { + this.autoAddNewNodes = autoAddNewNodes; + } + + public EndpointForDescribeDBInstanceDetailOutput description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @Schema(description = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public EndpointForDescribeDBInstanceDetailOutput enableReadOnly(String enableReadOnly) { + this.enableReadOnly = enableReadOnly; + return this; + } + + /** + * Get enableReadOnly + * @return enableReadOnly + **/ + @Schema(description = "") + public String getEnableReadOnly() { + return enableReadOnly; + } + + public void setEnableReadOnly(String enableReadOnly) { + this.enableReadOnly = enableReadOnly; + } + + public EndpointForDescribeDBInstanceDetailOutput enableReadWriteSplitting(String enableReadWriteSplitting) { + this.enableReadWriteSplitting = enableReadWriteSplitting; + return this; + } + + /** + * Get enableReadWriteSplitting + * @return enableReadWriteSplitting + **/ + @Schema(description = "") + public String getEnableReadWriteSplitting() { + return enableReadWriteSplitting; + } + + public void setEnableReadWriteSplitting(String enableReadWriteSplitting) { + this.enableReadWriteSplitting = enableReadWriteSplitting; + } + + public EndpointForDescribeDBInstanceDetailOutput endpointId(String endpointId) { + this.endpointId = endpointId; + return this; + } + + /** + * Get endpointId + * @return endpointId + **/ + @Schema(description = "") + public String getEndpointId() { + return endpointId; + } + + public void setEndpointId(String endpointId) { + this.endpointId = endpointId; + } + + public EndpointForDescribeDBInstanceDetailOutput endpointName(String endpointName) { + this.endpointName = endpointName; + return this; + } + + /** + * Get endpointName + * @return endpointName + **/ + @Schema(description = "") + public String getEndpointName() { + return endpointName; + } + + public void setEndpointName(String endpointName) { + this.endpointName = endpointName; + } + + public EndpointForDescribeDBInstanceDetailOutput endpointType(String endpointType) { + this.endpointType = endpointType; + return this; + } + + /** + * Get endpointType + * @return endpointType + **/ + @Schema(description = "") + public String getEndpointType() { + return endpointType; + } + + public void setEndpointType(String endpointType) { + this.endpointType = endpointType; + } + + public EndpointForDescribeDBInstanceDetailOutput readOnlyNodeWeight(List readOnlyNodeWeight) { + this.readOnlyNodeWeight = readOnlyNodeWeight; + return this; + } + + public EndpointForDescribeDBInstanceDetailOutput addReadOnlyNodeWeightItem(ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput readOnlyNodeWeightItem) { + if (this.readOnlyNodeWeight == null) { + this.readOnlyNodeWeight = new ArrayList(); + } + this.readOnlyNodeWeight.add(readOnlyNodeWeightItem); + return this; + } + + /** + * Get readOnlyNodeWeight + * @return readOnlyNodeWeight + **/ + @Valid + @Schema(description = "") + public List getReadOnlyNodeWeight() { + return readOnlyNodeWeight; + } + + public void setReadOnlyNodeWeight(List readOnlyNodeWeight) { + this.readOnlyNodeWeight = readOnlyNodeWeight; + } + + public EndpointForDescribeDBInstanceDetailOutput readWriteMode(String readWriteMode) { + this.readWriteMode = readWriteMode; + return this; + } + + /** + * Get readWriteMode + * @return readWriteMode + **/ + @Schema(description = "") + public String getReadWriteMode() { + return readWriteMode; + } + + public void setReadWriteMode(String readWriteMode) { + this.readWriteMode = readWriteMode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EndpointForDescribeDBInstanceDetailOutput endpointForDescribeDBInstanceDetailOutput = (EndpointForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.addresses, endpointForDescribeDBInstanceDetailOutput.addresses) && + Objects.equals(this.autoAddNewNodes, endpointForDescribeDBInstanceDetailOutput.autoAddNewNodes) && + Objects.equals(this.description, endpointForDescribeDBInstanceDetailOutput.description) && + Objects.equals(this.enableReadOnly, endpointForDescribeDBInstanceDetailOutput.enableReadOnly) && + Objects.equals(this.enableReadWriteSplitting, endpointForDescribeDBInstanceDetailOutput.enableReadWriteSplitting) && + Objects.equals(this.endpointId, endpointForDescribeDBInstanceDetailOutput.endpointId) && + Objects.equals(this.endpointName, endpointForDescribeDBInstanceDetailOutput.endpointName) && + Objects.equals(this.endpointType, endpointForDescribeDBInstanceDetailOutput.endpointType) && + Objects.equals(this.readOnlyNodeWeight, endpointForDescribeDBInstanceDetailOutput.readOnlyNodeWeight) && + Objects.equals(this.readWriteMode, endpointForDescribeDBInstanceDetailOutput.readWriteMode); + } + + @Override + public int hashCode() { + return Objects.hash(addresses, autoAddNewNodes, description, enableReadOnly, enableReadWriteSplitting, endpointId, endpointName, endpointType, readOnlyNodeWeight, readWriteMode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EndpointForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" addresses: ").append(toIndentedString(addresses)).append("\n"); + sb.append(" autoAddNewNodes: ").append(toIndentedString(autoAddNewNodes)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" enableReadOnly: ").append(toIndentedString(enableReadOnly)).append("\n"); + sb.append(" enableReadWriteSplitting: ").append(toIndentedString(enableReadWriteSplitting)).append("\n"); + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" endpointName: ").append(toIndentedString(endpointName)).append("\n"); + sb.append(" endpointType: ").append(toIndentedString(endpointType)).append("\n"); + sb.append(" readOnlyNodeWeight: ").append(toIndentedString(readOnlyNodeWeight)).append("\n"); + sb.append(" readWriteMode: ").append(toIndentedString(readWriteMode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkRequest.java new file mode 100644 index 00000000..d7ca9246 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkRequest.java @@ -0,0 +1,117 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * GetBackupDownloadLinkRequest + */ + + +public class GetBackupDownloadLinkRequest { + @SerializedName("BackupId") + private String backupId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public GetBackupDownloadLinkRequest backupId(String backupId) { + this.backupId = backupId; + return this; + } + + /** + * Get backupId + * @return backupId + **/ + @Schema(description = "") + public String getBackupId() { + return backupId; + } + + public void setBackupId(String backupId) { + this.backupId = backupId; + } + + public GetBackupDownloadLinkRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetBackupDownloadLinkRequest getBackupDownloadLinkRequest = (GetBackupDownloadLinkRequest) o; + return Objects.equals(this.backupId, getBackupDownloadLinkRequest.backupId) && + Objects.equals(this.instanceId, getBackupDownloadLinkRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(backupId, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetBackupDownloadLinkRequest {\n"); + + sb.append(" backupId: ").append(toIndentedString(backupId)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkResponse.java new file mode 100644 index 00000000..3ad03df1 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GetBackupDownloadLinkResponse.java @@ -0,0 +1,254 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * GetBackupDownloadLinkResponse + */ + + +public class GetBackupDownloadLinkResponse { + @SerializedName("BackupDownloadLink") + private String backupDownloadLink = null; + + @SerializedName("BackupFileName") + private String backupFileName = null; + + @SerializedName("BackupFileSize") + private Integer backupFileSize = null; + + @SerializedName("BackupId") + private String backupId = null; + + @SerializedName("BackupType") + private String backupType = null; + + @SerializedName("DownloadProgress") + private Long downloadProgress = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("LinkExpiredTime") + private String linkExpiredTime = null; + + public GetBackupDownloadLinkResponse backupDownloadLink(String backupDownloadLink) { + this.backupDownloadLink = backupDownloadLink; + return this; + } + + /** + * Get backupDownloadLink + * @return backupDownloadLink + **/ + @Schema(description = "") + public String getBackupDownloadLink() { + return backupDownloadLink; + } + + public void setBackupDownloadLink(String backupDownloadLink) { + this.backupDownloadLink = backupDownloadLink; + } + + public GetBackupDownloadLinkResponse backupFileName(String backupFileName) { + this.backupFileName = backupFileName; + return this; + } + + /** + * Get backupFileName + * @return backupFileName + **/ + @Schema(description = "") + public String getBackupFileName() { + return backupFileName; + } + + public void setBackupFileName(String backupFileName) { + this.backupFileName = backupFileName; + } + + public GetBackupDownloadLinkResponse backupFileSize(Integer backupFileSize) { + this.backupFileSize = backupFileSize; + return this; + } + + /** + * Get backupFileSize + * @return backupFileSize + **/ + @Schema(description = "") + public Integer getBackupFileSize() { + return backupFileSize; + } + + public void setBackupFileSize(Integer backupFileSize) { + this.backupFileSize = backupFileSize; + } + + public GetBackupDownloadLinkResponse backupId(String backupId) { + this.backupId = backupId; + return this; + } + + /** + * Get backupId + * @return backupId + **/ + @Schema(description = "") + public String getBackupId() { + return backupId; + } + + public void setBackupId(String backupId) { + this.backupId = backupId; + } + + public GetBackupDownloadLinkResponse backupType(String backupType) { + this.backupType = backupType; + return this; + } + + /** + * Get backupType + * @return backupType + **/ + @Schema(description = "") + public String getBackupType() { + return backupType; + } + + public void setBackupType(String backupType) { + this.backupType = backupType; + } + + public GetBackupDownloadLinkResponse downloadProgress(Long downloadProgress) { + this.downloadProgress = downloadProgress; + return this; + } + + /** + * Get downloadProgress + * @return downloadProgress + **/ + @Schema(description = "") + public Long getDownloadProgress() { + return downloadProgress; + } + + public void setDownloadProgress(Long downloadProgress) { + this.downloadProgress = downloadProgress; + } + + public GetBackupDownloadLinkResponse instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public GetBackupDownloadLinkResponse linkExpiredTime(String linkExpiredTime) { + this.linkExpiredTime = linkExpiredTime; + return this; + } + + /** + * Get linkExpiredTime + * @return linkExpiredTime + **/ + @Schema(description = "") + public String getLinkExpiredTime() { + return linkExpiredTime; + } + + public void setLinkExpiredTime(String linkExpiredTime) { + this.linkExpiredTime = linkExpiredTime; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetBackupDownloadLinkResponse getBackupDownloadLinkResponse = (GetBackupDownloadLinkResponse) o; + return Objects.equals(this.backupDownloadLink, getBackupDownloadLinkResponse.backupDownloadLink) && + Objects.equals(this.backupFileName, getBackupDownloadLinkResponse.backupFileName) && + Objects.equals(this.backupFileSize, getBackupDownloadLinkResponse.backupFileSize) && + Objects.equals(this.backupId, getBackupDownloadLinkResponse.backupId) && + Objects.equals(this.backupType, getBackupDownloadLinkResponse.backupType) && + Objects.equals(this.downloadProgress, getBackupDownloadLinkResponse.downloadProgress) && + Objects.equals(this.instanceId, getBackupDownloadLinkResponse.instanceId) && + Objects.equals(this.linkExpiredTime, getBackupDownloadLinkResponse.linkExpiredTime); + } + + @Override + public int hashCode() { + return Objects.hash(backupDownloadLink, backupFileName, backupFileSize, backupId, backupType, downloadProgress, instanceId, linkExpiredTime); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetBackupDownloadLinkResponse {\n"); + + sb.append(" backupDownloadLink: ").append(toIndentedString(backupDownloadLink)).append("\n"); + sb.append(" backupFileName: ").append(toIndentedString(backupFileName)).append("\n"); + sb.append(" backupFileSize: ").append(toIndentedString(backupFileSize)).append("\n"); + sb.append(" backupId: ").append(toIndentedString(backupId)).append("\n"); + sb.append(" backupType: ").append(toIndentedString(backupType)).append("\n"); + sb.append(" downloadProgress: ").append(toIndentedString(downloadProgress)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" linkExpiredTime: ").append(toIndentedString(linkExpiredTime)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeRequest.java new file mode 100644 index 00000000..9f29d93f --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeRequest.java @@ -0,0 +1,153 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AccountPrivilegeForGrantDBAccountPrivilegeInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * GrantDBAccountPrivilegeRequest + */ + + +public class GrantDBAccountPrivilegeRequest { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPrivileges") + private List accountPrivileges = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public GrantDBAccountPrivilegeRequest accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @NotNull + @Size(min=2,max=32) @Schema(required = true, description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public GrantDBAccountPrivilegeRequest accountPrivileges(List accountPrivileges) { + this.accountPrivileges = accountPrivileges; + return this; + } + + public GrantDBAccountPrivilegeRequest addAccountPrivilegesItem(AccountPrivilegeForGrantDBAccountPrivilegeInput accountPrivilegesItem) { + if (this.accountPrivileges == null) { + this.accountPrivileges = new ArrayList(); + } + this.accountPrivileges.add(accountPrivilegesItem); + return this; + } + + /** + * Get accountPrivileges + * @return accountPrivileges + **/ + @Valid + @Schema(description = "") + public List getAccountPrivileges() { + return accountPrivileges; + } + + public void setAccountPrivileges(List accountPrivileges) { + this.accountPrivileges = accountPrivileges; + } + + public GrantDBAccountPrivilegeRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GrantDBAccountPrivilegeRequest grantDBAccountPrivilegeRequest = (GrantDBAccountPrivilegeRequest) o; + return Objects.equals(this.accountName, grantDBAccountPrivilegeRequest.accountName) && + Objects.equals(this.accountPrivileges, grantDBAccountPrivilegeRequest.accountPrivileges) && + Objects.equals(this.instanceId, grantDBAccountPrivilegeRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, accountPrivileges, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GrantDBAccountPrivilegeRequest {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" accountPrivileges: ").append(toIndentedString(accountPrivileges)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeResponse.java new file mode 100644 index 00000000..9afe2b7e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDBAccountPrivilegeResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * GrantDBAccountPrivilegeResponse + */ + + +public class GrantDBAccountPrivilegeResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GrantDBAccountPrivilegeResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeRequest.java new file mode 100644 index 00000000..bf372021 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeRequest.java @@ -0,0 +1,153 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.DatabasePrivilegeForGrantDatabasePrivilegeInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * GrantDatabasePrivilegeRequest + */ + + +public class GrantDatabasePrivilegeRequest { + @SerializedName("DBName") + private String dbName = null; + + @SerializedName("DatabasePrivileges") + private List databasePrivileges = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public GrantDatabasePrivilegeRequest dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @NotNull + @Size(min=2,max=64) @Schema(required = true, description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public GrantDatabasePrivilegeRequest databasePrivileges(List databasePrivileges) { + this.databasePrivileges = databasePrivileges; + return this; + } + + public GrantDatabasePrivilegeRequest addDatabasePrivilegesItem(DatabasePrivilegeForGrantDatabasePrivilegeInput databasePrivilegesItem) { + if (this.databasePrivileges == null) { + this.databasePrivileges = new ArrayList(); + } + this.databasePrivileges.add(databasePrivilegesItem); + return this; + } + + /** + * Get databasePrivileges + * @return databasePrivileges + **/ + @Valid + @Schema(description = "") + public List getDatabasePrivileges() { + return databasePrivileges; + } + + public void setDatabasePrivileges(List databasePrivileges) { + this.databasePrivileges = databasePrivileges; + } + + public GrantDatabasePrivilegeRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GrantDatabasePrivilegeRequest grantDatabasePrivilegeRequest = (GrantDatabasePrivilegeRequest) o; + return Objects.equals(this.dbName, grantDatabasePrivilegeRequest.dbName) && + Objects.equals(this.databasePrivileges, grantDatabasePrivilegeRequest.databasePrivileges) && + Objects.equals(this.instanceId, grantDatabasePrivilegeRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(dbName, databasePrivileges, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GrantDatabasePrivilegeRequest {\n"); + + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append(" databasePrivileges: ").append(toIndentedString(databasePrivileges)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeResponse.java new file mode 100644 index 00000000..79eb6fdc --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/GrantDatabasePrivilegeResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * GrantDatabasePrivilegeResponse + */ + + +public class GrantDatabasePrivilegeResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GrantDatabasePrivilegeResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceForDescribeDBInstancesOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceForDescribeDBInstancesOutput.java new file mode 100644 index 00000000..8bf3f658 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceForDescribeDBInstancesOutput.java @@ -0,0 +1,569 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.AddressObjectForDescribeDBInstancesOutput; +import com.volcengine.rdsmysqlv2.model.ChargeDetailForDescribeDBInstancesOutput; +import com.volcengine.rdsmysqlv2.model.MaintenanceWindowForDescribeDBInstancesOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * InstanceForDescribeDBInstancesOutput + */ + + +public class InstanceForDescribeDBInstancesOutput { + @SerializedName("AddressObject") + private List addressObject = null; + + @SerializedName("AllowListVersion") + private String allowListVersion = null; + + @SerializedName("ChargeDetail") + private ChargeDetailForDescribeDBInstancesOutput chargeDetail = null; + + @SerializedName("CreateTime") + private String createTime = null; + + @SerializedName("DBEngineVersion") + private String dbEngineVersion = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + @SerializedName("InstanceStatus") + private String instanceStatus = null; + + @SerializedName("LowerCaseTableNames") + private String lowerCaseTableNames = null; + + @SerializedName("MaintenanceWindow") + private MaintenanceWindowForDescribeDBInstancesOutput maintenanceWindow = null; + + @SerializedName("NodeNumber") + private Integer nodeNumber = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("RegionId") + private String regionId = null; + + @SerializedName("StorageSpace") + private Integer storageSpace = null; + + @SerializedName("StorageType") + private String storageType = null; + + @SerializedName("StorageUse") + private Integer storageUse = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + @SerializedName("TimeZone") + private String timeZone = null; + + @SerializedName("VpcId") + private String vpcId = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public InstanceForDescribeDBInstancesOutput addressObject(List addressObject) { + this.addressObject = addressObject; + return this; + } + + public InstanceForDescribeDBInstancesOutput addAddressObjectItem(AddressObjectForDescribeDBInstancesOutput addressObjectItem) { + if (this.addressObject == null) { + this.addressObject = new ArrayList(); + } + this.addressObject.add(addressObjectItem); + return this; + } + + /** + * Get addressObject + * @return addressObject + **/ + @Valid + @Schema(description = "") + public List getAddressObject() { + return addressObject; + } + + public void setAddressObject(List addressObject) { + this.addressObject = addressObject; + } + + public InstanceForDescribeDBInstancesOutput allowListVersion(String allowListVersion) { + this.allowListVersion = allowListVersion; + return this; + } + + /** + * Get allowListVersion + * @return allowListVersion + **/ + @Schema(description = "") + public String getAllowListVersion() { + return allowListVersion; + } + + public void setAllowListVersion(String allowListVersion) { + this.allowListVersion = allowListVersion; + } + + public InstanceForDescribeDBInstancesOutput chargeDetail(ChargeDetailForDescribeDBInstancesOutput chargeDetail) { + this.chargeDetail = chargeDetail; + return this; + } + + /** + * Get chargeDetail + * @return chargeDetail + **/ + @Valid + @Schema(description = "") + public ChargeDetailForDescribeDBInstancesOutput getChargeDetail() { + return chargeDetail; + } + + public void setChargeDetail(ChargeDetailForDescribeDBInstancesOutput chargeDetail) { + this.chargeDetail = chargeDetail; + } + + public InstanceForDescribeDBInstancesOutput createTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Get createTime + * @return createTime + **/ + @Schema(description = "") + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public InstanceForDescribeDBInstancesOutput dbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public String getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(String dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public InstanceForDescribeDBInstancesOutput instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public InstanceForDescribeDBInstancesOutput instanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + /** + * Get instanceName + * @return instanceName + **/ + @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public InstanceForDescribeDBInstancesOutput instanceStatus(String instanceStatus) { + this.instanceStatus = instanceStatus; + return this; + } + + /** + * Get instanceStatus + * @return instanceStatus + **/ + @Schema(description = "") + public String getInstanceStatus() { + return instanceStatus; + } + + public void setInstanceStatus(String instanceStatus) { + this.instanceStatus = instanceStatus; + } + + public InstanceForDescribeDBInstancesOutput lowerCaseTableNames(String lowerCaseTableNames) { + this.lowerCaseTableNames = lowerCaseTableNames; + return this; + } + + /** + * Get lowerCaseTableNames + * @return lowerCaseTableNames + **/ + @Schema(description = "") + public String getLowerCaseTableNames() { + return lowerCaseTableNames; + } + + public void setLowerCaseTableNames(String lowerCaseTableNames) { + this.lowerCaseTableNames = lowerCaseTableNames; + } + + public InstanceForDescribeDBInstancesOutput maintenanceWindow(MaintenanceWindowForDescribeDBInstancesOutput maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + return this; + } + + /** + * Get maintenanceWindow + * @return maintenanceWindow + **/ + @Valid + @Schema(description = "") + public MaintenanceWindowForDescribeDBInstancesOutput getMaintenanceWindow() { + return maintenanceWindow; + } + + public void setMaintenanceWindow(MaintenanceWindowForDescribeDBInstancesOutput maintenanceWindow) { + this.maintenanceWindow = maintenanceWindow; + } + + public InstanceForDescribeDBInstancesOutput nodeNumber(Integer nodeNumber) { + this.nodeNumber = nodeNumber; + return this; + } + + /** + * Get nodeNumber + * @return nodeNumber + **/ + @Schema(description = "") + public Integer getNodeNumber() { + return nodeNumber; + } + + public void setNodeNumber(Integer nodeNumber) { + this.nodeNumber = nodeNumber; + } + + public InstanceForDescribeDBInstancesOutput nodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + return this; + } + + /** + * Get nodeSpec + * @return nodeSpec + **/ + @Schema(description = "") + public String getNodeSpec() { + return nodeSpec; + } + + public void setNodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + } + + public InstanceForDescribeDBInstancesOutput projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public InstanceForDescribeDBInstancesOutput regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + @Schema(description = "") + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public InstanceForDescribeDBInstancesOutput storageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + return this; + } + + /** + * Get storageSpace + * @return storageSpace + **/ + @Schema(description = "") + public Integer getStorageSpace() { + return storageSpace; + } + + public void setStorageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + } + + public InstanceForDescribeDBInstancesOutput storageType(String storageType) { + this.storageType = storageType; + return this; + } + + /** + * Get storageType + * @return storageType + **/ + @Schema(description = "") + public String getStorageType() { + return storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public InstanceForDescribeDBInstancesOutput storageUse(Integer storageUse) { + this.storageUse = storageUse; + return this; + } + + /** + * Get storageUse + * @return storageUse + **/ + @Schema(description = "") + public Integer getStorageUse() { + return storageUse; + } + + public void setStorageUse(Integer storageUse) { + this.storageUse = storageUse; + } + + public InstanceForDescribeDBInstancesOutput subnetId(String subnetId) { + this.subnetId = subnetId; + return this; + } + + /** + * Get subnetId + * @return subnetId + **/ + @Schema(description = "") + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + public InstanceForDescribeDBInstancesOutput timeZone(String timeZone) { + this.timeZone = timeZone; + return this; + } + + /** + * Get timeZone + * @return timeZone + **/ + @Schema(description = "") + public String getTimeZone() { + return timeZone; + } + + public void setTimeZone(String timeZone) { + this.timeZone = timeZone; + } + + public InstanceForDescribeDBInstancesOutput vpcId(String vpcId) { + this.vpcId = vpcId; + return this; + } + + /** + * Get vpcId + * @return vpcId + **/ + @Schema(description = "") + public String getVpcId() { + return vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public InstanceForDescribeDBInstancesOutput zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InstanceForDescribeDBInstancesOutput instanceForDescribeDBInstancesOutput = (InstanceForDescribeDBInstancesOutput) o; + return Objects.equals(this.addressObject, instanceForDescribeDBInstancesOutput.addressObject) && + Objects.equals(this.allowListVersion, instanceForDescribeDBInstancesOutput.allowListVersion) && + Objects.equals(this.chargeDetail, instanceForDescribeDBInstancesOutput.chargeDetail) && + Objects.equals(this.createTime, instanceForDescribeDBInstancesOutput.createTime) && + Objects.equals(this.dbEngineVersion, instanceForDescribeDBInstancesOutput.dbEngineVersion) && + Objects.equals(this.instanceId, instanceForDescribeDBInstancesOutput.instanceId) && + Objects.equals(this.instanceName, instanceForDescribeDBInstancesOutput.instanceName) && + Objects.equals(this.instanceStatus, instanceForDescribeDBInstancesOutput.instanceStatus) && + Objects.equals(this.lowerCaseTableNames, instanceForDescribeDBInstancesOutput.lowerCaseTableNames) && + Objects.equals(this.maintenanceWindow, instanceForDescribeDBInstancesOutput.maintenanceWindow) && + Objects.equals(this.nodeNumber, instanceForDescribeDBInstancesOutput.nodeNumber) && + Objects.equals(this.nodeSpec, instanceForDescribeDBInstancesOutput.nodeSpec) && + Objects.equals(this.projectName, instanceForDescribeDBInstancesOutput.projectName) && + Objects.equals(this.regionId, instanceForDescribeDBInstancesOutput.regionId) && + Objects.equals(this.storageSpace, instanceForDescribeDBInstancesOutput.storageSpace) && + Objects.equals(this.storageType, instanceForDescribeDBInstancesOutput.storageType) && + Objects.equals(this.storageUse, instanceForDescribeDBInstancesOutput.storageUse) && + Objects.equals(this.subnetId, instanceForDescribeDBInstancesOutput.subnetId) && + Objects.equals(this.timeZone, instanceForDescribeDBInstancesOutput.timeZone) && + Objects.equals(this.vpcId, instanceForDescribeDBInstancesOutput.vpcId) && + Objects.equals(this.zoneId, instanceForDescribeDBInstancesOutput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(addressObject, allowListVersion, chargeDetail, createTime, dbEngineVersion, instanceId, instanceName, instanceStatus, lowerCaseTableNames, maintenanceWindow, nodeNumber, nodeSpec, projectName, regionId, storageSpace, storageType, storageUse, subnetId, timeZone, vpcId, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InstanceForDescribeDBInstancesOutput {\n"); + + sb.append(" addressObject: ").append(toIndentedString(addressObject)).append("\n"); + sb.append(" allowListVersion: ").append(toIndentedString(allowListVersion)).append("\n"); + sb.append(" chargeDetail: ").append(toIndentedString(chargeDetail)).append("\n"); + sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" instanceStatus: ").append(toIndentedString(instanceStatus)).append("\n"); + sb.append(" lowerCaseTableNames: ").append(toIndentedString(lowerCaseTableNames)).append("\n"); + sb.append(" maintenanceWindow: ").append(toIndentedString(maintenanceWindow)).append("\n"); + sb.append(" nodeNumber: ").append(toIndentedString(nodeNumber)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n"); + sb.append(" storageSpace: ").append(toIndentedString(storageSpace)).append("\n"); + sb.append(" storageType: ").append(toIndentedString(storageType)).append("\n"); + sb.append(" storageUse: ").append(toIndentedString(storageUse)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append(" timeZone: ").append(toIndentedString(timeZone)).append("\n"); + sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceTagForCreateDBInstanceInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceTagForCreateDBInstanceInput.java new file mode 100644 index 00000000..c2f98cb7 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/InstanceTagForCreateDBInstanceInput.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * InstanceTagForCreateDBInstanceInput + */ + + +public class InstanceTagForCreateDBInstanceInput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public InstanceTagForCreateDBInstanceInput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public InstanceTagForCreateDBInstanceInput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + InstanceTagForCreateDBInstanceInput instanceTagForCreateDBInstanceInput = (InstanceTagForCreateDBInstanceInput) o; + return Objects.equals(this.key, instanceTagForCreateDBInstanceInput.key) && + Objects.equals(this.value, instanceTagForCreateDBInstanceInput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InstanceTagForCreateDBInstanceInput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..3483713d --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,180 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * MaintenanceWindowForDescribeDBInstanceDetailOutput + */ + + +public class MaintenanceWindowForDescribeDBInstanceDetailOutput { + @SerializedName("DayKind") + private String dayKind = null; + + @SerializedName("DayOfMonth") + private List dayOfMonth = null; + + @SerializedName("DayOfWeek") + private List dayOfWeek = null; + + @SerializedName("MaintenanceTime") + private String maintenanceTime = null; + + public MaintenanceWindowForDescribeDBInstanceDetailOutput dayKind(String dayKind) { + this.dayKind = dayKind; + return this; + } + + /** + * Get dayKind + * @return dayKind + **/ + @Schema(description = "") + public String getDayKind() { + return dayKind; + } + + public void setDayKind(String dayKind) { + this.dayKind = dayKind; + } + + public MaintenanceWindowForDescribeDBInstanceDetailOutput dayOfMonth(List dayOfMonth) { + this.dayOfMonth = dayOfMonth; + return this; + } + + public MaintenanceWindowForDescribeDBInstanceDetailOutput addDayOfMonthItem(Integer dayOfMonthItem) { + if (this.dayOfMonth == null) { + this.dayOfMonth = new ArrayList(); + } + this.dayOfMonth.add(dayOfMonthItem); + return this; + } + + /** + * Get dayOfMonth + * @return dayOfMonth + **/ + @Schema(description = "") + public List getDayOfMonth() { + return dayOfMonth; + } + + public void setDayOfMonth(List dayOfMonth) { + this.dayOfMonth = dayOfMonth; + } + + public MaintenanceWindowForDescribeDBInstanceDetailOutput dayOfWeek(List dayOfWeek) { + this.dayOfWeek = dayOfWeek; + return this; + } + + public MaintenanceWindowForDescribeDBInstanceDetailOutput addDayOfWeekItem(String dayOfWeekItem) { + if (this.dayOfWeek == null) { + this.dayOfWeek = new ArrayList(); + } + this.dayOfWeek.add(dayOfWeekItem); + return this; + } + + /** + * Get dayOfWeek + * @return dayOfWeek + **/ + @Schema(description = "") + public List getDayOfWeek() { + return dayOfWeek; + } + + public void setDayOfWeek(List dayOfWeek) { + this.dayOfWeek = dayOfWeek; + } + + public MaintenanceWindowForDescribeDBInstanceDetailOutput maintenanceTime(String maintenanceTime) { + this.maintenanceTime = maintenanceTime; + return this; + } + + /** + * Get maintenanceTime + * @return maintenanceTime + **/ + @Schema(description = "") + public String getMaintenanceTime() { + return maintenanceTime; + } + + public void setMaintenanceTime(String maintenanceTime) { + this.maintenanceTime = maintenanceTime; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceWindowForDescribeDBInstanceDetailOutput maintenanceWindowForDescribeDBInstanceDetailOutput = (MaintenanceWindowForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.dayKind, maintenanceWindowForDescribeDBInstanceDetailOutput.dayKind) && + Objects.equals(this.dayOfMonth, maintenanceWindowForDescribeDBInstanceDetailOutput.dayOfMonth) && + Objects.equals(this.dayOfWeek, maintenanceWindowForDescribeDBInstanceDetailOutput.dayOfWeek) && + Objects.equals(this.maintenanceTime, maintenanceWindowForDescribeDBInstanceDetailOutput.maintenanceTime); + } + + @Override + public int hashCode() { + return Objects.hash(dayKind, dayOfMonth, dayOfWeek, maintenanceTime); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceWindowForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" dayKind: ").append(toIndentedString(dayKind)).append("\n"); + sb.append(" dayOfMonth: ").append(toIndentedString(dayOfMonth)).append("\n"); + sb.append(" dayOfWeek: ").append(toIndentedString(dayOfWeek)).append("\n"); + sb.append(" maintenanceTime: ").append(toIndentedString(maintenanceTime)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstancesOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstancesOutput.java new file mode 100644 index 00000000..b8c0f22f --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/MaintenanceWindowForDescribeDBInstancesOutput.java @@ -0,0 +1,180 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * MaintenanceWindowForDescribeDBInstancesOutput + */ + + +public class MaintenanceWindowForDescribeDBInstancesOutput { + @SerializedName("DayKind") + private String dayKind = null; + + @SerializedName("DayOfMonth") + private List dayOfMonth = null; + + @SerializedName("DayOfWeek") + private List dayOfWeek = null; + + @SerializedName("MaintenanceTime") + private String maintenanceTime = null; + + public MaintenanceWindowForDescribeDBInstancesOutput dayKind(String dayKind) { + this.dayKind = dayKind; + return this; + } + + /** + * Get dayKind + * @return dayKind + **/ + @Schema(description = "") + public String getDayKind() { + return dayKind; + } + + public void setDayKind(String dayKind) { + this.dayKind = dayKind; + } + + public MaintenanceWindowForDescribeDBInstancesOutput dayOfMonth(List dayOfMonth) { + this.dayOfMonth = dayOfMonth; + return this; + } + + public MaintenanceWindowForDescribeDBInstancesOutput addDayOfMonthItem(Integer dayOfMonthItem) { + if (this.dayOfMonth == null) { + this.dayOfMonth = new ArrayList(); + } + this.dayOfMonth.add(dayOfMonthItem); + return this; + } + + /** + * Get dayOfMonth + * @return dayOfMonth + **/ + @Schema(description = "") + public List getDayOfMonth() { + return dayOfMonth; + } + + public void setDayOfMonth(List dayOfMonth) { + this.dayOfMonth = dayOfMonth; + } + + public MaintenanceWindowForDescribeDBInstancesOutput dayOfWeek(List dayOfWeek) { + this.dayOfWeek = dayOfWeek; + return this; + } + + public MaintenanceWindowForDescribeDBInstancesOutput addDayOfWeekItem(String dayOfWeekItem) { + if (this.dayOfWeek == null) { + this.dayOfWeek = new ArrayList(); + } + this.dayOfWeek.add(dayOfWeekItem); + return this; + } + + /** + * Get dayOfWeek + * @return dayOfWeek + **/ + @Schema(description = "") + public List getDayOfWeek() { + return dayOfWeek; + } + + public void setDayOfWeek(List dayOfWeek) { + this.dayOfWeek = dayOfWeek; + } + + public MaintenanceWindowForDescribeDBInstancesOutput maintenanceTime(String maintenanceTime) { + this.maintenanceTime = maintenanceTime; + return this; + } + + /** + * Get maintenanceTime + * @return maintenanceTime + **/ + @Schema(description = "") + public String getMaintenanceTime() { + return maintenanceTime; + } + + public void setMaintenanceTime(String maintenanceTime) { + this.maintenanceTime = maintenanceTime; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MaintenanceWindowForDescribeDBInstancesOutput maintenanceWindowForDescribeDBInstancesOutput = (MaintenanceWindowForDescribeDBInstancesOutput) o; + return Objects.equals(this.dayKind, maintenanceWindowForDescribeDBInstancesOutput.dayKind) && + Objects.equals(this.dayOfMonth, maintenanceWindowForDescribeDBInstancesOutput.dayOfMonth) && + Objects.equals(this.dayOfWeek, maintenanceWindowForDescribeDBInstancesOutput.dayOfWeek) && + Objects.equals(this.maintenanceTime, maintenanceWindowForDescribeDBInstancesOutput.maintenanceTime); + } + + @Override + public int hashCode() { + return Objects.hash(dayKind, dayOfMonth, dayOfWeek, maintenanceTime); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MaintenanceWindowForDescribeDBInstancesOutput {\n"); + + sb.append(" dayKind: ").append(toIndentedString(dayKind)).append("\n"); + sb.append(" dayOfMonth: ").append(toIndentedString(dayOfMonth)).append("\n"); + sb.append(" dayOfWeek: ").append(toIndentedString(dayOfWeek)).append("\n"); + sb.append(" maintenanceTime: ").append(toIndentedString(maintenanceTime)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListRequest.java new file mode 100644 index 00000000..1d4a02bb --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListRequest.java @@ -0,0 +1,210 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyAllowListRequest + */ + + +public class ModifyAllowListRequest { + @SerializedName("AllowList") + private String allowList = null; + + @SerializedName("AllowListDesc") + private String allowListDesc = null; + + @SerializedName("AllowListId") + private String allowListId = null; + + @SerializedName("AllowListName") + private String allowListName = null; + + @SerializedName("ApplyInstanceNum") + private Integer applyInstanceNum = null; + + @SerializedName("ModifyMode") + private String modifyMode = null; + + public ModifyAllowListRequest allowList(String allowList) { + this.allowList = allowList; + return this; + } + + /** + * Get allowList + * @return allowList + **/ + @Schema(description = "") + public String getAllowList() { + return allowList; + } + + public void setAllowList(String allowList) { + this.allowList = allowList; + } + + public ModifyAllowListRequest allowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + return this; + } + + /** + * Get allowListDesc + * @return allowListDesc + **/ + @Schema(description = "") + public String getAllowListDesc() { + return allowListDesc; + } + + public void setAllowListDesc(String allowListDesc) { + this.allowListDesc = allowListDesc; + } + + public ModifyAllowListRequest allowListId(String allowListId) { + this.allowListId = allowListId; + return this; + } + + /** + * Get allowListId + * @return allowListId + **/ + @NotNull + @Schema(required = true, description = "") + public String getAllowListId() { + return allowListId; + } + + public void setAllowListId(String allowListId) { + this.allowListId = allowListId; + } + + public ModifyAllowListRequest allowListName(String allowListName) { + this.allowListName = allowListName; + return this; + } + + /** + * Get allowListName + * @return allowListName + **/ + @NotNull + @Schema(required = true, description = "") + public String getAllowListName() { + return allowListName; + } + + public void setAllowListName(String allowListName) { + this.allowListName = allowListName; + } + + public ModifyAllowListRequest applyInstanceNum(Integer applyInstanceNum) { + this.applyInstanceNum = applyInstanceNum; + return this; + } + + /** + * Get applyInstanceNum + * @return applyInstanceNum + **/ + @Schema(description = "") + public Integer getApplyInstanceNum() { + return applyInstanceNum; + } + + public void setApplyInstanceNum(Integer applyInstanceNum) { + this.applyInstanceNum = applyInstanceNum; + } + + public ModifyAllowListRequest modifyMode(String modifyMode) { + this.modifyMode = modifyMode; + return this; + } + + /** + * Get modifyMode + * @return modifyMode + **/ + @Schema(description = "") + public String getModifyMode() { + return modifyMode; + } + + public void setModifyMode(String modifyMode) { + this.modifyMode = modifyMode; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyAllowListRequest modifyAllowListRequest = (ModifyAllowListRequest) o; + return Objects.equals(this.allowList, modifyAllowListRequest.allowList) && + Objects.equals(this.allowListDesc, modifyAllowListRequest.allowListDesc) && + Objects.equals(this.allowListId, modifyAllowListRequest.allowListId) && + Objects.equals(this.allowListName, modifyAllowListRequest.allowListName) && + Objects.equals(this.applyInstanceNum, modifyAllowListRequest.applyInstanceNum) && + Objects.equals(this.modifyMode, modifyAllowListRequest.modifyMode); + } + + @Override + public int hashCode() { + return Objects.hash(allowList, allowListDesc, allowListId, allowListName, applyInstanceNum, modifyMode); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyAllowListRequest {\n"); + + sb.append(" allowList: ").append(toIndentedString(allowList)).append("\n"); + sb.append(" allowListDesc: ").append(toIndentedString(allowListDesc)).append("\n"); + sb.append(" allowListId: ").append(toIndentedString(allowListId)).append("\n"); + sb.append(" allowListName: ").append(toIndentedString(allowListName)).append("\n"); + sb.append(" applyInstanceNum: ").append(toIndentedString(applyInstanceNum)).append("\n"); + sb.append(" modifyMode: ").append(toIndentedString(modifyMode)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListResponse.java new file mode 100644 index 00000000..0efb22f7 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyAllowListResponse + */ + + +public class ModifyAllowListResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyAllowListResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressRequest.java new file mode 100644 index 00000000..29477a99 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressRequest.java @@ -0,0 +1,163 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBEndpointAddressRequest + */ + + +public class ModifyDBEndpointAddressRequest { + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("NetworkType") + private String networkType = null; + + @SerializedName("Port") + private Integer port = null; + + public ModifyDBEndpointAddressRequest endpointId(String endpointId) { + this.endpointId = endpointId; + return this; + } + + /** + * Get endpointId + * @return endpointId + **/ + @Schema(description = "") + public String getEndpointId() { + return endpointId; + } + + public void setEndpointId(String endpointId) { + this.endpointId = endpointId; + } + + public ModifyDBEndpointAddressRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ModifyDBEndpointAddressRequest networkType(String networkType) { + this.networkType = networkType; + return this; + } + + /** + * Get networkType + * @return networkType + **/ + @Schema(description = "") + public String getNetworkType() { + return networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + } + + public ModifyDBEndpointAddressRequest port(Integer port) { + this.port = port; + return this; + } + + /** + * Get port + * @return port + **/ + @Schema(description = "") + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBEndpointAddressRequest modifyDBEndpointAddressRequest = (ModifyDBEndpointAddressRequest) o; + return Objects.equals(this.endpointId, modifyDBEndpointAddressRequest.endpointId) && + Objects.equals(this.instanceId, modifyDBEndpointAddressRequest.instanceId) && + Objects.equals(this.networkType, modifyDBEndpointAddressRequest.networkType) && + Objects.equals(this.port, modifyDBEndpointAddressRequest.port); + } + + @Override + public int hashCode() { + return Objects.hash(endpointId, instanceId, networkType, port); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBEndpointAddressRequest {\n"); + + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n"); + sb.append(" port: ").append(toIndentedString(port)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressResponse.java new file mode 100644 index 00000000..ee937ad9 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointAddressResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBEndpointAddressResponse + */ + + +public class ModifyDBEndpointAddressResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBEndpointAddressResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSRequest.java new file mode 100644 index 00000000..5647f7a8 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSRequest.java @@ -0,0 +1,166 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBEndpointDNSRequest + */ + + +public class ModifyDBEndpointDNSRequest { + @SerializedName("DNSVisibility") + private Boolean dnSVisibility = null; + + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("NetworkType") + private String networkType = null; + + public ModifyDBEndpointDNSRequest dnSVisibility(Boolean dnSVisibility) { + this.dnSVisibility = dnSVisibility; + return this; + } + + /** + * Get dnSVisibility + * @return dnSVisibility + **/ + @NotNull + @Schema(required = true, description = "") + public Boolean isDnSVisibility() { + return dnSVisibility; + } + + public void setDnSVisibility(Boolean dnSVisibility) { + this.dnSVisibility = dnSVisibility; + } + + public ModifyDBEndpointDNSRequest endpointId(String endpointId) { + this.endpointId = endpointId; + return this; + } + + /** + * Get endpointId + * @return endpointId + **/ + @NotNull + @Schema(required = true, description = "") + public String getEndpointId() { + return endpointId; + } + + public void setEndpointId(String endpointId) { + this.endpointId = endpointId; + } + + public ModifyDBEndpointDNSRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ModifyDBEndpointDNSRequest networkType(String networkType) { + this.networkType = networkType; + return this; + } + + /** + * Get networkType + * @return networkType + **/ + @NotNull + @Schema(required = true, description = "") + public String getNetworkType() { + return networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBEndpointDNSRequest modifyDBEndpointDNSRequest = (ModifyDBEndpointDNSRequest) o; + return Objects.equals(this.dnSVisibility, modifyDBEndpointDNSRequest.dnSVisibility) && + Objects.equals(this.endpointId, modifyDBEndpointDNSRequest.endpointId) && + Objects.equals(this.instanceId, modifyDBEndpointDNSRequest.instanceId) && + Objects.equals(this.networkType, modifyDBEndpointDNSRequest.networkType); + } + + @Override + public int hashCode() { + return Objects.hash(dnSVisibility, endpointId, instanceId, networkType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBEndpointDNSRequest {\n"); + + sb.append(" dnSVisibility: ").append(toIndentedString(dnSVisibility)).append("\n"); + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSResponse.java new file mode 100644 index 00000000..338c9da9 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointDNSResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBEndpointDNSResponse + */ + + +public class ModifyDBEndpointDNSResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBEndpointDNSResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointRequest.java new file mode 100644 index 00000000..a47b0136 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointRequest.java @@ -0,0 +1,337 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.ReadOnlyNodeWeightForModifyDBEndpointInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBEndpointRequest + */ + + +public class ModifyDBEndpointRequest { + @SerializedName("AutoAddNewNodes") + private Boolean autoAddNewNodes = null; + + @SerializedName("Description") + private String description = null; + + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("EndpointName") + private String endpointName = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("Nodes") + private String nodes = null; + + @SerializedName("ReadOnlyNodeDistributionType") + private String readOnlyNodeDistributionType = null; + + @SerializedName("ReadOnlyNodeMaxDelayTime") + private Integer readOnlyNodeMaxDelayTime = null; + + @SerializedName("ReadOnlyNodeWeight") + private List readOnlyNodeWeight = null; + + @SerializedName("ReadWriteMode") + private String readWriteMode = null; + + @SerializedName("ReadWriteSpliting") + private Boolean readWriteSpliting = null; + + public ModifyDBEndpointRequest autoAddNewNodes(Boolean autoAddNewNodes) { + this.autoAddNewNodes = autoAddNewNodes; + return this; + } + + /** + * Get autoAddNewNodes + * @return autoAddNewNodes + **/ + @Schema(description = "") + public Boolean isAutoAddNewNodes() { + return autoAddNewNodes; + } + + public void setAutoAddNewNodes(Boolean autoAddNewNodes) { + this.autoAddNewNodes = autoAddNewNodes; + } + + public ModifyDBEndpointRequest description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @Schema(description = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public ModifyDBEndpointRequest endpointId(String endpointId) { + this.endpointId = endpointId; + return this; + } + + /** + * Get endpointId + * @return endpointId + **/ + @NotNull + @Schema(required = true, description = "") + public String getEndpointId() { + return endpointId; + } + + public void setEndpointId(String endpointId) { + this.endpointId = endpointId; + } + + public ModifyDBEndpointRequest endpointName(String endpointName) { + this.endpointName = endpointName; + return this; + } + + /** + * Get endpointName + * @return endpointName + **/ + @Schema(description = "") + public String getEndpointName() { + return endpointName; + } + + public void setEndpointName(String endpointName) { + this.endpointName = endpointName; + } + + public ModifyDBEndpointRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ModifyDBEndpointRequest nodes(String nodes) { + this.nodes = nodes; + return this; + } + + /** + * Get nodes + * @return nodes + **/ + @Schema(description = "") + public String getNodes() { + return nodes; + } + + public void setNodes(String nodes) { + this.nodes = nodes; + } + + public ModifyDBEndpointRequest readOnlyNodeDistributionType(String readOnlyNodeDistributionType) { + this.readOnlyNodeDistributionType = readOnlyNodeDistributionType; + return this; + } + + /** + * Get readOnlyNodeDistributionType + * @return readOnlyNodeDistributionType + **/ + @Schema(description = "") + public String getReadOnlyNodeDistributionType() { + return readOnlyNodeDistributionType; + } + + public void setReadOnlyNodeDistributionType(String readOnlyNodeDistributionType) { + this.readOnlyNodeDistributionType = readOnlyNodeDistributionType; + } + + public ModifyDBEndpointRequest readOnlyNodeMaxDelayTime(Integer readOnlyNodeMaxDelayTime) { + this.readOnlyNodeMaxDelayTime = readOnlyNodeMaxDelayTime; + return this; + } + + /** + * Get readOnlyNodeMaxDelayTime + * @return readOnlyNodeMaxDelayTime + **/ + @Schema(description = "") + public Integer getReadOnlyNodeMaxDelayTime() { + return readOnlyNodeMaxDelayTime; + } + + public void setReadOnlyNodeMaxDelayTime(Integer readOnlyNodeMaxDelayTime) { + this.readOnlyNodeMaxDelayTime = readOnlyNodeMaxDelayTime; + } + + public ModifyDBEndpointRequest readOnlyNodeWeight(List readOnlyNodeWeight) { + this.readOnlyNodeWeight = readOnlyNodeWeight; + return this; + } + + public ModifyDBEndpointRequest addReadOnlyNodeWeightItem(ReadOnlyNodeWeightForModifyDBEndpointInput readOnlyNodeWeightItem) { + if (this.readOnlyNodeWeight == null) { + this.readOnlyNodeWeight = new ArrayList(); + } + this.readOnlyNodeWeight.add(readOnlyNodeWeightItem); + return this; + } + + /** + * Get readOnlyNodeWeight + * @return readOnlyNodeWeight + **/ + @Valid + @Schema(description = "") + public List getReadOnlyNodeWeight() { + return readOnlyNodeWeight; + } + + public void setReadOnlyNodeWeight(List readOnlyNodeWeight) { + this.readOnlyNodeWeight = readOnlyNodeWeight; + } + + public ModifyDBEndpointRequest readWriteMode(String readWriteMode) { + this.readWriteMode = readWriteMode; + return this; + } + + /** + * Get readWriteMode + * @return readWriteMode + **/ + @Schema(description = "") + public String getReadWriteMode() { + return readWriteMode; + } + + public void setReadWriteMode(String readWriteMode) { + this.readWriteMode = readWriteMode; + } + + public ModifyDBEndpointRequest readWriteSpliting(Boolean readWriteSpliting) { + this.readWriteSpliting = readWriteSpliting; + return this; + } + + /** + * Get readWriteSpliting + * @return readWriteSpliting + **/ + @Schema(description = "") + public Boolean isReadWriteSpliting() { + return readWriteSpliting; + } + + public void setReadWriteSpliting(Boolean readWriteSpliting) { + this.readWriteSpliting = readWriteSpliting; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBEndpointRequest modifyDBEndpointRequest = (ModifyDBEndpointRequest) o; + return Objects.equals(this.autoAddNewNodes, modifyDBEndpointRequest.autoAddNewNodes) && + Objects.equals(this.description, modifyDBEndpointRequest.description) && + Objects.equals(this.endpointId, modifyDBEndpointRequest.endpointId) && + Objects.equals(this.endpointName, modifyDBEndpointRequest.endpointName) && + Objects.equals(this.instanceId, modifyDBEndpointRequest.instanceId) && + Objects.equals(this.nodes, modifyDBEndpointRequest.nodes) && + Objects.equals(this.readOnlyNodeDistributionType, modifyDBEndpointRequest.readOnlyNodeDistributionType) && + Objects.equals(this.readOnlyNodeMaxDelayTime, modifyDBEndpointRequest.readOnlyNodeMaxDelayTime) && + Objects.equals(this.readOnlyNodeWeight, modifyDBEndpointRequest.readOnlyNodeWeight) && + Objects.equals(this.readWriteMode, modifyDBEndpointRequest.readWriteMode) && + Objects.equals(this.readWriteSpliting, modifyDBEndpointRequest.readWriteSpliting); + } + + @Override + public int hashCode() { + return Objects.hash(autoAddNewNodes, description, endpointId, endpointName, instanceId, nodes, readOnlyNodeDistributionType, readOnlyNodeMaxDelayTime, readOnlyNodeWeight, readWriteMode, readWriteSpliting); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBEndpointRequest {\n"); + + sb.append(" autoAddNewNodes: ").append(toIndentedString(autoAddNewNodes)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" endpointName: ").append(toIndentedString(endpointName)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" nodes: ").append(toIndentedString(nodes)).append("\n"); + sb.append(" readOnlyNodeDistributionType: ").append(toIndentedString(readOnlyNodeDistributionType)).append("\n"); + sb.append(" readOnlyNodeMaxDelayTime: ").append(toIndentedString(readOnlyNodeMaxDelayTime)).append("\n"); + sb.append(" readOnlyNodeWeight: ").append(toIndentedString(readOnlyNodeWeight)).append("\n"); + sb.append(" readWriteMode: ").append(toIndentedString(readWriteMode)).append("\n"); + sb.append(" readWriteSpliting: ").append(toIndentedString(readWriteSpliting)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointResponse.java new file mode 100644 index 00000000..b4c8712a --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBEndpointResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBEndpointResponse + */ + + +public class ModifyDBEndpointResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBEndpointResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersRequest.java new file mode 100644 index 00000000..a105ce6f --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersRequest.java @@ -0,0 +1,129 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.ParameterForModifyDBInstanceParametersInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBInstanceParametersRequest + */ + + +public class ModifyDBInstanceParametersRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("Parameters") + private List parameters = null; + + public ModifyDBInstanceParametersRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ModifyDBInstanceParametersRequest parameters(List parameters) { + this.parameters = parameters; + return this; + } + + public ModifyDBInstanceParametersRequest addParametersItem(ParameterForModifyDBInstanceParametersInput parametersItem) { + if (this.parameters == null) { + this.parameters = new ArrayList(); + } + this.parameters.add(parametersItem); + return this; + } + + /** + * Get parameters + * @return parameters + **/ + @Valid + @Schema(description = "") + public List getParameters() { + return parameters; + } + + public void setParameters(List parameters) { + this.parameters = parameters; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBInstanceParametersRequest modifyDBInstanceParametersRequest = (ModifyDBInstanceParametersRequest) o; + return Objects.equals(this.instanceId, modifyDBInstanceParametersRequest.instanceId) && + Objects.equals(this.parameters, modifyDBInstanceParametersRequest.parameters); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, parameters); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceParametersRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersResponse.java new file mode 100644 index 00000000..537f816d --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceParametersResponse.java @@ -0,0 +1,93 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBInstanceParametersResponse + */ + + +public class ModifyDBInstanceParametersResponse { + @SerializedName("InstanceId") + private String instanceId = null; + + public ModifyDBInstanceParametersResponse instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBInstanceParametersResponse modifyDBInstanceParametersResponse = (ModifyDBInstanceParametersResponse) o; + return Objects.equals(this.instanceId, modifyDBInstanceParametersResponse.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceParametersResponse {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecRequest.java new file mode 100644 index 00000000..46081b36 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecRequest.java @@ -0,0 +1,175 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.NodeInfoForModifyDBInstanceSpecInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBInstanceSpecRequest + */ + + +public class ModifyDBInstanceSpecRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("NodeInfo") + private List nodeInfo = null; + + @SerializedName("StorageSpace") + private Integer storageSpace = null; + + @SerializedName("StorageType") + private String storageType = null; + + public ModifyDBInstanceSpecRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ModifyDBInstanceSpecRequest nodeInfo(List nodeInfo) { + this.nodeInfo = nodeInfo; + return this; + } + + public ModifyDBInstanceSpecRequest addNodeInfoItem(NodeInfoForModifyDBInstanceSpecInput nodeInfoItem) { + if (this.nodeInfo == null) { + this.nodeInfo = new ArrayList(); + } + this.nodeInfo.add(nodeInfoItem); + return this; + } + + /** + * Get nodeInfo + * @return nodeInfo + **/ + @Valid + @Schema(description = "") + public List getNodeInfo() { + return nodeInfo; + } + + public void setNodeInfo(List nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public ModifyDBInstanceSpecRequest storageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + return this; + } + + /** + * Get storageSpace + * @return storageSpace + **/ + @Schema(description = "") + public Integer getStorageSpace() { + return storageSpace; + } + + public void setStorageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + } + + public ModifyDBInstanceSpecRequest storageType(String storageType) { + this.storageType = storageType; + return this; + } + + /** + * Get storageType + * @return storageType + **/ + @Schema(description = "") + public String getStorageType() { + return storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBInstanceSpecRequest modifyDBInstanceSpecRequest = (ModifyDBInstanceSpecRequest) o; + return Objects.equals(this.instanceId, modifyDBInstanceSpecRequest.instanceId) && + Objects.equals(this.nodeInfo, modifyDBInstanceSpecRequest.nodeInfo) && + Objects.equals(this.storageSpace, modifyDBInstanceSpecRequest.storageSpace) && + Objects.equals(this.storageType, modifyDBInstanceSpecRequest.storageType); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, nodeInfo, storageSpace, storageType); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceSpecRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" nodeInfo: ").append(toIndentedString(nodeInfo)).append("\n"); + sb.append(" storageSpace: ").append(toIndentedString(storageSpace)).append("\n"); + sb.append(" storageType: ").append(toIndentedString(storageType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecResponse.java new file mode 100644 index 00000000..bd158bc8 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ModifyDBInstanceSpecResponse.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBInstanceSpecResponse + */ + + +public class ModifyDBInstanceSpecResponse { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("OrderId") + private String orderId = null; + + public ModifyDBInstanceSpecResponse instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public ModifyDBInstanceSpecResponse orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Get orderId + * @return orderId + **/ + @Schema(description = "") + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBInstanceSpecResponse modifyDBInstanceSpecResponse = (ModifyDBInstanceSpecResponse) o; + return Objects.equals(this.instanceId, modifyDBInstanceSpecResponse.instanceId) && + Objects.equals(this.orderId, modifyDBInstanceSpecResponse.orderId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, orderId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceSpecResponse {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..574e972e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,323 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * NodeForDescribeDBInstanceDetailOutput + */ + + +public class NodeForDescribeDBInstanceDetailOutput { + @SerializedName("CreateTime") + private String createTime = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("Memory") + private Integer memory = null; + + @SerializedName("NodeId") + private String nodeId = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("NodeStatus") + private String nodeStatus = null; + + @SerializedName("NodeType") + private String nodeType = null; + + @SerializedName("RegionId") + private String regionId = null; + + @SerializedName("UpdateTime") + private String updateTime = null; + + @SerializedName("VCPU") + private Integer VCPU = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public NodeForDescribeDBInstanceDetailOutput createTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Get createTime + * @return createTime + **/ + @Schema(description = "") + public String getCreateTime() { + return createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public NodeForDescribeDBInstanceDetailOutput instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public NodeForDescribeDBInstanceDetailOutput memory(Integer memory) { + this.memory = memory; + return this; + } + + /** + * Get memory + * @return memory + **/ + @Schema(description = "") + public Integer getMemory() { + return memory; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public NodeForDescribeDBInstanceDetailOutput nodeId(String nodeId) { + this.nodeId = nodeId; + return this; + } + + /** + * Get nodeId + * @return nodeId + **/ + @Schema(description = "") + public String getNodeId() { + return nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public NodeForDescribeDBInstanceDetailOutput nodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + return this; + } + + /** + * Get nodeSpec + * @return nodeSpec + **/ + @Schema(description = "") + public String getNodeSpec() { + return nodeSpec; + } + + public void setNodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + } + + public NodeForDescribeDBInstanceDetailOutput nodeStatus(String nodeStatus) { + this.nodeStatus = nodeStatus; + return this; + } + + /** + * Get nodeStatus + * @return nodeStatus + **/ + @Schema(description = "") + public String getNodeStatus() { + return nodeStatus; + } + + public void setNodeStatus(String nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public NodeForDescribeDBInstanceDetailOutput nodeType(String nodeType) { + this.nodeType = nodeType; + return this; + } + + /** + * Get nodeType + * @return nodeType + **/ + @Schema(description = "") + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public NodeForDescribeDBInstanceDetailOutput regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + @Schema(description = "") + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public NodeForDescribeDBInstanceDetailOutput updateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Get updateTime + * @return updateTime + **/ + @Schema(description = "") + public String getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(String updateTime) { + this.updateTime = updateTime; + } + + public NodeForDescribeDBInstanceDetailOutput VCPU(Integer VCPU) { + this.VCPU = VCPU; + return this; + } + + /** + * Get VCPU + * @return VCPU + **/ + @Schema(description = "") + public Integer getVCPU() { + return VCPU; + } + + public void setVCPU(Integer VCPU) { + this.VCPU = VCPU; + } + + public NodeForDescribeDBInstanceDetailOutput zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NodeForDescribeDBInstanceDetailOutput nodeForDescribeDBInstanceDetailOutput = (NodeForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.createTime, nodeForDescribeDBInstanceDetailOutput.createTime) && + Objects.equals(this.instanceId, nodeForDescribeDBInstanceDetailOutput.instanceId) && + Objects.equals(this.memory, nodeForDescribeDBInstanceDetailOutput.memory) && + Objects.equals(this.nodeId, nodeForDescribeDBInstanceDetailOutput.nodeId) && + Objects.equals(this.nodeSpec, nodeForDescribeDBInstanceDetailOutput.nodeSpec) && + Objects.equals(this.nodeStatus, nodeForDescribeDBInstanceDetailOutput.nodeStatus) && + Objects.equals(this.nodeType, nodeForDescribeDBInstanceDetailOutput.nodeType) && + Objects.equals(this.regionId, nodeForDescribeDBInstanceDetailOutput.regionId) && + Objects.equals(this.updateTime, nodeForDescribeDBInstanceDetailOutput.updateTime) && + Objects.equals(this.VCPU, nodeForDescribeDBInstanceDetailOutput.VCPU) && + Objects.equals(this.zoneId, nodeForDescribeDBInstanceDetailOutput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(createTime, instanceId, memory, nodeId, nodeSpec, nodeStatus, nodeType, regionId, updateTime, VCPU, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NodeForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" memory: ").append(toIndentedString(memory)).append("\n"); + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" nodeStatus: ").append(toIndentedString(nodeStatus)).append("\n"); + sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n"); + sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n"); + sb.append(" VCPU: ").append(toIndentedString(VCPU)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForCreateDBInstanceInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForCreateDBInstanceInput.java new file mode 100644 index 00000000..8eb714f7 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForCreateDBInstanceInput.java @@ -0,0 +1,208 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * NodeInfoForCreateDBInstanceInput + */ + + +public class NodeInfoForCreateDBInstanceInput { + @SerializedName("NodeId") + private String nodeId = null; + + @SerializedName("NodeOperateType") + private String nodeOperateType = null; + + @SerializedName("NodePool") + private String nodePool = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("NodeType") + private String nodeType = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public NodeInfoForCreateDBInstanceInput nodeId(String nodeId) { + this.nodeId = nodeId; + return this; + } + + /** + * Get nodeId + * @return nodeId + **/ + @Schema(description = "") + public String getNodeId() { + return nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public NodeInfoForCreateDBInstanceInput nodeOperateType(String nodeOperateType) { + this.nodeOperateType = nodeOperateType; + return this; + } + + /** + * Get nodeOperateType + * @return nodeOperateType + **/ + @Schema(description = "") + public String getNodeOperateType() { + return nodeOperateType; + } + + public void setNodeOperateType(String nodeOperateType) { + this.nodeOperateType = nodeOperateType; + } + + public NodeInfoForCreateDBInstanceInput nodePool(String nodePool) { + this.nodePool = nodePool; + return this; + } + + /** + * Get nodePool + * @return nodePool + **/ + @Schema(description = "") + public String getNodePool() { + return nodePool; + } + + public void setNodePool(String nodePool) { + this.nodePool = nodePool; + } + + public NodeInfoForCreateDBInstanceInput nodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + return this; + } + + /** + * Get nodeSpec + * @return nodeSpec + **/ + @Schema(description = "") + public String getNodeSpec() { + return nodeSpec; + } + + public void setNodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + } + + public NodeInfoForCreateDBInstanceInput nodeType(String nodeType) { + this.nodeType = nodeType; + return this; + } + + /** + * Get nodeType + * @return nodeType + **/ + @Schema(description = "") + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public NodeInfoForCreateDBInstanceInput zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NodeInfoForCreateDBInstanceInput nodeInfoForCreateDBInstanceInput = (NodeInfoForCreateDBInstanceInput) o; + return Objects.equals(this.nodeId, nodeInfoForCreateDBInstanceInput.nodeId) && + Objects.equals(this.nodeOperateType, nodeInfoForCreateDBInstanceInput.nodeOperateType) && + Objects.equals(this.nodePool, nodeInfoForCreateDBInstanceInput.nodePool) && + Objects.equals(this.nodeSpec, nodeInfoForCreateDBInstanceInput.nodeSpec) && + Objects.equals(this.nodeType, nodeInfoForCreateDBInstanceInput.nodeType) && + Objects.equals(this.zoneId, nodeInfoForCreateDBInstanceInput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(nodeId, nodeOperateType, nodePool, nodeSpec, nodeType, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NodeInfoForCreateDBInstanceInput {\n"); + + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" nodeOperateType: ").append(toIndentedString(nodeOperateType)).append("\n"); + sb.append(" nodePool: ").append(toIndentedString(nodePool)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForModifyDBInstanceSpecInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForModifyDBInstanceSpecInput.java new file mode 100644 index 00000000..d426a978 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForModifyDBInstanceSpecInput.java @@ -0,0 +1,185 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * NodeInfoForModifyDBInstanceSpecInput + */ + + +public class NodeInfoForModifyDBInstanceSpecInput { + @SerializedName("NodeId") + private String nodeId = null; + + @SerializedName("NodeOperateType") + private String nodeOperateType = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("NodeType") + private String nodeType = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public NodeInfoForModifyDBInstanceSpecInput nodeId(String nodeId) { + this.nodeId = nodeId; + return this; + } + + /** + * Get nodeId + * @return nodeId + **/ + @Schema(description = "") + public String getNodeId() { + return nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public NodeInfoForModifyDBInstanceSpecInput nodeOperateType(String nodeOperateType) { + this.nodeOperateType = nodeOperateType; + return this; + } + + /** + * Get nodeOperateType + * @return nodeOperateType + **/ + @Schema(description = "") + public String getNodeOperateType() { + return nodeOperateType; + } + + public void setNodeOperateType(String nodeOperateType) { + this.nodeOperateType = nodeOperateType; + } + + public NodeInfoForModifyDBInstanceSpecInput nodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + return this; + } + + /** + * Get nodeSpec + * @return nodeSpec + **/ + @Schema(description = "") + public String getNodeSpec() { + return nodeSpec; + } + + public void setNodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + } + + public NodeInfoForModifyDBInstanceSpecInput nodeType(String nodeType) { + this.nodeType = nodeType; + return this; + } + + /** + * Get nodeType + * @return nodeType + **/ + @Schema(description = "") + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public NodeInfoForModifyDBInstanceSpecInput zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NodeInfoForModifyDBInstanceSpecInput nodeInfoForModifyDBInstanceSpecInput = (NodeInfoForModifyDBInstanceSpecInput) o; + return Objects.equals(this.nodeId, nodeInfoForModifyDBInstanceSpecInput.nodeId) && + Objects.equals(this.nodeOperateType, nodeInfoForModifyDBInstanceSpecInput.nodeOperateType) && + Objects.equals(this.nodeSpec, nodeInfoForModifyDBInstanceSpecInput.nodeSpec) && + Objects.equals(this.nodeType, nodeInfoForModifyDBInstanceSpecInput.nodeType) && + Objects.equals(this.zoneId, nodeInfoForModifyDBInstanceSpecInput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(nodeId, nodeOperateType, nodeSpec, nodeType, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NodeInfoForModifyDBInstanceSpecInput {\n"); + + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" nodeOperateType: ").append(toIndentedString(nodeOperateType)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForRestoreToNewInstanceInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForRestoreToNewInstanceInput.java new file mode 100644 index 00000000..be3e055e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/NodeInfoForRestoreToNewInstanceInput.java @@ -0,0 +1,185 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * NodeInfoForRestoreToNewInstanceInput + */ + + +public class NodeInfoForRestoreToNewInstanceInput { + @SerializedName("NodeId") + private String nodeId = null; + + @SerializedName("NodeOperateType") + private String nodeOperateType = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("NodeType") + private String nodeType = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public NodeInfoForRestoreToNewInstanceInput nodeId(String nodeId) { + this.nodeId = nodeId; + return this; + } + + /** + * Get nodeId + * @return nodeId + **/ + @Schema(description = "") + public String getNodeId() { + return nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public NodeInfoForRestoreToNewInstanceInput nodeOperateType(String nodeOperateType) { + this.nodeOperateType = nodeOperateType; + return this; + } + + /** + * Get nodeOperateType + * @return nodeOperateType + **/ + @Schema(description = "") + public String getNodeOperateType() { + return nodeOperateType; + } + + public void setNodeOperateType(String nodeOperateType) { + this.nodeOperateType = nodeOperateType; + } + + public NodeInfoForRestoreToNewInstanceInput nodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + return this; + } + + /** + * Get nodeSpec + * @return nodeSpec + **/ + @Schema(description = "") + public String getNodeSpec() { + return nodeSpec; + } + + public void setNodeSpec(String nodeSpec) { + this.nodeSpec = nodeSpec; + } + + public NodeInfoForRestoreToNewInstanceInput nodeType(String nodeType) { + this.nodeType = nodeType; + return this; + } + + /** + * Get nodeType + * @return nodeType + **/ + @Schema(description = "") + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public NodeInfoForRestoreToNewInstanceInput zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NodeInfoForRestoreToNewInstanceInput nodeInfoForRestoreToNewInstanceInput = (NodeInfoForRestoreToNewInstanceInput) o; + return Objects.equals(this.nodeId, nodeInfoForRestoreToNewInstanceInput.nodeId) && + Objects.equals(this.nodeOperateType, nodeInfoForRestoreToNewInstanceInput.nodeOperateType) && + Objects.equals(this.nodeSpec, nodeInfoForRestoreToNewInstanceInput.nodeSpec) && + Objects.equals(this.nodeType, nodeInfoForRestoreToNewInstanceInput.nodeType) && + Objects.equals(this.zoneId, nodeInfoForRestoreToNewInstanceInput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(nodeId, nodeOperateType, nodeSpec, nodeType, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NodeInfoForRestoreToNewInstanceInput {\n"); + + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" nodeOperateType: ").append(toIndentedString(nodeOperateType)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java new file mode 100644 index 00000000..56a38036 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java @@ -0,0 +1,185 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ParameterChangeLogForDescribeDBInstanceParametersLogOutput + */ + + +public class ParameterChangeLogForDescribeDBInstanceParametersLogOutput { + @SerializedName("ModifyTime") + private String modifyTime = null; + + @SerializedName("NewParameterValue") + private String newParameterValue = null; + + @SerializedName("OldParameterValue") + private String oldParameterValue = null; + + @SerializedName("ParameterName") + private String parameterName = null; + + @SerializedName("Status") + private String status = null; + + public ParameterChangeLogForDescribeDBInstanceParametersLogOutput modifyTime(String modifyTime) { + this.modifyTime = modifyTime; + return this; + } + + /** + * Get modifyTime + * @return modifyTime + **/ + @Schema(description = "") + public String getModifyTime() { + return modifyTime; + } + + public void setModifyTime(String modifyTime) { + this.modifyTime = modifyTime; + } + + public ParameterChangeLogForDescribeDBInstanceParametersLogOutput newParameterValue(String newParameterValue) { + this.newParameterValue = newParameterValue; + return this; + } + + /** + * Get newParameterValue + * @return newParameterValue + **/ + @Schema(description = "") + public String getNewParameterValue() { + return newParameterValue; + } + + public void setNewParameterValue(String newParameterValue) { + this.newParameterValue = newParameterValue; + } + + public ParameterChangeLogForDescribeDBInstanceParametersLogOutput oldParameterValue(String oldParameterValue) { + this.oldParameterValue = oldParameterValue; + return this; + } + + /** + * Get oldParameterValue + * @return oldParameterValue + **/ + @Schema(description = "") + public String getOldParameterValue() { + return oldParameterValue; + } + + public void setOldParameterValue(String oldParameterValue) { + this.oldParameterValue = oldParameterValue; + } + + public ParameterChangeLogForDescribeDBInstanceParametersLogOutput parameterName(String parameterName) { + this.parameterName = parameterName; + return this; + } + + /** + * Get parameterName + * @return parameterName + **/ + @Schema(description = "") + public String getParameterName() { + return parameterName; + } + + public void setParameterName(String parameterName) { + this.parameterName = parameterName; + } + + public ParameterChangeLogForDescribeDBInstanceParametersLogOutput status(String status) { + this.status = status; + return this; + } + + /** + * Get status + * @return status + **/ + @Schema(description = "") + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ParameterChangeLogForDescribeDBInstanceParametersLogOutput parameterChangeLogForDescribeDBInstanceParametersLogOutput = (ParameterChangeLogForDescribeDBInstanceParametersLogOutput) o; + return Objects.equals(this.modifyTime, parameterChangeLogForDescribeDBInstanceParametersLogOutput.modifyTime) && + Objects.equals(this.newParameterValue, parameterChangeLogForDescribeDBInstanceParametersLogOutput.newParameterValue) && + Objects.equals(this.oldParameterValue, parameterChangeLogForDescribeDBInstanceParametersLogOutput.oldParameterValue) && + Objects.equals(this.parameterName, parameterChangeLogForDescribeDBInstanceParametersLogOutput.parameterName) && + Objects.equals(this.status, parameterChangeLogForDescribeDBInstanceParametersLogOutput.status); + } + + @Override + public int hashCode() { + return Objects.hash(modifyTime, newParameterValue, oldParameterValue, parameterName, status); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ParameterChangeLogForDescribeDBInstanceParametersLogOutput {\n"); + + sb.append(" modifyTime: ").append(toIndentedString(modifyTime)).append("\n"); + sb.append(" newParameterValue: ").append(toIndentedString(newParameterValue)).append("\n"); + sb.append(" oldParameterValue: ").append(toIndentedString(oldParameterValue)).append("\n"); + sb.append(" parameterName: ").append(toIndentedString(parameterName)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForDescribeDBInstanceParametersOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForDescribeDBInstanceParametersOutput.java new file mode 100644 index 00000000..e6b82b95 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForDescribeDBInstanceParametersOutput.java @@ -0,0 +1,208 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ParameterForDescribeDBInstanceParametersOutput + */ + + +public class ParameterForDescribeDBInstanceParametersOutput { + @SerializedName("CheckingCode") + private String checkingCode = null; + + @SerializedName("ForceRestart") + private Boolean forceRestart = null; + + @SerializedName("ParameterDefaultValue") + private String parameterDefaultValue = null; + + @SerializedName("ParameterDescription") + private String parameterDescription = null; + + @SerializedName("ParameterName") + private String parameterName = null; + + @SerializedName("ParameterValue") + private String parameterValue = null; + + public ParameterForDescribeDBInstanceParametersOutput checkingCode(String checkingCode) { + this.checkingCode = checkingCode; + return this; + } + + /** + * Get checkingCode + * @return checkingCode + **/ + @Schema(description = "") + public String getCheckingCode() { + return checkingCode; + } + + public void setCheckingCode(String checkingCode) { + this.checkingCode = checkingCode; + } + + public ParameterForDescribeDBInstanceParametersOutput forceRestart(Boolean forceRestart) { + this.forceRestart = forceRestart; + return this; + } + + /** + * Get forceRestart + * @return forceRestart + **/ + @Schema(description = "") + public Boolean isForceRestart() { + return forceRestart; + } + + public void setForceRestart(Boolean forceRestart) { + this.forceRestart = forceRestart; + } + + public ParameterForDescribeDBInstanceParametersOutput parameterDefaultValue(String parameterDefaultValue) { + this.parameterDefaultValue = parameterDefaultValue; + return this; + } + + /** + * Get parameterDefaultValue + * @return parameterDefaultValue + **/ + @Schema(description = "") + public String getParameterDefaultValue() { + return parameterDefaultValue; + } + + public void setParameterDefaultValue(String parameterDefaultValue) { + this.parameterDefaultValue = parameterDefaultValue; + } + + public ParameterForDescribeDBInstanceParametersOutput parameterDescription(String parameterDescription) { + this.parameterDescription = parameterDescription; + return this; + } + + /** + * Get parameterDescription + * @return parameterDescription + **/ + @Schema(description = "") + public String getParameterDescription() { + return parameterDescription; + } + + public void setParameterDescription(String parameterDescription) { + this.parameterDescription = parameterDescription; + } + + public ParameterForDescribeDBInstanceParametersOutput parameterName(String parameterName) { + this.parameterName = parameterName; + return this; + } + + /** + * Get parameterName + * @return parameterName + **/ + @Schema(description = "") + public String getParameterName() { + return parameterName; + } + + public void setParameterName(String parameterName) { + this.parameterName = parameterName; + } + + public ParameterForDescribeDBInstanceParametersOutput parameterValue(String parameterValue) { + this.parameterValue = parameterValue; + return this; + } + + /** + * Get parameterValue + * @return parameterValue + **/ + @Schema(description = "") + public String getParameterValue() { + return parameterValue; + } + + public void setParameterValue(String parameterValue) { + this.parameterValue = parameterValue; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ParameterForDescribeDBInstanceParametersOutput parameterForDescribeDBInstanceParametersOutput = (ParameterForDescribeDBInstanceParametersOutput) o; + return Objects.equals(this.checkingCode, parameterForDescribeDBInstanceParametersOutput.checkingCode) && + Objects.equals(this.forceRestart, parameterForDescribeDBInstanceParametersOutput.forceRestart) && + Objects.equals(this.parameterDefaultValue, parameterForDescribeDBInstanceParametersOutput.parameterDefaultValue) && + Objects.equals(this.parameterDescription, parameterForDescribeDBInstanceParametersOutput.parameterDescription) && + Objects.equals(this.parameterName, parameterForDescribeDBInstanceParametersOutput.parameterName) && + Objects.equals(this.parameterValue, parameterForDescribeDBInstanceParametersOutput.parameterValue); + } + + @Override + public int hashCode() { + return Objects.hash(checkingCode, forceRestart, parameterDefaultValue, parameterDescription, parameterName, parameterValue); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ParameterForDescribeDBInstanceParametersOutput {\n"); + + sb.append(" checkingCode: ").append(toIndentedString(checkingCode)).append("\n"); + sb.append(" forceRestart: ").append(toIndentedString(forceRestart)).append("\n"); + sb.append(" parameterDefaultValue: ").append(toIndentedString(parameterDefaultValue)).append("\n"); + sb.append(" parameterDescription: ").append(toIndentedString(parameterDescription)).append("\n"); + sb.append(" parameterName: ").append(toIndentedString(parameterName)).append("\n"); + sb.append(" parameterValue: ").append(toIndentedString(parameterValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForModifyDBInstanceParametersInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForModifyDBInstanceParametersInput.java new file mode 100644 index 00000000..88014bac --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ParameterForModifyDBInstanceParametersInput.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ParameterForModifyDBInstanceParametersInput + */ + + +public class ParameterForModifyDBInstanceParametersInput { + @SerializedName("ParameterName") + private String parameterName = null; + + @SerializedName("ParameterValue") + private String parameterValue = null; + + public ParameterForModifyDBInstanceParametersInput parameterName(String parameterName) { + this.parameterName = parameterName; + return this; + } + + /** + * Get parameterName + * @return parameterName + **/ + @Schema(description = "") + public String getParameterName() { + return parameterName; + } + + public void setParameterName(String parameterName) { + this.parameterName = parameterName; + } + + public ParameterForModifyDBInstanceParametersInput parameterValue(String parameterValue) { + this.parameterValue = parameterValue; + return this; + } + + /** + * Get parameterValue + * @return parameterValue + **/ + @Schema(description = "") + public String getParameterValue() { + return parameterValue; + } + + public void setParameterValue(String parameterValue) { + this.parameterValue = parameterValue; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ParameterForModifyDBInstanceParametersInput parameterForModifyDBInstanceParametersInput = (ParameterForModifyDBInstanceParametersInput) o; + return Objects.equals(this.parameterName, parameterForModifyDBInstanceParametersInput.parameterName) && + Objects.equals(this.parameterValue, parameterForModifyDBInstanceParametersInput.parameterValue); + } + + @Override + public int hashCode() { + return Objects.hash(parameterName, parameterValue); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ParameterForModifyDBInstanceParametersInput {\n"); + + sb.append(" parameterName: ").append(toIndentedString(parameterName)).append("\n"); + sb.append(" parameterValue: ").append(toIndentedString(parameterValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..874425c0 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput + */ + + +public class ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput { + @SerializedName("NodeId") + private String nodeId = null; + + @SerializedName("NodeType") + private String nodeType = null; + + @SerializedName("Weight") + private Integer weight = null; + + public ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput nodeId(String nodeId) { + this.nodeId = nodeId; + return this; + } + + /** + * Get nodeId + * @return nodeId + **/ + @Schema(description = "") + public String getNodeId() { + return nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput nodeType(String nodeType) { + this.nodeType = nodeType; + return this; + } + + /** + * Get nodeType + * @return nodeType + **/ + @Schema(description = "") + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput weight(Integer weight) { + this.weight = weight; + return this; + } + + /** + * Get weight + * @return weight + **/ + @Schema(description = "") + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput readOnlyNodeWeightForDescribeDBInstanceDetailOutput = (ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.nodeId, readOnlyNodeWeightForDescribeDBInstanceDetailOutput.nodeId) && + Objects.equals(this.nodeType, readOnlyNodeWeightForDescribeDBInstanceDetailOutput.nodeType) && + Objects.equals(this.weight, readOnlyNodeWeightForDescribeDBInstanceDetailOutput.weight); + } + + @Override + public int hashCode() { + return Objects.hash(nodeId, nodeType, weight); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ReadOnlyNodeWeightForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" weight: ").append(toIndentedString(weight)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForModifyDBEndpointInput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForModifyDBEndpointInput.java new file mode 100644 index 00000000..d5742eb7 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ReadOnlyNodeWeightForModifyDBEndpointInput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ReadOnlyNodeWeightForModifyDBEndpointInput + */ + + +public class ReadOnlyNodeWeightForModifyDBEndpointInput { + @SerializedName("NodeId") + private String nodeId = null; + + @SerializedName("NodeType") + private String nodeType = null; + + @SerializedName("Weight") + private Integer weight = null; + + public ReadOnlyNodeWeightForModifyDBEndpointInput nodeId(String nodeId) { + this.nodeId = nodeId; + return this; + } + + /** + * Get nodeId + * @return nodeId + **/ + @Schema(description = "") + public String getNodeId() { + return nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public ReadOnlyNodeWeightForModifyDBEndpointInput nodeType(String nodeType) { + this.nodeType = nodeType; + return this; + } + + /** + * Get nodeType + * @return nodeType + **/ + @Schema(description = "") + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public ReadOnlyNodeWeightForModifyDBEndpointInput weight(Integer weight) { + this.weight = weight; + return this; + } + + /** + * Get weight + * @return weight + **/ + @Schema(description = "") + public Integer getWeight() { + return weight; + } + + public void setWeight(Integer weight) { + this.weight = weight; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ReadOnlyNodeWeightForModifyDBEndpointInput readOnlyNodeWeightForModifyDBEndpointInput = (ReadOnlyNodeWeightForModifyDBEndpointInput) o; + return Objects.equals(this.nodeId, readOnlyNodeWeightForModifyDBEndpointInput.nodeId) && + Objects.equals(this.nodeType, readOnlyNodeWeightForModifyDBEndpointInput.nodeType) && + Objects.equals(this.weight, readOnlyNodeWeightForModifyDBEndpointInput.weight); + } + + @Override + public int hashCode() { + return Objects.hash(nodeId, nodeType, weight); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ReadOnlyNodeWeightForModifyDBEndpointInput {\n"); + + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" weight: ").append(toIndentedString(weight)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RecoverableTimeInfoForDescribeRecoverableTimeOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RecoverableTimeInfoForDescribeRecoverableTimeOutput.java new file mode 100644 index 00000000..f5eac1e6 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RecoverableTimeInfoForDescribeRecoverableTimeOutput.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RecoverableTimeInfoForDescribeRecoverableTimeOutput + */ + + +public class RecoverableTimeInfoForDescribeRecoverableTimeOutput { + @SerializedName("EarliestRecoverableTime") + private String earliestRecoverableTime = null; + + @SerializedName("LatestRecoverableTime") + private String latestRecoverableTime = null; + + public RecoverableTimeInfoForDescribeRecoverableTimeOutput earliestRecoverableTime(String earliestRecoverableTime) { + this.earliestRecoverableTime = earliestRecoverableTime; + return this; + } + + /** + * Get earliestRecoverableTime + * @return earliestRecoverableTime + **/ + @Schema(description = "") + public String getEarliestRecoverableTime() { + return earliestRecoverableTime; + } + + public void setEarliestRecoverableTime(String earliestRecoverableTime) { + this.earliestRecoverableTime = earliestRecoverableTime; + } + + public RecoverableTimeInfoForDescribeRecoverableTimeOutput latestRecoverableTime(String latestRecoverableTime) { + this.latestRecoverableTime = latestRecoverableTime; + return this; + } + + /** + * Get latestRecoverableTime + * @return latestRecoverableTime + **/ + @Schema(description = "") + public String getLatestRecoverableTime() { + return latestRecoverableTime; + } + + public void setLatestRecoverableTime(String latestRecoverableTime) { + this.latestRecoverableTime = latestRecoverableTime; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RecoverableTimeInfoForDescribeRecoverableTimeOutput recoverableTimeInfoForDescribeRecoverableTimeOutput = (RecoverableTimeInfoForDescribeRecoverableTimeOutput) o; + return Objects.equals(this.earliestRecoverableTime, recoverableTimeInfoForDescribeRecoverableTimeOutput.earliestRecoverableTime) && + Objects.equals(this.latestRecoverableTime, recoverableTimeInfoForDescribeRecoverableTimeOutput.latestRecoverableTime); + } + + @Override + public int hashCode() { + return Objects.hash(earliestRecoverableTime, latestRecoverableTime); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RecoverableTimeInfoForDescribeRecoverableTimeOutput {\n"); + + sb.append(" earliestRecoverableTime: ").append(toIndentedString(earliestRecoverableTime)).append("\n"); + sb.append(" latestRecoverableTime: ").append(toIndentedString(latestRecoverableTime)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RegionForDescribeRegionsOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RegionForDescribeRegionsOutput.java new file mode 100644 index 00000000..e3c7767f --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RegionForDescribeRegionsOutput.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RegionForDescribeRegionsOutput + */ + + +public class RegionForDescribeRegionsOutput { + @SerializedName("RegionId") + private String regionId = null; + + @SerializedName("RegionName") + private String regionName = null; + + public RegionForDescribeRegionsOutput regionId(String regionId) { + this.regionId = regionId; + return this; + } + + /** + * Get regionId + * @return regionId + **/ + @Schema(description = "") + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public RegionForDescribeRegionsOutput regionName(String regionName) { + this.regionName = regionName; + return this; + } + + /** + * Get regionName + * @return regionName + **/ + @Schema(description = "") + public String getRegionName() { + return regionName; + } + + public void setRegionName(String regionName) { + this.regionName = regionName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RegionForDescribeRegionsOutput regionForDescribeRegionsOutput = (RegionForDescribeRegionsOutput) o; + return Objects.equals(this.regionId, regionForDescribeRegionsOutput.regionId) && + Objects.equals(this.regionName, regionForDescribeRegionsOutput.regionName); + } + + @Override + public int hashCode() { + return Objects.hash(regionId, regionName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RegionForDescribeRegionsOutput {\n"); + + sb.append(" regionId: ").append(toIndentedString(regionId)).append("\n"); + sb.append(" regionName: ").append(toIndentedString(regionName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountRequest.java new file mode 100644 index 00000000..4157743c --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountRequest.java @@ -0,0 +1,141 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ResetDBAccountRequest + */ + + +public class ResetDBAccountRequest { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPassword") + private String accountPassword = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public ResetDBAccountRequest accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @NotNull + @Size(min=2,max=32) @Schema(required = true, description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public ResetDBAccountRequest accountPassword(String accountPassword) { + this.accountPassword = accountPassword; + return this; + } + + /** + * Get accountPassword + * @return accountPassword + **/ + @Size(min=8,max=32) @Schema(description = "") + public String getAccountPassword() { + return accountPassword; + } + + public void setAccountPassword(String accountPassword) { + this.accountPassword = accountPassword; + } + + public ResetDBAccountRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ResetDBAccountRequest resetDBAccountRequest = (ResetDBAccountRequest) o; + return Objects.equals(this.accountName, resetDBAccountRequest.accountName) && + Objects.equals(this.accountPassword, resetDBAccountRequest.accountPassword) && + Objects.equals(this.instanceId, resetDBAccountRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, accountPassword, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ResetDBAccountRequest {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" accountPassword: ").append(toIndentedString(accountPassword)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountResponse.java new file mode 100644 index 00000000..89bf963f --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ResetDBAccountResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ResetDBAccountResponse + */ + + +public class ResetDBAccountResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ResetDBAccountResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceRequest.java new file mode 100644 index 00000000..2d8a80a3 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceRequest.java @@ -0,0 +1,94 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RestartDBInstanceRequest + */ + + +public class RestartDBInstanceRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + public RestartDBInstanceRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RestartDBInstanceRequest restartDBInstanceRequest = (RestartDBInstanceRequest) o; + return Objects.equals(this.instanceId, restartDBInstanceRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RestartDBInstanceRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceResponse.java new file mode 100644 index 00000000..b4e6f499 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestartDBInstanceResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RestartDBInstanceResponse + */ + + +public class RestartDBInstanceResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RestartDBInstanceResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceRequest.java new file mode 100644 index 00000000..9d3caa06 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceRequest.java @@ -0,0 +1,360 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.volcengine.rdsmysqlv2.model.ChargeInfoForRestoreToNewInstanceInput; +import com.volcengine.rdsmysqlv2.model.NodeInfoForRestoreToNewInstanceInput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RestoreToNewInstanceRequest + */ + + +public class RestoreToNewInstanceRequest { + @SerializedName("BackupId") + private String backupId = null; + + @SerializedName("ChargeInfo") + private ChargeInfoForRestoreToNewInstanceInput chargeInfo = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + @SerializedName("NodeInfo") + private List nodeInfo = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("RestoreTime") + private String restoreTime = null; + + @SerializedName("SrcInstanceId") + private String srcInstanceId = null; + + @SerializedName("StorageSpace") + private Integer storageSpace = null; + + @SerializedName("StorageType") + private String storageType = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + @SerializedName("VpcId") + private String vpcId = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public RestoreToNewInstanceRequest backupId(String backupId) { + this.backupId = backupId; + return this; + } + + /** + * Get backupId + * @return backupId + **/ + @Schema(description = "") + public String getBackupId() { + return backupId; + } + + public void setBackupId(String backupId) { + this.backupId = backupId; + } + + public RestoreToNewInstanceRequest chargeInfo(ChargeInfoForRestoreToNewInstanceInput chargeInfo) { + this.chargeInfo = chargeInfo; + return this; + } + + /** + * Get chargeInfo + * @return chargeInfo + **/ + @Valid + @Schema(description = "") + public ChargeInfoForRestoreToNewInstanceInput getChargeInfo() { + return chargeInfo; + } + + public void setChargeInfo(ChargeInfoForRestoreToNewInstanceInput chargeInfo) { + this.chargeInfo = chargeInfo; + } + + public RestoreToNewInstanceRequest instanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + /** + * Get instanceName + * @return instanceName + **/ + @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public RestoreToNewInstanceRequest nodeInfo(List nodeInfo) { + this.nodeInfo = nodeInfo; + return this; + } + + public RestoreToNewInstanceRequest addNodeInfoItem(NodeInfoForRestoreToNewInstanceInput nodeInfoItem) { + if (this.nodeInfo == null) { + this.nodeInfo = new ArrayList(); + } + this.nodeInfo.add(nodeInfoItem); + return this; + } + + /** + * Get nodeInfo + * @return nodeInfo + **/ + @Valid + @Schema(description = "") + public List getNodeInfo() { + return nodeInfo; + } + + public void setNodeInfo(List nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public RestoreToNewInstanceRequest projectName(String projectName) { + this.projectName = projectName; + return this; + } + + /** + * Get projectName + * @return projectName + **/ + @Schema(description = "") + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public RestoreToNewInstanceRequest restoreTime(String restoreTime) { + this.restoreTime = restoreTime; + return this; + } + + /** + * Get restoreTime + * @return restoreTime + **/ + @Schema(description = "") + public String getRestoreTime() { + return restoreTime; + } + + public void setRestoreTime(String restoreTime) { + this.restoreTime = restoreTime; + } + + public RestoreToNewInstanceRequest srcInstanceId(String srcInstanceId) { + this.srcInstanceId = srcInstanceId; + return this; + } + + /** + * Get srcInstanceId + * @return srcInstanceId + **/ + @Schema(description = "") + public String getSrcInstanceId() { + return srcInstanceId; + } + + public void setSrcInstanceId(String srcInstanceId) { + this.srcInstanceId = srcInstanceId; + } + + public RestoreToNewInstanceRequest storageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + return this; + } + + /** + * Get storageSpace + * @return storageSpace + **/ + @Schema(description = "") + public Integer getStorageSpace() { + return storageSpace; + } + + public void setStorageSpace(Integer storageSpace) { + this.storageSpace = storageSpace; + } + + public RestoreToNewInstanceRequest storageType(String storageType) { + this.storageType = storageType; + return this; + } + + /** + * Get storageType + * @return storageType + **/ + @Schema(description = "") + public String getStorageType() { + return storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public RestoreToNewInstanceRequest subnetId(String subnetId) { + this.subnetId = subnetId; + return this; + } + + /** + * Get subnetId + * @return subnetId + **/ + @Schema(description = "") + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + public RestoreToNewInstanceRequest vpcId(String vpcId) { + this.vpcId = vpcId; + return this; + } + + /** + * Get vpcId + * @return vpcId + **/ + @Schema(description = "") + public String getVpcId() { + return vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public RestoreToNewInstanceRequest zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RestoreToNewInstanceRequest restoreToNewInstanceRequest = (RestoreToNewInstanceRequest) o; + return Objects.equals(this.backupId, restoreToNewInstanceRequest.backupId) && + Objects.equals(this.chargeInfo, restoreToNewInstanceRequest.chargeInfo) && + Objects.equals(this.instanceName, restoreToNewInstanceRequest.instanceName) && + Objects.equals(this.nodeInfo, restoreToNewInstanceRequest.nodeInfo) && + Objects.equals(this.projectName, restoreToNewInstanceRequest.projectName) && + Objects.equals(this.restoreTime, restoreToNewInstanceRequest.restoreTime) && + Objects.equals(this.srcInstanceId, restoreToNewInstanceRequest.srcInstanceId) && + Objects.equals(this.storageSpace, restoreToNewInstanceRequest.storageSpace) && + Objects.equals(this.storageType, restoreToNewInstanceRequest.storageType) && + Objects.equals(this.subnetId, restoreToNewInstanceRequest.subnetId) && + Objects.equals(this.vpcId, restoreToNewInstanceRequest.vpcId) && + Objects.equals(this.zoneId, restoreToNewInstanceRequest.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(backupId, chargeInfo, instanceName, nodeInfo, projectName, restoreTime, srcInstanceId, storageSpace, storageType, subnetId, vpcId, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RestoreToNewInstanceRequest {\n"); + + sb.append(" backupId: ").append(toIndentedString(backupId)).append("\n"); + sb.append(" chargeInfo: ").append(toIndentedString(chargeInfo)).append("\n"); + sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" nodeInfo: ").append(toIndentedString(nodeInfo)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" restoreTime: ").append(toIndentedString(restoreTime)).append("\n"); + sb.append(" srcInstanceId: ").append(toIndentedString(srcInstanceId)).append("\n"); + sb.append(" storageSpace: ").append(toIndentedString(storageSpace)).append("\n"); + sb.append(" storageType: ").append(toIndentedString(storageType)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append(" vpcId: ").append(toIndentedString(vpcId)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceResponse.java new file mode 100644 index 00000000..8c5e9c13 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RestoreToNewInstanceResponse.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RestoreToNewInstanceResponse + */ + + +public class RestoreToNewInstanceResponse { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("OrderId") + private String orderId = null; + + public RestoreToNewInstanceResponse instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @Schema(description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public RestoreToNewInstanceResponse orderId(String orderId) { + this.orderId = orderId; + return this; + } + + /** + * Get orderId + * @return orderId + **/ + @Schema(description = "") + public String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RestoreToNewInstanceResponse restoreToNewInstanceResponse = (RestoreToNewInstanceResponse) o; + return Objects.equals(this.instanceId, restoreToNewInstanceResponse.instanceId) && + Objects.equals(this.orderId, restoreToNewInstanceResponse.orderId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, orderId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RestoreToNewInstanceResponse {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" orderId: ").append(toIndentedString(orderId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeRequest.java new file mode 100644 index 00000000..1ded5118 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeRequest.java @@ -0,0 +1,142 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RevokeDBAccountPrivilegeRequest + */ + + +public class RevokeDBAccountPrivilegeRequest { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("DBNames") + private String dbNames = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public RevokeDBAccountPrivilegeRequest accountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get accountName + * @return accountName + **/ + @NotNull + @Size(min=2,max=32) @Schema(required = true, description = "") + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public RevokeDBAccountPrivilegeRequest dbNames(String dbNames) { + this.dbNames = dbNames; + return this; + } + + /** + * Get dbNames + * @return dbNames + **/ + @NotNull + @Schema(required = true, description = "") + public String getDbNames() { + return dbNames; + } + + public void setDbNames(String dbNames) { + this.dbNames = dbNames; + } + + public RevokeDBAccountPrivilegeRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RevokeDBAccountPrivilegeRequest revokeDBAccountPrivilegeRequest = (RevokeDBAccountPrivilegeRequest) o; + return Objects.equals(this.accountName, revokeDBAccountPrivilegeRequest.accountName) && + Objects.equals(this.dbNames, revokeDBAccountPrivilegeRequest.dbNames) && + Objects.equals(this.instanceId, revokeDBAccountPrivilegeRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(accountName, dbNames, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RevokeDBAccountPrivilegeRequest {\n"); + + sb.append(" accountName: ").append(toIndentedString(accountName)).append("\n"); + sb.append(" dbNames: ").append(toIndentedString(dbNames)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeResponse.java new file mode 100644 index 00000000..557510bf --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDBAccountPrivilegeResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RevokeDBAccountPrivilegeResponse + */ + + +public class RevokeDBAccountPrivilegeResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RevokeDBAccountPrivilegeResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeRequest.java new file mode 100644 index 00000000..ac19306c --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeRequest.java @@ -0,0 +1,142 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RevokeDatabasePrivilegeRequest + */ + + +public class RevokeDatabasePrivilegeRequest { + @SerializedName("AccountNames") + private String accountNames = null; + + @SerializedName("DBName") + private String dbName = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + public RevokeDatabasePrivilegeRequest accountNames(String accountNames) { + this.accountNames = accountNames; + return this; + } + + /** + * Get accountNames + * @return accountNames + **/ + @NotNull + @Schema(required = true, description = "") + public String getAccountNames() { + return accountNames; + } + + public void setAccountNames(String accountNames) { + this.accountNames = accountNames; + } + + public RevokeDatabasePrivilegeRequest dbName(String dbName) { + this.dbName = dbName; + return this; + } + + /** + * Get dbName + * @return dbName + **/ + @NotNull + @Size(min=2,max=64) @Schema(required = true, description = "") + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public RevokeDatabasePrivilegeRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + RevokeDatabasePrivilegeRequest revokeDatabasePrivilegeRequest = (RevokeDatabasePrivilegeRequest) o; + return Objects.equals(this.accountNames, revokeDatabasePrivilegeRequest.accountNames) && + Objects.equals(this.dbName, revokeDatabasePrivilegeRequest.dbName) && + Objects.equals(this.instanceId, revokeDatabasePrivilegeRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(accountNames, dbName, instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RevokeDatabasePrivilegeRequest {\n"); + + sb.append(" accountNames: ").append(toIndentedString(accountNames)).append("\n"); + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeResponse.java new file mode 100644 index 00000000..82382fb0 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/RevokeDatabasePrivilegeResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RevokeDatabasePrivilegeResponse + */ + + +public class RevokeDatabasePrivilegeResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class RevokeDatabasePrivilegeResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/TagForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/TagForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..a56ff508 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/TagForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,116 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * TagForDescribeDBInstanceDetailOutput + */ + + +public class TagForDescribeDBInstanceDetailOutput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagForDescribeDBInstanceDetailOutput key(String key) { + this.key = key; + return this; + } + + /** + * Get key + * @return key + **/ + @Schema(description = "") + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public TagForDescribeDBInstanceDetailOutput value(String value) { + this.value = value; + return this; + } + + /** + * Get value + * @return value + **/ + @Schema(description = "") + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagForDescribeDBInstanceDetailOutput tagForDescribeDBInstanceDetailOutput = (TagForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.key, tagForDescribeDBInstanceDetailOutput.key) && + Objects.equals(this.value, tagForDescribeDBInstanceDetailOutput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionRequest.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionRequest.java new file mode 100644 index 00000000..37e2d8b9 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionRequest.java @@ -0,0 +1,94 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * UpgradeAllowListVersionRequest + */ + + +public class UpgradeAllowListVersionRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + public UpgradeAllowListVersionRequest instanceId(String instanceId) { + this.instanceId = instanceId; + return this; + } + + /** + * Get instanceId + * @return instanceId + **/ + @NotNull + @Schema(required = true, description = "") + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpgradeAllowListVersionRequest upgradeAllowListVersionRequest = (UpgradeAllowListVersionRequest) o; + return Objects.equals(this.instanceId, upgradeAllowListVersionRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpgradeAllowListVersionRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionResponse.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionResponse.java new file mode 100644 index 00000000..a3cdf97e --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/UpgradeAllowListVersionResponse.java @@ -0,0 +1,63 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * UpgradeAllowListVersionResponse + */ + + +public class UpgradeAllowListVersionResponse { + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + return true; + } + + @Override + public int hashCode() { + return Objects.hash(); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpgradeAllowListVersionResponse {\n"); + + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ZoneForDescribeAvailabilityZonesOutput.java b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ZoneForDescribeAvailabilityZonesOutput.java new file mode 100644 index 00000000..f5cfdf19 --- /dev/null +++ b/volcengine-java-sdk-rdsmysqlv2/src/main/java/com/volcengine/rdsmysqlv2/model/ZoneForDescribeAvailabilityZonesOutput.java @@ -0,0 +1,139 @@ +/* + * rds_mysql_v2 + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: common-version + * + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + +package com.volcengine.rdsmysqlv2.model; + +import java.util.Objects; +import java.util.Arrays; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ZoneForDescribeAvailabilityZonesOutput + */ + + +public class ZoneForDescribeAvailabilityZonesOutput { + @SerializedName("Description") + private String description = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + @SerializedName("ZoneName") + private String zoneName = null; + + public ZoneForDescribeAvailabilityZonesOutput description(String description) { + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @Schema(description = "") + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public ZoneForDescribeAvailabilityZonesOutput zoneId(String zoneId) { + this.zoneId = zoneId; + return this; + } + + /** + * Get zoneId + * @return zoneId + **/ + @Schema(description = "") + public String getZoneId() { + return zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public ZoneForDescribeAvailabilityZonesOutput zoneName(String zoneName) { + this.zoneName = zoneName; + return this; + } + + /** + * Get zoneName + * @return zoneName + **/ + @Schema(description = "") + public String getZoneName() { + return zoneName; + } + + public void setZoneName(String zoneName) { + this.zoneName = zoneName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ZoneForDescribeAvailabilityZonesOutput zoneForDescribeAvailabilityZonesOutput = (ZoneForDescribeAvailabilityZonesOutput) o; + return Objects.equals(this.description, zoneForDescribeAvailabilityZonesOutput.description) && + Objects.equals(this.zoneId, zoneForDescribeAvailabilityZonesOutput.zoneId) && + Objects.equals(this.zoneName, zoneForDescribeAvailabilityZonesOutput.zoneName); + } + + @Override + public int hashCode() { + return Objects.hash(description, zoneId, zoneName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ZoneForDescribeAvailabilityZonesOutput {\n"); + + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" zoneId: ").append(toIndentedString(zoneId)).append("\n"); + sb.append(" zoneName: ").append(toIndentedString(zoneName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/volcengine-java-sdk-storageebs/pom.xml b/volcengine-java-sdk-storageebs/pom.xml index 255a9217..378b3e5c 100644 --- a/volcengine-java-sdk-storageebs/pom.xml +++ b/volcengine-java-sdk-storageebs/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vke/pom.xml b/volcengine-java-sdk-vke/pom.xml index d51693a5..55434733 100644 --- a/volcengine-java-sdk-vke/pom.xml +++ b/volcengine-java-sdk-vke/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-volcobserve/pom.xml b/volcengine-java-sdk-volcobserve/pom.xml index 46127a25..a5021a93 100644 --- a/volcengine-java-sdk-volcobserve/pom.xml +++ b/volcengine-java-sdk-volcobserve/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpc/pom.xml b/volcengine-java-sdk-vpc/pom.xml index ec4bd8ed..3cad87ce 100644 --- a/volcengine-java-sdk-vpc/pom.xml +++ b/volcengine-java-sdk-vpc/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpn/pom.xml b/volcengine-java-sdk-vpn/pom.xml index f821b6f9..6656eb9f 100644 --- a/volcengine-java-sdk-vpn/pom.xml +++ b/volcengine-java-sdk-vpn/pom.xml @@ -3,7 +3,7 @@ volcengine-java-sdk com.volcengine - 0.1.36 + 0.1.37 ../pom.xml 4.0.0 From fb9b323bd7095379f57be6f2d17845bb729a9784 Mon Sep 17 00:00:00 2001 From: ci_volc_sdk_gen Date: Tue, 7 Mar 2023 19:18:44 +0800 Subject: [PATCH 2/3] feat: auto generate for feat/rdsv2 --- meta.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 meta.json diff --git a/meta.json b/meta.json new file mode 100755 index 00000000..e8fbb591 --- /dev/null +++ b/meta.json @@ -0,0 +1,4 @@ +{ + "lasted": "0.1.37", + "meta_commit": "7e324475b0969d0c79c275977d58dd0b0b864779" +} \ No newline at end of file From c0bc9525b28eb3e568215862933e127c38b33941 Mon Sep 17 00:00:00 2001 From: ci_volc_sdk_gen Date: Wed, 8 Mar 2023 11:28:49 +0800 Subject: [PATCH 3/3] feat: auto generate for feat/rdsv2 --- meta.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta.json b/meta.json index e8fbb591..6267cc5c 100755 --- a/meta.json +++ b/meta.json @@ -1,4 +1,4 @@ { "lasted": "0.1.37", - "meta_commit": "7e324475b0969d0c79c275977d58dd0b0b864779" + "meta_commit": "95eec105decc8a783ba0a06ec5028b1850fa7f4b" } \ No newline at end of file