From 33807d6ccb33392754daffba003555504daea33b Mon Sep 17 00:00:00 2001 From: xuyaming Date: Mon, 10 Oct 2022 12:08:32 +0800 Subject: [PATCH] feat: auto generate for mongodb-20221010 --- 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 | 18 + .../com/volcengine/mongodb/MongodbApi.java | 3332 +++++++++++++++++ .../AccountForDescribeDBAccountsOutput.java | 191 + ...tPrivilegeForDescribeDBAccountsOutput.java | 116 + .../AllowListForDescribeAllowListsOutput.java | 208 + .../model/AssociateAllowListRequest.java | 134 + .../model/AssociateAllowListResponse.java | 63 + ...tanceForDescribeAllowListDetailOutput.java | 139 + ...rverForDescribeDBInstanceDetailOutput.java | 313 ++ .../mongodb/model/CreateAllowListRequest.java | 162 + .../model/CreateAllowListResponse.java | 93 + .../model/CreateDBEndpointRequest.java | 247 ++ .../model/CreateDBEndpointResponse.java | 63 + .../model/CreateDBInstanceRequest.java | 758 ++++ .../model/CreateDBInstanceResponse.java | 116 + .../DBAddressForDescribeDBEndpointOutput.java | 249 ++ ...DBEndpointForDescribeDBEndpointOutput.java | 352 ++ ...anceForDescribeDBInstanceDetailOutput.java | 967 +++++ ...BInstanceForDescribeDBInstancesOutput.java | 833 +++++ .../mongodb/model/DeleteAllowListRequest.java | 93 + .../model/DeleteAllowListResponse.java | 63 + .../model/DeleteDBEndpointRequest.java | 150 + .../model/DeleteDBEndpointResponse.java | 63 + .../model/DeleteDBInstanceRequest.java | 94 + .../model/DeleteDBInstanceResponse.java | 63 + .../model/DescribeAllowListDetailRequest.java | 93 + .../DescribeAllowListDetailResponse.java | 220 ++ .../model/DescribeAllowListsRequest.java | 116 + .../model/DescribeAllowListsResponse.java | 105 + .../DescribeAvailabilityZonesRequest.java | 93 + .../DescribeAvailabilityZonesResponse.java | 128 + .../model/DescribeDBAccountsRequest.java | 163 + .../model/DescribeDBAccountsResponse.java | 128 + .../model/DescribeDBEndpointRequest.java | 94 + .../model/DescribeDBEndpointResponse.java | 105 + .../DescribeDBInstanceDetailRequest.java | 94 + .../DescribeDBInstanceDetailResponse.java | 95 + ...escribeDBInstanceParametersLogRequest.java | 190 + ...scribeDBInstanceParametersLogResponse.java | 128 + .../DescribeDBInstanceParametersRequest.java | 184 + .../DescribeDBInstanceParametersResponse.java | 197 + .../model/DescribeDBInstancesRequest.java | 584 +++ .../model/DescribeDBInstancesResponse.java | 128 + .../model/DescribeNodeSpecsRequest.java | 93 + .../model/DescribeNodeSpecsResponse.java | 170 + .../mongodb/model/DescribeRegionsRequest.java | 63 + .../model/DescribeRegionsResponse.java | 128 + .../model/DisassociateAllowListRequest.java | 134 + .../model/DisassociateAllowListResponse.java | 63 + ...ForDescribeDBInstanceParametersOutput.java | 343 ++ .../mongodb/model/ModifyAllowListRequest.java | 250 ++ .../model/ModifyAllowListResponse.java | 63 + .../ModifyDBInstanceChargeTypeRequest.java | 278 ++ .../ModifyDBInstanceChargeTypeResponse.java | 126 + .../model/ModifyDBInstanceNameRequest.java | 117 + .../model/ModifyDBInstanceNameResponse.java | 63 + .../ModifyDBInstanceParametersRequest.java | 117 + .../ModifyDBInstanceParametersResponse.java | 93 + .../model/ModifyDBInstanceSpecRequest.java | 273 ++ .../model/ModifyDBInstanceSpecResponse.java | 116 + ...ongoForDescribeDBInstanceDetailOutput.java | 272 ++ ...gosNodeSpecForDescribeNodeSpecsOutput.java | 162 + ...NodeForDescribeDBInstanceDetailOutput.java | 405 ++ .../NodeSpecForDescribeNodeSpecsOutput.java | 185 + ...DescribeDBInstanceParametersLogOutput.java | 294 ++ .../model/RegionForDescribeRegionsOutput.java | 116 + .../mongodb/model/ResetDBAccountRequest.java | 140 + .../mongodb/model/ResetDBAccountResponse.java | 63 + .../model/RestartDBInstanceRequest.java | 94 + .../model/RestartDBInstanceResponse.java | 63 + ...hardForDescribeDBInstanceDetailOutput.java | 128 + ...oneForDescribeAvailabilityZonesOutput.java | 116 + volcengine-java-sdk-natgateway/pom.xml | 2 +- volcengine-java-sdk-rdsmysql/pom.xml | 2 +- volcengine-java-sdk-storageebs/pom.xml | 2 +- volcengine-java-sdk-vke/pom.xml | 2 +- volcengine-java-sdk-vpc/pom.xml | 2 +- .../vpc/model/AllocateEipAddressRequest.java | 39 +- .../vpc/model/AllocateEipAddressResponse.java | 2 +- .../AssignPrivateIpAddressesRequest.java | 2 +- .../AssignPrivateIpAddressesResponse.java | 2 +- ...iateCenForDescribeVpcAttributesOutput.java | 2 +- .../AssociateCenForDescribeVpcsOutput.java | 2 +- .../vpc/model/AssociateEipAddressRequest.java | 2 +- .../model/AssociateEipAddressResponse.java | 2 +- .../vpc/model/AssociateHaVipRequest.java | 2 +- .../vpc/model/AssociateHaVipResponse.java | 2 +- .../vpc/model/AssociateNetworkAclRequest.java | 2 +- .../model/AssociateNetworkAclResponse.java | 2 +- .../vpc/model/AssociateRouteTableRequest.java | 2 +- .../model/AssociateRouteTableResponse.java | 2 +- ...cribeNetworkInterfaceAttributesOutput.java | 2 +- ...cIpForDescribeNetworkInterfacesOutput.java | 2 +- .../model/AttachNetworkInterfaceRequest.java | 2 +- .../model/AttachNetworkInterfaceResponse.java | 2 +- .../AuthorizeSecurityGroupEgressRequest.java | 2 +- .../AuthorizeSecurityGroupEgressResponse.java | 2 +- .../AuthorizeSecurityGroupIngressRequest.java | 2 +- ...AuthorizeSecurityGroupIngressResponse.java | 2 +- .../vpc/model/CreateHaVipRequest.java | 2 +- .../vpc/model/CreateHaVipResponse.java | 2 +- .../vpc/model/CreateNetworkAclRequest.java | 2 +- .../vpc/model/CreateNetworkAclResponse.java | 2 +- .../model/CreateNetworkInterfaceRequest.java | 2 +- .../model/CreateNetworkInterfaceResponse.java | 2 +- .../vpc/model/CreateRouteEntryRequest.java | 2 +- .../vpc/model/CreateRouteEntryResponse.java | 2 +- .../vpc/model/CreateRouteTableRequest.java | 2 +- .../vpc/model/CreateRouteTableResponse.java | 2 +- .../vpc/model/CreateSecurityGroupRequest.java | 2 +- .../model/CreateSecurityGroupResponse.java | 2 +- .../vpc/model/CreateSubnetRequest.java | 2 +- .../vpc/model/CreateSubnetResponse.java | 2 +- .../vpc/model/CreateVpcRequest.java | 2 +- .../vpc/model/CreateVpcResponse.java | 2 +- .../vpc/model/DeleteHaVipRequest.java | 2 +- .../vpc/model/DeleteHaVipResponse.java | 2 +- .../vpc/model/DeleteNetworkAclRequest.java | 2 +- .../vpc/model/DeleteNetworkAclResponse.java | 2 +- .../model/DeleteNetworkInterfaceRequest.java | 2 +- .../model/DeleteNetworkInterfaceResponse.java | 2 +- .../vpc/model/DeleteRouteEntryRequest.java | 2 +- .../vpc/model/DeleteRouteEntryResponse.java | 2 +- .../vpc/model/DeleteRouteTableRequest.java | 2 +- .../vpc/model/DeleteRouteTableResponse.java | 2 +- .../vpc/model/DeleteSecurityGroupRequest.java | 2 +- .../model/DeleteSecurityGroupResponse.java | 2 +- .../vpc/model/DeleteSubnetRequest.java | 2 +- .../vpc/model/DeleteSubnetResponse.java | 2 +- .../vpc/model/DeleteVpcRequest.java | 2 +- .../vpc/model/DeleteVpcResponse.java | 2 +- .../DescribeEipAddressAttributesRequest.java | 2 +- .../DescribeEipAddressAttributesResponse.java | 2 +- .../model/DescribeEipAddressesRequest.java | 39 +- .../model/DescribeEipAddressesResponse.java | 2 +- .../vpc/model/DescribeHaVipsRequest.java | 2 +- .../vpc/model/DescribeHaVipsResponse.java | 2 +- .../DescribeNetworkAclAttributesRequest.java | 2 +- .../DescribeNetworkAclAttributesResponse.java | 2 +- .../vpc/model/DescribeNetworkAclsRequest.java | 2 +- .../model/DescribeNetworkAclsResponse.java | 2 +- ...ribeNetworkInterfaceAttributesRequest.java | 2 +- ...ibeNetworkInterfaceAttributesResponse.java | 2 +- .../DescribeNetworkInterfacesRequest.java | 2 +- .../DescribeNetworkInterfacesResponse.java | 2 +- .../model/DescribeRouteEntryListRequest.java | 2 +- .../model/DescribeRouteEntryListResponse.java | 2 +- .../model/DescribeRouteTableListRequest.java | 2 +- .../model/DescribeRouteTableListResponse.java | 2 +- ...escribeSecurityGroupAttributesRequest.java | 2 +- ...scribeSecurityGroupAttributesResponse.java | 2 +- .../model/DescribeSecurityGroupsRequest.java | 2 +- .../model/DescribeSecurityGroupsResponse.java | 2 +- .../DescribeSubnetAttributesRequest.java | 2 +- .../DescribeSubnetAttributesResponse.java | 2 +- .../vpc/model/DescribeSubnetsRequest.java | 2 +- .../vpc/model/DescribeSubnetsResponse.java | 2 +- .../model/DescribeVpcAttributesRequest.java | 2 +- .../model/DescribeVpcAttributesResponse.java | 2 +- .../vpc/model/DescribeVpcsRequest.java | 2 +- .../vpc/model/DescribeVpcsResponse.java | 2 +- .../model/DetachNetworkInterfaceRequest.java | 2 +- .../model/DetachNetworkInterfaceResponse.java | 2 +- .../model/DisassociateEipAddressRequest.java | 2 +- .../model/DisassociateEipAddressResponse.java | 2 +- .../vpc/model/DisassociateHaVipRequest.java | 2 +- .../vpc/model/DisassociateHaVipResponse.java | 2 +- .../model/DisassociateNetworkAclRequest.java | 2 +- .../model/DisassociateNetworkAclResponse.java | 2 +- .../model/DisassociateRouteTableRequest.java | 2 +- .../model/DisassociateRouteTableResponse.java | 2 +- ...ForDescribeNetworkAclAttributesOutput.java | 2 +- ...sAclEntryForDescribeNetworkAclsOutput.java | 2 +- ...lEntryForUpdateNetworkAclEntriesInput.java | 2 +- ...pAddressForDescribeEipAddressesOutput.java | 2 +- .../model/HaVipForDescribeHaVipsOutput.java | 2 +- ...ForDescribeNetworkAclAttributesOutput.java | 2 +- ...sAclEntryForDescribeNetworkAclsOutput.java | 2 +- ...lEntryForUpdateNetworkAclEntriesInput.java | 2 +- .../model/ListTagsForResourcesRequest.java | 2 +- .../model/ListTagsForResourcesResponse.java | 2 +- .../ModifyEipAddressAttributesRequest.java | 2 +- .../ModifyEipAddressAttributesResponse.java | 2 +- .../model/ModifyHaVipAttributesRequest.java | 2 +- .../model/ModifyHaVipAttributesResponse.java | 2 +- .../ModifyNetworkAclAttributesRequest.java | 2 +- .../ModifyNetworkAclAttributesResponse.java | 2 +- ...difyNetworkInterfaceAttributesRequest.java | 2 +- ...ifyNetworkInterfaceAttributesResponse.java | 2 +- .../vpc/model/ModifyRouteEntryRequest.java | 2 +- .../vpc/model/ModifyRouteEntryResponse.java | 2 +- .../ModifyRouteTableAttributesRequest.java | 2 +- .../ModifyRouteTableAttributesResponse.java | 2 +- .../ModifySecurityGroupAttributesRequest.java | 2 +- ...ModifySecurityGroupAttributesResponse.java | 2 +- ...ityGroupRuleDescriptionsEgressRequest.java | 2 +- ...tyGroupRuleDescriptionsEgressResponse.java | 2 +- ...tyGroupRuleDescriptionsIngressRequest.java | 2 +- ...yGroupRuleDescriptionsIngressResponse.java | 2 +- .../model/ModifySubnetAttributesRequest.java | 2 +- .../model/ModifySubnetAttributesResponse.java | 2 +- .../vpc/model/ModifyVpcAttributesRequest.java | 2 +- .../model/ModifyVpcAttributesResponse.java | 2 +- ...ForDescribeNetworkAclAttributesOutput.java | 2 +- ...etworkAclForDescribeNetworkAclsOutput.java | 2 +- ...SetForDescribeNetworkInterfacesOutput.java | 2 +- ...DescribeSecurityGroupAttributesOutput.java | 2 +- ...cribeNetworkInterfaceAttributesOutput.java | 2 +- ...SetForDescribeNetworkInterfacesOutput.java | 2 +- ...cribeNetworkInterfaceAttributesOutput.java | 2 +- ...etsForDescribeNetworkInterfacesOutput.java | 2 +- .../vpc/model/ReleaseEipAddressRequest.java | 2 +- .../vpc/model/ReleaseEipAddressResponse.java | 2 +- .../ResourceForAssociateNetworkAclInput.java | 2 +- ...ForDescribeNetworkAclAttributesOutput.java | 2 +- .../ResourceForDescribeNetworkAclsOutput.java | 2 +- ...esourceForDisassociateNetworkAclInput.java | 2 +- ...ourceTagForListTagsForResourcesOutput.java | 2 +- .../RevokeSecurityGroupEgressRequest.java | 2 +- .../RevokeSecurityGroupEgressResponse.java | 2 +- .../RevokeSecurityGroupIngressRequest.java | 2 +- .../RevokeSecurityGroupIngressResponse.java | 2 +- ...eEntryForDescribeRouteEntryListOutput.java | 2 +- ...ableForDescribeSubnetAttributesOutput.java | 2 +- .../RouteTableForDescribeSubnetsOutput.java | 2 +- ...leListForDescribeRouteTableListOutput.java | 2 +- ...yGroupForDescribeSecurityGroupsOutput.java | 2 +- .../model/SubnetForDescribeSubnetsOutput.java | 2 +- ...TagFilterForDescribeEipAddressesInput.java | 126 + ...lterForDescribeNetworkInterfacesInput.java | 2 +- ...gFilterForDescribeSecurityGroupsInput.java | 2 +- .../model/TagFilterForDescribeVpcsInput.java | 2 +- ...TagFilterForListTagsForResourcesInput.java | 2 +- .../model/TagForAllocateEipAddressInput.java | 116 + .../TagForCreateNetworkInterfaceInput.java | 2 +- .../model/TagForCreateSecurityGroupInput.java | 2 +- .../vpc/model/TagForCreateVpcInput.java | 2 +- ...cribeNetworkInterfaceAttributesOutput.java | 2 +- ...TagForDescribeNetworkInterfacesOutput.java | 2 +- ...DescribeSecurityGroupAttributesOutput.java | 2 +- .../TagForDescribeSecurityGroupsOutput.java | 2 +- .../TagForDescribeVpcAttributesOutput.java | 2 +- .../vpc/model/TagForDescribeVpcsOutput.java | 2 +- .../vpc/model/TagForTagResourcesInput.java | 2 +- .../vpc/model/TagResourcesRequest.java | 2 +- .../vpc/model/TagResourcesResponse.java | 2 +- .../UnassignPrivateIpAddressesRequest.java | 2 +- .../UnassignPrivateIpAddressesResponse.java | 2 +- .../vpc/model/UntagResourcesRequest.java | 2 +- .../vpc/model/UntagResourcesResponse.java | 2 +- .../model/UpdateNetworkAclEntriesRequest.java | 2 +- .../UpdateNetworkAclEntriesResponse.java | 2 +- .../vpc/model/VpcForDescribeVpcsOutput.java | 2 +- volcengine-java-sdk-vpn/pom.xml | 2 +- 266 files changed, 16766 insertions(+), 198 deletions(-) create mode 100644 volcengine-java-sdk-mongodb/pom.xml create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/MongodbApi.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AccountForDescribeDBAccountsOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AccountPrivilegeForDescribeDBAccountsOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AllowListForDescribeAllowListsOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociatedInstanceForDescribeAllowListDetailOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ConfigServerForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBAddressForDescribeDBEndpointOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBEndpointForDescribeDBEndpointOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstancesOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/InstanceParameterForDescribeDBInstanceParametersOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/MongoForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/MongosNodeSpecForDescribeNodeSpecsOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/NodeForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/NodeSpecForDescribeNodeSpecsOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RegionForDescribeRegionsOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceRequest.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceResponse.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ShardForDescribeDBInstanceDetailOutput.java create mode 100644 volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ZoneForDescribeAvailabilityZonesOutput.java create mode 100644 volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeEipAddressesInput.java create mode 100644 volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForAllocateEipAddressInput.java diff --git a/README.md b/README.md index c98a67f5..631def55 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ com.volcengine volcengine-java-sdk-bom - 0.1.14 + 0.1.15 pom import @@ -67,12 +67,12 @@ com.volcengine volcengine-java-sdk-vpc - 0.1.14 + 0.1.15 com.volcengine volcengine-java-sdk-ecs - 0.1.14 + 0.1.15 ``` diff --git a/pom.xml b/pom.xml index 3155e3fa..fd0aadf7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.volcengine volcengine-java-sdk pom - 0.1.14 + 0.1.15 UTF-8 1.7 @@ -131,5 +131,6 @@ volcengine-java-sdk-alb volcengine-java-sdk-cr volcengine-java-sdk-directconnect + volcengine-java-sdk-mongodb diff --git a/volcengine-java-sdk-alb/pom.xml b/volcengine-java-sdk-alb/pom.xml index 7d817340..347ebe8c 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-autoscaling/pom.xml b/volcengine-java-sdk-autoscaling/pom.xml index 58b8b5fb..a85eee21 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-bom/pom.xml b/volcengine-java-sdk-bom/pom.xml index 5f69620f..d145f408 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.14 + 0.1.15 ../pom.xml 4.0.0 @@ -97,6 +97,12 @@ false ${project.version} + + com.volcengine + volcengine-java-sdk-mongodb + false + ${project.version} + diff --git a/volcengine-java-sdk-cen/pom.xml b/volcengine-java-sdk-cen/pom.xml index c6e13085..33be7294 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-clb/pom.xml b/volcengine-java-sdk-clb/pom.xml index 75229bae..af21e5bf 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-core/pom.xml b/volcengine-java-sdk-core/pom.xml index b69de8e0..a6d771cf 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.14 + 0.1.15 ../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 9817209e..506ecd17 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.13"; + public final static String SDK_VERSION = "0.1.15"; 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 d7f2b2ed..abc65d59 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-directconnect/pom.xml b/volcengine-java-sdk-directconnect/pom.xml index 24118d5a..ca680af7 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-ecs/pom.xml b/volcengine-java-sdk-ecs/pom.xml index a0afe7c5..0d212def 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-mongodb/pom.xml b/volcengine-java-sdk-mongodb/pom.xml new file mode 100644 index 00000000..859ef18a --- /dev/null +++ b/volcengine-java-sdk-mongodb/pom.xml @@ -0,0 +1,18 @@ + + + + volcengine-java-sdk + com.volcengine + 0.1.15 + ../pom.xml + + 4.0.0 + volcengine-java-sdk-mongodb + + + com.volcengine + volcengine-java-sdk-core + ${project.version} + + + diff --git a/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/MongodbApi.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/MongodbApi.java new file mode 100644 index 00000000..5a674dac --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/MongodbApi.java @@ -0,0 +1,3332 @@ +/* + * mongodb + * 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.mongodb; + +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.mongodb.model.AssociateAllowListRequest; +import com.volcengine.mongodb.model.AssociateAllowListResponse; +import com.volcengine.mongodb.model.CreateAllowListRequest; +import com.volcengine.mongodb.model.CreateAllowListResponse; +import com.volcengine.mongodb.model.CreateDBEndpointRequest; +import com.volcengine.mongodb.model.CreateDBEndpointResponse; +import com.volcengine.mongodb.model.CreateDBInstanceRequest; +import com.volcengine.mongodb.model.CreateDBInstanceResponse; +import com.volcengine.mongodb.model.DeleteAllowListRequest; +import com.volcengine.mongodb.model.DeleteAllowListResponse; +import com.volcengine.mongodb.model.DeleteDBEndpointRequest; +import com.volcengine.mongodb.model.DeleteDBEndpointResponse; +import com.volcengine.mongodb.model.DeleteDBInstanceRequest; +import com.volcengine.mongodb.model.DeleteDBInstanceResponse; +import com.volcengine.mongodb.model.DescribeAllowListDetailRequest; +import com.volcengine.mongodb.model.DescribeAllowListDetailResponse; +import com.volcengine.mongodb.model.DescribeAllowListsRequest; +import com.volcengine.mongodb.model.DescribeAllowListsResponse; +import com.volcengine.mongodb.model.DescribeAvailabilityZonesRequest; +import com.volcengine.mongodb.model.DescribeAvailabilityZonesResponse; +import com.volcengine.mongodb.model.DescribeDBAccountsRequest; +import com.volcengine.mongodb.model.DescribeDBAccountsResponse; +import com.volcengine.mongodb.model.DescribeDBEndpointRequest; +import com.volcengine.mongodb.model.DescribeDBEndpointResponse; +import com.volcengine.mongodb.model.DescribeDBInstanceDetailRequest; +import com.volcengine.mongodb.model.DescribeDBInstanceDetailResponse; +import com.volcengine.mongodb.model.DescribeDBInstanceParametersLogRequest; +import com.volcengine.mongodb.model.DescribeDBInstanceParametersLogResponse; +import com.volcengine.mongodb.model.DescribeDBInstanceParametersRequest; +import com.volcengine.mongodb.model.DescribeDBInstanceParametersResponse; +import com.volcengine.mongodb.model.DescribeDBInstancesRequest; +import com.volcengine.mongodb.model.DescribeDBInstancesResponse; +import com.volcengine.mongodb.model.DescribeNodeSpecsRequest; +import com.volcengine.mongodb.model.DescribeNodeSpecsResponse; +import com.volcengine.mongodb.model.DescribeRegionsRequest; +import com.volcengine.mongodb.model.DescribeRegionsResponse; +import com.volcengine.mongodb.model.DisassociateAllowListRequest; +import com.volcengine.mongodb.model.DisassociateAllowListResponse; +import com.volcengine.mongodb.model.ModifyAllowListRequest; +import com.volcengine.mongodb.model.ModifyAllowListResponse; +import com.volcengine.mongodb.model.ModifyDBInstanceChargeTypeRequest; +import com.volcengine.mongodb.model.ModifyDBInstanceChargeTypeResponse; +import com.volcengine.mongodb.model.ModifyDBInstanceNameRequest; +import com.volcengine.mongodb.model.ModifyDBInstanceNameResponse; +import com.volcengine.mongodb.model.ModifyDBInstanceParametersRequest; +import com.volcengine.mongodb.model.ModifyDBInstanceParametersResponse; +import com.volcengine.mongodb.model.ModifyDBInstanceSpecRequest; +import com.volcengine.mongodb.model.ModifyDBInstanceSpecResponse; +import com.volcengine.mongodb.model.ResetDBAccountRequest; +import com.volcengine.mongodb.model.ResetDBAccountResponse; +import com.volcengine.mongodb.model.RestartDBInstanceRequest; +import com.volcengine.mongodb.model.RestartDBInstanceResponse; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class MongodbApi { + private ApiClient apiClient; + + public MongodbApi() { + this(Configuration.getDefaultApiClient()); + } + + public MongodbApi(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/mongodb/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/mongodb/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 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/mongodb/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 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/mongodb/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 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/mongodb/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 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/mongodb/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 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/mongodb/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 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/mongodb/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/mongodb/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/mongodb/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 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/mongodb/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 describeDBEndpoint + * @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 describeDBEndpointCall(DescribeDBEndpointRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeDBEndpoint/2022-01-01/mongodb/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 describeDBEndpointValidateBeforeCall(DescribeDBEndpointRequest 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 describeDBEndpoint(Async)"); + } + + com.squareup.okhttp.Call call = describeDBEndpointCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeDBEndpointResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeDBEndpointResponse describeDBEndpoint(DescribeDBEndpointRequest body) throws ApiException { + ApiResponse resp = describeDBEndpointWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeDBEndpointResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeDBEndpointWithHttpInfo( @NotNull DescribeDBEndpointRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeDBEndpointValidateBeforeCall(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 describeDBEndpointAsync(DescribeDBEndpointRequest 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 = describeDBEndpointValidateBeforeCall(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/mongodb/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/mongodb/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/mongodb/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/mongodb/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 describeNodeSpecs + * @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 describeNodeSpecsCall(DescribeNodeSpecsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/DescribeNodeSpecs/2022-01-01/mongodb/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 describeNodeSpecsValidateBeforeCall(DescribeNodeSpecsRequest 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 describeNodeSpecs(Async)"); + } + + com.squareup.okhttp.Call call = describeNodeSpecsCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return DescribeNodeSpecsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public DescribeNodeSpecsResponse describeNodeSpecs(DescribeNodeSpecsRequest body) throws ApiException { + ApiResponse resp = describeNodeSpecsWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<DescribeNodeSpecsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse describeNodeSpecsWithHttpInfo( @NotNull DescribeNodeSpecsRequest body) throws ApiException { + com.squareup.okhttp.Call call = describeNodeSpecsValidateBeforeCall(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 describeNodeSpecsAsync(DescribeNodeSpecsRequest 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 = describeNodeSpecsValidateBeforeCall(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/mongodb/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/mongodb/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 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/mongodb/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 modifyDBInstanceChargeType + * @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 modifyDBInstanceChargeTypeCall(ModifyDBInstanceChargeTypeRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyDBInstanceChargeType/2022-01-01/mongodb/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 modifyDBInstanceChargeTypeValidateBeforeCall(ModifyDBInstanceChargeTypeRequest 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 modifyDBInstanceChargeType(Async)"); + } + + com.squareup.okhttp.Call call = modifyDBInstanceChargeTypeCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyDBInstanceChargeTypeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyDBInstanceChargeTypeResponse modifyDBInstanceChargeType(ModifyDBInstanceChargeTypeRequest body) throws ApiException { + ApiResponse resp = modifyDBInstanceChargeTypeWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyDBInstanceChargeTypeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyDBInstanceChargeTypeWithHttpInfo( @NotNull ModifyDBInstanceChargeTypeRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyDBInstanceChargeTypeValidateBeforeCall(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 modifyDBInstanceChargeTypeAsync(ModifyDBInstanceChargeTypeRequest 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 = modifyDBInstanceChargeTypeValidateBeforeCall(body, progressListener, progressRequestListener); + Type localVarReturnType = new TypeToken(){}.getType(); + apiClient.executeAsync(call, localVarReturnType, callback); + return call; + } + /** + * Build call for modifyDBInstanceName + * @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 modifyDBInstanceNameCall(ModifyDBInstanceNameRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/ModifyDBInstanceName/2022-01-01/mongodb/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 modifyDBInstanceNameValidateBeforeCall(ModifyDBInstanceNameRequest 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 modifyDBInstanceName(Async)"); + } + + com.squareup.okhttp.Call call = modifyDBInstanceNameCall(body, progressListener, progressRequestListener); + return call; + + + + + + } + + /** + * + * + * @param body (required) + * @return ModifyDBInstanceNameResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ModifyDBInstanceNameResponse modifyDBInstanceName(ModifyDBInstanceNameRequest body) throws ApiException { + ApiResponse resp = modifyDBInstanceNameWithHttpInfo(body); + return resp.getData(); + } + + /** + * + * + * @param body (required) + * @return ApiResponse<ModifyDBInstanceNameResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + */ + public ApiResponse modifyDBInstanceNameWithHttpInfo( @NotNull ModifyDBInstanceNameRequest body) throws ApiException { + com.squareup.okhttp.Call call = modifyDBInstanceNameValidateBeforeCall(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 modifyDBInstanceNameAsync(ModifyDBInstanceNameRequest 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 = modifyDBInstanceNameValidateBeforeCall(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/mongodb/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/mongodb/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/mongodb/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/mongodb/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; + } +} diff --git a/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AccountForDescribeDBAccountsOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AccountForDescribeDBAccountsOutput.java new file mode 100644 index 00000000..f30f2e2f --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AccountForDescribeDBAccountsOutput.java @@ -0,0 +1,191 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class AccountForDescribeDBAccountsOutput { + @SerializedName("AccountName") + private String accountName = null; + + @SerializedName("AccountPrivileges") + private List accountPrivileges = null; + + /** + * Gets or Sets accountType + */ + @JsonAdapter(AccountTypeEnum.Adapter.class) + public enum AccountTypeEnum { + SUPER("Super"); + + private String value; + + AccountTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static AccountTypeEnum fromValue(String input) { + for (AccountTypeEnum b : AccountTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final AccountTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public AccountTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return AccountTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("AccountType") + private AccountTypeEnum 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(AccountTypeEnum accountType) { + this.accountType = accountType; + return this; + } + + /** + * Get accountType + * @return accountType + **/ + @Schema(description = "") + public AccountTypeEnum getAccountType() { + return accountType; + } + + public void setAccountType(AccountTypeEnum 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-mongodb/src/main/java/com/volcengine/mongodb/model/AccountPrivilegeForDescribeDBAccountsOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AccountPrivilegeForDescribeDBAccountsOutput.java new file mode 100644 index 00000000..de38586d --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AccountPrivilegeForDescribeDBAccountsOutput.java @@ -0,0 +1,116 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class AccountPrivilegeForDescribeDBAccountsOutput { + @SerializedName("DBName") + private String dbName = null; + + @SerializedName("RoleName") + private String roleName = null; + + 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; + } + + public AccountPrivilegeForDescribeDBAccountsOutput roleName(String roleName) { + this.roleName = roleName; + return this; + } + + /** + * Get roleName + * @return roleName + **/ + @Schema(description = "") + public String getRoleName() { + return roleName; + } + + public void setRoleName(String roleName) { + this.roleName = roleName; + } + + + @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.dbName, accountPrivilegeForDescribeDBAccountsOutput.dbName) && + Objects.equals(this.roleName, accountPrivilegeForDescribeDBAccountsOutput.roleName); + } + + @Override + public int hashCode() { + return Objects.hash(dbName, roleName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountPrivilegeForDescribeDBAccountsOutput {\n"); + + sb.append(" dbName: ").append(toIndentedString(dbName)).append("\n"); + sb.append(" roleName: ").append(toIndentedString(roleName)).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-mongodb/src/main/java/com/volcengine/mongodb/model/AllowListForDescribeAllowListsOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AllowListForDescribeAllowListsOutput.java new file mode 100644 index 00000000..fbe39224 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AllowListForDescribeAllowListsOutput.java @@ -0,0 +1,208 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class AllowListForDescribeAllowListsOutput { + @SerializedName("AllowListDesc") + private String allowListDesc = null; + + @SerializedName("AllowListIPNum") + private Long allowListIPNum = null; + + @SerializedName("AllowListId") + private String allowListId = null; + + @SerializedName("AllowListName") + private String allowListName = null; + + @SerializedName("AllowListType") + private String allowListType = null; + + @SerializedName("AssociatedInstanceNum") + private Long 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(Long allowListIPNum) { + this.allowListIPNum = allowListIPNum; + return this; + } + + /** + * Get allowListIPNum + * @return allowListIPNum + **/ + @Schema(description = "") + public Long getAllowListIPNum() { + return allowListIPNum; + } + + public void setAllowListIPNum(Long 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(Long associatedInstanceNum) { + this.associatedInstanceNum = associatedInstanceNum; + return this; + } + + /** + * Get associatedInstanceNum + * @return associatedInstanceNum + **/ + @Schema(description = "") + public Long getAssociatedInstanceNum() { + return associatedInstanceNum; + } + + public void setAssociatedInstanceNum(Long 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-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListRequest.java new file mode 100644 index 00000000..39fd32eb --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListRequest.java @@ -0,0 +1,134 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListResponse.java new file mode 100644 index 00000000..ae07057a --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociateAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * AssociateAllowListResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/AssociatedInstanceForDescribeAllowListDetailOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociatedInstanceForDescribeAllowListDetailOutput.java new file mode 100644 index 00000000..0c92b9f6 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/AssociatedInstanceForDescribeAllowListDetailOutput.java @@ -0,0 +1,139 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/ConfigServerForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ConfigServerForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..ffe8041b --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ConfigServerForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,313 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * ConfigServerForDescribeDBInstanceDetailOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ConfigServerForDescribeDBInstanceDetailOutput { + @SerializedName("ConfigServerNodeId") + private String configServerNodeId = null; + + /** + * Gets or Sets nodeRole + */ + @JsonAdapter(NodeRoleEnum.Adapter.class) + public enum NodeRoleEnum { + PRIMARY("Primary"), + SECONDARY("Secondary"); + + private String value; + + NodeRoleEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static NodeRoleEnum fromValue(String input) { + for (NodeRoleEnum b : NodeRoleEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final NodeRoleEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public NodeRoleEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return NodeRoleEnum.fromValue((String)(value)); + } + } + } @SerializedName("NodeRole") + private NodeRoleEnum nodeRole = null; + + /** + * Gets or Sets nodeStatus + */ + @JsonAdapter(NodeStatusEnum.Adapter.class) + public enum NodeStatusEnum { + ERROR("Error"), + RUNNING("Running"); + + private String value; + + NodeStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static NodeStatusEnum fromValue(String input) { + for (NodeStatusEnum b : NodeStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final NodeStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public NodeStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return NodeStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("NodeStatus") + private NodeStatusEnum nodeStatus = null; + + @SerializedName("TotalMemoryGB") + private Double totalMemoryGB = null; + + @SerializedName("TotalvCPU") + private Double totalvCPU = null; + + @SerializedName("UsedMemoryGB") + private Double usedMemoryGB = null; + + @SerializedName("UsedvCPU") + private Double usedvCPU = null; + + public ConfigServerForDescribeDBInstanceDetailOutput configServerNodeId(String configServerNodeId) { + this.configServerNodeId = configServerNodeId; + return this; + } + + /** + * Get configServerNodeId + * @return configServerNodeId + **/ + @Schema(description = "") + public String getConfigServerNodeId() { + return configServerNodeId; + } + + public void setConfigServerNodeId(String configServerNodeId) { + this.configServerNodeId = configServerNodeId; + } + + public ConfigServerForDescribeDBInstanceDetailOutput nodeRole(NodeRoleEnum nodeRole) { + this.nodeRole = nodeRole; + return this; + } + + /** + * Get nodeRole + * @return nodeRole + **/ + @Schema(description = "") + public NodeRoleEnum getNodeRole() { + return nodeRole; + } + + public void setNodeRole(NodeRoleEnum nodeRole) { + this.nodeRole = nodeRole; + } + + public ConfigServerForDescribeDBInstanceDetailOutput nodeStatus(NodeStatusEnum nodeStatus) { + this.nodeStatus = nodeStatus; + return this; + } + + /** + * Get nodeStatus + * @return nodeStatus + **/ + @Schema(description = "") + public NodeStatusEnum getNodeStatus() { + return nodeStatus; + } + + public void setNodeStatus(NodeStatusEnum nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public ConfigServerForDescribeDBInstanceDetailOutput totalMemoryGB(Double totalMemoryGB) { + this.totalMemoryGB = totalMemoryGB; + return this; + } + + /** + * Get totalMemoryGB + * @return totalMemoryGB + **/ + @Schema(description = "") + public Double getTotalMemoryGB() { + return totalMemoryGB; + } + + public void setTotalMemoryGB(Double totalMemoryGB) { + this.totalMemoryGB = totalMemoryGB; + } + + public ConfigServerForDescribeDBInstanceDetailOutput totalvCPU(Double totalvCPU) { + this.totalvCPU = totalvCPU; + return this; + } + + /** + * Get totalvCPU + * @return totalvCPU + **/ + @Schema(description = "") + public Double getTotalvCPU() { + return totalvCPU; + } + + public void setTotalvCPU(Double totalvCPU) { + this.totalvCPU = totalvCPU; + } + + public ConfigServerForDescribeDBInstanceDetailOutput usedMemoryGB(Double usedMemoryGB) { + this.usedMemoryGB = usedMemoryGB; + return this; + } + + /** + * Get usedMemoryGB + * @return usedMemoryGB + **/ + @Schema(description = "") + public Double getUsedMemoryGB() { + return usedMemoryGB; + } + + public void setUsedMemoryGB(Double usedMemoryGB) { + this.usedMemoryGB = usedMemoryGB; + } + + public ConfigServerForDescribeDBInstanceDetailOutput usedvCPU(Double usedvCPU) { + this.usedvCPU = usedvCPU; + return this; + } + + /** + * Get usedvCPU + * @return usedvCPU + **/ + @Schema(description = "") + public Double getUsedvCPU() { + return usedvCPU; + } + + public void setUsedvCPU(Double usedvCPU) { + this.usedvCPU = usedvCPU; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ConfigServerForDescribeDBInstanceDetailOutput configServerForDescribeDBInstanceDetailOutput = (ConfigServerForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.configServerNodeId, configServerForDescribeDBInstanceDetailOutput.configServerNodeId) && + Objects.equals(this.nodeRole, configServerForDescribeDBInstanceDetailOutput.nodeRole) && + Objects.equals(this.nodeStatus, configServerForDescribeDBInstanceDetailOutput.nodeStatus) && + Objects.equals(this.totalMemoryGB, configServerForDescribeDBInstanceDetailOutput.totalMemoryGB) && + Objects.equals(this.totalvCPU, configServerForDescribeDBInstanceDetailOutput.totalvCPU) && + Objects.equals(this.usedMemoryGB, configServerForDescribeDBInstanceDetailOutput.usedMemoryGB) && + Objects.equals(this.usedvCPU, configServerForDescribeDBInstanceDetailOutput.usedvCPU); + } + + @Override + public int hashCode() { + return Objects.hash(configServerNodeId, nodeRole, nodeStatus, totalMemoryGB, totalvCPU, usedMemoryGB, usedvCPU); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ConfigServerForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" configServerNodeId: ").append(toIndentedString(configServerNodeId)).append("\n"); + sb.append(" nodeRole: ").append(toIndentedString(nodeRole)).append("\n"); + sb.append(" nodeStatus: ").append(toIndentedString(nodeStatus)).append("\n"); + sb.append(" totalMemoryGB: ").append(toIndentedString(totalMemoryGB)).append("\n"); + sb.append(" totalvCPU: ").append(toIndentedString(totalvCPU)).append("\n"); + sb.append(" usedMemoryGB: ").append(toIndentedString(usedMemoryGB)).append("\n"); + sb.append(" usedvCPU: ").append(toIndentedString(usedvCPU)).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-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListRequest.java new file mode 100644 index 00000000..3ec79c09 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListRequest.java @@ -0,0 +1,162 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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 + **/ + @Schema(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 + **/ + @Schema(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-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListResponse.java new file mode 100644 index 00000000..09a4befe --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateAllowListResponse.java @@ -0,0 +1,93 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointRequest.java new file mode 100644 index 00000000..b01f007b --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointRequest.java @@ -0,0 +1,247 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * CreateDBEndpointRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class CreateDBEndpointRequest { + @SerializedName("EipIds") + private List eipIds = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("MongosNodeIds") + private List mongosNodeIds = null; + + /** + * Gets or Sets networkType + */ + @JsonAdapter(NetworkTypeEnum.Adapter.class) + public enum NetworkTypeEnum { + INNERPLB("InnerPLB"), + PRIVATE("Private"), + PUBLIC("Public"), + STORAGEINNER("StorageInner"); + + private String value; + + NetworkTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static NetworkTypeEnum fromValue(String input) { + for (NetworkTypeEnum b : NetworkTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final NetworkTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public NetworkTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return NetworkTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("NetworkType") + private NetworkTypeEnum networkType = null; + + @SerializedName("ObjectId") + private String objectId = null; + + public CreateDBEndpointRequest eipIds(List eipIds) { + this.eipIds = eipIds; + return this; + } + + public CreateDBEndpointRequest addEipIdsItem(String eipIdsItem) { + if (this.eipIds == null) { + this.eipIds = new ArrayList(); + } + this.eipIds.add(eipIdsItem); + return this; + } + + /** + * Get eipIds + * @return eipIds + **/ + @Schema(description = "") + public List getEipIds() { + return eipIds; + } + + public void setEipIds(List eipIds) { + this.eipIds = eipIds; + } + + 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 mongosNodeIds(List mongosNodeIds) { + this.mongosNodeIds = mongosNodeIds; + return this; + } + + public CreateDBEndpointRequest addMongosNodeIdsItem(String mongosNodeIdsItem) { + if (this.mongosNodeIds == null) { + this.mongosNodeIds = new ArrayList(); + } + this.mongosNodeIds.add(mongosNodeIdsItem); + return this; + } + + /** + * Get mongosNodeIds + * @return mongosNodeIds + **/ + @Schema(description = "") + public List getMongosNodeIds() { + return mongosNodeIds; + } + + public void setMongosNodeIds(List mongosNodeIds) { + this.mongosNodeIds = mongosNodeIds; + } + + public CreateDBEndpointRequest networkType(NetworkTypeEnum networkType) { + this.networkType = networkType; + return this; + } + + /** + * Get networkType + * @return networkType + **/ + @Schema(description = "") + public NetworkTypeEnum getNetworkType() { + return networkType; + } + + public void setNetworkType(NetworkTypeEnum networkType) { + this.networkType = networkType; + } + + public CreateDBEndpointRequest objectId(String objectId) { + this.objectId = objectId; + return this; + } + + /** + * Get objectId + * @return objectId + **/ + @Schema(description = "") + public String getObjectId() { + return objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + + @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.eipIds, createDBEndpointRequest.eipIds) && + Objects.equals(this.instanceId, createDBEndpointRequest.instanceId) && + Objects.equals(this.mongosNodeIds, createDBEndpointRequest.mongosNodeIds) && + Objects.equals(this.networkType, createDBEndpointRequest.networkType) && + Objects.equals(this.objectId, createDBEndpointRequest.objectId); + } + + @Override + public int hashCode() { + return Objects.hash(eipIds, instanceId, mongosNodeIds, networkType, objectId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBEndpointRequest {\n"); + + sb.append(" eipIds: ").append(toIndentedString(eipIds)).append("\n"); + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" mongosNodeIds: ").append(toIndentedString(mongosNodeIds)).append("\n"); + sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n"); + sb.append(" objectId: ").append(toIndentedString(objectId)).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-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointResponse.java new file mode 100644 index 00000000..3ba75759 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBEndpointResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * CreateDBEndpointResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceRequest.java new file mode 100644 index 00000000..34ba8e94 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceRequest.java @@ -0,0 +1,758 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * CreateDBInstanceRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class CreateDBInstanceRequest { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + /** + * Gets or Sets chargeType + */ + @JsonAdapter(ChargeTypeEnum.Adapter.class) + public enum ChargeTypeEnum { + NOTENABLED("NotEnabled"), + POSTPAID("PostPaid"), + PREPAID("Prepaid"); + + private String value; + + ChargeTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ChargeTypeEnum fromValue(String input) { + for (ChargeTypeEnum b : ChargeTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ChargeTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ChargeTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("ChargeType") + private ChargeTypeEnum chargeType = null; + + @SerializedName("Count") + private Integer count = null; + + /** + * Gets or Sets dbEngine + */ + @JsonAdapter(DbEngineEnum.Adapter.class) + public enum DbEngineEnum { + MONGODB("MongoDB"); + + private String value; + + DbEngineEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineEnum fromValue(String input) { + for (DbEngineEnum b : DbEngineEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngine") + private DbEngineEnum dbEngine = null; + + /** + * Gets or Sets dbEngineVersion + */ + @JsonAdapter(DbEngineVersionEnum.Adapter.class) + public enum DbEngineVersionEnum { + _4_0("MongoDB_4_0"), + _5_0("MongoDB_5_0"); + + private String value; + + DbEngineVersionEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineVersionEnum fromValue(String input) { + for (DbEngineVersionEnum b : DbEngineVersionEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineVersionEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineVersionEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineVersionEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngineVersion") + private DbEngineVersionEnum dbEngineVersion = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + /** + * Gets or Sets instanceType + */ + @JsonAdapter(InstanceTypeEnum.Adapter.class) + public enum InstanceTypeEnum { + REPLICASET("ReplicaSet"), + SHARDEDCLUSTER("ShardedCluster"); + + private String value; + + InstanceTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceTypeEnum fromValue(String input) { + for (InstanceTypeEnum b : InstanceTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceType") + private InstanceTypeEnum instanceType = null; + + @SerializedName("MongosNodeNumber") + private Integer mongosNodeNumber = null; + + @SerializedName("MongosNodeSpec") + private String mongosNodeSpec = null; + + @SerializedName("NodeNumber") + private Integer nodeNumber = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("Period") + private Integer period = null; + + /** + * Gets or Sets periodUnit + */ + @JsonAdapter(PeriodUnitEnum.Adapter.class) + public enum PeriodUnitEnum { + MONTH("Month"), + YEAR("Year"); + + private String value; + + PeriodUnitEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static PeriodUnitEnum fromValue(String input) { + for (PeriodUnitEnum b : PeriodUnitEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PeriodUnitEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public PeriodUnitEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return PeriodUnitEnum.fromValue((String)(value)); + } + } + } @SerializedName("PeriodUnit") + private PeriodUnitEnum periodUnit = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("ShardNumber") + private Integer shardNumber = null; + + @SerializedName("StorageSpaceGB") + private Integer storageSpaceGB = 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; + + @SerializedName("ZoneId") + private String zoneId = null; + + public CreateDBInstanceRequest 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 CreateDBInstanceRequest chargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public ChargeTypeEnum getChargeType() { + return chargeType; + } + + public void setChargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + } + + public CreateDBInstanceRequest count(Integer count) { + this.count = count; + return this; + } + + /** + * Get count + * @return count + **/ + @Schema(description = "") + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public CreateDBInstanceRequest dbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + return this; + } + + /** + * Get dbEngine + * @return dbEngine + **/ + @Schema(description = "") + public DbEngineEnum getDbEngine() { + return dbEngine; + } + + public void setDbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + } + + public CreateDBInstanceRequest dbEngineVersion(DbEngineVersionEnum dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public DbEngineVersionEnum getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(DbEngineVersionEnum dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public CreateDBInstanceRequest instanceName(String instanceName) { + this.instanceName = instanceName; + return this; + } + + /** + * Get instanceName + * @return instanceName + **/ + @Size(max=64) @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public CreateDBInstanceRequest instanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public InstanceTypeEnum getInstanceType() { + return instanceType; + } + + public void setInstanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + } + + public CreateDBInstanceRequest mongosNodeNumber(Integer mongosNodeNumber) { + this.mongosNodeNumber = mongosNodeNumber; + return this; + } + + /** + * Get mongosNodeNumber + * @return mongosNodeNumber + **/ + @Schema(description = "") + public Integer getMongosNodeNumber() { + return mongosNodeNumber; + } + + public void setMongosNodeNumber(Integer mongosNodeNumber) { + this.mongosNodeNumber = mongosNodeNumber; + } + + public CreateDBInstanceRequest mongosNodeSpec(String mongosNodeSpec) { + this.mongosNodeSpec = mongosNodeSpec; + return this; + } + + /** + * Get mongosNodeSpec + * @return mongosNodeSpec + **/ + @Schema(description = "") + public String getMongosNodeSpec() { + return mongosNodeSpec; + } + + public void setMongosNodeSpec(String mongosNodeSpec) { + this.mongosNodeSpec = mongosNodeSpec; + } + + public CreateDBInstanceRequest 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 CreateDBInstanceRequest 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 CreateDBInstanceRequest 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 CreateDBInstanceRequest periodUnit(PeriodUnitEnum periodUnit) { + this.periodUnit = periodUnit; + return this; + } + + /** + * Get periodUnit + * @return periodUnit + **/ + @Schema(description = "") + public PeriodUnitEnum getPeriodUnit() { + return periodUnit; + } + + public void setPeriodUnit(PeriodUnitEnum periodUnit) { + this.periodUnit = periodUnit; + } + + 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 shardNumber(Integer shardNumber) { + this.shardNumber = shardNumber; + return this; + } + + /** + * Get shardNumber + * @return shardNumber + **/ + @Schema(description = "") + public Integer getShardNumber() { + return shardNumber; + } + + public void setShardNumber(Integer shardNumber) { + this.shardNumber = shardNumber; + } + + public CreateDBInstanceRequest storageSpaceGB(Integer storageSpaceGB) { + this.storageSpaceGB = storageSpaceGB; + return this; + } + + /** + * Get storageSpaceGB + * @return storageSpaceGB + **/ + @Schema(description = "") + public Integer getStorageSpaceGB() { + return storageSpaceGB; + } + + public void setStorageSpaceGB(Integer storageSpaceGB) { + this.storageSpaceGB = storageSpaceGB; + } + + 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 + **/ + @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 + **/ + @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; + } + + public CreateDBInstanceRequest 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; + } + CreateDBInstanceRequest createDBInstanceRequest = (CreateDBInstanceRequest) o; + return Objects.equals(this.autoRenew, createDBInstanceRequest.autoRenew) && + Objects.equals(this.chargeType, createDBInstanceRequest.chargeType) && + Objects.equals(this.count, createDBInstanceRequest.count) && + Objects.equals(this.dbEngine, createDBInstanceRequest.dbEngine) && + Objects.equals(this.dbEngineVersion, createDBInstanceRequest.dbEngineVersion) && + Objects.equals(this.instanceName, createDBInstanceRequest.instanceName) && + Objects.equals(this.instanceType, createDBInstanceRequest.instanceType) && + Objects.equals(this.mongosNodeNumber, createDBInstanceRequest.mongosNodeNumber) && + Objects.equals(this.mongosNodeSpec, createDBInstanceRequest.mongosNodeSpec) && + Objects.equals(this.nodeNumber, createDBInstanceRequest.nodeNumber) && + Objects.equals(this.nodeSpec, createDBInstanceRequest.nodeSpec) && + Objects.equals(this.period, createDBInstanceRequest.period) && + Objects.equals(this.periodUnit, createDBInstanceRequest.periodUnit) && + Objects.equals(this.projectName, createDBInstanceRequest.projectName) && + Objects.equals(this.shardNumber, createDBInstanceRequest.shardNumber) && + Objects.equals(this.storageSpaceGB, createDBInstanceRequest.storageSpaceGB) && + Objects.equals(this.subnetId, createDBInstanceRequest.subnetId) && + Objects.equals(this.superAccountName, createDBInstanceRequest.superAccountName) && + Objects.equals(this.superAccountPassword, createDBInstanceRequest.superAccountPassword) && + Objects.equals(this.vpcId, createDBInstanceRequest.vpcId) && + Objects.equals(this.zoneId, createDBInstanceRequest.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeType, count, dbEngine, dbEngineVersion, instanceName, instanceType, mongosNodeNumber, mongosNodeSpec, nodeNumber, nodeSpec, period, periodUnit, projectName, shardNumber, storageSpaceGB, subnetId, superAccountName, superAccountPassword, vpcId, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBInstanceRequest {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" count: ").append(toIndentedString(count)).append("\n"); + sb.append(" dbEngine: ").append(toIndentedString(dbEngine)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append(" mongosNodeNumber: ").append(toIndentedString(mongosNodeNumber)).append("\n"); + sb.append(" mongosNodeSpec: ").append(toIndentedString(mongosNodeSpec)).append("\n"); + sb.append(" nodeNumber: ").append(toIndentedString(nodeNumber)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" period: ").append(toIndentedString(period)).append("\n"); + sb.append(" periodUnit: ").append(toIndentedString(periodUnit)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" shardNumber: ").append(toIndentedString(shardNumber)).append("\n"); + sb.append(" storageSpaceGB: ").append(toIndentedString(storageSpaceGB)).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(" 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-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceResponse.java new file mode 100644 index 00000000..70dce0a0 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/CreateDBInstanceResponse.java @@ -0,0 +1,116 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class CreateDBInstanceResponse { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("OrderNO") + private String orderNO = 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 orderNO(String orderNO) { + this.orderNO = orderNO; + return this; + } + + /** + * Get orderNO + * @return orderNO + **/ + @Schema(description = "") + public String getOrderNO() { + return orderNO; + } + + public void setOrderNO(String orderNO) { + this.orderNO = orderNO; + } + + + @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.orderNO, createDBInstanceResponse.orderNO); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, orderNO); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class CreateDBInstanceResponse {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" orderNO: ").append(toIndentedString(orderNO)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DBAddressForDescribeDBEndpointOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBAddressForDescribeDBEndpointOutput.java new file mode 100644 index 00000000..d51436da --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBAddressForDescribeDBEndpointOutput.java @@ -0,0 +1,249 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * DBAddressForDescribeDBEndpointOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DBAddressForDescribeDBEndpointOutput { + @SerializedName("AddressDomain") + private String addressDomain = null; + + @SerializedName("AddressIP") + private String addressIP = null; + + @SerializedName("AddressPort") + private String addressPort = null; + + /** + * Gets or Sets addressType + */ + @JsonAdapter(AddressTypeEnum.Adapter.class) + public enum AddressTypeEnum { + PRIMARY("Primary"), + SECONDARY("Secondary"); + + private String value; + + AddressTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static AddressTypeEnum fromValue(String input) { + for (AddressTypeEnum b : AddressTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final AddressTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public AddressTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return AddressTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("AddressType") + private AddressTypeEnum addressType = null; + + @SerializedName("EipId") + private String eipId = null; + + @SerializedName("NodeId") + private String nodeId = null; + + public DBAddressForDescribeDBEndpointOutput addressDomain(String addressDomain) { + this.addressDomain = addressDomain; + return this; + } + + /** + * Get addressDomain + * @return addressDomain + **/ + @Schema(description = "") + public String getAddressDomain() { + return addressDomain; + } + + public void setAddressDomain(String addressDomain) { + this.addressDomain = addressDomain; + } + + public DBAddressForDescribeDBEndpointOutput addressIP(String addressIP) { + this.addressIP = addressIP; + return this; + } + + /** + * Get addressIP + * @return addressIP + **/ + @Schema(description = "") + public String getAddressIP() { + return addressIP; + } + + public void setAddressIP(String addressIP) { + this.addressIP = addressIP; + } + + public DBAddressForDescribeDBEndpointOutput addressPort(String addressPort) { + this.addressPort = addressPort; + return this; + } + + /** + * Get addressPort + * @return addressPort + **/ + @Schema(description = "") + public String getAddressPort() { + return addressPort; + } + + public void setAddressPort(String addressPort) { + this.addressPort = addressPort; + } + + public DBAddressForDescribeDBEndpointOutput addressType(AddressTypeEnum addressType) { + this.addressType = addressType; + return this; + } + + /** + * Get addressType + * @return addressType + **/ + @Schema(description = "") + public AddressTypeEnum getAddressType() { + return addressType; + } + + public void setAddressType(AddressTypeEnum addressType) { + this.addressType = addressType; + } + + public DBAddressForDescribeDBEndpointOutput 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 DBAddressForDescribeDBEndpointOutput 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; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DBAddressForDescribeDBEndpointOutput dbAddressForDescribeDBEndpointOutput = (DBAddressForDescribeDBEndpointOutput) o; + return Objects.equals(this.addressDomain, dbAddressForDescribeDBEndpointOutput.addressDomain) && + Objects.equals(this.addressIP, dbAddressForDescribeDBEndpointOutput.addressIP) && + Objects.equals(this.addressPort, dbAddressForDescribeDBEndpointOutput.addressPort) && + Objects.equals(this.addressType, dbAddressForDescribeDBEndpointOutput.addressType) && + Objects.equals(this.eipId, dbAddressForDescribeDBEndpointOutput.eipId) && + Objects.equals(this.nodeId, dbAddressForDescribeDBEndpointOutput.nodeId); + } + + @Override + public int hashCode() { + return Objects.hash(addressDomain, addressIP, addressPort, addressType, eipId, nodeId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DBAddressForDescribeDBEndpointOutput {\n"); + + sb.append(" addressDomain: ").append(toIndentedString(addressDomain)).append("\n"); + sb.append(" addressIP: ").append(toIndentedString(addressIP)).append("\n"); + sb.append(" addressPort: ").append(toIndentedString(addressPort)).append("\n"); + sb.append(" addressType: ").append(toIndentedString(addressType)).append("\n"); + sb.append(" eipId: ").append(toIndentedString(eipId)).append("\n"); + sb.append(" nodeId: ").append(toIndentedString(nodeId)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DBEndpointForDescribeDBEndpointOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBEndpointForDescribeDBEndpointOutput.java new file mode 100644 index 00000000..508f9c9b --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBEndpointForDescribeDBEndpointOutput.java @@ -0,0 +1,352 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.model.DBAddressForDescribeDBEndpointOutput; +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; +/** + * DBEndpointForDescribeDBEndpointOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DBEndpointForDescribeDBEndpointOutput { + @SerializedName("DBAddresses") + private List dbAddresses = null; + + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("EndpointStr") + private String endpointStr = null; + + /** + * Gets or Sets endpointType + */ + @JsonAdapter(EndpointTypeEnum.Adapter.class) + public enum EndpointTypeEnum { + CONFIGSERVER("ConfigServer"), + MONGOS("Mongos"), + REPLICASET("ReplicaSet"), + SHARD("Shard"); + + private String value; + + EndpointTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static EndpointTypeEnum fromValue(String input) { + for (EndpointTypeEnum b : EndpointTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EndpointTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public EndpointTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return EndpointTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("EndpointType") + private EndpointTypeEnum endpointType = null; + + /** + * Gets or Sets networkType + */ + @JsonAdapter(NetworkTypeEnum.Adapter.class) + public enum NetworkTypeEnum { + INNERPLB("InnerPLB"), + PRIVATE("Private"), + PUBLIC("Public"), + STORAGEINNER("StorageInner"); + + private String value; + + NetworkTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static NetworkTypeEnum fromValue(String input) { + for (NetworkTypeEnum b : NetworkTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final NetworkTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public NetworkTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return NetworkTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("NetworkType") + private NetworkTypeEnum networkType = null; + + @SerializedName("ObjectId") + private String objectId = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + @SerializedName("VpcId") + private String vpcId = null; + + public DBEndpointForDescribeDBEndpointOutput dbAddresses(List dbAddresses) { + this.dbAddresses = dbAddresses; + return this; + } + + public DBEndpointForDescribeDBEndpointOutput addDbAddressesItem(DBAddressForDescribeDBEndpointOutput dbAddressesItem) { + if (this.dbAddresses == null) { + this.dbAddresses = new ArrayList(); + } + this.dbAddresses.add(dbAddressesItem); + return this; + } + + /** + * Get dbAddresses + * @return dbAddresses + **/ + @Valid + @Schema(description = "") + public List getDbAddresses() { + return dbAddresses; + } + + public void setDbAddresses(List dbAddresses) { + this.dbAddresses = dbAddresses; + } + + public DBEndpointForDescribeDBEndpointOutput 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 DBEndpointForDescribeDBEndpointOutput endpointStr(String endpointStr) { + this.endpointStr = endpointStr; + return this; + } + + /** + * Get endpointStr + * @return endpointStr + **/ + @Schema(description = "") + public String getEndpointStr() { + return endpointStr; + } + + public void setEndpointStr(String endpointStr) { + this.endpointStr = endpointStr; + } + + public DBEndpointForDescribeDBEndpointOutput endpointType(EndpointTypeEnum endpointType) { + this.endpointType = endpointType; + return this; + } + + /** + * Get endpointType + * @return endpointType + **/ + @Schema(description = "") + public EndpointTypeEnum getEndpointType() { + return endpointType; + } + + public void setEndpointType(EndpointTypeEnum endpointType) { + this.endpointType = endpointType; + } + + public DBEndpointForDescribeDBEndpointOutput networkType(NetworkTypeEnum networkType) { + this.networkType = networkType; + return this; + } + + /** + * Get networkType + * @return networkType + **/ + @Schema(description = "") + public NetworkTypeEnum getNetworkType() { + return networkType; + } + + public void setNetworkType(NetworkTypeEnum networkType) { + this.networkType = networkType; + } + + public DBEndpointForDescribeDBEndpointOutput objectId(String objectId) { + this.objectId = objectId; + return this; + } + + /** + * Get objectId + * @return objectId + **/ + @Schema(description = "") + public String getObjectId() { + return objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + public DBEndpointForDescribeDBEndpointOutput 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 DBEndpointForDescribeDBEndpointOutput 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; + } + DBEndpointForDescribeDBEndpointOutput dbEndpointForDescribeDBEndpointOutput = (DBEndpointForDescribeDBEndpointOutput) o; + return Objects.equals(this.dbAddresses, dbEndpointForDescribeDBEndpointOutput.dbAddresses) && + Objects.equals(this.endpointId, dbEndpointForDescribeDBEndpointOutput.endpointId) && + Objects.equals(this.endpointStr, dbEndpointForDescribeDBEndpointOutput.endpointStr) && + Objects.equals(this.endpointType, dbEndpointForDescribeDBEndpointOutput.endpointType) && + Objects.equals(this.networkType, dbEndpointForDescribeDBEndpointOutput.networkType) && + Objects.equals(this.objectId, dbEndpointForDescribeDBEndpointOutput.objectId) && + Objects.equals(this.subnetId, dbEndpointForDescribeDBEndpointOutput.subnetId) && + Objects.equals(this.vpcId, dbEndpointForDescribeDBEndpointOutput.vpcId); + } + + @Override + public int hashCode() { + return Objects.hash(dbAddresses, endpointId, endpointStr, endpointType, networkType, objectId, subnetId, vpcId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DBEndpointForDescribeDBEndpointOutput {\n"); + + sb.append(" dbAddresses: ").append(toIndentedString(dbAddresses)).append("\n"); + sb.append(" endpointId: ").append(toIndentedString(endpointId)).append("\n"); + sb.append(" endpointStr: ").append(toIndentedString(endpointStr)).append("\n"); + sb.append(" endpointType: ").append(toIndentedString(endpointType)).append("\n"); + sb.append(" networkType: ").append(toIndentedString(networkType)).append("\n"); + sb.append(" objectId: ").append(toIndentedString(objectId)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..77ae1dc4 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,967 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.model.ConfigServerForDescribeDBInstanceDetailOutput; +import com.volcengine.mongodb.model.MongoForDescribeDBInstanceDetailOutput; +import com.volcengine.mongodb.model.NodeForDescribeDBInstanceDetailOutput; +import com.volcengine.mongodb.model.ShardForDescribeDBInstanceDetailOutput; +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; +/** + * DBInstanceForDescribeDBInstanceDetailOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DBInstanceForDescribeDBInstanceDetailOutput { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + /** + * Gets or Sets chargeStatus + */ + @JsonAdapter(ChargeStatusEnum.Adapter.class) + public enum ChargeStatusEnum { + NORMAL("Normal"), + OVERDUE("Overdue"), + OWING("Owing"), + RENEWING("Renewing"), + UNDEPLOY("UnDeploy"), + UNSUBSCRIBING("Unsubscribing"), + WAITINGPAID("WaitingPaid"); + + private String value; + + ChargeStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ChargeStatusEnum fromValue(String input) { + for (ChargeStatusEnum b : ChargeStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ChargeStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ChargeStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("ChargeStatus") + private ChargeStatusEnum chargeStatus = null; + + /** + * Gets or Sets chargeType + */ + @JsonAdapter(ChargeTypeEnum.Adapter.class) + public enum ChargeTypeEnum { + NOTENABLED("NotEnabled"), + POSTPAID("PostPaid"), + PREPAID("Prepaid"); + + private String value; + + ChargeTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ChargeTypeEnum fromValue(String input) { + for (ChargeTypeEnum b : ChargeTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ChargeTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ChargeTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("ChargeType") + private ChargeTypeEnum chargeType = null; + + @SerializedName("ClosedTime") + private String closedTime = null; + + @SerializedName("ConfigServers") + private List configServers = null; + + @SerializedName("ConfigServersId") + private String configServersId = null; + + @SerializedName("CreateTime") + private String createTime = null; + + /** + * Gets or Sets dbEngine + */ + @JsonAdapter(DbEngineEnum.Adapter.class) + public enum DbEngineEnum { + MONGODB("MongoDB"); + + private String value; + + DbEngineEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineEnum fromValue(String input) { + for (DbEngineEnum b : DbEngineEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngine") + private DbEngineEnum dbEngine = null; + + /** + * Gets or Sets dbEngineVersion + */ + @JsonAdapter(DbEngineVersionEnum.Adapter.class) + public enum DbEngineVersionEnum { + _4_0("MongoDB_4_0"), + _5_0("MongoDB_5_0"); + + private String value; + + DbEngineVersionEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineVersionEnum fromValue(String input) { + for (DbEngineVersionEnum b : DbEngineVersionEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineVersionEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineVersionEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineVersionEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngineVersion") + private DbEngineVersionEnum dbEngineVersion = null; + + @SerializedName("DBEngineVersionStr") + private String dbEngineVersionStr = null; + + @SerializedName("ExpiredTime") + private String expiredTime = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + /** + * Gets or Sets instanceStatus + */ + @JsonAdapter(InstanceStatusEnum.Adapter.class) + public enum InstanceStatusEnum { + ALLOWLISTMAINTAINING("AllowListMaintaining"), + CLOSED("Closed"), + CLOSING("Closing"), + CREATEFAILED("CreateFailed"), + CREATING("Creating"), + DELETED("Deleted"), + DELETING("Deleting"), + DESTROYED("Destroyed"), + DESTROYING("Destroying"), + ERROR("Error"), + IMPORTING("Importing"), + MIGRATING("Migrating"), + NETCREATING("NetCreating"), + NETRELEASING("NetReleasing"), + NETWORKMAINTAINING("NetworkMaintaining"), + REBUILDING("Rebuilding"), + RECLAIMING("Reclaiming"), + RECYCLED("Recycled"), + RELEASED("Released"), + RESTARTING("Restarting"), + RESTORING("Restoring"), + RESUMING("Resuming"), + RUNNING("Running"), + SSLUPDATING("SSLUpdating"), + SCALING("Scaling"), + TDEMAINTAINING("TDEMaintaining"), + TASKFAILED_AVAILABLE("TaskFailed_Available"), + UNAVAILABLE("Unavailable"), + UPDATING("Updating"), + UPGRADING("Upgrading"), + WAITINGPAID("WaitingPaid"); + + private String value; + + InstanceStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceStatusEnum fromValue(String input) { + for (InstanceStatusEnum b : InstanceStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceStatus") + private InstanceStatusEnum instanceStatus = null; + + /** + * Gets or Sets instanceType + */ + @JsonAdapter(InstanceTypeEnum.Adapter.class) + public enum InstanceTypeEnum { + REPLICASET("ReplicaSet"), + SHARDEDCLUSTER("ShardedCluster"); + + private String value; + + InstanceTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceTypeEnum fromValue(String input) { + for (InstanceTypeEnum b : InstanceTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceType") + private InstanceTypeEnum instanceType = null; + + @SerializedName("Mongos") + private List mongos = null; + + @SerializedName("MongosId") + private String mongosId = null; + + @SerializedName("Nodes") + private List nodes = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("ReclaimTime") + private String reclaimTime = null; + + @SerializedName("Shards") + private List shards = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + @SerializedName("UpdateTime") + private String updateTime = null; + + @SerializedName("VpcId") + private String vpcId = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput chargeStatus(ChargeStatusEnum chargeStatus) { + this.chargeStatus = chargeStatus; + return this; + } + + /** + * Get chargeStatus + * @return chargeStatus + **/ + @Schema(description = "") + public ChargeStatusEnum getChargeStatus() { + return chargeStatus; + } + + public void setChargeStatus(ChargeStatusEnum chargeStatus) { + this.chargeStatus = chargeStatus; + } + + public DBInstanceForDescribeDBInstanceDetailOutput chargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public ChargeTypeEnum getChargeType() { + return chargeType; + } + + public void setChargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + } + + public DBInstanceForDescribeDBInstanceDetailOutput closedTime(String closedTime) { + this.closedTime = closedTime; + return this; + } + + /** + * Get closedTime + * @return closedTime + **/ + @Schema(description = "") + public String getClosedTime() { + return closedTime; + } + + public void setClosedTime(String closedTime) { + this.closedTime = closedTime; + } + + public DBInstanceForDescribeDBInstanceDetailOutput configServers(List configServers) { + this.configServers = configServers; + return this; + } + + public DBInstanceForDescribeDBInstanceDetailOutput addConfigServersItem(ConfigServerForDescribeDBInstanceDetailOutput configServersItem) { + if (this.configServers == null) { + this.configServers = new ArrayList(); + } + this.configServers.add(configServersItem); + return this; + } + + /** + * Get configServers + * @return configServers + **/ + @Valid + @Schema(description = "") + public List getConfigServers() { + return configServers; + } + + public void setConfigServers(List configServers) { + this.configServers = configServers; + } + + public DBInstanceForDescribeDBInstanceDetailOutput configServersId(String configServersId) { + this.configServersId = configServersId; + return this; + } + + /** + * Get configServersId + * @return configServersId + **/ + @Schema(description = "") + public String getConfigServersId() { + return configServersId; + } + + public void setConfigServersId(String configServersId) { + this.configServersId = configServersId; + } + + public DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput dbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + return this; + } + + /** + * Get dbEngine + * @return dbEngine + **/ + @Schema(description = "") + public DbEngineEnum getDbEngine() { + return dbEngine; + } + + public void setDbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + } + + public DBInstanceForDescribeDBInstanceDetailOutput dbEngineVersion(DbEngineVersionEnum dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public DbEngineVersionEnum getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(DbEngineVersionEnum dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public DBInstanceForDescribeDBInstanceDetailOutput dbEngineVersionStr(String dbEngineVersionStr) { + this.dbEngineVersionStr = dbEngineVersionStr; + return this; + } + + /** + * Get dbEngineVersionStr + * @return dbEngineVersionStr + **/ + @Schema(description = "") + public String getDbEngineVersionStr() { + return dbEngineVersionStr; + } + + public void setDbEngineVersionStr(String dbEngineVersionStr) { + this.dbEngineVersionStr = dbEngineVersionStr; + } + + public DBInstanceForDescribeDBInstanceDetailOutput expiredTime(String expiredTime) { + this.expiredTime = expiredTime; + return this; + } + + /** + * Get expiredTime + * @return expiredTime + **/ + @Schema(description = "") + public String getExpiredTime() { + return expiredTime; + } + + public void setExpiredTime(String expiredTime) { + this.expiredTime = expiredTime; + } + + public DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput instanceStatus(InstanceStatusEnum instanceStatus) { + this.instanceStatus = instanceStatus; + return this; + } + + /** + * Get instanceStatus + * @return instanceStatus + **/ + @Schema(description = "") + public InstanceStatusEnum getInstanceStatus() { + return instanceStatus; + } + + public void setInstanceStatus(InstanceStatusEnum instanceStatus) { + this.instanceStatus = instanceStatus; + } + + public DBInstanceForDescribeDBInstanceDetailOutput instanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public InstanceTypeEnum getInstanceType() { + return instanceType; + } + + public void setInstanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + } + + public DBInstanceForDescribeDBInstanceDetailOutput mongos(List mongos) { + this.mongos = mongos; + return this; + } + + public DBInstanceForDescribeDBInstanceDetailOutput addMongosItem(MongoForDescribeDBInstanceDetailOutput mongosItem) { + if (this.mongos == null) { + this.mongos = new ArrayList(); + } + this.mongos.add(mongosItem); + return this; + } + + /** + * Get mongos + * @return mongos + **/ + @Valid + @Schema(description = "") + public List getMongos() { + return mongos; + } + + public void setMongos(List mongos) { + this.mongos = mongos; + } + + public DBInstanceForDescribeDBInstanceDetailOutput mongosId(String mongosId) { + this.mongosId = mongosId; + return this; + } + + /** + * Get mongosId + * @return mongosId + **/ + @Schema(description = "") + public String getMongosId() { + return mongosId; + } + + public void setMongosId(String mongosId) { + this.mongosId = mongosId; + } + + public DBInstanceForDescribeDBInstanceDetailOutput nodes(List nodes) { + this.nodes = nodes; + return this; + } + + public DBInstanceForDescribeDBInstanceDetailOutput 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; + } + + public DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput reclaimTime(String reclaimTime) { + this.reclaimTime = reclaimTime; + return this; + } + + /** + * Get reclaimTime + * @return reclaimTime + **/ + @Schema(description = "") + public String getReclaimTime() { + return reclaimTime; + } + + public void setReclaimTime(String reclaimTime) { + this.reclaimTime = reclaimTime; + } + + public DBInstanceForDescribeDBInstanceDetailOutput shards(List shards) { + this.shards = shards; + return this; + } + + public DBInstanceForDescribeDBInstanceDetailOutput addShardsItem(ShardForDescribeDBInstanceDetailOutput shardsItem) { + if (this.shards == null) { + this.shards = new ArrayList(); + } + this.shards.add(shardsItem); + return this; + } + + /** + * Get shards + * @return shards + **/ + @Valid + @Schema(description = "") + public List getShards() { + return shards; + } + + public void setShards(List shards) { + this.shards = shards; + } + + public DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput 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 DBInstanceForDescribeDBInstanceDetailOutput 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; + } + DBInstanceForDescribeDBInstanceDetailOutput dbInstanceForDescribeDBInstanceDetailOutput = (DBInstanceForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.autoRenew, dbInstanceForDescribeDBInstanceDetailOutput.autoRenew) && + Objects.equals(this.chargeStatus, dbInstanceForDescribeDBInstanceDetailOutput.chargeStatus) && + Objects.equals(this.chargeType, dbInstanceForDescribeDBInstanceDetailOutput.chargeType) && + Objects.equals(this.closedTime, dbInstanceForDescribeDBInstanceDetailOutput.closedTime) && + Objects.equals(this.configServers, dbInstanceForDescribeDBInstanceDetailOutput.configServers) && + Objects.equals(this.configServersId, dbInstanceForDescribeDBInstanceDetailOutput.configServersId) && + Objects.equals(this.createTime, dbInstanceForDescribeDBInstanceDetailOutput.createTime) && + Objects.equals(this.dbEngine, dbInstanceForDescribeDBInstanceDetailOutput.dbEngine) && + Objects.equals(this.dbEngineVersion, dbInstanceForDescribeDBInstanceDetailOutput.dbEngineVersion) && + Objects.equals(this.dbEngineVersionStr, dbInstanceForDescribeDBInstanceDetailOutput.dbEngineVersionStr) && + Objects.equals(this.expiredTime, dbInstanceForDescribeDBInstanceDetailOutput.expiredTime) && + Objects.equals(this.instanceId, dbInstanceForDescribeDBInstanceDetailOutput.instanceId) && + Objects.equals(this.instanceName, dbInstanceForDescribeDBInstanceDetailOutput.instanceName) && + Objects.equals(this.instanceStatus, dbInstanceForDescribeDBInstanceDetailOutput.instanceStatus) && + Objects.equals(this.instanceType, dbInstanceForDescribeDBInstanceDetailOutput.instanceType) && + Objects.equals(this.mongos, dbInstanceForDescribeDBInstanceDetailOutput.mongos) && + Objects.equals(this.mongosId, dbInstanceForDescribeDBInstanceDetailOutput.mongosId) && + Objects.equals(this.nodes, dbInstanceForDescribeDBInstanceDetailOutput.nodes) && + Objects.equals(this.projectName, dbInstanceForDescribeDBInstanceDetailOutput.projectName) && + Objects.equals(this.reclaimTime, dbInstanceForDescribeDBInstanceDetailOutput.reclaimTime) && + Objects.equals(this.shards, dbInstanceForDescribeDBInstanceDetailOutput.shards) && + Objects.equals(this.subnetId, dbInstanceForDescribeDBInstanceDetailOutput.subnetId) && + Objects.equals(this.updateTime, dbInstanceForDescribeDBInstanceDetailOutput.updateTime) && + Objects.equals(this.vpcId, dbInstanceForDescribeDBInstanceDetailOutput.vpcId) && + Objects.equals(this.zoneId, dbInstanceForDescribeDBInstanceDetailOutput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeStatus, chargeType, closedTime, configServers, configServersId, createTime, dbEngine, dbEngineVersion, dbEngineVersionStr, expiredTime, instanceId, instanceName, instanceStatus, instanceType, mongos, mongosId, nodes, projectName, reclaimTime, shards, subnetId, updateTime, vpcId, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DBInstanceForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeStatus: ").append(toIndentedString(chargeStatus)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" closedTime: ").append(toIndentedString(closedTime)).append("\n"); + sb.append(" configServers: ").append(toIndentedString(configServers)).append("\n"); + sb.append(" configServersId: ").append(toIndentedString(configServersId)).append("\n"); + sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n"); + sb.append(" dbEngine: ").append(toIndentedString(dbEngine)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" dbEngineVersionStr: ").append(toIndentedString(dbEngineVersionStr)).append("\n"); + sb.append(" expiredTime: ").append(toIndentedString(expiredTime)).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(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append(" mongos: ").append(toIndentedString(mongos)).append("\n"); + sb.append(" mongosId: ").append(toIndentedString(mongosId)).append("\n"); + sb.append(" nodes: ").append(toIndentedString(nodes)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" reclaimTime: ").append(toIndentedString(reclaimTime)).append("\n"); + sb.append(" shards: ").append(toIndentedString(shards)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append(" updateTime: ").append(toIndentedString(updateTime)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstancesOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstancesOutput.java new file mode 100644 index 00000000..b571848a --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DBInstanceForDescribeDBInstancesOutput.java @@ -0,0 +1,833 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * DBInstanceForDescribeDBInstancesOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DBInstanceForDescribeDBInstancesOutput { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + /** + * Gets or Sets chargeStatus + */ + @JsonAdapter(ChargeStatusEnum.Adapter.class) + public enum ChargeStatusEnum { + NORMAL("Normal"), + OVERDUE("Overdue"), + OWING("Owing"), + RENEWING("Renewing"), + UNDEPLOY("UnDeploy"), + UNSUBSCRIBING("Unsubscribing"), + WAITINGPAID("WaitingPaid"); + + private String value; + + ChargeStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ChargeStatusEnum fromValue(String input) { + for (ChargeStatusEnum b : ChargeStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ChargeStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ChargeStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("ChargeStatus") + private ChargeStatusEnum chargeStatus = null; + + /** + * Gets or Sets chargeType + */ + @JsonAdapter(ChargeTypeEnum.Adapter.class) + public enum ChargeTypeEnum { + NOTENABLED("NotEnabled"), + POSTPAID("PostPaid"), + PREPAID("Prepaid"); + + private String value; + + ChargeTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ChargeTypeEnum fromValue(String input) { + for (ChargeTypeEnum b : ChargeTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ChargeTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ChargeTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("ChargeType") + private ChargeTypeEnum chargeType = null; + + @SerializedName("ClosedTime") + private String closedTime = null; + + @SerializedName("ConfigServersId") + private String configServersId = null; + + @SerializedName("CreateTime") + private String createTime = null; + + /** + * Gets or Sets dbEngine + */ + @JsonAdapter(DbEngineEnum.Adapter.class) + public enum DbEngineEnum { + MONGODB("MongoDB"); + + private String value; + + DbEngineEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineEnum fromValue(String input) { + for (DbEngineEnum b : DbEngineEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngine") + private DbEngineEnum dbEngine = null; + + /** + * Gets or Sets dbEngineVersion + */ + @JsonAdapter(DbEngineVersionEnum.Adapter.class) + public enum DbEngineVersionEnum { + _4_0("MongoDB_4_0"), + _5_0("MongoDB_5_0"); + + private String value; + + DbEngineVersionEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineVersionEnum fromValue(String input) { + for (DbEngineVersionEnum b : DbEngineVersionEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineVersionEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineVersionEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineVersionEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngineVersion") + private DbEngineVersionEnum dbEngineVersion = null; + + @SerializedName("DBEngineVersionStr") + private String dbEngineVersionStr = null; + + @SerializedName("ExpiredTime") + private String expiredTime = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + /** + * Gets or Sets instanceStatus + */ + @JsonAdapter(InstanceStatusEnum.Adapter.class) + public enum InstanceStatusEnum { + ALLOWLISTMAINTAINING("AllowListMaintaining"), + CLOSED("Closed"), + CLOSING("Closing"), + CREATEFAILED("CreateFailed"), + CREATING("Creating"), + DELETED("Deleted"), + DELETING("Deleting"), + DESTROYED("Destroyed"), + DESTROYING("Destroying"), + ERROR("Error"), + IMPORTING("Importing"), + MIGRATING("Migrating"), + NETCREATING("NetCreating"), + NETRELEASING("NetReleasing"), + NETWORKMAINTAINING("NetworkMaintaining"), + REBUILDING("Rebuilding"), + RECLAIMING("Reclaiming"), + RECYCLED("Recycled"), + RELEASED("Released"), + RESTARTING("Restarting"), + RESTORING("Restoring"), + RESUMING("Resuming"), + RUNNING("Running"), + SSLUPDATING("SSLUpdating"), + SCALING("Scaling"), + TDEMAINTAINING("TDEMaintaining"), + TASKFAILED_AVAILABLE("TaskFailed_Available"), + UNAVAILABLE("Unavailable"), + UPDATING("Updating"), + UPGRADING("Upgrading"), + WAITINGPAID("WaitingPaid"); + + private String value; + + InstanceStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceStatusEnum fromValue(String input) { + for (InstanceStatusEnum b : InstanceStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceStatus") + private InstanceStatusEnum instanceStatus = null; + + /** + * Gets or Sets instanceType + */ + @JsonAdapter(InstanceTypeEnum.Adapter.class) + public enum InstanceTypeEnum { + REPLICASET("ReplicaSet"), + SHARDEDCLUSTER("ShardedCluster"); + + private String value; + + InstanceTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceTypeEnum fromValue(String input) { + for (InstanceTypeEnum b : InstanceTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceType") + private InstanceTypeEnum instanceType = null; + + @SerializedName("MongosId") + private String mongosId = null; + + @SerializedName("ProjectName") + private String projectName = null; + + @SerializedName("ReclaimTime") + private String reclaimTime = null; + + @SerializedName("SubnetId") + private String subnetId = null; + + @SerializedName("UpdateTime") + private String updateTime = null; + + @SerializedName("VpcId") + private String vpcId = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput chargeStatus(ChargeStatusEnum chargeStatus) { + this.chargeStatus = chargeStatus; + return this; + } + + /** + * Get chargeStatus + * @return chargeStatus + **/ + @Schema(description = "") + public ChargeStatusEnum getChargeStatus() { + return chargeStatus; + } + + public void setChargeStatus(ChargeStatusEnum chargeStatus) { + this.chargeStatus = chargeStatus; + } + + public DBInstanceForDescribeDBInstancesOutput chargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public ChargeTypeEnum getChargeType() { + return chargeType; + } + + public void setChargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + } + + public DBInstanceForDescribeDBInstancesOutput closedTime(String closedTime) { + this.closedTime = closedTime; + return this; + } + + /** + * Get closedTime + * @return closedTime + **/ + @Schema(description = "") + public String getClosedTime() { + return closedTime; + } + + public void setClosedTime(String closedTime) { + this.closedTime = closedTime; + } + + public DBInstanceForDescribeDBInstancesOutput configServersId(String configServersId) { + this.configServersId = configServersId; + return this; + } + + /** + * Get configServersId + * @return configServersId + **/ + @Schema(description = "") + public String getConfigServersId() { + return configServersId; + } + + public void setConfigServersId(String configServersId) { + this.configServersId = configServersId; + } + + public DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput dbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + return this; + } + + /** + * Get dbEngine + * @return dbEngine + **/ + @Schema(description = "") + public DbEngineEnum getDbEngine() { + return dbEngine; + } + + public void setDbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + } + + public DBInstanceForDescribeDBInstancesOutput dbEngineVersion(DbEngineVersionEnum dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public DbEngineVersionEnum getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(DbEngineVersionEnum dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + } + + public DBInstanceForDescribeDBInstancesOutput dbEngineVersionStr(String dbEngineVersionStr) { + this.dbEngineVersionStr = dbEngineVersionStr; + return this; + } + + /** + * Get dbEngineVersionStr + * @return dbEngineVersionStr + **/ + @Schema(description = "") + public String getDbEngineVersionStr() { + return dbEngineVersionStr; + } + + public void setDbEngineVersionStr(String dbEngineVersionStr) { + this.dbEngineVersionStr = dbEngineVersionStr; + } + + public DBInstanceForDescribeDBInstancesOutput expiredTime(String expiredTime) { + this.expiredTime = expiredTime; + return this; + } + + /** + * Get expiredTime + * @return expiredTime + **/ + @Schema(description = "") + public String getExpiredTime() { + return expiredTime; + } + + public void setExpiredTime(String expiredTime) { + this.expiredTime = expiredTime; + } + + public DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput instanceStatus(InstanceStatusEnum instanceStatus) { + this.instanceStatus = instanceStatus; + return this; + } + + /** + * Get instanceStatus + * @return instanceStatus + **/ + @Schema(description = "") + public InstanceStatusEnum getInstanceStatus() { + return instanceStatus; + } + + public void setInstanceStatus(InstanceStatusEnum instanceStatus) { + this.instanceStatus = instanceStatus; + } + + public DBInstanceForDescribeDBInstancesOutput instanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public InstanceTypeEnum getInstanceType() { + return instanceType; + } + + public void setInstanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + } + + public DBInstanceForDescribeDBInstancesOutput mongosId(String mongosId) { + this.mongosId = mongosId; + return this; + } + + /** + * Get mongosId + * @return mongosId + **/ + @Schema(description = "") + public String getMongosId() { + return mongosId; + } + + public void setMongosId(String mongosId) { + this.mongosId = mongosId; + } + + public DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput reclaimTime(String reclaimTime) { + this.reclaimTime = reclaimTime; + return this; + } + + /** + * Get reclaimTime + * @return reclaimTime + **/ + @Schema(description = "") + public String getReclaimTime() { + return reclaimTime; + } + + public void setReclaimTime(String reclaimTime) { + this.reclaimTime = reclaimTime; + } + + public DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput 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 DBInstanceForDescribeDBInstancesOutput 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; + } + DBInstanceForDescribeDBInstancesOutput dbInstanceForDescribeDBInstancesOutput = (DBInstanceForDescribeDBInstancesOutput) o; + return Objects.equals(this.autoRenew, dbInstanceForDescribeDBInstancesOutput.autoRenew) && + Objects.equals(this.chargeStatus, dbInstanceForDescribeDBInstancesOutput.chargeStatus) && + Objects.equals(this.chargeType, dbInstanceForDescribeDBInstancesOutput.chargeType) && + Objects.equals(this.closedTime, dbInstanceForDescribeDBInstancesOutput.closedTime) && + Objects.equals(this.configServersId, dbInstanceForDescribeDBInstancesOutput.configServersId) && + Objects.equals(this.createTime, dbInstanceForDescribeDBInstancesOutput.createTime) && + Objects.equals(this.dbEngine, dbInstanceForDescribeDBInstancesOutput.dbEngine) && + Objects.equals(this.dbEngineVersion, dbInstanceForDescribeDBInstancesOutput.dbEngineVersion) && + Objects.equals(this.dbEngineVersionStr, dbInstanceForDescribeDBInstancesOutput.dbEngineVersionStr) && + Objects.equals(this.expiredTime, dbInstanceForDescribeDBInstancesOutput.expiredTime) && + Objects.equals(this.instanceId, dbInstanceForDescribeDBInstancesOutput.instanceId) && + Objects.equals(this.instanceName, dbInstanceForDescribeDBInstancesOutput.instanceName) && + Objects.equals(this.instanceStatus, dbInstanceForDescribeDBInstancesOutput.instanceStatus) && + Objects.equals(this.instanceType, dbInstanceForDescribeDBInstancesOutput.instanceType) && + Objects.equals(this.mongosId, dbInstanceForDescribeDBInstancesOutput.mongosId) && + Objects.equals(this.projectName, dbInstanceForDescribeDBInstancesOutput.projectName) && + Objects.equals(this.reclaimTime, dbInstanceForDescribeDBInstancesOutput.reclaimTime) && + Objects.equals(this.subnetId, dbInstanceForDescribeDBInstancesOutput.subnetId) && + Objects.equals(this.updateTime, dbInstanceForDescribeDBInstancesOutput.updateTime) && + Objects.equals(this.vpcId, dbInstanceForDescribeDBInstancesOutput.vpcId) && + Objects.equals(this.zoneId, dbInstanceForDescribeDBInstancesOutput.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeStatus, chargeType, closedTime, configServersId, createTime, dbEngine, dbEngineVersion, dbEngineVersionStr, expiredTime, instanceId, instanceName, instanceStatus, instanceType, mongosId, projectName, reclaimTime, subnetId, updateTime, vpcId, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DBInstanceForDescribeDBInstancesOutput {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeStatus: ").append(toIndentedString(chargeStatus)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" closedTime: ").append(toIndentedString(closedTime)).append("\n"); + sb.append(" configServersId: ").append(toIndentedString(configServersId)).append("\n"); + sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n"); + sb.append(" dbEngine: ").append(toIndentedString(dbEngine)).append("\n"); + sb.append(" dbEngineVersion: ").append(toIndentedString(dbEngineVersion)).append("\n"); + sb.append(" dbEngineVersionStr: ").append(toIndentedString(dbEngineVersionStr)).append("\n"); + sb.append(" expiredTime: ").append(toIndentedString(expiredTime)).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(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append(" mongosId: ").append(toIndentedString(mongosId)).append("\n"); + sb.append(" projectName: ").append(toIndentedString(projectName)).append("\n"); + sb.append(" reclaimTime: ").append(toIndentedString(reclaimTime)).append("\n"); + sb.append(" subnetId: ").append(toIndentedString(subnetId)).append("\n"); + sb.append(" updateTime: ").append(toIndentedString(updateTime)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListRequest.java new file mode 100644 index 00000000..5a18ed84 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListRequest.java @@ -0,0 +1,93 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DeleteAllowListRequest { + @SerializedName("AllowListId") + private String allowListId = null; + + public DeleteAllowListRequest 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; + } + 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-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListResponse.java new file mode 100644 index 00000000..e00692b4 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteAllowListResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointRequest.java new file mode 100644 index 00000000..a506be2c --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointRequest.java @@ -0,0 +1,150 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * DeleteDBEndpointRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DeleteDBEndpointRequest { + @SerializedName("EndpointId") + private String endpointId = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("MongosNodeIds") + private List mongosNodeIds = null; + + public DeleteDBEndpointRequest 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 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; + } + + public DeleteDBEndpointRequest mongosNodeIds(List mongosNodeIds) { + this.mongosNodeIds = mongosNodeIds; + return this; + } + + public DeleteDBEndpointRequest addMongosNodeIdsItem(String mongosNodeIdsItem) { + if (this.mongosNodeIds == null) { + this.mongosNodeIds = new ArrayList(); + } + this.mongosNodeIds.add(mongosNodeIdsItem); + return this; + } + + /** + * Get mongosNodeIds + * @return mongosNodeIds + **/ + @Schema(description = "") + public List getMongosNodeIds() { + return mongosNodeIds; + } + + public void setMongosNodeIds(List mongosNodeIds) { + this.mongosNodeIds = mongosNodeIds; + } + + + @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) && + Objects.equals(this.mongosNodeIds, deleteDBEndpointRequest.mongosNodeIds); + } + + @Override + public int hashCode() { + return Objects.hash(endpointId, instanceId, mongosNodeIds); + } + + + @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(" mongosNodeIds: ").append(toIndentedString(mongosNodeIds)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointResponse.java new file mode 100644 index 00000000..0578dce4 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBEndpointResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBEndpointResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceRequest.java new file mode 100644 index 00000000..6b620cee --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceRequest.java @@ -0,0 +1,94 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DeleteDBInstanceRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + 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.instanceId, deleteDBInstanceRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DeleteDBInstanceRequest {\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-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceResponse.java new file mode 100644 index 00000000..dd73eed7 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DeleteDBInstanceResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DeleteDBInstanceResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailRequest.java new file mode 100644 index 00000000..a0ee9c98 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailRequest.java @@ -0,0 +1,93 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeAllowListDetailRequest { + @SerializedName("AllowListId") + private String allowListId = null; + + public DescribeAllowListDetailRequest 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; + } + 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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailResponse.java new file mode 100644 index 00000000..221e7602 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListDetailResponse.java @@ -0,0 +1,220 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsRequest.java new file mode 100644 index 00000000..8f93f92f --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsRequest.java @@ -0,0 +1,116 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsResponse.java new file mode 100644 index 00000000..bc881442 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAllowListsResponse.java @@ -0,0 +1,105 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesRequest.java new file mode 100644 index 00000000..0475e53d --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesRequest.java @@ -0,0 +1,93 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesResponse.java new file mode 100644 index 00000000..cb176035 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeAvailabilityZonesResponse.java @@ -0,0 +1,128 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsRequest.java new file mode 100644 index 00000000..5631d66d --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsRequest.java @@ -0,0 +1,163 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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 + **/ + @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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsResponse.java new file mode 100644 index 00000000..89ba3762 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBAccountsResponse.java @@ -0,0 +1,128 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointRequest.java new file mode 100644 index 00000000..b48c6953 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointRequest.java @@ -0,0 +1,94 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * DescribeDBEndpointRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBEndpointRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + public DescribeDBEndpointRequest 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; + } + DescribeDBEndpointRequest describeDBEndpointRequest = (DescribeDBEndpointRequest) o; + return Objects.equals(this.instanceId, describeDBEndpointRequest.instanceId); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBEndpointRequest {\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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointResponse.java new file mode 100644 index 00000000..bd6a2048 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBEndpointResponse.java @@ -0,0 +1,105 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.model.DBEndpointForDescribeDBEndpointOutput; +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; +/** + * DescribeDBEndpointResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBEndpointResponse { + @SerializedName("DBEndpoints") + private List dbEndpoints = null; + + public DescribeDBEndpointResponse dbEndpoints(List dbEndpoints) { + this.dbEndpoints = dbEndpoints; + return this; + } + + public DescribeDBEndpointResponse addDbEndpointsItem(DBEndpointForDescribeDBEndpointOutput dbEndpointsItem) { + if (this.dbEndpoints == null) { + this.dbEndpoints = new ArrayList(); + } + this.dbEndpoints.add(dbEndpointsItem); + return this; + } + + /** + * Get dbEndpoints + * @return dbEndpoints + **/ + @Valid + @Schema(description = "") + public List getDbEndpoints() { + return dbEndpoints; + } + + public void setDbEndpoints(List dbEndpoints) { + this.dbEndpoints = dbEndpoints; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeDBEndpointResponse describeDBEndpointResponse = (DescribeDBEndpointResponse) o; + return Objects.equals(this.dbEndpoints, describeDBEndpointResponse.dbEndpoints); + } + + @Override + public int hashCode() { + return Objects.hash(dbEndpoints); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBEndpointResponse {\n"); + + sb.append(" dbEndpoints: ").append(toIndentedString(dbEndpoints)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailRequest.java new file mode 100644 index 00000000..2ef9f35d --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailRequest.java @@ -0,0 +1,94 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailResponse.java new file mode 100644 index 00000000..b42f9b7f --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceDetailResponse.java @@ -0,0 +1,95 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.model.DBInstanceForDescribeDBInstanceDetailOutput; +import io.swagger.v3.oas.annotations.media.Schema; +import java.io.IOException; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeDBInstanceDetailResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBInstanceDetailResponse { + @SerializedName("DBInstance") + private DBInstanceForDescribeDBInstanceDetailOutput dbInstance = null; + + public DescribeDBInstanceDetailResponse dbInstance(DBInstanceForDescribeDBInstanceDetailOutput dbInstance) { + this.dbInstance = dbInstance; + return this; + } + + /** + * Get dbInstance + * @return dbInstance + **/ + @Valid + @Schema(description = "") + public DBInstanceForDescribeDBInstanceDetailOutput getDbInstance() { + return dbInstance; + } + + public void setDbInstance(DBInstanceForDescribeDBInstanceDetailOutput dbInstance) { + this.dbInstance = dbInstance; + } + + + @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.dbInstance, describeDBInstanceDetailResponse.dbInstance); + } + + @Override + public int hashCode() { + return Objects.hash(dbInstance); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceDetailResponse {\n"); + + sb.append(" dbInstance: ").append(toIndentedString(dbInstance)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogRequest.java new file mode 100644 index 00000000..66bee006 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogRequest.java @@ -0,0 +1,190 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBInstanceParametersLogRequest { + @SerializedName("EndTime") + private String endTime = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("PageNumber") + private Integer pageNumber = null; + + @SerializedName("PageSize") + private Integer pageSize = 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 pageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + return this; + } + + /** + * Get pageNumber + * @return pageNumber + **/ + @NotNull + @Schema(required = true, description = "") + public Integer getPageNumber() { + return pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public DescribeDBInstanceParametersLogRequest pageSize(Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Get pageSize + * @return pageSize + **/ + @NotNull + @Schema(required = true, description = "") + public Integer getPageSize() { + return pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + 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.pageNumber, describeDBInstanceParametersLogRequest.pageNumber) && + Objects.equals(this.pageSize, describeDBInstanceParametersLogRequest.pageSize) && + Objects.equals(this.startTime, describeDBInstanceParametersLogRequest.startTime); + } + + @Override + public int hashCode() { + return Objects.hash(endTime, instanceId, pageNumber, pageSize, 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(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogResponse.java new file mode 100644 index 00000000..9ef949af --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersLogResponse.java @@ -0,0 +1,128 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBInstanceParametersLogResponse { + @SerializedName("ParameterChangeLog") + private List parameterChangeLog = null; + + @SerializedName("Total") + private Integer total = null; + + public DescribeDBInstanceParametersLogResponse parameterChangeLog(List parameterChangeLog) { + this.parameterChangeLog = parameterChangeLog; + return this; + } + + public DescribeDBInstanceParametersLogResponse addParameterChangeLogItem(ParameterChangeLogForDescribeDBInstanceParametersLogOutput parameterChangeLogItem) { + if (this.parameterChangeLog == null) { + this.parameterChangeLog = new ArrayList(); + } + this.parameterChangeLog.add(parameterChangeLogItem); + return this; + } + + /** + * Get parameterChangeLog + * @return parameterChangeLog + **/ + @Valid + @Schema(description = "") + public List getParameterChangeLog() { + return parameterChangeLog; + } + + public void setParameterChangeLog(List parameterChangeLog) { + this.parameterChangeLog = parameterChangeLog; + } + + 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.parameterChangeLog, describeDBInstanceParametersLogResponse.parameterChangeLog) && + Objects.equals(this.total, describeDBInstanceParametersLogResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(parameterChangeLog, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceParametersLogResponse {\n"); + + sb.append(" parameterChangeLog: ").append(toIndentedString(parameterChangeLog)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersRequest.java new file mode 100644 index 00000000..64600ed1 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersRequest.java @@ -0,0 +1,184 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBInstanceParametersRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("ParameterNames") + private String parameterNames = null; + + /** + * Gets or Sets parameterRole + */ + @JsonAdapter(ParameterRoleEnum.Adapter.class) + public enum ParameterRoleEnum { + CONFIGSERVER("ConfigServer"), + MONGOS("Mongos"), + NODE("Node"), + SHARD("Shard"), + UNKNOWN("Unknown"); + + private String value; + + ParameterRoleEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ParameterRoleEnum fromValue(String input) { + for (ParameterRoleEnum b : ParameterRoleEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ParameterRoleEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ParameterRoleEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ParameterRoleEnum.fromValue((String)(value)); + } + } + } @SerializedName("ParameterRole") + private ParameterRoleEnum parameterRole = 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 parameterNames(String parameterNames) { + this.parameterNames = parameterNames; + return this; + } + + /** + * Get parameterNames + * @return parameterNames + **/ + @Schema(description = "") + public String getParameterNames() { + return parameterNames; + } + + public void setParameterNames(String parameterNames) { + this.parameterNames = parameterNames; + } + + public DescribeDBInstanceParametersRequest parameterRole(ParameterRoleEnum parameterRole) { + this.parameterRole = parameterRole; + return this; + } + + /** + * Get parameterRole + * @return parameterRole + **/ + @Schema(description = "") + public ParameterRoleEnum getParameterRole() { + return parameterRole; + } + + public void setParameterRole(ParameterRoleEnum parameterRole) { + this.parameterRole = parameterRole; + } + + + @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.parameterNames, describeDBInstanceParametersRequest.parameterNames) && + Objects.equals(this.parameterRole, describeDBInstanceParametersRequest.parameterRole); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, parameterNames, parameterRole); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstanceParametersRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" parameterNames: ").append(toIndentedString(parameterNames)).append("\n"); + sb.append(" parameterRole: ").append(toIndentedString(parameterRole)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersResponse.java new file mode 100644 index 00000000..4634bd0d --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstanceParametersResponse.java @@ -0,0 +1,197 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.model.InstanceParameterForDescribeDBInstanceParametersOutput; +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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBInstanceParametersResponse { + @SerializedName("DBEngine") + private String dbEngine = null; + + @SerializedName("DBEngineVersion") + private String dbEngineVersion = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceParameters") + private List instanceParameters = null; + + @SerializedName("Total") + private String total = 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 instanceParameters(List instanceParameters) { + this.instanceParameters = instanceParameters; + return this; + } + + public DescribeDBInstanceParametersResponse addInstanceParametersItem(InstanceParameterForDescribeDBInstanceParametersOutput instanceParametersItem) { + if (this.instanceParameters == null) { + this.instanceParameters = new ArrayList(); + } + this.instanceParameters.add(instanceParametersItem); + return this; + } + + /** + * Get instanceParameters + * @return instanceParameters + **/ + @Valid + @Schema(description = "") + public List getInstanceParameters() { + return instanceParameters; + } + + public void setInstanceParameters(List instanceParameters) { + this.instanceParameters = instanceParameters; + } + + public DescribeDBInstanceParametersResponse total(String total) { + this.total = total; + return this; + } + + /** + * Get total + * @return total + **/ + @Schema(description = "") + public String getTotal() { + return total; + } + + public void setTotal(String 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; + } + 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.instanceParameters, describeDBInstanceParametersResponse.instanceParameters) && + Objects.equals(this.total, describeDBInstanceParametersResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(dbEngine, dbEngineVersion, instanceId, instanceParameters, total); + } + + + @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(" instanceParameters: ").append(toIndentedString(instanceParameters)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesRequest.java new file mode 100644 index 00000000..3d60e875 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesRequest.java @@ -0,0 +1,584 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBInstancesRequest { + @SerializedName("CreateEndTime") + private String createEndTime = null; + + @SerializedName("CreateStartTime") + private String createStartTime = null; + + /** + * Gets or Sets dbEngine + */ + @JsonAdapter(DbEngineEnum.Adapter.class) + public enum DbEngineEnum { + MONGODB("MongoDB"); + + private String value; + + DbEngineEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineEnum fromValue(String input) { + for (DbEngineEnum b : DbEngineEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngine") + private DbEngineEnum dbEngine = null; + + /** + * Gets or Sets dbEngineVersion + */ + @JsonAdapter(DbEngineVersionEnum.Adapter.class) + public enum DbEngineVersionEnum { + _4_0("MongoDB_4_0"), + _5_0("MongoDB_5_0"); + + private String value; + + DbEngineVersionEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static DbEngineVersionEnum fromValue(String input) { + for (DbEngineVersionEnum b : DbEngineVersionEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final DbEngineVersionEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public DbEngineVersionEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return DbEngineVersionEnum.fromValue((String)(value)); + } + } + } @SerializedName("DBEngineVersion") + private DbEngineVersionEnum dbEngineVersion = null; + + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceName") + private String instanceName = null; + + /** + * Gets or Sets instanceStatus + */ + @JsonAdapter(InstanceStatusEnum.Adapter.class) + public enum InstanceStatusEnum { + ALLOWLISTMAINTAINING("AllowListMaintaining"), + CLOSED("Closed"), + CLOSING("Closing"), + CREATEFAILED("CreateFailed"), + CREATING("Creating"), + DELETED("Deleted"), + DELETING("Deleting"), + DESTROYED("Destroyed"), + DESTROYING("Destroying"), + ERROR("Error"), + IMPORTING("Importing"), + MIGRATING("Migrating"), + NETCREATING("NetCreating"), + NETRELEASING("NetReleasing"), + NETWORKMAINTAINING("NetworkMaintaining"), + REBUILDING("Rebuilding"), + RECLAIMING("Reclaiming"), + RECYCLED("Recycled"), + RELEASED("Released"), + RESTARTING("Restarting"), + RESTORING("Restoring"), + RESUMING("Resuming"), + RUNNING("Running"), + SSLUPDATING("SSLUpdating"), + SCALING("Scaling"), + TDEMAINTAINING("TDEMaintaining"), + TASKFAILED_AVAILABLE("TaskFailed_Available"), + UNAVAILABLE("Unavailable"), + UPDATING("Updating"), + UPGRADING("Upgrading"), + WAITINGPAID("WaitingPaid"); + + private String value; + + InstanceStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceStatusEnum fromValue(String input) { + for (InstanceStatusEnum b : InstanceStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceStatus") + private InstanceStatusEnum instanceStatus = null; + + /** + * Gets or Sets instanceType + */ + @JsonAdapter(InstanceTypeEnum.Adapter.class) + public enum InstanceTypeEnum { + REPLICASET("ReplicaSet"), + SHARDEDCLUSTER("ShardedCluster"); + + private String value; + + InstanceTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceTypeEnum fromValue(String input) { + for (InstanceTypeEnum b : InstanceTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceType") + private InstanceTypeEnum instanceType = null; + + @SerializedName("PageNumber") + private Integer pageNumber = null; + + @SerializedName("PageSize") + private Integer pageSize = null; + + @SerializedName("UpdateEndTime") + private String updateEndTime = null; + + @SerializedName("UpdateStartTime") + private String updateStartTime = null; + + @SerializedName("VpcId") + private String vpcId = null; + + @SerializedName("ZoneId") + private String zoneId = null; + + public DescribeDBInstancesRequest createEndTime(String createEndTime) { + this.createEndTime = createEndTime; + return this; + } + + /** + * Get createEndTime + * @return createEndTime + **/ + @Schema(description = "") + public String getCreateEndTime() { + return createEndTime; + } + + public void setCreateEndTime(String createEndTime) { + this.createEndTime = createEndTime; + } + + public DescribeDBInstancesRequest createStartTime(String createStartTime) { + this.createStartTime = createStartTime; + return this; + } + + /** + * Get createStartTime + * @return createStartTime + **/ + @Schema(description = "") + public String getCreateStartTime() { + return createStartTime; + } + + public void setCreateStartTime(String createStartTime) { + this.createStartTime = createStartTime; + } + + public DescribeDBInstancesRequest dbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + return this; + } + + /** + * Get dbEngine + * @return dbEngine + **/ + @Schema(description = "") + public DbEngineEnum getDbEngine() { + return dbEngine; + } + + public void setDbEngine(DbEngineEnum dbEngine) { + this.dbEngine = dbEngine; + } + + public DescribeDBInstancesRequest dbEngineVersion(DbEngineVersionEnum dbEngineVersion) { + this.dbEngineVersion = dbEngineVersion; + return this; + } + + /** + * Get dbEngineVersion + * @return dbEngineVersion + **/ + @Schema(description = "") + public DbEngineVersionEnum getDbEngineVersion() { + return dbEngineVersion; + } + + public void setDbEngineVersion(DbEngineVersionEnum 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 + **/ + @Size(max=64) @Schema(description = "") + public String getInstanceName() { + return instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public DescribeDBInstancesRequest instanceStatus(InstanceStatusEnum instanceStatus) { + this.instanceStatus = instanceStatus; + return this; + } + + /** + * Get instanceStatus + * @return instanceStatus + **/ + @Schema(description = "") + public InstanceStatusEnum getInstanceStatus() { + return instanceStatus; + } + + public void setInstanceStatus(InstanceStatusEnum instanceStatus) { + this.instanceStatus = instanceStatus; + } + + public DescribeDBInstancesRequest instanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public InstanceTypeEnum getInstanceType() { + return instanceType; + } + + public void setInstanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + } + + 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 updateEndTime(String updateEndTime) { + this.updateEndTime = updateEndTime; + return this; + } + + /** + * Get updateEndTime + * @return updateEndTime + **/ + @Schema(description = "") + public String getUpdateEndTime() { + return updateEndTime; + } + + public void setUpdateEndTime(String updateEndTime) { + this.updateEndTime = updateEndTime; + } + + public DescribeDBInstancesRequest updateStartTime(String updateStartTime) { + this.updateStartTime = updateStartTime; + return this; + } + + /** + * Get updateStartTime + * @return updateStartTime + **/ + @Schema(description = "") + public String getUpdateStartTime() { + return updateStartTime; + } + + public void setUpdateStartTime(String updateStartTime) { + this.updateStartTime = updateStartTime; + } + + public DescribeDBInstancesRequest 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 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.createEndTime, describeDBInstancesRequest.createEndTime) && + Objects.equals(this.createStartTime, describeDBInstancesRequest.createStartTime) && + Objects.equals(this.dbEngine, describeDBInstancesRequest.dbEngine) && + 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.instanceType, describeDBInstancesRequest.instanceType) && + Objects.equals(this.pageNumber, describeDBInstancesRequest.pageNumber) && + Objects.equals(this.pageSize, describeDBInstancesRequest.pageSize) && + Objects.equals(this.updateEndTime, describeDBInstancesRequest.updateEndTime) && + Objects.equals(this.updateStartTime, describeDBInstancesRequest.updateStartTime) && + Objects.equals(this.vpcId, describeDBInstancesRequest.vpcId) && + Objects.equals(this.zoneId, describeDBInstancesRequest.zoneId); + } + + @Override + public int hashCode() { + return Objects.hash(createEndTime, createStartTime, dbEngine, dbEngineVersion, instanceId, instanceName, instanceStatus, instanceType, pageNumber, pageSize, updateEndTime, updateStartTime, vpcId, zoneId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstancesRequest {\n"); + + sb.append(" createEndTime: ").append(toIndentedString(createEndTime)).append("\n"); + sb.append(" createStartTime: ").append(toIndentedString(createStartTime)).append("\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(" instanceName: ").append(toIndentedString(instanceName)).append("\n"); + sb.append(" instanceStatus: ").append(toIndentedString(instanceStatus)).append("\n"); + sb.append(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append(" pageNumber: ").append(toIndentedString(pageNumber)).append("\n"); + sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); + sb.append(" updateEndTime: ").append(toIndentedString(updateEndTime)).append("\n"); + sb.append(" updateStartTime: ").append(toIndentedString(updateStartTime)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesResponse.java new file mode 100644 index 00000000..1dd2bebd --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeDBInstancesResponse.java @@ -0,0 +1,128 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.model.DBInstanceForDescribeDBInstancesOutput; +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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeDBInstancesResponse { + @SerializedName("DBInstances") + private List dbInstances = null; + + @SerializedName("Total") + private Integer total = null; + + public DescribeDBInstancesResponse dbInstances(List dbInstances) { + this.dbInstances = dbInstances; + return this; + } + + public DescribeDBInstancesResponse addDbInstancesItem(DBInstanceForDescribeDBInstancesOutput dbInstancesItem) { + if (this.dbInstances == null) { + this.dbInstances = new ArrayList(); + } + this.dbInstances.add(dbInstancesItem); + return this; + } + + /** + * Get dbInstances + * @return dbInstances + **/ + @Valid + @Schema(description = "") + public List getDbInstances() { + return dbInstances; + } + + public void setDbInstances(List dbInstances) { + this.dbInstances = dbInstances; + } + + 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.dbInstances, describeDBInstancesResponse.dbInstances) && + Objects.equals(this.total, describeDBInstancesResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(dbInstances, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeDBInstancesResponse {\n"); + + sb.append(" dbInstances: ").append(toIndentedString(dbInstances)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsRequest.java new file mode 100644 index 00000000..017ac855 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsRequest.java @@ -0,0 +1,93 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * DescribeNodeSpecsRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeNodeSpecsRequest { + @SerializedName("RegionId") + private String regionId = null; + + public DescribeNodeSpecsRequest 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; + } + DescribeNodeSpecsRequest describeNodeSpecsRequest = (DescribeNodeSpecsRequest) o; + return Objects.equals(this.regionId, describeNodeSpecsRequest.regionId); + } + + @Override + public int hashCode() { + return Objects.hash(regionId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeNodeSpecsRequest {\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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsResponse.java new file mode 100644 index 00000000..acf9cbb4 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeNodeSpecsResponse.java @@ -0,0 +1,170 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.model.MongosNodeSpecForDescribeNodeSpecsOutput; +import com.volcengine.mongodb.model.NodeSpecForDescribeNodeSpecsOutput; +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; +/** + * DescribeNodeSpecsResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeNodeSpecsResponse { + @SerializedName("MongosNodeSpecs") + private List mongosNodeSpecs = null; + + @SerializedName("NodeSpecs") + private List nodeSpecs = null; + + @SerializedName("ShardNodeSpecs") + private List shardNodeSpecs = null; + + public DescribeNodeSpecsResponse mongosNodeSpecs(List mongosNodeSpecs) { + this.mongosNodeSpecs = mongosNodeSpecs; + return this; + } + + public DescribeNodeSpecsResponse addMongosNodeSpecsItem(MongosNodeSpecForDescribeNodeSpecsOutput mongosNodeSpecsItem) { + if (this.mongosNodeSpecs == null) { + this.mongosNodeSpecs = new ArrayList(); + } + this.mongosNodeSpecs.add(mongosNodeSpecsItem); + return this; + } + + /** + * Get mongosNodeSpecs + * @return mongosNodeSpecs + **/ + @Valid + @Schema(description = "") + public List getMongosNodeSpecs() { + return mongosNodeSpecs; + } + + public void setMongosNodeSpecs(List mongosNodeSpecs) { + this.mongosNodeSpecs = mongosNodeSpecs; + } + + public DescribeNodeSpecsResponse nodeSpecs(List nodeSpecs) { + this.nodeSpecs = nodeSpecs; + return this; + } + + public DescribeNodeSpecsResponse addNodeSpecsItem(NodeSpecForDescribeNodeSpecsOutput nodeSpecsItem) { + if (this.nodeSpecs == null) { + this.nodeSpecs = new ArrayList(); + } + this.nodeSpecs.add(nodeSpecsItem); + return this; + } + + /** + * Get nodeSpecs + * @return nodeSpecs + **/ + @Valid + @Schema(description = "") + public List getNodeSpecs() { + return nodeSpecs; + } + + public void setNodeSpecs(List nodeSpecs) { + this.nodeSpecs = nodeSpecs; + } + + public DescribeNodeSpecsResponse shardNodeSpecs(List shardNodeSpecs) { + this.shardNodeSpecs = shardNodeSpecs; + return this; + } + + public DescribeNodeSpecsResponse addShardNodeSpecsItem(NodeSpecForDescribeNodeSpecsOutput shardNodeSpecsItem) { + if (this.shardNodeSpecs == null) { + this.shardNodeSpecs = new ArrayList(); + } + this.shardNodeSpecs.add(shardNodeSpecsItem); + return this; + } + + /** + * Get shardNodeSpecs + * @return shardNodeSpecs + **/ + @Valid + @Schema(description = "") + public List getShardNodeSpecs() { + return shardNodeSpecs; + } + + public void setShardNodeSpecs(List shardNodeSpecs) { + this.shardNodeSpecs = shardNodeSpecs; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DescribeNodeSpecsResponse describeNodeSpecsResponse = (DescribeNodeSpecsResponse) o; + return Objects.equals(this.mongosNodeSpecs, describeNodeSpecsResponse.mongosNodeSpecs) && + Objects.equals(this.nodeSpecs, describeNodeSpecsResponse.nodeSpecs) && + Objects.equals(this.shardNodeSpecs, describeNodeSpecsResponse.shardNodeSpecs); + } + + @Override + public int hashCode() { + return Objects.hash(mongosNodeSpecs, nodeSpecs, shardNodeSpecs); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeNodeSpecsResponse {\n"); + + sb.append(" mongosNodeSpecs: ").append(toIndentedString(mongosNodeSpecs)).append("\n"); + sb.append(" nodeSpecs: ").append(toIndentedString(nodeSpecs)).append("\n"); + sb.append(" shardNodeSpecs: ").append(toIndentedString(shardNodeSpecs)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsRequest.java new file mode 100644 index 00000000..a3d62afa --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsRequest.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DescribeRegionsRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsResponse.java new file mode 100644 index 00000000..2ad15796 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DescribeRegionsResponse.java @@ -0,0 +1,128 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class DescribeRegionsResponse { + @SerializedName("Regions") + private List regions = null; + + @SerializedName("Total") + private Integer total = 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; + } + + public DescribeRegionsResponse 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; + } + DescribeRegionsResponse describeRegionsResponse = (DescribeRegionsResponse) o; + return Objects.equals(this.regions, describeRegionsResponse.regions) && + Objects.equals(this.total, describeRegionsResponse.total); + } + + @Override + public int hashCode() { + return Objects.hash(regions, total); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DescribeRegionsResponse {\n"); + + sb.append(" regions: ").append(toIndentedString(regions)).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-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListRequest.java new file mode 100644 index 00000000..fad0b4ea --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListRequest.java @@ -0,0 +1,134 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListResponse.java new file mode 100644 index 00000000..52bcb367 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/DisassociateAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * DisassociateAllowListResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/InstanceParameterForDescribeDBInstanceParametersOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/InstanceParameterForDescribeDBInstanceParametersOutput.java new file mode 100644 index 00000000..96b7bac9 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/InstanceParameterForDescribeDBInstanceParametersOutput.java @@ -0,0 +1,343 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * InstanceParameterForDescribeDBInstanceParametersOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class InstanceParameterForDescribeDBInstanceParametersOutput { + @SerializedName("CheckingCode") + private String checkingCode = null; + + @SerializedName("ForceModify") + private Boolean forceModify = null; + + @SerializedName("ForceRestart") + private Boolean forceRestart = null; + + @SerializedName("ParameterDefaultValue") + private String parameterDefaultValue = null; + + @SerializedName("ParameterDescription") + private String parameterDescription = null; + + /** + * Gets or Sets parameterRole + */ + @JsonAdapter(ParameterRoleEnum.Adapter.class) + public enum ParameterRoleEnum { + CONFIGSERVER("ConfigServer"), + MONGOS("Mongos"), + NODE("Node"), + SHARD("Shard"), + UNKNOWN("Unknown"); + + private String value; + + ParameterRoleEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ParameterRoleEnum fromValue(String input) { + for (ParameterRoleEnum b : ParameterRoleEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ParameterRoleEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ParameterRoleEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ParameterRoleEnum.fromValue((String)(value)); + } + } + } @SerializedName("ParameterRole") + private ParameterRoleEnum parameterRole = null; + + /** + * Gets or Sets parameterType + */ + @JsonAdapter(ParameterTypeEnum.Adapter.class) + public enum ParameterTypeEnum { + BOOLEAN("Boolean"), + FLOAT("Float"), + INTEGER("Integer"), + LIST("List"), + STRING("String"), + UNKNOWN("Unknown"); + + private String value; + + ParameterTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ParameterTypeEnum fromValue(String input) { + for (ParameterTypeEnum b : ParameterTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ParameterTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ParameterTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ParameterTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("ParameterType") + private ParameterTypeEnum parameterType = null; + + @SerializedName("ParameterValue") + private String parameterValue = null; + + public InstanceParameterForDescribeDBInstanceParametersOutput 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 InstanceParameterForDescribeDBInstanceParametersOutput forceModify(Boolean forceModify) { + this.forceModify = forceModify; + return this; + } + + /** + * Get forceModify + * @return forceModify + **/ + @Schema(description = "") + public Boolean isForceModify() { + return forceModify; + } + + public void setForceModify(Boolean forceModify) { + this.forceModify = forceModify; + } + + public InstanceParameterForDescribeDBInstanceParametersOutput 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 InstanceParameterForDescribeDBInstanceParametersOutput 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 InstanceParameterForDescribeDBInstanceParametersOutput 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 InstanceParameterForDescribeDBInstanceParametersOutput parameterRole(ParameterRoleEnum parameterRole) { + this.parameterRole = parameterRole; + return this; + } + + /** + * Get parameterRole + * @return parameterRole + **/ + @Schema(description = "") + public ParameterRoleEnum getParameterRole() { + return parameterRole; + } + + public void setParameterRole(ParameterRoleEnum parameterRole) { + this.parameterRole = parameterRole; + } + + public InstanceParameterForDescribeDBInstanceParametersOutput parameterType(ParameterTypeEnum parameterType) { + this.parameterType = parameterType; + return this; + } + + /** + * Get parameterType + * @return parameterType + **/ + @Schema(description = "") + public ParameterTypeEnum getParameterType() { + return parameterType; + } + + public void setParameterType(ParameterTypeEnum parameterType) { + this.parameterType = parameterType; + } + + public InstanceParameterForDescribeDBInstanceParametersOutput 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; + } + InstanceParameterForDescribeDBInstanceParametersOutput instanceParameterForDescribeDBInstanceParametersOutput = (InstanceParameterForDescribeDBInstanceParametersOutput) o; + return Objects.equals(this.checkingCode, instanceParameterForDescribeDBInstanceParametersOutput.checkingCode) && + Objects.equals(this.forceModify, instanceParameterForDescribeDBInstanceParametersOutput.forceModify) && + Objects.equals(this.forceRestart, instanceParameterForDescribeDBInstanceParametersOutput.forceRestart) && + Objects.equals(this.parameterDefaultValue, instanceParameterForDescribeDBInstanceParametersOutput.parameterDefaultValue) && + Objects.equals(this.parameterDescription, instanceParameterForDescribeDBInstanceParametersOutput.parameterDescription) && + Objects.equals(this.parameterRole, instanceParameterForDescribeDBInstanceParametersOutput.parameterRole) && + Objects.equals(this.parameterType, instanceParameterForDescribeDBInstanceParametersOutput.parameterType) && + Objects.equals(this.parameterValue, instanceParameterForDescribeDBInstanceParametersOutput.parameterValue); + } + + @Override + public int hashCode() { + return Objects.hash(checkingCode, forceModify, forceRestart, parameterDefaultValue, parameterDescription, parameterRole, parameterType, parameterValue); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class InstanceParameterForDescribeDBInstanceParametersOutput {\n"); + + sb.append(" checkingCode: ").append(toIndentedString(checkingCode)).append("\n"); + sb.append(" forceModify: ").append(toIndentedString(forceModify)).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(" parameterRole: ").append(toIndentedString(parameterRole)).append("\n"); + sb.append(" parameterType: ").append(toIndentedString(parameterType)).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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListRequest.java new file mode 100644 index 00000000..ab7f446c --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListRequest.java @@ -0,0 +1,250 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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 Long applyInstanceNum = null; + + /** + * Gets or Sets modifyMode + */ + @JsonAdapter(ModifyModeEnum.Adapter.class) + public enum ModifyModeEnum { + APPEND("Append"), + COVER("Cover"), + DELETE("Delete"); + + private String value; + + ModifyModeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ModifyModeEnum fromValue(String input) { + for (ModifyModeEnum b : ModifyModeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ModifyModeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ModifyModeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ModifyModeEnum.fromValue((String)(value)); + } + } + } @SerializedName("ModifyMode") + private ModifyModeEnum 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 + **/ + @Schema(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 + **/ + @Schema(description = "") + public String getAllowListName() { + return allowListName; + } + + public void setAllowListName(String allowListName) { + this.allowListName = allowListName; + } + + public ModifyAllowListRequest applyInstanceNum(Long applyInstanceNum) { + this.applyInstanceNum = applyInstanceNum; + return this; + } + + /** + * Get applyInstanceNum + * @return applyInstanceNum + **/ + @Schema(description = "") + public Long getApplyInstanceNum() { + return applyInstanceNum; + } + + public void setApplyInstanceNum(Long applyInstanceNum) { + this.applyInstanceNum = applyInstanceNum; + } + + public ModifyAllowListRequest modifyMode(ModifyModeEnum modifyMode) { + this.modifyMode = modifyMode; + return this; + } + + /** + * Get modifyMode + * @return modifyMode + **/ + @Schema(description = "") + public ModifyModeEnum getModifyMode() { + return modifyMode; + } + + public void setModifyMode(ModifyModeEnum 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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListResponse.java new file mode 100644 index 00000000..a00876d4 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyAllowListResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyAllowListResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeRequest.java new file mode 100644 index 00000000..539f07e5 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeRequest.java @@ -0,0 +1,278 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * ModifyDBInstanceChargeTypeRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ModifyDBInstanceChargeTypeRequest { + @SerializedName("AutoRenew") + private Boolean autoRenew = null; + + /** + * Gets or Sets chargeType + */ + @JsonAdapter(ChargeTypeEnum.Adapter.class) + public enum ChargeTypeEnum { + NOTENABLED("NotEnabled"), + POSTPAID("PostPaid"), + PREPAID("Prepaid"); + + private String value; + + ChargeTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ChargeTypeEnum fromValue(String input) { + for (ChargeTypeEnum b : ChargeTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ChargeTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ChargeTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ChargeTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("ChargeType") + private ChargeTypeEnum chargeType = null; + + @SerializedName("InstanceIds") + private List instanceIds = null; + + @SerializedName("Period") + private Integer period = null; + + /** + * Gets or Sets periodUnit + */ + @JsonAdapter(PeriodUnitEnum.Adapter.class) + public enum PeriodUnitEnum { + MONTH("Month"), + YEAR("Year"); + + private String value; + + PeriodUnitEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static PeriodUnitEnum fromValue(String input) { + for (PeriodUnitEnum b : PeriodUnitEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final PeriodUnitEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public PeriodUnitEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return PeriodUnitEnum.fromValue((String)(value)); + } + } + } @SerializedName("PeriodUnit") + private PeriodUnitEnum periodUnit = null; + + public ModifyDBInstanceChargeTypeRequest 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 ModifyDBInstanceChargeTypeRequest chargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + return this; + } + + /** + * Get chargeType + * @return chargeType + **/ + @Schema(description = "") + public ChargeTypeEnum getChargeType() { + return chargeType; + } + + public void setChargeType(ChargeTypeEnum chargeType) { + this.chargeType = chargeType; + } + + public ModifyDBInstanceChargeTypeRequest instanceIds(List instanceIds) { + this.instanceIds = instanceIds; + return this; + } + + public ModifyDBInstanceChargeTypeRequest 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; + } + + public ModifyDBInstanceChargeTypeRequest 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 ModifyDBInstanceChargeTypeRequest periodUnit(PeriodUnitEnum periodUnit) { + this.periodUnit = periodUnit; + return this; + } + + /** + * Get periodUnit + * @return periodUnit + **/ + @Schema(description = "") + public PeriodUnitEnum getPeriodUnit() { + return periodUnit; + } + + public void setPeriodUnit(PeriodUnitEnum 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; + } + ModifyDBInstanceChargeTypeRequest modifyDBInstanceChargeTypeRequest = (ModifyDBInstanceChargeTypeRequest) o; + return Objects.equals(this.autoRenew, modifyDBInstanceChargeTypeRequest.autoRenew) && + Objects.equals(this.chargeType, modifyDBInstanceChargeTypeRequest.chargeType) && + Objects.equals(this.instanceIds, modifyDBInstanceChargeTypeRequest.instanceIds) && + Objects.equals(this.period, modifyDBInstanceChargeTypeRequest.period) && + Objects.equals(this.periodUnit, modifyDBInstanceChargeTypeRequest.periodUnit); + } + + @Override + public int hashCode() { + return Objects.hash(autoRenew, chargeType, instanceIds, period, periodUnit); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceChargeTypeRequest {\n"); + + sb.append(" autoRenew: ").append(toIndentedString(autoRenew)).append("\n"); + sb.append(" chargeType: ").append(toIndentedString(chargeType)).append("\n"); + sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeResponse.java new file mode 100644 index 00000000..c6dd02fd --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceChargeTypeResponse.java @@ -0,0 +1,126 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * ModifyDBInstanceChargeTypeResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ModifyDBInstanceChargeTypeResponse { + @SerializedName("InstanceIds") + private List instanceIds = null; + + @SerializedName("OrderNO") + private String orderNO = null; + + public ModifyDBInstanceChargeTypeResponse instanceIds(List instanceIds) { + this.instanceIds = instanceIds; + return this; + } + + public ModifyDBInstanceChargeTypeResponse 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; + } + + public ModifyDBInstanceChargeTypeResponse orderNO(String orderNO) { + this.orderNO = orderNO; + return this; + } + + /** + * Get orderNO + * @return orderNO + **/ + @Schema(description = "") + public String getOrderNO() { + return orderNO; + } + + public void setOrderNO(String orderNO) { + this.orderNO = orderNO; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBInstanceChargeTypeResponse modifyDBInstanceChargeTypeResponse = (ModifyDBInstanceChargeTypeResponse) o; + return Objects.equals(this.instanceIds, modifyDBInstanceChargeTypeResponse.instanceIds) && + Objects.equals(this.orderNO, modifyDBInstanceChargeTypeResponse.orderNO); + } + + @Override + public int hashCode() { + return Objects.hash(instanceIds, orderNO); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceChargeTypeResponse {\n"); + + sb.append(" instanceIds: ").append(toIndentedString(instanceIds)).append("\n"); + sb.append(" orderNO: ").append(toIndentedString(orderNO)).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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameRequest.java new file mode 100644 index 00000000..1d969a68 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameRequest.java @@ -0,0 +1,117 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * ModifyDBInstanceNameRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ModifyDBInstanceNameRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("InstanceNewName") + private String instanceNewName = null; + + public ModifyDBInstanceNameRequest 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 ModifyDBInstanceNameRequest instanceNewName(String instanceNewName) { + this.instanceNewName = instanceNewName; + return this; + } + + /** + * Get instanceNewName + * @return instanceNewName + **/ + @Size(max=64) @Schema(description = "") + public String getInstanceNewName() { + return instanceNewName; + } + + public void setInstanceNewName(String instanceNewName) { + this.instanceNewName = instanceNewName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ModifyDBInstanceNameRequest modifyDBInstanceNameRequest = (ModifyDBInstanceNameRequest) o; + return Objects.equals(this.instanceId, modifyDBInstanceNameRequest.instanceId) && + Objects.equals(this.instanceNewName, modifyDBInstanceNameRequest.instanceNewName); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, instanceNewName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceNameRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" instanceNewName: ").append(toIndentedString(instanceNewName)).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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameResponse.java new file mode 100644 index 00000000..b8d56518 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceNameResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ModifyDBInstanceNameResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ModifyDBInstanceNameResponse { + + @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 ModifyDBInstanceNameResponse {\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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersRequest.java new file mode 100644 index 00000000..e80203bd --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersRequest.java @@ -0,0 +1,117 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * ModifyDBInstanceParametersRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ModifyDBInstanceParametersRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("Parameters") + private String 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(String parameters) { + this.parameters = parameters; + return this; + } + + /** + * Get parameters + * @return parameters + **/ + @Schema(description = "") + public String getParameters() { + return parameters; + } + + public void setParameters(String 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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersResponse.java new file mode 100644 index 00000000..8615eee2 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceParametersResponse.java @@ -0,0 +1,93 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecRequest.java new file mode 100644 index 00000000..2fea85b3 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecRequest.java @@ -0,0 +1,273 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * ModifyDBInstanceSpecRequest + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ModifyDBInstanceSpecRequest { + @SerializedName("InstanceId") + private String instanceId = null; + + /** + * Gets or Sets instanceType + */ + @JsonAdapter(InstanceTypeEnum.Adapter.class) + public enum InstanceTypeEnum { + REPLICASET("ReplicaSet"), + SHARDEDCLUSTER("ShardedCluster"); + + private String value; + + InstanceTypeEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static InstanceTypeEnum fromValue(String input) { + for (InstanceTypeEnum b : InstanceTypeEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final InstanceTypeEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public InstanceTypeEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return InstanceTypeEnum.fromValue((String)(value)); + } + } + } @SerializedName("InstanceType") + private InstanceTypeEnum instanceType = null; + + @SerializedName("MongosNodeNumber") + private Integer mongosNodeNumber = null; + + @SerializedName("MongosNodeSpec") + private String mongosNodeSpec = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + @SerializedName("ShardNumber") + private Integer shardNumber = null; + + @SerializedName("StorageSpaceGB") + private Integer storageSpaceGB = 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 instanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + return this; + } + + /** + * Get instanceType + * @return instanceType + **/ + @Schema(description = "") + public InstanceTypeEnum getInstanceType() { + return instanceType; + } + + public void setInstanceType(InstanceTypeEnum instanceType) { + this.instanceType = instanceType; + } + + public ModifyDBInstanceSpecRequest mongosNodeNumber(Integer mongosNodeNumber) { + this.mongosNodeNumber = mongosNodeNumber; + return this; + } + + /** + * Get mongosNodeNumber + * @return mongosNodeNumber + **/ + @Schema(description = "") + public Integer getMongosNodeNumber() { + return mongosNodeNumber; + } + + public void setMongosNodeNumber(Integer mongosNodeNumber) { + this.mongosNodeNumber = mongosNodeNumber; + } + + public ModifyDBInstanceSpecRequest mongosNodeSpec(String mongosNodeSpec) { + this.mongosNodeSpec = mongosNodeSpec; + return this; + } + + /** + * Get mongosNodeSpec + * @return mongosNodeSpec + **/ + @Schema(description = "") + public String getMongosNodeSpec() { + return mongosNodeSpec; + } + + public void setMongosNodeSpec(String mongosNodeSpec) { + this.mongosNodeSpec = mongosNodeSpec; + } + + public ModifyDBInstanceSpecRequest 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 ModifyDBInstanceSpecRequest shardNumber(Integer shardNumber) { + this.shardNumber = shardNumber; + return this; + } + + /** + * Get shardNumber + * @return shardNumber + **/ + @Schema(description = "") + public Integer getShardNumber() { + return shardNumber; + } + + public void setShardNumber(Integer shardNumber) { + this.shardNumber = shardNumber; + } + + public ModifyDBInstanceSpecRequest storageSpaceGB(Integer storageSpaceGB) { + this.storageSpaceGB = storageSpaceGB; + return this; + } + + /** + * Get storageSpaceGB + * @return storageSpaceGB + **/ + @Schema(description = "") + public Integer getStorageSpaceGB() { + return storageSpaceGB; + } + + public void setStorageSpaceGB(Integer storageSpaceGB) { + this.storageSpaceGB = storageSpaceGB; + } + + + @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.instanceType, modifyDBInstanceSpecRequest.instanceType) && + Objects.equals(this.mongosNodeNumber, modifyDBInstanceSpecRequest.mongosNodeNumber) && + Objects.equals(this.mongosNodeSpec, modifyDBInstanceSpecRequest.mongosNodeSpec) && + Objects.equals(this.nodeSpec, modifyDBInstanceSpecRequest.nodeSpec) && + Objects.equals(this.shardNumber, modifyDBInstanceSpecRequest.shardNumber) && + Objects.equals(this.storageSpaceGB, modifyDBInstanceSpecRequest.storageSpaceGB); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, instanceType, mongosNodeNumber, mongosNodeSpec, nodeSpec, shardNumber, storageSpaceGB); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceSpecRequest {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" instanceType: ").append(toIndentedString(instanceType)).append("\n"); + sb.append(" mongosNodeNumber: ").append(toIndentedString(mongosNodeNumber)).append("\n"); + sb.append(" mongosNodeSpec: ").append(toIndentedString(mongosNodeSpec)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" shardNumber: ").append(toIndentedString(shardNumber)).append("\n"); + sb.append(" storageSpaceGB: ").append(toIndentedString(storageSpaceGB)).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-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecResponse.java new file mode 100644 index 00000000..5e0f7e7d --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ModifyDBInstanceSpecResponse.java @@ -0,0 +1,116 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ModifyDBInstanceSpecResponse { + @SerializedName("InstanceId") + private String instanceId = null; + + @SerializedName("OrderNO") + private String orderNO = 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 orderNO(String orderNO) { + this.orderNO = orderNO; + return this; + } + + /** + * Get orderNO + * @return orderNO + **/ + @Schema(description = "") + public String getOrderNO() { + return orderNO; + } + + public void setOrderNO(String orderNO) { + this.orderNO = orderNO; + } + + + @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.orderNO, modifyDBInstanceSpecResponse.orderNO); + } + + @Override + public int hashCode() { + return Objects.hash(instanceId, orderNO); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ModifyDBInstanceSpecResponse {\n"); + + sb.append(" instanceId: ").append(toIndentedString(instanceId)).append("\n"); + sb.append(" orderNO: ").append(toIndentedString(orderNO)).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-mongodb/src/main/java/com/volcengine/mongodb/model/MongoForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/MongoForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..ed9f1963 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/MongoForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,272 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * MongoForDescribeDBInstanceDetailOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class MongoForDescribeDBInstanceDetailOutput { + @SerializedName("MongosNodeId") + private String mongosNodeId = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + /** + * Gets or Sets nodeStatus + */ + @JsonAdapter(NodeStatusEnum.Adapter.class) + public enum NodeStatusEnum { + ERROR("Error"), + RUNNING("Running"); + + private String value; + + NodeStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static NodeStatusEnum fromValue(String input) { + for (NodeStatusEnum b : NodeStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final NodeStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public NodeStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return NodeStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("NodeStatus") + private NodeStatusEnum nodeStatus = null; + + @SerializedName("TotalMemoryGB") + private Double totalMemoryGB = null; + + @SerializedName("TotalvCPU") + private Double totalvCPU = null; + + @SerializedName("UsedMemoryGB") + private Double usedMemoryGB = null; + + @SerializedName("UsedvCPU") + private Double usedvCPU = null; + + public MongoForDescribeDBInstanceDetailOutput mongosNodeId(String mongosNodeId) { + this.mongosNodeId = mongosNodeId; + return this; + } + + /** + * Get mongosNodeId + * @return mongosNodeId + **/ + @Schema(description = "") + public String getMongosNodeId() { + return mongosNodeId; + } + + public void setMongosNodeId(String mongosNodeId) { + this.mongosNodeId = mongosNodeId; + } + + public MongoForDescribeDBInstanceDetailOutput 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 MongoForDescribeDBInstanceDetailOutput nodeStatus(NodeStatusEnum nodeStatus) { + this.nodeStatus = nodeStatus; + return this; + } + + /** + * Get nodeStatus + * @return nodeStatus + **/ + @Schema(description = "") + public NodeStatusEnum getNodeStatus() { + return nodeStatus; + } + + public void setNodeStatus(NodeStatusEnum nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public MongoForDescribeDBInstanceDetailOutput totalMemoryGB(Double totalMemoryGB) { + this.totalMemoryGB = totalMemoryGB; + return this; + } + + /** + * Get totalMemoryGB + * @return totalMemoryGB + **/ + @Schema(description = "") + public Double getTotalMemoryGB() { + return totalMemoryGB; + } + + public void setTotalMemoryGB(Double totalMemoryGB) { + this.totalMemoryGB = totalMemoryGB; + } + + public MongoForDescribeDBInstanceDetailOutput totalvCPU(Double totalvCPU) { + this.totalvCPU = totalvCPU; + return this; + } + + /** + * Get totalvCPU + * @return totalvCPU + **/ + @Schema(description = "") + public Double getTotalvCPU() { + return totalvCPU; + } + + public void setTotalvCPU(Double totalvCPU) { + this.totalvCPU = totalvCPU; + } + + public MongoForDescribeDBInstanceDetailOutput usedMemoryGB(Double usedMemoryGB) { + this.usedMemoryGB = usedMemoryGB; + return this; + } + + /** + * Get usedMemoryGB + * @return usedMemoryGB + **/ + @Schema(description = "") + public Double getUsedMemoryGB() { + return usedMemoryGB; + } + + public void setUsedMemoryGB(Double usedMemoryGB) { + this.usedMemoryGB = usedMemoryGB; + } + + public MongoForDescribeDBInstanceDetailOutput usedvCPU(Double usedvCPU) { + this.usedvCPU = usedvCPU; + return this; + } + + /** + * Get usedvCPU + * @return usedvCPU + **/ + @Schema(description = "") + public Double getUsedvCPU() { + return usedvCPU; + } + + public void setUsedvCPU(Double usedvCPU) { + this.usedvCPU = usedvCPU; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MongoForDescribeDBInstanceDetailOutput mongoForDescribeDBInstanceDetailOutput = (MongoForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.mongosNodeId, mongoForDescribeDBInstanceDetailOutput.mongosNodeId) && + Objects.equals(this.nodeSpec, mongoForDescribeDBInstanceDetailOutput.nodeSpec) && + Objects.equals(this.nodeStatus, mongoForDescribeDBInstanceDetailOutput.nodeStatus) && + Objects.equals(this.totalMemoryGB, mongoForDescribeDBInstanceDetailOutput.totalMemoryGB) && + Objects.equals(this.totalvCPU, mongoForDescribeDBInstanceDetailOutput.totalvCPU) && + Objects.equals(this.usedMemoryGB, mongoForDescribeDBInstanceDetailOutput.usedMemoryGB) && + Objects.equals(this.usedvCPU, mongoForDescribeDBInstanceDetailOutput.usedvCPU); + } + + @Override + public int hashCode() { + return Objects.hash(mongosNodeId, nodeSpec, nodeStatus, totalMemoryGB, totalvCPU, usedMemoryGB, usedvCPU); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MongoForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" mongosNodeId: ").append(toIndentedString(mongosNodeId)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" nodeStatus: ").append(toIndentedString(nodeStatus)).append("\n"); + sb.append(" totalMemoryGB: ").append(toIndentedString(totalMemoryGB)).append("\n"); + sb.append(" totalvCPU: ").append(toIndentedString(totalvCPU)).append("\n"); + sb.append(" usedMemoryGB: ").append(toIndentedString(usedMemoryGB)).append("\n"); + sb.append(" usedvCPU: ").append(toIndentedString(usedvCPU)).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-mongodb/src/main/java/com/volcengine/mongodb/model/MongosNodeSpecForDescribeNodeSpecsOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/MongosNodeSpecForDescribeNodeSpecsOutput.java new file mode 100644 index 00000000..75435107 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/MongosNodeSpecForDescribeNodeSpecsOutput.java @@ -0,0 +1,162 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * MongosNodeSpecForDescribeNodeSpecsOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class MongosNodeSpecForDescribeNodeSpecsOutput { + @SerializedName("CpuNum") + private Double cpuNum = null; + + @SerializedName("MaxConn") + private Long maxConn = null; + + @SerializedName("MemInGb") + private Double memInGb = null; + + @SerializedName("SpecName") + private String specName = null; + + public MongosNodeSpecForDescribeNodeSpecsOutput cpuNum(Double cpuNum) { + this.cpuNum = cpuNum; + return this; + } + + /** + * Get cpuNum + * @return cpuNum + **/ + @Schema(description = "") + public Double getCpuNum() { + return cpuNum; + } + + public void setCpuNum(Double cpuNum) { + this.cpuNum = cpuNum; + } + + public MongosNodeSpecForDescribeNodeSpecsOutput maxConn(Long maxConn) { + this.maxConn = maxConn; + return this; + } + + /** + * Get maxConn + * @return maxConn + **/ + @Schema(description = "") + public Long getMaxConn() { + return maxConn; + } + + public void setMaxConn(Long maxConn) { + this.maxConn = maxConn; + } + + public MongosNodeSpecForDescribeNodeSpecsOutput memInGb(Double memInGb) { + this.memInGb = memInGb; + return this; + } + + /** + * Get memInGb + * @return memInGb + **/ + @Schema(description = "") + public Double getMemInGb() { + return memInGb; + } + + public void setMemInGb(Double memInGb) { + this.memInGb = memInGb; + } + + public MongosNodeSpecForDescribeNodeSpecsOutput specName(String specName) { + this.specName = specName; + return this; + } + + /** + * Get specName + * @return specName + **/ + @Schema(description = "") + public String getSpecName() { + return specName; + } + + public void setSpecName(String specName) { + this.specName = specName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MongosNodeSpecForDescribeNodeSpecsOutput mongosNodeSpecForDescribeNodeSpecsOutput = (MongosNodeSpecForDescribeNodeSpecsOutput) o; + return Objects.equals(this.cpuNum, mongosNodeSpecForDescribeNodeSpecsOutput.cpuNum) && + Objects.equals(this.maxConn, mongosNodeSpecForDescribeNodeSpecsOutput.maxConn) && + Objects.equals(this.memInGb, mongosNodeSpecForDescribeNodeSpecsOutput.memInGb) && + Objects.equals(this.specName, mongosNodeSpecForDescribeNodeSpecsOutput.specName); + } + + @Override + public int hashCode() { + return Objects.hash(cpuNum, maxConn, memInGb, specName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MongosNodeSpecForDescribeNodeSpecsOutput {\n"); + + sb.append(" cpuNum: ").append(toIndentedString(cpuNum)).append("\n"); + sb.append(" maxConn: ").append(toIndentedString(maxConn)).append("\n"); + sb.append(" memInGb: ").append(toIndentedString(memInGb)).append("\n"); + sb.append(" specName: ").append(toIndentedString(specName)).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-mongodb/src/main/java/com/volcengine/mongodb/model/NodeForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/NodeForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..afd296d0 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/NodeForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,405 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class NodeForDescribeDBInstanceDetailOutput { + @SerializedName("NodeDelayTime") + private Integer nodeDelayTime = null; + + @SerializedName("NodeId") + private String nodeId = null; + + /** + * Gets or Sets nodeRole + */ + @JsonAdapter(NodeRoleEnum.Adapter.class) + public enum NodeRoleEnum { + PRIMARY("Primary"), + SECONDARY("Secondary"); + + private String value; + + NodeRoleEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static NodeRoleEnum fromValue(String input) { + for (NodeRoleEnum b : NodeRoleEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final NodeRoleEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public NodeRoleEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return NodeRoleEnum.fromValue((String)(value)); + } + } + } @SerializedName("NodeRole") + private NodeRoleEnum nodeRole = null; + + @SerializedName("NodeSpec") + private String nodeSpec = null; + + /** + * Gets or Sets nodeStatus + */ + @JsonAdapter(NodeStatusEnum.Adapter.class) + public enum NodeStatusEnum { + ERROR("Error"), + RUNNING("Running"); + + private String value; + + NodeStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static NodeStatusEnum fromValue(String input) { + for (NodeStatusEnum b : NodeStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final NodeStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public NodeStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return NodeStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("NodeStatus") + private NodeStatusEnum nodeStatus = null; + + @SerializedName("TotalMemoryGB") + private Double totalMemoryGB = null; + + @SerializedName("TotalStorageGB") + private Double totalStorageGB = null; + + @SerializedName("TotalvCPU") + private Double totalvCPU = null; + + @SerializedName("UsedMemoryGB") + private Double usedMemoryGB = null; + + @SerializedName("UsedStorageGB") + private Double usedStorageGB = null; + + @SerializedName("UsedvCPU") + private Double usedvCPU = null; + + public NodeForDescribeDBInstanceDetailOutput nodeDelayTime(Integer nodeDelayTime) { + this.nodeDelayTime = nodeDelayTime; + return this; + } + + /** + * Get nodeDelayTime + * @return nodeDelayTime + **/ + @Schema(description = "") + public Integer getNodeDelayTime() { + return nodeDelayTime; + } + + public void setNodeDelayTime(Integer nodeDelayTime) { + this.nodeDelayTime = nodeDelayTime; + } + + 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 nodeRole(NodeRoleEnum nodeRole) { + this.nodeRole = nodeRole; + return this; + } + + /** + * Get nodeRole + * @return nodeRole + **/ + @Schema(description = "") + public NodeRoleEnum getNodeRole() { + return nodeRole; + } + + public void setNodeRole(NodeRoleEnum nodeRole) { + this.nodeRole = nodeRole; + } + + 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(NodeStatusEnum nodeStatus) { + this.nodeStatus = nodeStatus; + return this; + } + + /** + * Get nodeStatus + * @return nodeStatus + **/ + @Schema(description = "") + public NodeStatusEnum getNodeStatus() { + return nodeStatus; + } + + public void setNodeStatus(NodeStatusEnum nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public NodeForDescribeDBInstanceDetailOutput totalMemoryGB(Double totalMemoryGB) { + this.totalMemoryGB = totalMemoryGB; + return this; + } + + /** + * Get totalMemoryGB + * @return totalMemoryGB + **/ + @Schema(description = "") + public Double getTotalMemoryGB() { + return totalMemoryGB; + } + + public void setTotalMemoryGB(Double totalMemoryGB) { + this.totalMemoryGB = totalMemoryGB; + } + + public NodeForDescribeDBInstanceDetailOutput totalStorageGB(Double totalStorageGB) { + this.totalStorageGB = totalStorageGB; + return this; + } + + /** + * Get totalStorageGB + * @return totalStorageGB + **/ + @Schema(description = "") + public Double getTotalStorageGB() { + return totalStorageGB; + } + + public void setTotalStorageGB(Double totalStorageGB) { + this.totalStorageGB = totalStorageGB; + } + + public NodeForDescribeDBInstanceDetailOutput totalvCPU(Double totalvCPU) { + this.totalvCPU = totalvCPU; + return this; + } + + /** + * Get totalvCPU + * @return totalvCPU + **/ + @Schema(description = "") + public Double getTotalvCPU() { + return totalvCPU; + } + + public void setTotalvCPU(Double totalvCPU) { + this.totalvCPU = totalvCPU; + } + + public NodeForDescribeDBInstanceDetailOutput usedMemoryGB(Double usedMemoryGB) { + this.usedMemoryGB = usedMemoryGB; + return this; + } + + /** + * Get usedMemoryGB + * @return usedMemoryGB + **/ + @Schema(description = "") + public Double getUsedMemoryGB() { + return usedMemoryGB; + } + + public void setUsedMemoryGB(Double usedMemoryGB) { + this.usedMemoryGB = usedMemoryGB; + } + + public NodeForDescribeDBInstanceDetailOutput usedStorageGB(Double usedStorageGB) { + this.usedStorageGB = usedStorageGB; + return this; + } + + /** + * Get usedStorageGB + * @return usedStorageGB + **/ + @Schema(description = "") + public Double getUsedStorageGB() { + return usedStorageGB; + } + + public void setUsedStorageGB(Double usedStorageGB) { + this.usedStorageGB = usedStorageGB; + } + + public NodeForDescribeDBInstanceDetailOutput usedvCPU(Double usedvCPU) { + this.usedvCPU = usedvCPU; + return this; + } + + /** + * Get usedvCPU + * @return usedvCPU + **/ + @Schema(description = "") + public Double getUsedvCPU() { + return usedvCPU; + } + + public void setUsedvCPU(Double usedvCPU) { + this.usedvCPU = usedvCPU; + } + + + @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.nodeDelayTime, nodeForDescribeDBInstanceDetailOutput.nodeDelayTime) && + Objects.equals(this.nodeId, nodeForDescribeDBInstanceDetailOutput.nodeId) && + Objects.equals(this.nodeRole, nodeForDescribeDBInstanceDetailOutput.nodeRole) && + Objects.equals(this.nodeSpec, nodeForDescribeDBInstanceDetailOutput.nodeSpec) && + Objects.equals(this.nodeStatus, nodeForDescribeDBInstanceDetailOutput.nodeStatus) && + Objects.equals(this.totalMemoryGB, nodeForDescribeDBInstanceDetailOutput.totalMemoryGB) && + Objects.equals(this.totalStorageGB, nodeForDescribeDBInstanceDetailOutput.totalStorageGB) && + Objects.equals(this.totalvCPU, nodeForDescribeDBInstanceDetailOutput.totalvCPU) && + Objects.equals(this.usedMemoryGB, nodeForDescribeDBInstanceDetailOutput.usedMemoryGB) && + Objects.equals(this.usedStorageGB, nodeForDescribeDBInstanceDetailOutput.usedStorageGB) && + Objects.equals(this.usedvCPU, nodeForDescribeDBInstanceDetailOutput.usedvCPU); + } + + @Override + public int hashCode() { + return Objects.hash(nodeDelayTime, nodeId, nodeRole, nodeSpec, nodeStatus, totalMemoryGB, totalStorageGB, totalvCPU, usedMemoryGB, usedStorageGB, usedvCPU); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NodeForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" nodeDelayTime: ").append(toIndentedString(nodeDelayTime)).append("\n"); + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" nodeRole: ").append(toIndentedString(nodeRole)).append("\n"); + sb.append(" nodeSpec: ").append(toIndentedString(nodeSpec)).append("\n"); + sb.append(" nodeStatus: ").append(toIndentedString(nodeStatus)).append("\n"); + sb.append(" totalMemoryGB: ").append(toIndentedString(totalMemoryGB)).append("\n"); + sb.append(" totalStorageGB: ").append(toIndentedString(totalStorageGB)).append("\n"); + sb.append(" totalvCPU: ").append(toIndentedString(totalvCPU)).append("\n"); + sb.append(" usedMemoryGB: ").append(toIndentedString(usedMemoryGB)).append("\n"); + sb.append(" usedStorageGB: ").append(toIndentedString(usedStorageGB)).append("\n"); + sb.append(" usedvCPU: ").append(toIndentedString(usedvCPU)).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-mongodb/src/main/java/com/volcengine/mongodb/model/NodeSpecForDescribeNodeSpecsOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/NodeSpecForDescribeNodeSpecsOutput.java new file mode 100644 index 00000000..8b02b0a7 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/NodeSpecForDescribeNodeSpecsOutput.java @@ -0,0 +1,185 @@ +/* + * mongodb + * 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.mongodb.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; +/** + * NodeSpecForDescribeNodeSpecsOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class NodeSpecForDescribeNodeSpecsOutput { + @SerializedName("CpuNum") + private Double cpuNum = null; + + @SerializedName("MaxConn") + private Long maxConn = null; + + @SerializedName("MaxStorage") + private Long maxStorage = null; + + @SerializedName("MemInGb") + private Double memInGb = null; + + @SerializedName("SpecName") + private String specName = null; + + public NodeSpecForDescribeNodeSpecsOutput cpuNum(Double cpuNum) { + this.cpuNum = cpuNum; + return this; + } + + /** + * Get cpuNum + * @return cpuNum + **/ + @Schema(description = "") + public Double getCpuNum() { + return cpuNum; + } + + public void setCpuNum(Double cpuNum) { + this.cpuNum = cpuNum; + } + + public NodeSpecForDescribeNodeSpecsOutput maxConn(Long maxConn) { + this.maxConn = maxConn; + return this; + } + + /** + * Get maxConn + * @return maxConn + **/ + @Schema(description = "") + public Long getMaxConn() { + return maxConn; + } + + public void setMaxConn(Long maxConn) { + this.maxConn = maxConn; + } + + public NodeSpecForDescribeNodeSpecsOutput maxStorage(Long maxStorage) { + this.maxStorage = maxStorage; + return this; + } + + /** + * Get maxStorage + * @return maxStorage + **/ + @Schema(description = "") + public Long getMaxStorage() { + return maxStorage; + } + + public void setMaxStorage(Long maxStorage) { + this.maxStorage = maxStorage; + } + + public NodeSpecForDescribeNodeSpecsOutput memInGb(Double memInGb) { + this.memInGb = memInGb; + return this; + } + + /** + * Get memInGb + * @return memInGb + **/ + @Schema(description = "") + public Double getMemInGb() { + return memInGb; + } + + public void setMemInGb(Double memInGb) { + this.memInGb = memInGb; + } + + public NodeSpecForDescribeNodeSpecsOutput specName(String specName) { + this.specName = specName; + return this; + } + + /** + * Get specName + * @return specName + **/ + @Schema(description = "") + public String getSpecName() { + return specName; + } + + public void setSpecName(String specName) { + this.specName = specName; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + NodeSpecForDescribeNodeSpecsOutput nodeSpecForDescribeNodeSpecsOutput = (NodeSpecForDescribeNodeSpecsOutput) o; + return Objects.equals(this.cpuNum, nodeSpecForDescribeNodeSpecsOutput.cpuNum) && + Objects.equals(this.maxConn, nodeSpecForDescribeNodeSpecsOutput.maxConn) && + Objects.equals(this.maxStorage, nodeSpecForDescribeNodeSpecsOutput.maxStorage) && + Objects.equals(this.memInGb, nodeSpecForDescribeNodeSpecsOutput.memInGb) && + Objects.equals(this.specName, nodeSpecForDescribeNodeSpecsOutput.specName); + } + + @Override + public int hashCode() { + return Objects.hash(cpuNum, maxConn, maxStorage, memInGb, specName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class NodeSpecForDescribeNodeSpecsOutput {\n"); + + sb.append(" cpuNum: ").append(toIndentedString(cpuNum)).append("\n"); + sb.append(" maxConn: ").append(toIndentedString(maxConn)).append("\n"); + sb.append(" maxStorage: ").append(toIndentedString(maxStorage)).append("\n"); + sb.append(" memInGb: ").append(toIndentedString(memInGb)).append("\n"); + sb.append(" specName: ").append(toIndentedString(specName)).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-mongodb/src/main/java/com/volcengine/mongodb/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java new file mode 100644 index 00000000..881bb010 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ParameterChangeLogForDescribeDBInstanceParametersLogOutput.java @@ -0,0 +1,294 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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; + + /** + * Gets or Sets parameterRole + */ + @JsonAdapter(ParameterRoleEnum.Adapter.class) + public enum ParameterRoleEnum { + CONFIGSERVER("ConfigServer"), + MONGOS("Mongos"), + NODE("Node"), + SHARD("Shard"), + UNKNOWN("Unknown"); + + private String value; + + ParameterRoleEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ParameterRoleEnum fromValue(String input) { + for (ParameterRoleEnum b : ParameterRoleEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ParameterRoleEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ParameterRoleEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ParameterRoleEnum.fromValue((String)(value)); + } + } + } @SerializedName("ParameterRole") + private ParameterRoleEnum parameterRole = null; + + /** + * Gets or Sets parameterStatus + */ + @JsonAdapter(ParameterStatusEnum.Adapter.class) + public enum ParameterStatusEnum { + APPLIED("Applied"), + INVALID("Invalid"), + UNKNOWN("Unknown"); + + private String value; + + ParameterStatusEnum(String value) { + this.value = value; + } + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + public static ParameterStatusEnum fromValue(String input) { + for (ParameterStatusEnum b : ParameterStatusEnum.values()) { + if (b.value.equals(input)) { + return b; + } + } + return null; + } + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ParameterStatusEnum enumeration) throws IOException { + jsonWriter.value(String.valueOf(enumeration.getValue())); + } + + @Override + public ParameterStatusEnum read(final JsonReader jsonReader) throws IOException { + Object value = jsonReader.nextString(); + return ParameterStatusEnum.fromValue((String)(value)); + } + } + } @SerializedName("ParameterStatus") + private ParameterStatusEnum parameterStatus = 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 parameterRole(ParameterRoleEnum parameterRole) { + this.parameterRole = parameterRole; + return this; + } + + /** + * Get parameterRole + * @return parameterRole + **/ + @Schema(description = "") + public ParameterRoleEnum getParameterRole() { + return parameterRole; + } + + public void setParameterRole(ParameterRoleEnum parameterRole) { + this.parameterRole = parameterRole; + } + + public ParameterChangeLogForDescribeDBInstanceParametersLogOutput parameterStatus(ParameterStatusEnum parameterStatus) { + this.parameterStatus = parameterStatus; + return this; + } + + /** + * Get parameterStatus + * @return parameterStatus + **/ + @Schema(description = "") + public ParameterStatusEnum getParameterStatus() { + return parameterStatus; + } + + public void setParameterStatus(ParameterStatusEnum parameterStatus) { + this.parameterStatus = parameterStatus; + } + + + @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.parameterRole, parameterChangeLogForDescribeDBInstanceParametersLogOutput.parameterRole) && + Objects.equals(this.parameterStatus, parameterChangeLogForDescribeDBInstanceParametersLogOutput.parameterStatus); + } + + @Override + public int hashCode() { + return Objects.hash(modifyTime, newParameterValue, oldParameterValue, parameterName, parameterRole, parameterStatus); + } + + + @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(" parameterRole: ").append(toIndentedString(parameterRole)).append("\n"); + sb.append(" parameterStatus: ").append(toIndentedString(parameterStatus)).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-mongodb/src/main/java/com/volcengine/mongodb/model/RegionForDescribeRegionsOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RegionForDescribeRegionsOutput.java new file mode 100644 index 00000000..17c60121 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RegionForDescribeRegionsOutput.java @@ -0,0 +1,116 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountRequest.java new file mode 100644 index 00000000..2979307c --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountRequest.java @@ -0,0 +1,140 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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 + **/ + @Schema(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 + **/ + @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-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountResponse.java new file mode 100644 index 00000000..1ddb3192 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ResetDBAccountResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * ResetDBAccountResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceRequest.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceRequest.java new file mode 100644 index 00000000..38e0bcb8 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceRequest.java @@ -0,0 +1,94 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceResponse.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceResponse.java new file mode 100644 index 00000000..b33d0a79 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/RestartDBInstanceResponse.java @@ -0,0 +1,63 @@ +/* + * mongodb + * 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.mongodb.model; + +import java.util.Objects; +import java.util.Arrays; +import javax.validation.constraints.*; +import javax.validation.Valid; +/** + * RestartDBInstanceResponse + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +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-mongodb/src/main/java/com/volcengine/mongodb/model/ShardForDescribeDBInstanceDetailOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ShardForDescribeDBInstanceDetailOutput.java new file mode 100644 index 00000000..7ea2e036 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ShardForDescribeDBInstanceDetailOutput.java @@ -0,0 +1,128 @@ +/* + * mongodb + * 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.mongodb.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.mongodb.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; +/** + * ShardForDescribeDBInstanceDetailOutput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ShardForDescribeDBInstanceDetailOutput { + @SerializedName("Nodes") + private List nodes = null; + + @SerializedName("ShardId") + private String shardId = null; + + public ShardForDescribeDBInstanceDetailOutput nodes(List nodes) { + this.nodes = nodes; + return this; + } + + public ShardForDescribeDBInstanceDetailOutput 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; + } + + public ShardForDescribeDBInstanceDetailOutput shardId(String shardId) { + this.shardId = shardId; + return this; + } + + /** + * Get shardId + * @return shardId + **/ + @Schema(description = "") + public String getShardId() { + return shardId; + } + + public void setShardId(String shardId) { + this.shardId = shardId; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ShardForDescribeDBInstanceDetailOutput shardForDescribeDBInstanceDetailOutput = (ShardForDescribeDBInstanceDetailOutput) o; + return Objects.equals(this.nodes, shardForDescribeDBInstanceDetailOutput.nodes) && + Objects.equals(this.shardId, shardForDescribeDBInstanceDetailOutput.shardId); + } + + @Override + public int hashCode() { + return Objects.hash(nodes, shardId); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ShardForDescribeDBInstanceDetailOutput {\n"); + + sb.append(" nodes: ").append(toIndentedString(nodes)).append("\n"); + sb.append(" shardId: ").append(toIndentedString(shardId)).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-mongodb/src/main/java/com/volcengine/mongodb/model/ZoneForDescribeAvailabilityZonesOutput.java b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ZoneForDescribeAvailabilityZonesOutput.java new file mode 100644 index 00000000..684b9326 --- /dev/null +++ b/volcengine-java-sdk-mongodb/src/main/java/com/volcengine/mongodb/model/ZoneForDescribeAvailabilityZonesOutput.java @@ -0,0 +1,116 @@ +/* + * mongodb + * 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.mongodb.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 + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:21.110021+08:00[Asia/Shanghai]") +public class ZoneForDescribeAvailabilityZonesOutput { + @SerializedName("ZoneId") + private String zoneId = null; + + @SerializedName("ZoneName") + private String zoneName = null; + + 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.zoneId, zoneForDescribeAvailabilityZonesOutput.zoneId) && + Objects.equals(this.zoneName, zoneForDescribeAvailabilityZonesOutput.zoneName); + } + + @Override + public int hashCode() { + return Objects.hash(zoneId, zoneName); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ZoneForDescribeAvailabilityZonesOutput {\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-natgateway/pom.xml b/volcengine-java-sdk-natgateway/pom.xml index dfe36766..e3a1ddf5 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-rdsmysql/pom.xml b/volcengine-java-sdk-rdsmysql/pom.xml index f03628df..894c1c2b 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-storageebs/pom.xml b/volcengine-java-sdk-storageebs/pom.xml index dee03c54..0d57fa29 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vke/pom.xml b/volcengine-java-sdk-vke/pom.xml index 940be614..a308d152 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpc/pom.xml b/volcengine-java-sdk-vpc/pom.xml index 3571ad61..a7cd8d5c 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.14 + 0.1.15 ../pom.xml 4.0.0 diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressRequest.java index 85855772..155238ec 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressRequest.java @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import com.volcengine.vpc.model.TagForAllocateEipAddressInput; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; import java.util.ArrayList; @@ -29,7 +30,7 @@ * AllocateEipAddressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AllocateEipAddressRequest { @SerializedName("Bandwidth") private Integer bandwidth = null; @@ -98,6 +99,9 @@ public ISPEnum read(final JsonReader jsonReader) throws IOException { @SerializedName("SecurityProtectionTypes") private List securityProtectionTypes = null; + @SerializedName("Tags") + private List tags = null; + public AllocateEipAddressRequest bandwidth(Integer bandwidth) { this.bandwidth = bandwidth; return this; @@ -256,6 +260,33 @@ public void setSecurityProtectionTypes(List securityProtectionTypes) { this.securityProtectionTypes = securityProtectionTypes; } + public AllocateEipAddressRequest tags(List tags) { + this.tags = tags; + return this; + } + + public AllocateEipAddressRequest addTagsItem(TagForAllocateEipAddressInput tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); + } + this.tags.add(tagsItem); + return this; + } + + /** + * Get tags + * @return tags + **/ + @Valid + @Schema(description = "") + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + @Override public boolean equals(java.lang.Object o) { @@ -273,12 +304,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.name, allocateEipAddressRequest.name) && Objects.equals(this.period, allocateEipAddressRequest.period) && Objects.equals(this.periodUnit, allocateEipAddressRequest.periodUnit) && - Objects.equals(this.securityProtectionTypes, allocateEipAddressRequest.securityProtectionTypes); + Objects.equals(this.securityProtectionTypes, allocateEipAddressRequest.securityProtectionTypes) && + Objects.equals(this.tags, allocateEipAddressRequest.tags); } @Override public int hashCode() { - return Objects.hash(bandwidth, billingType, description, ISP, name, period, periodUnit, securityProtectionTypes); + return Objects.hash(bandwidth, billingType, description, ISP, name, period, periodUnit, securityProtectionTypes, tags); } @@ -295,6 +327,7 @@ public String toString() { sb.append(" period: ").append(toIndentedString(period)).append("\n"); sb.append(" periodUnit: ").append(toIndentedString(periodUnit)).append("\n"); sb.append(" securityProtectionTypes: ").append(toIndentedString(securityProtectionTypes)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressResponse.java index e35c4af0..f2df1655 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AllocateEipAddressResponse.java @@ -27,7 +27,7 @@ * AllocateEipAddressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AllocateEipAddressResponse { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesRequest.java index c2f87c81..66f348f3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesRequest.java @@ -29,7 +29,7 @@ * AssignPrivateIpAddressesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssignPrivateIpAddressesRequest { @SerializedName("NetworkInterfaceId") private String networkInterfaceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesResponse.java index ca1c7653..ed03072b 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssignPrivateIpAddressesResponse.java @@ -29,7 +29,7 @@ * AssignPrivateIpAddressesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssignPrivateIpAddressesResponse { @SerializedName("NetworkInterfaceId") private String networkInterfaceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcAttributesOutput.java index 8a8ada3f..fea034e6 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcAttributesOutput.java @@ -27,7 +27,7 @@ * AssociateCenForDescribeVpcAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateCenForDescribeVpcAttributesOutput { @SerializedName("CenId") private String cenId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcsOutput.java index 6ea5a2eb..797bb53e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateCenForDescribeVpcsOutput.java @@ -27,7 +27,7 @@ * AssociateCenForDescribeVpcsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateCenForDescribeVpcsOutput { @SerializedName("CenId") private String cenId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressRequest.java index a177352f..25e2c7ec 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressRequest.java @@ -27,7 +27,7 @@ * AssociateEipAddressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateEipAddressRequest { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressResponse.java index 05b8c985..5d5fb05d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateEipAddressResponse.java @@ -27,7 +27,7 @@ * AssociateEipAddressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateEipAddressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipRequest.java index f3ecd4ec..e96924a9 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipRequest.java @@ -27,7 +27,7 @@ * AssociateHaVipRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateHaVipRequest { @SerializedName("HaVipId") private String haVipId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipResponse.java index ec2e735f..97f99a46 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateHaVipResponse.java @@ -27,7 +27,7 @@ * AssociateHaVipResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateHaVipResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclRequest.java index 7b4ad726..71993235 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclRequest.java @@ -30,7 +30,7 @@ * AssociateNetworkAclRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateNetworkAclRequest { @SerializedName("NetworkAclId") private String networkAclId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclResponse.java index cbc7e775..3c98f3aa 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateNetworkAclResponse.java @@ -27,7 +27,7 @@ * AssociateNetworkAclResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateNetworkAclResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableRequest.java index d314bbf6..bf3a74b3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableRequest.java @@ -27,7 +27,7 @@ * AssociateRouteTableRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateRouteTableRequest { @SerializedName("RouteTableId") private String routeTableId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableResponse.java index f303f5ef..66eb4786 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociateRouteTableResponse.java @@ -27,7 +27,7 @@ * AssociateRouteTableResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociateRouteTableResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfaceAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfaceAttributesOutput.java index e7f53fdd..b2ee1343 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfaceAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfaceAttributesOutput.java @@ -27,7 +27,7 @@ * AssociatedElasticIpForDescribeNetworkInterfaceAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociatedElasticIpForDescribeNetworkInterfaceAttributesOutput { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfacesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfacesOutput.java index 30c87270..38dbc3ac 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfacesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AssociatedElasticIpForDescribeNetworkInterfacesOutput.java @@ -27,7 +27,7 @@ * AssociatedElasticIpForDescribeNetworkInterfacesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AssociatedElasticIpForDescribeNetworkInterfacesOutput { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceRequest.java index cd7c0935..23258096 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceRequest.java @@ -27,7 +27,7 @@ * AttachNetworkInterfaceRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AttachNetworkInterfaceRequest { @SerializedName("InstanceId") private String instanceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceResponse.java index 4d4468aa..daee041d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AttachNetworkInterfaceResponse.java @@ -27,7 +27,7 @@ * AttachNetworkInterfaceResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AttachNetworkInterfaceResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressRequest.java index 54f5400b..322fb9cf 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressRequest.java @@ -27,7 +27,7 @@ * AuthorizeSecurityGroupEgressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AuthorizeSecurityGroupEgressRequest { @SerializedName("CidrIp") private String cidrIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressResponse.java index 6d501521..673eb63f 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupEgressResponse.java @@ -27,7 +27,7 @@ * AuthorizeSecurityGroupEgressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AuthorizeSecurityGroupEgressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressRequest.java index b4e4f090..a85ae7ad 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressRequest.java @@ -27,7 +27,7 @@ * AuthorizeSecurityGroupIngressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AuthorizeSecurityGroupIngressRequest { @SerializedName("CidrIp") private String cidrIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressResponse.java index 4cc3c132..7990ae66 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/AuthorizeSecurityGroupIngressResponse.java @@ -27,7 +27,7 @@ * AuthorizeSecurityGroupIngressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class AuthorizeSecurityGroupIngressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipRequest.java index 5ccd32d5..2f3d7608 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipRequest.java @@ -27,7 +27,7 @@ * CreateHaVipRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateHaVipRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipResponse.java index c0bd2478..237a39d9 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateHaVipResponse.java @@ -27,7 +27,7 @@ * CreateHaVipResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateHaVipResponse { @SerializedName("HaVipId") private String haVipId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclRequest.java index be0f8213..de7b275f 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclRequest.java @@ -27,7 +27,7 @@ * CreateNetworkAclRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateNetworkAclRequest { @SerializedName("ClientToken") private String clientToken = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclResponse.java index 8e73ffbd..e2abf327 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkAclResponse.java @@ -27,7 +27,7 @@ * CreateNetworkAclResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateNetworkAclResponse { @SerializedName("NetworkAclId") private String networkAclId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceRequest.java index 9345b1b5..8dde10c3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceRequest.java @@ -30,7 +30,7 @@ * CreateNetworkInterfaceRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateNetworkInterfaceRequest { @SerializedName("ClientToken") private String clientToken = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceResponse.java index c81d0d83..45e52f67 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateNetworkInterfaceResponse.java @@ -27,7 +27,7 @@ * CreateNetworkInterfaceResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateNetworkInterfaceResponse { @SerializedName("NetworkInterfaceId") private String networkInterfaceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryRequest.java index e4198ec5..9a8e8a17 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryRequest.java @@ -27,7 +27,7 @@ * CreateRouteEntryRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateRouteEntryRequest { @SerializedName("ClientToken") private String clientToken = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryResponse.java index 072e82b2..22190101 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteEntryResponse.java @@ -27,7 +27,7 @@ * CreateRouteEntryResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateRouteEntryResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableRequest.java index e16f5355..04dc7a23 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableRequest.java @@ -27,7 +27,7 @@ * CreateRouteTableRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateRouteTableRequest { @SerializedName("ClientToken") private String clientToken = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableResponse.java index f3e3d0bb..5b49985e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateRouteTableResponse.java @@ -27,7 +27,7 @@ * CreateRouteTableResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateRouteTableResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupRequest.java index 5672e9ef..cd734bb1 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupRequest.java @@ -30,7 +30,7 @@ * CreateSecurityGroupRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateSecurityGroupRequest { @SerializedName("ClientToken") private String clientToken = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupResponse.java index 1dd93412..90b984b2 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSecurityGroupResponse.java @@ -27,7 +27,7 @@ * CreateSecurityGroupResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateSecurityGroupResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetRequest.java index 6c522bc2..e75d7fa2 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetRequest.java @@ -27,7 +27,7 @@ * CreateSubnetRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateSubnetRequest { @SerializedName("CidrBlock") private String cidrBlock = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetResponse.java index c3806e6f..efa1eca2 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateSubnetResponse.java @@ -27,7 +27,7 @@ * CreateSubnetResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateSubnetResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcRequest.java index 95c8b09b..d8a02d94 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcRequest.java @@ -30,7 +30,7 @@ * CreateVpcRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateVpcRequest { @SerializedName("CidrBlock") private String cidrBlock = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcResponse.java index f70ab5a2..32eb7a05 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/CreateVpcResponse.java @@ -27,7 +27,7 @@ * CreateVpcResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class CreateVpcResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipRequest.java index 27b3a5a5..c3e57f72 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipRequest.java @@ -27,7 +27,7 @@ * DeleteHaVipRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteHaVipRequest { @SerializedName("HaVipId") private String haVipId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipResponse.java index f9296bd6..4495bdf3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteHaVipResponse.java @@ -27,7 +27,7 @@ * DeleteHaVipResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteHaVipResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclRequest.java index 8b2f8c8e..a3aa817a 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclRequest.java @@ -27,7 +27,7 @@ * DeleteNetworkAclRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteNetworkAclRequest { @SerializedName("NetworkAclId") private String networkAclId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclResponse.java index 07e23b74..9ba05a7d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkAclResponse.java @@ -27,7 +27,7 @@ * DeleteNetworkAclResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteNetworkAclResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceRequest.java index 51b91ffd..aa6b3ab1 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceRequest.java @@ -27,7 +27,7 @@ * DeleteNetworkInterfaceRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteNetworkInterfaceRequest { @SerializedName("NetworkInterfaceId") private String networkInterfaceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceResponse.java index 1bd5eb9f..87e268db 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteNetworkInterfaceResponse.java @@ -27,7 +27,7 @@ * DeleteNetworkInterfaceResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteNetworkInterfaceResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryRequest.java index 461aed72..9dda84e6 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryRequest.java @@ -27,7 +27,7 @@ * DeleteRouteEntryRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteRouteEntryRequest { @SerializedName("RouteEntryId") private String routeEntryId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryResponse.java index 6cfbc50e..f8d8bf0d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteEntryResponse.java @@ -27,7 +27,7 @@ * DeleteRouteEntryResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteRouteEntryResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableRequest.java index ca83a859..09fd37dd 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableRequest.java @@ -27,7 +27,7 @@ * DeleteRouteTableRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteRouteTableRequest { @SerializedName("RouteTableId") private String routeTableId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableResponse.java index 6d9c9ef8..42b83eb2 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteRouteTableResponse.java @@ -27,7 +27,7 @@ * DeleteRouteTableResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteRouteTableResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupRequest.java index 2ae85dda..37cfba8e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupRequest.java @@ -27,7 +27,7 @@ * DeleteSecurityGroupRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteSecurityGroupRequest { @SerializedName("SecurityGroupId") private String securityGroupId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupResponse.java index 85f9f4a2..08b0b5ea 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSecurityGroupResponse.java @@ -27,7 +27,7 @@ * DeleteSecurityGroupResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteSecurityGroupResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetRequest.java index 17e0ee38..c11ee589 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetRequest.java @@ -27,7 +27,7 @@ * DeleteSubnetRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteSubnetRequest { @SerializedName("SubnetId") private String subnetId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetResponse.java index b9a4e0dc..1d26ec68 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteSubnetResponse.java @@ -27,7 +27,7 @@ * DeleteSubnetResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteSubnetResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcRequest.java index 451160ae..86b8c9db 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcRequest.java @@ -27,7 +27,7 @@ * DeleteVpcRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteVpcRequest { @SerializedName("VpcId") private String vpcId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcResponse.java index d70c3b77..2263579b 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DeleteVpcResponse.java @@ -27,7 +27,7 @@ * DeleteVpcResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DeleteVpcResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesRequest.java index 1f2ca2f9..452688a3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesRequest.java @@ -27,7 +27,7 @@ * DescribeEipAddressAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeEipAddressAttributesRequest { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesResponse.java index e9f39d6d..475aadfd 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressAttributesResponse.java @@ -29,7 +29,7 @@ * DescribeEipAddressAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeEipAddressAttributesResponse { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesRequest.java index 59581dfa..5abc4410 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesRequest.java @@ -19,6 +19,7 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; +import com.volcengine.vpc.model.TagFilterForDescribeEipAddressesInput; import io.swagger.v3.oas.annotations.media.Schema; import java.io.IOException; import java.util.ArrayList; @@ -29,7 +30,7 @@ * DescribeEipAddressesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeEipAddressesRequest { @SerializedName("AllocationIds") private List allocationIds = null; @@ -194,6 +195,9 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } @SerializedName("Status") private StatusEnum status = null; + @SerializedName("TagFilters") + private List tagFilters = null; + public DescribeEipAddressesRequest allocationIds(List allocationIds) { this.allocationIds = allocationIds; return this; @@ -411,6 +415,33 @@ public void setStatus(StatusEnum status) { this.status = status; } + public DescribeEipAddressesRequest tagFilters(List tagFilters) { + this.tagFilters = tagFilters; + return this; + } + + public DescribeEipAddressesRequest addTagFiltersItem(TagFilterForDescribeEipAddressesInput tagFiltersItem) { + if (this.tagFilters == null) { + this.tagFilters = new ArrayList(); + } + this.tagFilters.add(tagFiltersItem); + return this; + } + + /** + * Get tagFilters + * @return tagFilters + **/ + @Valid + @Schema(description = "") + public List getTagFilters() { + return tagFilters; + } + + public void setTagFilters(List tagFilters) { + this.tagFilters = tagFilters; + } + @Override public boolean equals(java.lang.Object o) { @@ -431,12 +462,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.pageNumber, describeEipAddressesRequest.pageNumber) && Objects.equals(this.pageSize, describeEipAddressesRequest.pageSize) && Objects.equals(this.securityProtectionEnabled, describeEipAddressesRequest.securityProtectionEnabled) && - Objects.equals(this.status, describeEipAddressesRequest.status); + Objects.equals(this.status, describeEipAddressesRequest.status) && + Objects.equals(this.tagFilters, describeEipAddressesRequest.tagFilters); } @Override public int hashCode() { - return Objects.hash(allocationIds, associatedInstanceId, associatedInstanceType, billingType, eipAddresses, ISP, name, pageNumber, pageSize, securityProtectionEnabled, status); + return Objects.hash(allocationIds, associatedInstanceId, associatedInstanceType, billingType, eipAddresses, ISP, name, pageNumber, pageSize, securityProtectionEnabled, status, tagFilters); } @@ -456,6 +488,7 @@ public String toString() { sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n"); sb.append(" securityProtectionEnabled: ").append(toIndentedString(securityProtectionEnabled)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" tagFilters: ").append(toIndentedString(tagFilters)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesResponse.java index c20334e6..e8f7e705 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeEipAddressesResponse.java @@ -30,7 +30,7 @@ * DescribeEipAddressesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeEipAddressesResponse { @SerializedName("EipAddresses") private List eipAddresses = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsRequest.java index 5a122099..867a1b6e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsRequest.java @@ -29,7 +29,7 @@ * DescribeHaVipsRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeHaVipsRequest { @SerializedName("HaVipIds") private List haVipIds = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsResponse.java index 41c895c7..90e03e8d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeHaVipsResponse.java @@ -30,7 +30,7 @@ * DescribeHaVipsResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeHaVipsResponse { @SerializedName("HaVips") private List haVips = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesRequest.java index a8ca83f7..d1e5d599 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesRequest.java @@ -27,7 +27,7 @@ * DescribeNetworkAclAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkAclAttributesRequest { @SerializedName("NetworkAclId") private String networkAclId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesResponse.java index 1329e20a..ca2c856b 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclAttributesResponse.java @@ -28,7 +28,7 @@ * DescribeNetworkAclAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkAclAttributesResponse { @SerializedName("NetworkAclAttribute") private NetworkAclAttributeForDescribeNetworkAclAttributesOutput networkAclAttribute = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsRequest.java index ba971bc0..83120439 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsRequest.java @@ -29,7 +29,7 @@ * DescribeNetworkAclsRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkAclsRequest { @SerializedName("NetworkAclIds") private List networkAclIds = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsResponse.java index cad35e8b..093b541e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkAclsResponse.java @@ -30,7 +30,7 @@ * DescribeNetworkAclsResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkAclsResponse { @SerializedName("NetworkAcls") private List networkAcls = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesRequest.java index 17daeb3c..a71217b2 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesRequest.java @@ -27,7 +27,7 @@ * DescribeNetworkInterfaceAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkInterfaceAttributesRequest { @SerializedName("NetworkInterfaceId") private String networkInterfaceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesResponse.java index 41aa909d..1cd79762 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfaceAttributesResponse.java @@ -32,7 +32,7 @@ * DescribeNetworkInterfaceAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkInterfaceAttributesResponse { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesRequest.java index a4f2cb86..c1c1958e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesRequest.java @@ -30,7 +30,7 @@ * DescribeNetworkInterfacesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkInterfacesRequest { @SerializedName("InstanceId") private String instanceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesResponse.java index 112c0854..422b1eb5 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeNetworkInterfacesResponse.java @@ -30,7 +30,7 @@ * DescribeNetworkInterfacesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeNetworkInterfacesResponse { @SerializedName("NetworkInterfaceSets") private List networkInterfaceSets = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListRequest.java index cad73fe7..3ef7ece3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListRequest.java @@ -27,7 +27,7 @@ * DescribeRouteEntryListRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeRouteEntryListRequest { @SerializedName("DestinationCidrBlock") private String destinationCidrBlock = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListResponse.java index 6dc996ec..db965dc1 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteEntryListResponse.java @@ -30,7 +30,7 @@ * DescribeRouteEntryListResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeRouteEntryListResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListRequest.java index 29bf67ef..73569d14 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListRequest.java @@ -27,7 +27,7 @@ * DescribeRouteTableListRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeRouteTableListRequest { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListResponse.java index ce6a42b9..b9ee4bf1 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeRouteTableListResponse.java @@ -30,7 +30,7 @@ * DescribeRouteTableListResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeRouteTableListResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesRequest.java index 94611088..b67b8009 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesRequest.java @@ -27,7 +27,7 @@ * DescribeSecurityGroupAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSecurityGroupAttributesRequest { @SerializedName("Direction") private String direction = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesResponse.java index 1839479b..749b019d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupAttributesResponse.java @@ -31,7 +31,7 @@ * DescribeSecurityGroupAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSecurityGroupAttributesResponse { @SerializedName("CreationTime") private String creationTime = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsRequest.java index 01a89f9c..102f93d7 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsRequest.java @@ -30,7 +30,7 @@ * DescribeSecurityGroupsRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSecurityGroupsRequest { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsResponse.java index 1f09dd73..c72c31f3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSecurityGroupsResponse.java @@ -30,7 +30,7 @@ * DescribeSecurityGroupsResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSecurityGroupsResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesRequest.java index f5169ef2..b8c56b50 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesRequest.java @@ -27,7 +27,7 @@ * DescribeSubnetAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSubnetAttributesRequest { @SerializedName("SubnetId") private String subnetId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesResponse.java index 041cddd3..77e35cf7 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetAttributesResponse.java @@ -28,7 +28,7 @@ * DescribeSubnetAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSubnetAttributesResponse { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsRequest.java index 6d81c64f..47436c63 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsRequest.java @@ -29,7 +29,7 @@ * DescribeSubnetsRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSubnetsRequest { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsResponse.java index 00fad24b..d015d1e1 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeSubnetsResponse.java @@ -30,7 +30,7 @@ * DescribeSubnetsResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeSubnetsResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesRequest.java index 598a9eb2..d88fc406 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesRequest.java @@ -27,7 +27,7 @@ * DescribeVpcAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeVpcAttributesRequest { @SerializedName("VpcId") private String vpcId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesResponse.java index d14f8ae8..443e4ffd 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcAttributesResponse.java @@ -31,7 +31,7 @@ * DescribeVpcAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeVpcAttributesResponse { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsRequest.java index ee230a3f..ff175e0c 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsRequest.java @@ -30,7 +30,7 @@ * DescribeVpcsRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeVpcsRequest { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsResponse.java index 11e39b53..6100ab2d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DescribeVpcsResponse.java @@ -30,7 +30,7 @@ * DescribeVpcsResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DescribeVpcsResponse { @SerializedName("PageNumber") private Integer pageNumber = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceRequest.java index 6b5d2f70..a7d50c89 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceRequest.java @@ -27,7 +27,7 @@ * DetachNetworkInterfaceRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DetachNetworkInterfaceRequest { @SerializedName("InstanceId") private String instanceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceResponse.java index 844715c6..e5945233 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DetachNetworkInterfaceResponse.java @@ -27,7 +27,7 @@ * DetachNetworkInterfaceResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DetachNetworkInterfaceResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressRequest.java index 4242630a..25dec4af 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressRequest.java @@ -27,7 +27,7 @@ * DisassociateEipAddressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateEipAddressRequest { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressResponse.java index 6980c0bd..9177b2b9 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateEipAddressResponse.java @@ -27,7 +27,7 @@ * DisassociateEipAddressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateEipAddressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipRequest.java index 97f1e0e0..a1f5f5c6 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipRequest.java @@ -27,7 +27,7 @@ * DisassociateHaVipRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateHaVipRequest { @SerializedName("HaVipId") private String haVipId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipResponse.java index abc2a46d..e7e9a3ec 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateHaVipResponse.java @@ -27,7 +27,7 @@ * DisassociateHaVipResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateHaVipResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclRequest.java index 582f5158..cbbeda9c 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclRequest.java @@ -30,7 +30,7 @@ * DisassociateNetworkAclRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateNetworkAclRequest { @SerializedName("NetworkAclId") private String networkAclId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclResponse.java index 69ea944b..a5a9f40e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateNetworkAclResponse.java @@ -27,7 +27,7 @@ * DisassociateNetworkAclResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateNetworkAclResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableRequest.java index f5b84894..304e29de 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableRequest.java @@ -27,7 +27,7 @@ * DisassociateRouteTableRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateRouteTableRequest { @SerializedName("RouteTableId") private String routeTableId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableResponse.java index 2a0bd554..ae14720c 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/DisassociateRouteTableResponse.java @@ -27,7 +27,7 @@ * DisassociateRouteTableResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class DisassociateRouteTableResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclAttributesOutput.java index ed6d6985..15c360d7 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclAttributesOutput.java @@ -27,7 +27,7 @@ * EgressAclEntryForDescribeNetworkAclAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class EgressAclEntryForDescribeNetworkAclAttributesOutput { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclsOutput.java index 56138922..559ac771 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForDescribeNetworkAclsOutput.java @@ -27,7 +27,7 @@ * EgressAclEntryForDescribeNetworkAclsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class EgressAclEntryForDescribeNetworkAclsOutput { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForUpdateNetworkAclEntriesInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForUpdateNetworkAclEntriesInput.java index e2236eb2..2fa99f6b 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForUpdateNetworkAclEntriesInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EgressAclEntryForUpdateNetworkAclEntriesInput.java @@ -27,7 +27,7 @@ * EgressAclEntryForUpdateNetworkAclEntriesInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class EgressAclEntryForUpdateNetworkAclEntriesInput { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EipAddressForDescribeEipAddressesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EipAddressForDescribeEipAddressesOutput.java index a37fac2b..b20ab0f3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EipAddressForDescribeEipAddressesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/EipAddressForDescribeEipAddressesOutput.java @@ -29,7 +29,7 @@ * EipAddressForDescribeEipAddressesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class EipAddressForDescribeEipAddressesOutput { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/HaVipForDescribeHaVipsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/HaVipForDescribeHaVipsOutput.java index 46cd5b7a..c1067d3b 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/HaVipForDescribeHaVipsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/HaVipForDescribeHaVipsOutput.java @@ -29,7 +29,7 @@ * HaVipForDescribeHaVipsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class HaVipForDescribeHaVipsOutput { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclAttributesOutput.java index 88d269e3..98f5dbfb 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclAttributesOutput.java @@ -27,7 +27,7 @@ * IngressAclEntryForDescribeNetworkAclAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class IngressAclEntryForDescribeNetworkAclAttributesOutput { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclsOutput.java index f835bddf..fb1d8c18 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForDescribeNetworkAclsOutput.java @@ -27,7 +27,7 @@ * IngressAclEntryForDescribeNetworkAclsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class IngressAclEntryForDescribeNetworkAclsOutput { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForUpdateNetworkAclEntriesInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForUpdateNetworkAclEntriesInput.java index e092176e..8036a480 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForUpdateNetworkAclEntriesInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/IngressAclEntryForUpdateNetworkAclEntriesInput.java @@ -27,7 +27,7 @@ * IngressAclEntryForUpdateNetworkAclEntriesInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class IngressAclEntryForUpdateNetworkAclEntriesInput { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesRequest.java index e5be92b4..1270d0ad 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesRequest.java @@ -30,7 +30,7 @@ * ListTagsForResourcesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ListTagsForResourcesRequest { @SerializedName("MaxResults") private Integer maxResults = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesResponse.java index 4e06e07e..a7f6909f 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ListTagsForResourcesResponse.java @@ -30,7 +30,7 @@ * ListTagsForResourcesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ListTagsForResourcesResponse { @SerializedName("NextToken") private String nextToken = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesRequest.java index 008663e2..350d6f53 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesRequest.java @@ -27,7 +27,7 @@ * ModifyEipAddressAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyEipAddressAttributesRequest { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesResponse.java index 39d2fce7..fb4dc54b 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyEipAddressAttributesResponse.java @@ -27,7 +27,7 @@ * ModifyEipAddressAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyEipAddressAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesRequest.java index e4c47bf1..1e5087df 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesRequest.java @@ -27,7 +27,7 @@ * ModifyHaVipAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyHaVipAttributesRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesResponse.java index 41d0b53c..254d19c0 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyHaVipAttributesResponse.java @@ -27,7 +27,7 @@ * ModifyHaVipAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyHaVipAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesRequest.java index be227497..d9109c22 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesRequest.java @@ -27,7 +27,7 @@ * ModifyNetworkAclAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyNetworkAclAttributesRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesResponse.java index 0f4ec03e..dbdf2f38 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkAclAttributesResponse.java @@ -27,7 +27,7 @@ * ModifyNetworkAclAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyNetworkAclAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesRequest.java index 8d1afd5c..ac381e1f 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesRequest.java @@ -29,7 +29,7 @@ * ModifyNetworkInterfaceAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyNetworkInterfaceAttributesRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesResponse.java index 8c106bba..f29b6ce1 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyNetworkInterfaceAttributesResponse.java @@ -27,7 +27,7 @@ * ModifyNetworkInterfaceAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyNetworkInterfaceAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryRequest.java index 9bc2a380..3c4edafa 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryRequest.java @@ -27,7 +27,7 @@ * ModifyRouteEntryRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyRouteEntryRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryResponse.java index 13eb65c1..e488cd98 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteEntryResponse.java @@ -27,7 +27,7 @@ * ModifyRouteEntryResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyRouteEntryResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesRequest.java index 51f645c0..527b9c3f 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesRequest.java @@ -27,7 +27,7 @@ * ModifyRouteTableAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyRouteTableAttributesRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesResponse.java index d4137b99..e3a40f2e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyRouteTableAttributesResponse.java @@ -27,7 +27,7 @@ * ModifyRouteTableAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyRouteTableAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesRequest.java index af2d0f82..5afa489e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesRequest.java @@ -27,7 +27,7 @@ * ModifySecurityGroupAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySecurityGroupAttributesRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesResponse.java index 4aa61fae..50258e60 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupAttributesResponse.java @@ -27,7 +27,7 @@ * ModifySecurityGroupAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySecurityGroupAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressRequest.java index e4123cdf..4793129c 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressRequest.java @@ -27,7 +27,7 @@ * ModifySecurityGroupRuleDescriptionsEgressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySecurityGroupRuleDescriptionsEgressRequest { @SerializedName("CidrIp") private String cidrIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressResponse.java index a918ce3f..98172035 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsEgressResponse.java @@ -27,7 +27,7 @@ * ModifySecurityGroupRuleDescriptionsEgressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySecurityGroupRuleDescriptionsEgressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressRequest.java index 34124f7d..2908172c 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressRequest.java @@ -27,7 +27,7 @@ * ModifySecurityGroupRuleDescriptionsIngressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySecurityGroupRuleDescriptionsIngressRequest { @SerializedName("CidrIp") private String cidrIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressResponse.java index c9b94166..e8e0b8f0 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySecurityGroupRuleDescriptionsIngressResponse.java @@ -27,7 +27,7 @@ * ModifySecurityGroupRuleDescriptionsIngressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySecurityGroupRuleDescriptionsIngressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesRequest.java index 25d7666f..371d767d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesRequest.java @@ -27,7 +27,7 @@ * ModifySubnetAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySubnetAttributesRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesResponse.java index c1066d83..ea8019ed 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifySubnetAttributesResponse.java @@ -27,7 +27,7 @@ * ModifySubnetAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifySubnetAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesRequest.java index 5e43de38..3b936906 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesRequest.java @@ -29,7 +29,7 @@ * ModifyVpcAttributesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyVpcAttributesRequest { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesResponse.java index bdae897f..c4fdb97e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ModifyVpcAttributesResponse.java @@ -27,7 +27,7 @@ * ModifyVpcAttributesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ModifyVpcAttributesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclAttributeForDescribeNetworkAclAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclAttributeForDescribeNetworkAclAttributesOutput.java index 00a30d8a..36b7fb8a 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclAttributeForDescribeNetworkAclAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclAttributeForDescribeNetworkAclAttributesOutput.java @@ -32,7 +32,7 @@ * NetworkAclAttributeForDescribeNetworkAclAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class NetworkAclAttributeForDescribeNetworkAclAttributesOutput { @SerializedName("CreationTime") private String creationTime = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclForDescribeNetworkAclsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclForDescribeNetworkAclsOutput.java index 4daa4ec0..6eec2094 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclForDescribeNetworkAclsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkAclForDescribeNetworkAclsOutput.java @@ -32,7 +32,7 @@ * NetworkAclForDescribeNetworkAclsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class NetworkAclForDescribeNetworkAclsOutput { @SerializedName("CreationTime") private String creationTime = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkInterfaceSetForDescribeNetworkInterfacesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkInterfaceSetForDescribeNetworkInterfacesOutput.java index f1ddbd01..979ae78b 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkInterfaceSetForDescribeNetworkInterfacesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/NetworkInterfaceSetForDescribeNetworkInterfacesOutput.java @@ -32,7 +32,7 @@ * NetworkInterfaceSetForDescribeNetworkInterfacesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class NetworkInterfaceSetForDescribeNetworkInterfacesOutput { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PermissionForDescribeSecurityGroupAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PermissionForDescribeSecurityGroupAttributesOutput.java index 942c7332..66831f17 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PermissionForDescribeSecurityGroupAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PermissionForDescribeSecurityGroupAttributesOutput.java @@ -27,7 +27,7 @@ * PermissionForDescribeSecurityGroupAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class PermissionForDescribeSecurityGroupAttributesOutput { @SerializedName("CidrIp") private String cidrIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfaceAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfaceAttributesOutput.java index 51ea7923..cd6b2190 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfaceAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfaceAttributesOutput.java @@ -28,7 +28,7 @@ * PrivateIpSetForDescribeNetworkInterfaceAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class PrivateIpSetForDescribeNetworkInterfaceAttributesOutput { @SerializedName("AssociatedElasticIp") private AssociatedElasticIpForDescribeNetworkInterfaceAttributesOutput associatedElasticIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfacesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfacesOutput.java index 41d82d53..673c0239 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfacesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetForDescribeNetworkInterfacesOutput.java @@ -28,7 +28,7 @@ * PrivateIpSetForDescribeNetworkInterfacesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class PrivateIpSetForDescribeNetworkInterfacesOutput { @SerializedName("AssociatedElasticIp") private AssociatedElasticIpForDescribeNetworkInterfacesOutput associatedElasticIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfaceAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfaceAttributesOutput.java index 2561a6f0..a09d0c16 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfaceAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfaceAttributesOutput.java @@ -30,7 +30,7 @@ * PrivateIpSetsForDescribeNetworkInterfaceAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class PrivateIpSetsForDescribeNetworkInterfaceAttributesOutput { @SerializedName("PrivateIpSet") private List privateIpSet = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfacesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfacesOutput.java index 0836d0f2..22b45a91 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfacesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/PrivateIpSetsForDescribeNetworkInterfacesOutput.java @@ -30,7 +30,7 @@ * PrivateIpSetsForDescribeNetworkInterfacesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class PrivateIpSetsForDescribeNetworkInterfacesOutput { @SerializedName("PrivateIpSet") private List privateIpSet = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressRequest.java index 3cc2bee5..1bfb420a 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressRequest.java @@ -27,7 +27,7 @@ * ReleaseEipAddressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ReleaseEipAddressRequest { @SerializedName("AllocationId") private String allocationId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressResponse.java index f37d6d79..aae4f942 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ReleaseEipAddressResponse.java @@ -27,7 +27,7 @@ * ReleaseEipAddressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ReleaseEipAddressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForAssociateNetworkAclInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForAssociateNetworkAclInput.java index a60950c4..905a019d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForAssociateNetworkAclInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForAssociateNetworkAclInput.java @@ -27,7 +27,7 @@ * ResourceForAssociateNetworkAclInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ResourceForAssociateNetworkAclInput { @SerializedName("ResourceId") private String resourceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclAttributesOutput.java index 2752e3ef..8f5335be 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclAttributesOutput.java @@ -27,7 +27,7 @@ * ResourceForDescribeNetworkAclAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ResourceForDescribeNetworkAclAttributesOutput { @SerializedName("ResourceId") private String resourceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclsOutput.java index 15dd61c8..ceadb6a3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDescribeNetworkAclsOutput.java @@ -27,7 +27,7 @@ * ResourceForDescribeNetworkAclsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ResourceForDescribeNetworkAclsOutput { @SerializedName("ResourceId") private String resourceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDisassociateNetworkAclInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDisassociateNetworkAclInput.java index e1826ec2..07fce017 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDisassociateNetworkAclInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceForDisassociateNetworkAclInput.java @@ -27,7 +27,7 @@ * ResourceForDisassociateNetworkAclInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ResourceForDisassociateNetworkAclInput { @SerializedName("ResourceId") private String resourceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceTagForListTagsForResourcesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceTagForListTagsForResourcesOutput.java index c683875d..4138acc3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceTagForListTagsForResourcesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/ResourceTagForListTagsForResourcesOutput.java @@ -27,7 +27,7 @@ * ResourceTagForListTagsForResourcesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class ResourceTagForListTagsForResourcesOutput { @SerializedName("ResourceId") private String resourceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressRequest.java index a71eb566..e7ae893d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressRequest.java @@ -27,7 +27,7 @@ * RevokeSecurityGroupEgressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RevokeSecurityGroupEgressRequest { @SerializedName("CidrIp") private String cidrIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressResponse.java index 7898f961..a9005de9 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupEgressResponse.java @@ -27,7 +27,7 @@ * RevokeSecurityGroupEgressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RevokeSecurityGroupEgressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressRequest.java index d597c519..e5c23545 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressRequest.java @@ -27,7 +27,7 @@ * RevokeSecurityGroupIngressRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RevokeSecurityGroupIngressRequest { @SerializedName("CidrIp") private String cidrIp = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressResponse.java index c6e94262..c14ac586 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RevokeSecurityGroupIngressResponse.java @@ -27,7 +27,7 @@ * RevokeSecurityGroupIngressResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RevokeSecurityGroupIngressResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteEntryForDescribeRouteEntryListOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteEntryForDescribeRouteEntryListOutput.java index 72879be2..72b599f1 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteEntryForDescribeRouteEntryListOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteEntryForDescribeRouteEntryListOutput.java @@ -27,7 +27,7 @@ * RouteEntryForDescribeRouteEntryListOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RouteEntryForDescribeRouteEntryListOutput { @SerializedName("Description") private String description = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetAttributesOutput.java index 5c07ae96..b1a5058d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetAttributesOutput.java @@ -27,7 +27,7 @@ * RouteTableForDescribeSubnetAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RouteTableForDescribeSubnetAttributesOutput { @SerializedName("RouteTableId") private String routeTableId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetsOutput.java index 38fb7ff0..fb6cbdc3 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouteTableForDescribeSubnetsOutput.java @@ -27,7 +27,7 @@ * RouteTableForDescribeSubnetsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RouteTableForDescribeSubnetsOutput { @SerializedName("RouteTableId") private String routeTableId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouterTableListForDescribeRouteTableListOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouterTableListForDescribeRouteTableListOutput.java index 320e46d5..7d0e58e6 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouterTableListForDescribeRouteTableListOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/RouterTableListForDescribeRouteTableListOutput.java @@ -29,7 +29,7 @@ * RouterTableListForDescribeRouteTableListOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class RouterTableListForDescribeRouteTableListOutput { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SecurityGroupForDescribeSecurityGroupsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SecurityGroupForDescribeSecurityGroupsOutput.java index 8da9350b..217b5c07 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SecurityGroupForDescribeSecurityGroupsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SecurityGroupForDescribeSecurityGroupsOutput.java @@ -30,7 +30,7 @@ * SecurityGroupForDescribeSecurityGroupsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class SecurityGroupForDescribeSecurityGroupsOutput { @SerializedName("CreationTime") private String creationTime = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SubnetForDescribeSubnetsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SubnetForDescribeSubnetsOutput.java index 4da16bfe..60218a2c 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SubnetForDescribeSubnetsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/SubnetForDescribeSubnetsOutput.java @@ -28,7 +28,7 @@ * SubnetForDescribeSubnetsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class SubnetForDescribeSubnetsOutput { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeEipAddressesInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeEipAddressesInput.java new file mode 100644 index 00000000..9101aebf --- /dev/null +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeEipAddressesInput.java @@ -0,0 +1,126 @@ +/* + * vpc + * 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.vpc.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; +/** + * TagFilterForDescribeEipAddressesInput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") +public class TagFilterForDescribeEipAddressesInput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Values") + private List values = null; + + public TagFilterForDescribeEipAddressesInput 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 TagFilterForDescribeEipAddressesInput values(List values) { + this.values = values; + return this; + } + + public TagFilterForDescribeEipAddressesInput addValuesItem(String valuesItem) { + if (this.values == null) { + this.values = new ArrayList(); + } + this.values.add(valuesItem); + return this; + } + + /** + * Get values + * @return values + **/ + @Schema(description = "") + public List getValues() { + return values; + } + + public void setValues(List values) { + this.values = values; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TagFilterForDescribeEipAddressesInput tagFilterForDescribeEipAddressesInput = (TagFilterForDescribeEipAddressesInput) o; + return Objects.equals(this.key, tagFilterForDescribeEipAddressesInput.key) && + Objects.equals(this.values, tagFilterForDescribeEipAddressesInput.values); + } + + @Override + public int hashCode() { + return Objects.hash(key, values); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagFilterForDescribeEipAddressesInput {\n"); + + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" values: ").append(toIndentedString(values)).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-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeNetworkInterfacesInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeNetworkInterfacesInput.java index 49674d36..f1546552 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeNetworkInterfacesInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeNetworkInterfacesInput.java @@ -29,7 +29,7 @@ * TagFilterForDescribeNetworkInterfacesInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagFilterForDescribeNetworkInterfacesInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeSecurityGroupsInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeSecurityGroupsInput.java index e89eead3..87dafc3f 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeSecurityGroupsInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeSecurityGroupsInput.java @@ -29,7 +29,7 @@ * TagFilterForDescribeSecurityGroupsInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagFilterForDescribeSecurityGroupsInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeVpcsInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeVpcsInput.java index 17a4f52a..9fc221b8 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeVpcsInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForDescribeVpcsInput.java @@ -29,7 +29,7 @@ * TagFilterForDescribeVpcsInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagFilterForDescribeVpcsInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForListTagsForResourcesInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForListTagsForResourcesInput.java index cfff7acf..47ccb2c0 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForListTagsForResourcesInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagFilterForListTagsForResourcesInput.java @@ -29,7 +29,7 @@ * TagFilterForListTagsForResourcesInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagFilterForListTagsForResourcesInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForAllocateEipAddressInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForAllocateEipAddressInput.java new file mode 100644 index 00000000..553556f0 --- /dev/null +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForAllocateEipAddressInput.java @@ -0,0 +1,116 @@ +/* + * vpc + * 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.vpc.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; +/** + * TagForAllocateEipAddressInput + */ + +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") +public class TagForAllocateEipAddressInput { + @SerializedName("Key") + private String key = null; + + @SerializedName("Value") + private String value = null; + + public TagForAllocateEipAddressInput 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 TagForAllocateEipAddressInput 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; + } + TagForAllocateEipAddressInput tagForAllocateEipAddressInput = (TagForAllocateEipAddressInput) o; + return Objects.equals(this.key, tagForAllocateEipAddressInput.key) && + Objects.equals(this.value, tagForAllocateEipAddressInput.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TagForAllocateEipAddressInput {\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-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateNetworkInterfaceInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateNetworkInterfaceInput.java index d05d5127..c0553967 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateNetworkInterfaceInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateNetworkInterfaceInput.java @@ -27,7 +27,7 @@ * TagForCreateNetworkInterfaceInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForCreateNetworkInterfaceInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateSecurityGroupInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateSecurityGroupInput.java index f0e017d5..2e50086e 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateSecurityGroupInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateSecurityGroupInput.java @@ -27,7 +27,7 @@ * TagForCreateSecurityGroupInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForCreateSecurityGroupInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateVpcInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateVpcInput.java index 7e3478eb..660d0cd6 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateVpcInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForCreateVpcInput.java @@ -27,7 +27,7 @@ * TagForCreateVpcInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForCreateVpcInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfaceAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfaceAttributesOutput.java index 79cff6ca..fa8ee122 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfaceAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfaceAttributesOutput.java @@ -27,7 +27,7 @@ * TagForDescribeNetworkInterfaceAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForDescribeNetworkInterfaceAttributesOutput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfacesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfacesOutput.java index a0ae047a..cee51ca8 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfacesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeNetworkInterfacesOutput.java @@ -27,7 +27,7 @@ * TagForDescribeNetworkInterfacesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForDescribeNetworkInterfacesOutput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupAttributesOutput.java index 36c063a0..6bce1671 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupAttributesOutput.java @@ -27,7 +27,7 @@ * TagForDescribeSecurityGroupAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForDescribeSecurityGroupAttributesOutput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupsOutput.java index 2c52944f..ac993394 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeSecurityGroupsOutput.java @@ -27,7 +27,7 @@ * TagForDescribeSecurityGroupsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForDescribeSecurityGroupsOutput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcAttributesOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcAttributesOutput.java index d088a760..955df374 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcAttributesOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcAttributesOutput.java @@ -27,7 +27,7 @@ * TagForDescribeVpcAttributesOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForDescribeVpcAttributesOutput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcsOutput.java index 5012955d..764fbe33 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForDescribeVpcsOutput.java @@ -27,7 +27,7 @@ * TagForDescribeVpcsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForDescribeVpcsOutput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForTagResourcesInput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForTagResourcesInput.java index 81967181..be2a42d0 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForTagResourcesInput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagForTagResourcesInput.java @@ -27,7 +27,7 @@ * TagForTagResourcesInput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagForTagResourcesInput { @SerializedName("Key") private String key = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesRequest.java index c9f4165d..462027ae 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesRequest.java @@ -30,7 +30,7 @@ * TagResourcesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagResourcesRequest { @SerializedName("ResourceIds") private List resourceIds = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesResponse.java index 95cb5797..dcf983f9 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/TagResourcesResponse.java @@ -27,7 +27,7 @@ * TagResourcesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class TagResourcesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesRequest.java index 795021aa..efe423ca 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesRequest.java @@ -29,7 +29,7 @@ * UnassignPrivateIpAddressesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class UnassignPrivateIpAddressesRequest { @SerializedName("NetworkInterfaceId") private String networkInterfaceId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesResponse.java index a8334f2d..ac542414 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UnassignPrivateIpAddressesResponse.java @@ -27,7 +27,7 @@ * UnassignPrivateIpAddressesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class UnassignPrivateIpAddressesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesRequest.java index 1562c2fa..f2ce4c42 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesRequest.java @@ -29,7 +29,7 @@ * UntagResourcesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class UntagResourcesRequest { @SerializedName("ResourceIds") private List resourceIds = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesResponse.java index 59e6a181..ca03483d 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UntagResourcesResponse.java @@ -27,7 +27,7 @@ * UntagResourcesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class UntagResourcesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesRequest.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesRequest.java index 2d09afcd..1ea56291 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesRequest.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesRequest.java @@ -31,7 +31,7 @@ * UpdateNetworkAclEntriesRequest */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class UpdateNetworkAclEntriesRequest { @SerializedName("ClientToken") private String clientToken = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesResponse.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesResponse.java index 307d0c2b..dd6de407 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesResponse.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/UpdateNetworkAclEntriesResponse.java @@ -27,7 +27,7 @@ * UpdateNetworkAclEntriesResponse */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class UpdateNetworkAclEntriesResponse { @SerializedName("RequestId") private String requestId = null; diff --git a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/VpcForDescribeVpcsOutput.java b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/VpcForDescribeVpcsOutput.java index aa7664d7..6c326e7f 100644 --- a/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/VpcForDescribeVpcsOutput.java +++ b/volcengine-java-sdk-vpc/src/main/java/com/volcengine/vpc/model/VpcForDescribeVpcsOutput.java @@ -31,7 +31,7 @@ * VpcForDescribeVpcsOutput */ -@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-09-22T20:23:39.157783+08:00[Asia/Shanghai]") +@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-10-10T12:08:25.743848+08:00[Asia/Shanghai]") public class VpcForDescribeVpcsOutput { @SerializedName("AccountId") private String accountId = null; diff --git a/volcengine-java-sdk-vpn/pom.xml b/volcengine-java-sdk-vpn/pom.xml index ac3ba001..863b1ea7 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.14 + 0.1.15 ../pom.xml 4.0.0