From 3387f76fe09b3ad8ce49c7d652a2a19031fa9f87 Mon Sep 17 00:00:00 2001 From: ucloud-bot Date: Tue, 14 Apr 2026 09:24:28 +0000 Subject: [PATCH] sdk: rolling update for 1.2.59-release --- VERSION | 2 +- examples/generic/pom.xml | 4 +- examples/uhost/pom.xml | 4 +- pom.xml | 2 +- ucloud-sdk-java-cloudwatch/pom.xml | 6 +- ucloud-sdk-java-common/pom.xml | 4 +- ucloud-sdk-java-cube/pom.xml | 6 +- ucloud-sdk-java-ipsecvpn/pom.xml | 6 +- ucloud-sdk-java-label/pom.xml | 6 +- ucloud-sdk-java-nlb/pom.xml | 6 +- ucloud-sdk-java-pathx/pom.xml | 6 +- ucloud-sdk-java-sts/pom.xml | 6 +- ucloud-sdk-java-uaccount/pom.xml | 6 +- ucloud-sdk-java-uai_modelverse/pom.xml | 6 +- ucloud-sdk-java-ubill/pom.xml | 6 +- ucloud-sdk-java-ucdn/pom.xml | 6 +- ucloud-sdk-java-ucompshare/pom.xml | 6 +- .../ucompshare/client/UCompShareClient.java | 828 +++++++++++++++--- .../client/UCompShareClientInterface.java | 577 ++++++++++-- ...t.java => AttachCompshareDiskRequest.java} | 68 +- .../models/AttachCompshareDiskResponse.java | 20 + ...wordRequest.java => AttachUS3Request.java} | 42 +- .../ucompshare/models/AttachUS3Response.java | 20 + ...=> CheckCompShareNetOptimizerRequest.java} | 28 +- ...> CheckCompShareNetOptimizerResponse.java} | 16 +- .../CopyCompShareCustomImageRequest.java | 87 ++ .../CopyCompShareCustomImageResponse.java | 34 + .../CreateCompShareCustomImageRequest.java | 165 ++++ ...> CreateCompShareCustomImageResponse.java} | 16 +- .../CreateCompShareInstanceRequest.java | 15 +- .../CreateCompShareTeamRelationRequest.java | 115 +++ .../CreateCompShareTeamRelationResponse.java | 37 + .../models/CreateCompShareTeamRequest.java | 86 ++ .../models/CreateCompShareTeamResponse.java | 20 + .../models/CreateULHostInstanceRequest.java | 179 ---- .../DeleteCompShareStopSchedulerRequest.java | 75 ++ .../DeleteCompShareStopSchedulerResponse.java | 20 + .../models/DeleteCompShareTeamRequest.java | 74 ++ .../models/DeleteCompShareTeamResponse.java | 20 + .../models/DeleteCompshareDiskRequest.java | 114 +++ ....java => DeleteCompshareDiskResponse.java} | 16 +- ...vailableCompShareInstanceTypesRequest.java | 70 ++ ...ailableCompShareInstanceTypesResponse.java | 586 +++++++++++++ .../DescribeCompShareGpuInventoryRequest.java | 47 + ...DescribeCompShareGpuInventoryResponse.java | 62 ++ ...beCompShareImageShareAccountsRequest.java} | 16 +- ...beCompShareImageShareAccountsResponse.java | 62 ++ ...=> DescribeCompShareImageTagsRequest.java} | 29 +- ...> DescribeCompShareImageTagsResponse.java} | 19 +- .../DescribeCompShareInstanceResponse.java | 24 + ...beCompShareMachineTypeFamiliesRequest.java | 35 + ...eCompShareMachineTypeFamiliesResponse.java | 35 + ...escribeCompShareSharingImagesRequest.java} | 31 +- ...escribeCompShareSharingImagesResponse.java | 488 +++++++++++ ...DescribeCompShareSoftwarePortRequest.java} | 2 +- ...DescribeCompShareSoftwarePortResponse.java | 62 ++ .../DescribeCompShareSupportZoneRequest.java | 35 + .../DescribeCompShareSupportZoneResponse.java | 98 +++ .../DescribeModelRepositoryModelsRequest.java | 72 ++ ...DescribeModelRepositoryModelsResponse.java | 98 +++ .../DescribeModelRepositoryTagsRequest.java | 48 + ... DescribeModelRepositoryTagsResponse.java} | 19 +- .../DescribeSelfCommunityImagesRequest.java | 87 ++ .../DescribeSelfCommunityImagesResponse.java | 623 +++++++++++++ .../DescribeTeamMemberOrderCountRequest.java | 134 +++ .../DescribeTeamMemberOrderCountResponse.java | 82 ++ .../DescribeTeamMemberOrderRequest.java | 207 +++++ .../DescribeTeamMemberOrderResponse.java | 416 +++++++++ ...ribeTeamMemberUnpaidOrderCountRequest.java | 171 ++++ ...ibeTeamMemberUnpaidOrderCountResponse.java | 46 + .../DescribeTeamMemberUnpaidOrderRequest.java | 207 +++++ ...DescribeTeamMemberUnpaidOrderResponse.java | 317 +++++++ .../models/DescribeULHostBundlesResponse.java | 110 --- .../DescribeULHostInstanceResponse.java | 566 ------------ .../DescribeUserCommunityImagesRequest.java | 213 +++++ .../DescribeUserCommunityImagesResponse.java | 623 +++++++++++++ .../models/DetachCompshareDiskRequest.java | 87 ++ .../models/DetachCompshareDiskResponse.java | 20 + .../models/DownloadTeamOrderRequest.java | 84 ++ .../models/DownloadTeamOrderResponse.java | 190 ++++ ...pShareAttachedDiskUpgradePriceRequest.java | 102 +++ ...ShareAttachedDiskUpgradePriceResponse.java | 121 +++ ...tCompShareImageCreateProgressRequest.java} | 41 +- ...tCompShareImageCreateProgressResponse.java | 58 ++ .../GetCompShareInstanceMonitorRequest.java | 77 ++ .../GetCompShareInstanceMonitorResponse.java | 20 + .../GetCompShareInstancePriceRequest.java | 190 ++++ .../GetCompShareInstancePriceResponse.java | 146 +++ ...tCompShareInstanceUpgradePriceRequest.java | 124 +++ ...ompShareInstanceUpgradePriceResponse.java} | 42 +- .../GetCompShareInstanceUserPriceRequest.java | 190 ++++ ...GetCompShareInstanceUserPriceResponse.java | 146 +++ .../GetCompShareRefundPriceRequest.java | 77 ++ .../GetCompShareRefundPriceResponse.java | 86 ++ .../models/GetCompShareTeamInfoRequest.java | 74 ++ .../models/GetCompShareTeamInfoResponse.java | 221 +++++ .../models/GetOpenClawModelListRequest.java | 36 + .../models/GetOpenClawModelListResponse.java | 61 ++ .../models/GetSoftwareURLRequest.java | 89 ++ ...ponse.java => GetSoftwareURLResponse.java} | 16 +- .../GetULHostInstancePriceResponse.java | 74 -- .../models/GetULHostRenewPriceResponse.java | 74 -- .../ListCompShareTeamInviteRequest.java | 72 ++ .../ListCompShareTeamInviteResponse.java | 122 +++ .../ListCompShareTeamJoinedRequest.java | 72 ++ .../ListCompShareTeamJoinedResponse.java | 134 +++ .../ListCompShareTeamOperateLogRequest.java | 122 +++ .../ListCompShareTeamOperateLogResponse.java | 122 +++ ...est.java => ListCompShareTeamRequest.java} | 29 +- .../models/ListCompShareTeamResponse.java | 98 +++ .../models/ListMemberProductTypeRequest.java | 86 ++ .../models/ListMemberProductTypeResponse.java | 35 + ...difyCompShareImageShareAccountRequest.java | 88 ++ ...ifyCompShareImageShareAccountResponse.java | 35 + ...> ModifyCompShareInstanceNameRequest.java} | 44 +- ... ModifyCompShareInstanceNameResponse.java} | 14 +- .../models/PublishCompShareImageRequest.java | 225 +++++ .../models/PublishCompShareImageResponse.java | 20 + .../models/ResizeCompShareDiskRequest.java | 89 ++ ....java => ResizeCompShareDiskResponse.java} | 16 +- .../ResizeCompShareInstanceRequest.java | 136 +++ .../ResizeCompShareInstanceResponse.java | 34 + .../SetCompShareTeamRelationRequest.java | 111 +++ .../SetCompShareTeamRelationResponse.java | 20 + ...TerminateCompShareCustomImageRequest.java} | 41 +- ...TerminateCompShareCustomImageResponse.java | 20 + .../models/UpdateCompShareImageRequest.java | 161 ++++ .../models/UpdateCompShareImageResponse.java | 20 + ... UpdateCompShareStopSchedulerRequest.java} | 55 +- .../UpdateCompShareStopSchedulerResponse.java | 20 + .../models/UpdateCompShareTeamRequest.java | 84 ++ .../models/UpdateCompShareTeamResponse.java | 20 + ucloud-sdk-java-udb/pom.xml | 6 +- ucloud-sdk-java-udbproxy/pom.xml | 6 +- ucloud-sdk-java-udi/pom.xml | 6 +- ucloud-sdk-java-udisk/pom.xml | 6 +- ucloud-sdk-java-udns/pom.xml | 6 +- ucloud-sdk-java-udpn/pom.xml | 6 +- ucloud-sdk-java-uec/pom.xml | 6 +- ucloud-sdk-java-uewaf/pom.xml | 6 +- ucloud-sdk-java-ufile/pom.xml | 6 +- ucloud-sdk-java-ufs/pom.xml | 6 +- ucloud-sdk-java-uhost/pom.xml | 6 +- ucloud-sdk-java-uk8s/pom.xml | 6 +- ucloud-sdk-java-ulb/pom.xml | 6 +- ucloud-sdk-java-ulighthost/pom.xml | 6 +- ucloud-sdk-java-ulog/pom.xml | 6 +- ucloud-sdk-java-umem/pom.xml | 6 +- ucloud-sdk-java-umon/pom.xml | 6 +- ucloud-sdk-java-umongodb/pom.xml | 6 +- ucloud-sdk-java-unet/pom.xml | 6 +- ucloud-sdk-java-upfs/pom.xml | 6 +- ucloud-sdk-java-upgsql/pom.xml | 6 +- ucloud-sdk-java-uphone/pom.xml | 6 +- ucloud-sdk-java-uphost/pom.xml | 6 +- ucloud-sdk-java-uslk/pom.xml | 6 +- ucloud-sdk-java-usms/pom.xml | 6 +- ucloud-sdk-java-usnap/pom.xml | 6 +- ucloud-sdk-java-uvms/pom.xml | 6 +- ucloud-sdk-java-vpc/pom.xml | 6 +- 160 files changed, 11653 insertions(+), 1606 deletions(-) rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{GetULHostInstancePriceRequest.java => AttachCompshareDiskRequest.java} (55%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachCompshareDiskResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{ResetULHostInstancePasswordRequest.java => AttachUS3Request.java} (73%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachUS3Response.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{PoweroffULHostInstanceRequest.java => CheckCompShareNetOptimizerRequest.java} (82%) rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{ModifyULHostAttributeResponse.java => CheckCompShareNetOptimizerResponse.java} (71%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareCustomImageRequest.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{PoweroffULHostInstanceResponse.java => CreateCompShareCustomImageResponse.java} (68%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamResponse.java delete mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateULHostInstanceRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompshareDiskRequest.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{CreateULHostInstanceResponse.java => DeleteCompshareDiskResponse.java} (73%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{StartULHostInstanceRequest.java => DescribeCompShareImageShareAccountsRequest.java} (81%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageShareAccountsResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{RebootULHostInstanceRequest.java => DescribeCompShareImageTagsRequest.java} (80%) rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{RebootULHostInstanceResponse.java => DescribeCompShareImageTagsResponse.java} (69%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{DescribeULHostInstanceRequest.java => DescribeCompShareSharingImagesRequest.java} (76%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSharingImagesResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{DescribeULHostBundlesRequest.java => DescribeCompShareSoftwarePortRequest.java} (95%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSoftwarePortResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryTagsRequest.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{ResetULHostInstancePasswordResponse.java => DescribeModelRepositoryTagsResponse.java} (72%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderResponse.java delete mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostBundlesResponse.java delete mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostInstanceResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{GetULHostRenewPriceRequest.java => GetCompShareImageCreateProgressRequest.java} (71%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareImageCreateProgressResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUpgradePriceRequest.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{TerminateULHostInstanceResponse.java => GetCompShareInstanceUpgradePriceResponse.java} (50%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetSoftwareURLRequest.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{StopULHostInstanceResponse.java => GetSoftwareURLResponse.java} (72%) delete mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostInstancePriceResponse.java delete mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostRenewPriceResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{StopULHostInstanceRequest.java => ListCompShareTeamRequest.java} (80%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{ModifyULHostAttributeRequest.java => ModifyCompShareInstanceNameRequest.java} (74%) rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{ReinstallULHostInstanceResponse.java => ModifyCompShareInstanceNameResponse.java} (74%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareDiskRequest.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{StartULHostInstanceResponse.java => ResizeCompShareDiskResponse.java} (72%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{TerminateULHostInstanceRequest.java => TerminateCompShareCustomImageRequest.java} (71%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateCompShareCustomImageResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageResponse.java rename ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/{ReinstallULHostInstanceRequest.java => UpdateCompShareStopSchedulerRequest.java} (64%) create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareStopSchedulerResponse.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamRequest.java create mode 100644 ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamResponse.java diff --git a/VERSION b/VERSION index ce789e97..a03398a1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.58-release +1.2.59-release diff --git a/examples/generic/pom.xml b/examples/generic/pom.xml index 65bda19e..5ecfd497 100644 --- a/examples/generic/pom.xml +++ b/examples/generic/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 @@ -19,7 +19,7 @@ cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/examples/uhost/pom.xml b/examples/uhost/pom.xml index a53bf550..6ed49098 100644 --- a/examples/uhost/pom.xml +++ b/examples/uhost/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 @@ -19,7 +19,7 @@ cn.ucloud ucloud-sdk-java-uhost - 1.2.58-release + 1.2.59-release diff --git a/pom.xml b/pom.xml index d57ae75a..33ee533d 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ cn.ucloud ucloud-sdk-java pom - 1.2.58-release + 1.2.59-release ucloud-sdk-java-common ucloud-sdk-java-cloudwatch diff --git a/ucloud-sdk-java-cloudwatch/pom.xml b/ucloud-sdk-java-cloudwatch/pom.xml index 7e4e088f..19718862 100644 --- a/ucloud-sdk-java-cloudwatch/pom.xml +++ b/ucloud-sdk-java-cloudwatch/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-cloudwatch ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-common/pom.xml b/ucloud-sdk-java-common/pom.xml index d0c893d8..dfbea7e9 100644 --- a/ucloud-sdk-java-common/pom.xml +++ b/ucloud-sdk-java-common/pom.xml @@ -7,13 +7,13 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-common ucloud-sdk-java - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-cube/pom.xml b/ucloud-sdk-java-cube/pom.xml index d9bfe618..c5c1b340 100644 --- a/ucloud-sdk-java-cube/pom.xml +++ b/ucloud-sdk-java-cube/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-cube ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ipsecvpn/pom.xml b/ucloud-sdk-java-ipsecvpn/pom.xml index 2dded8e9..e00cfcbc 100644 --- a/ucloud-sdk-java-ipsecvpn/pom.xml +++ b/ucloud-sdk-java-ipsecvpn/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ipsecvpn ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-label/pom.xml b/ucloud-sdk-java-label/pom.xml index 758bc43d..1301ce10 100644 --- a/ucloud-sdk-java-label/pom.xml +++ b/ucloud-sdk-java-label/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-label ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-nlb/pom.xml b/ucloud-sdk-java-nlb/pom.xml index 4f8651a4..a538cd3c 100644 --- a/ucloud-sdk-java-nlb/pom.xml +++ b/ucloud-sdk-java-nlb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-nlb ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-pathx/pom.xml b/ucloud-sdk-java-pathx/pom.xml index debda529..dd80edb6 100644 --- a/ucloud-sdk-java-pathx/pom.xml +++ b/ucloud-sdk-java-pathx/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-pathx ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-sts/pom.xml b/ucloud-sdk-java-sts/pom.xml index 87661b5f..13369c6b 100644 --- a/ucloud-sdk-java-sts/pom.xml +++ b/ucloud-sdk-java-sts/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-sts ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uaccount/pom.xml b/ucloud-sdk-java-uaccount/pom.xml index ea4a072a..0642badb 100644 --- a/ucloud-sdk-java-uaccount/pom.xml +++ b/ucloud-sdk-java-uaccount/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uaccount ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uai_modelverse/pom.xml b/ucloud-sdk-java-uai_modelverse/pom.xml index 2a2754c4..efd76379 100644 --- a/ucloud-sdk-java-uai_modelverse/pom.xml +++ b/ucloud-sdk-java-uai_modelverse/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uai_modelverse ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ubill/pom.xml b/ucloud-sdk-java-ubill/pom.xml index c56a04dc..9e27ce4c 100644 --- a/ucloud-sdk-java-ubill/pom.xml +++ b/ucloud-sdk-java-ubill/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ubill ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ucdn/pom.xml b/ucloud-sdk-java-ucdn/pom.xml index 2cf0a74a..84397443 100644 --- a/ucloud-sdk-java-ucdn/pom.xml +++ b/ucloud-sdk-java-ucdn/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ucdn ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ucompshare/pom.xml b/ucloud-sdk-java-ucompshare/pom.xml index b970ed2a..cb5feb2c 100644 --- a/ucloud-sdk-java-ucompshare/pom.xml +++ b/ucloud-sdk-java-ucompshare/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ucompshare ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClient.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClient.java index e35363b0..bef33ac0 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClient.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClient.java @@ -17,54 +17,134 @@ import cn.ucloud.common.config.Config; import cn.ucloud.common.credential.Credential; import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.ucompshare.models.AttachCompshareDiskRequest; +import cn.ucloud.ucompshare.models.AttachCompshareDiskResponse; +import cn.ucloud.ucompshare.models.AttachUS3Request; +import cn.ucloud.ucompshare.models.AttachUS3Response; +import cn.ucloud.ucompshare.models.CheckCompShareNetOptimizerRequest; +import cn.ucloud.ucompshare.models.CheckCompShareNetOptimizerResponse; +import cn.ucloud.ucompshare.models.CopyCompShareCustomImageRequest; +import cn.ucloud.ucompshare.models.CopyCompShareCustomImageResponse; +import cn.ucloud.ucompshare.models.CreateCompShareCustomImageRequest; +import cn.ucloud.ucompshare.models.CreateCompShareCustomImageResponse; import cn.ucloud.ucompshare.models.CreateCompShareInstanceRequest; import cn.ucloud.ucompshare.models.CreateCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.CreateULHostInstanceRequest; -import cn.ucloud.ucompshare.models.CreateULHostInstanceResponse; +import cn.ucloud.ucompshare.models.CreateCompShareTeamRelationRequest; +import cn.ucloud.ucompshare.models.CreateCompShareTeamRelationResponse; +import cn.ucloud.ucompshare.models.CreateCompShareTeamRequest; +import cn.ucloud.ucompshare.models.CreateCompShareTeamResponse; +import cn.ucloud.ucompshare.models.DeleteCompShareStopSchedulerRequest; +import cn.ucloud.ucompshare.models.DeleteCompShareStopSchedulerResponse; +import cn.ucloud.ucompshare.models.DeleteCompShareTeamRequest; +import cn.ucloud.ucompshare.models.DeleteCompShareTeamResponse; +import cn.ucloud.ucompshare.models.DeleteCompshareDiskRequest; +import cn.ucloud.ucompshare.models.DeleteCompshareDiskResponse; +import cn.ucloud.ucompshare.models.DescribeAvailableCompShareInstanceTypesRequest; +import cn.ucloud.ucompshare.models.DescribeAvailableCompShareInstanceTypesResponse; import cn.ucloud.ucompshare.models.DescribeCommunityImagesRequest; import cn.ucloud.ucompshare.models.DescribeCommunityImagesResponse; import cn.ucloud.ucompshare.models.DescribeCompShareCustomImagesRequest; import cn.ucloud.ucompshare.models.DescribeCompShareCustomImagesResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareGpuInventoryRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareGpuInventoryResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareImageShareAccountsRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareImageShareAccountsResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareImageTagsRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareImageTagsResponse; import cn.ucloud.ucompshare.models.DescribeCompShareImagesRequest; import cn.ucloud.ucompshare.models.DescribeCompShareImagesResponse; import cn.ucloud.ucompshare.models.DescribeCompShareInstanceRequest; import cn.ucloud.ucompshare.models.DescribeCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.DescribeULHostBundlesRequest; -import cn.ucloud.ucompshare.models.DescribeULHostBundlesResponse; -import cn.ucloud.ucompshare.models.DescribeULHostInstanceRequest; -import cn.ucloud.ucompshare.models.DescribeULHostInstanceResponse; -import cn.ucloud.ucompshare.models.GetULHostInstancePriceRequest; -import cn.ucloud.ucompshare.models.GetULHostInstancePriceResponse; -import cn.ucloud.ucompshare.models.GetULHostRenewPriceRequest; -import cn.ucloud.ucompshare.models.GetULHostRenewPriceResponse; -import cn.ucloud.ucompshare.models.ModifyULHostAttributeRequest; -import cn.ucloud.ucompshare.models.ModifyULHostAttributeResponse; -import cn.ucloud.ucompshare.models.PoweroffULHostInstanceRequest; -import cn.ucloud.ucompshare.models.PoweroffULHostInstanceResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareMachineTypeFamiliesRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareMachineTypeFamiliesResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareSharingImagesRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareSharingImagesResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareSoftwarePortRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareSoftwarePortResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareSupportZoneRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareSupportZoneResponse; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryModelsRequest; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryModelsResponse; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryTagsRequest; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryTagsResponse; +import cn.ucloud.ucompshare.models.DescribeSelfCommunityImagesRequest; +import cn.ucloud.ucompshare.models.DescribeSelfCommunityImagesResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderCountRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderCountResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderCountRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderCountResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderResponse; +import cn.ucloud.ucompshare.models.DescribeUserCommunityImagesRequest; +import cn.ucloud.ucompshare.models.DescribeUserCommunityImagesResponse; +import cn.ucloud.ucompshare.models.DetachCompshareDiskRequest; +import cn.ucloud.ucompshare.models.DetachCompshareDiskResponse; +import cn.ucloud.ucompshare.models.DownloadTeamOrderRequest; +import cn.ucloud.ucompshare.models.DownloadTeamOrderResponse; +import cn.ucloud.ucompshare.models.GetCompShareAttachedDiskUpgradePriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareAttachedDiskUpgradePriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareImageCreateProgressRequest; +import cn.ucloud.ucompshare.models.GetCompShareImageCreateProgressResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstanceMonitorRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstanceMonitorResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstancePriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstancePriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUpgradePriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUpgradePriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUserPriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUserPriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareRefundPriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareRefundPriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareTeamInfoRequest; +import cn.ucloud.ucompshare.models.GetCompShareTeamInfoResponse; +import cn.ucloud.ucompshare.models.GetOpenClawModelListRequest; +import cn.ucloud.ucompshare.models.GetOpenClawModelListResponse; +import cn.ucloud.ucompshare.models.GetSoftwareURLRequest; +import cn.ucloud.ucompshare.models.GetSoftwareURLResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamInviteRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamInviteResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamJoinedRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamJoinedResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamOperateLogRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamOperateLogResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamResponse; +import cn.ucloud.ucompshare.models.ListMemberProductTypeRequest; +import cn.ucloud.ucompshare.models.ListMemberProductTypeResponse; +import cn.ucloud.ucompshare.models.ModifyCompShareImageShareAccountRequest; +import cn.ucloud.ucompshare.models.ModifyCompShareImageShareAccountResponse; +import cn.ucloud.ucompshare.models.ModifyCompShareInstanceNameRequest; +import cn.ucloud.ucompshare.models.ModifyCompShareInstanceNameResponse; +import cn.ucloud.ucompshare.models.PublishCompShareImageRequest; +import cn.ucloud.ucompshare.models.PublishCompShareImageResponse; import cn.ucloud.ucompshare.models.RebootCompShareInstanceRequest; import cn.ucloud.ucompshare.models.RebootCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.RebootULHostInstanceRequest; -import cn.ucloud.ucompshare.models.RebootULHostInstanceResponse; import cn.ucloud.ucompshare.models.ReinstallCompShareInstanceRequest; import cn.ucloud.ucompshare.models.ReinstallCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.ReinstallULHostInstanceRequest; -import cn.ucloud.ucompshare.models.ReinstallULHostInstanceResponse; import cn.ucloud.ucompshare.models.ResetCompShareInstancePasswordRequest; import cn.ucloud.ucompshare.models.ResetCompShareInstancePasswordResponse; -import cn.ucloud.ucompshare.models.ResetULHostInstancePasswordRequest; -import cn.ucloud.ucompshare.models.ResetULHostInstancePasswordResponse; +import cn.ucloud.ucompshare.models.ResizeCompShareDiskRequest; +import cn.ucloud.ucompshare.models.ResizeCompShareDiskResponse; +import cn.ucloud.ucompshare.models.ResizeCompShareInstanceRequest; +import cn.ucloud.ucompshare.models.ResizeCompShareInstanceResponse; +import cn.ucloud.ucompshare.models.SetCompShareTeamRelationRequest; +import cn.ucloud.ucompshare.models.SetCompShareTeamRelationResponse; import cn.ucloud.ucompshare.models.StartCompShareInstanceRequest; import cn.ucloud.ucompshare.models.StartCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.StartULHostInstanceRequest; -import cn.ucloud.ucompshare.models.StartULHostInstanceResponse; import cn.ucloud.ucompshare.models.StopCompShareInstanceRequest; import cn.ucloud.ucompshare.models.StopCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.StopULHostInstanceRequest; -import cn.ucloud.ucompshare.models.StopULHostInstanceResponse; +import cn.ucloud.ucompshare.models.TerminateCompShareCustomImageRequest; +import cn.ucloud.ucompshare.models.TerminateCompShareCustomImageResponse; import cn.ucloud.ucompshare.models.TerminateCompShareInstanceRequest; import cn.ucloud.ucompshare.models.TerminateCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.TerminateULHostInstanceRequest; -import cn.ucloud.ucompshare.models.TerminateULHostInstanceResponse; +import cn.ucloud.ucompshare.models.UpdateCompShareImageRequest; +import cn.ucloud.ucompshare.models.UpdateCompShareImageResponse; +import cn.ucloud.ucompshare.models.UpdateCompShareStopSchedulerRequest; +import cn.ucloud.ucompshare.models.UpdateCompShareStopSchedulerResponse; +import cn.ucloud.ucompshare.models.UpdateCompShareTeamRequest; +import cn.ucloud.ucompshare.models.UpdateCompShareTeamResponse; /** This client is used to call actions of **UCompShare** service */ public class UCompShareClient extends DefaultClient implements UCompShareClientInterface { @@ -72,6 +152,69 @@ public UCompShareClient(Config config, Credential credential) { super(config, credential); } + /** + * AttachCompshareDisk - 挂载云硬盘 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AttachCompshareDiskResponse attachCompshareDisk(AttachCompshareDiskRequest request) + throws UCloudException { + request.setAction("AttachCompshareDisk"); + return (AttachCompshareDiskResponse) + this.invoke(request, AttachCompshareDiskResponse.class); + } + + /** + * AttachUS3 - 挂载us3 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AttachUS3Response attachUS3(AttachUS3Request request) throws UCloudException { + request.setAction("AttachUS3"); + return (AttachUS3Response) this.invoke(request, AttachUS3Response.class); + } + + /** + * CheckCompShareNetOptimizer - 检查算力平台账号是否开通访问加速 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CheckCompShareNetOptimizerResponse checkCompShareNetOptimizer( + CheckCompShareNetOptimizerRequest request) throws UCloudException { + request.setAction("CheckCompShareNetOptimizer"); + return (CheckCompShareNetOptimizerResponse) + this.invoke(request, CheckCompShareNetOptimizerResponse.class); + } + + /** + * CopyCompShareCustomImage - 复制算力平台镜像 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CopyCompShareCustomImageResponse copyCompShareCustomImage( + CopyCompShareCustomImageRequest request) throws UCloudException { + request.setAction("CopyCompShareCustomImage"); + return (CopyCompShareCustomImageResponse) + this.invoke(request, CopyCompShareCustomImageResponse.class); + } + + /** + * CreateCompShareCustomImage - 制作算力平台实例自制镜像 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCompShareCustomImageResponse createCompShareCustomImage( + CreateCompShareCustomImageRequest request) throws UCloudException { + request.setAction("CreateCompShareCustomImage"); + return (CreateCompShareCustomImageResponse) + this.invoke(request, CreateCompShareCustomImageResponse.class); + } + /** * CreateCompShareInstance - 创建轻量级算力平台主机资源 * @@ -86,16 +229,81 @@ public CreateCompShareInstanceResponse createCompShareInstance( } /** - * CreateULHostInstance - 创建轻量应用云主机 + * CreateCompShareTeam - 创建团队 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCompShareTeamResponse createCompShareTeam(CreateCompShareTeamRequest request) + throws UCloudException { + request.setAction("CreateCompShareTeam"); + return (CreateCompShareTeamResponse) + this.invoke(request, CreateCompShareTeamResponse.class); + } + + /** + * CreateCompShareTeamRelation - 发送团队邀请 * * @param request Request object * @throws UCloudException Exception */ - public CreateULHostInstanceResponse createULHostInstance(CreateULHostInstanceRequest request) + public CreateCompShareTeamRelationResponse createCompShareTeamRelation( + CreateCompShareTeamRelationRequest request) throws UCloudException { + request.setAction("CreateCompShareTeamRelation"); + return (CreateCompShareTeamRelationResponse) + this.invoke(request, CreateCompShareTeamRelationResponse.class); + } + + /** + * DeleteCompShareStopScheduler - 删除实例定时关机任务 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCompShareStopSchedulerResponse deleteCompShareStopScheduler( + DeleteCompShareStopSchedulerRequest request) throws UCloudException { + request.setAction("DeleteCompShareStopScheduler"); + return (DeleteCompShareStopSchedulerResponse) + this.invoke(request, DeleteCompShareStopSchedulerResponse.class); + } + + /** + * DeleteCompShareTeam - 删除团队 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCompShareTeamResponse deleteCompShareTeam(DeleteCompShareTeamRequest request) throws UCloudException { - request.setAction("CreateULHostInstance"); - return (CreateULHostInstanceResponse) - this.invoke(request, CreateULHostInstanceResponse.class); + request.setAction("DeleteCompShareTeam"); + return (DeleteCompShareTeamResponse) + this.invoke(request, DeleteCompShareTeamResponse.class); + } + + /** + * DeleteCompshareDisk - 删除算力磁盘 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCompshareDiskResponse deleteCompshareDisk(DeleteCompshareDiskRequest request) + throws UCloudException { + request.setAction("DeleteCompshareDisk"); + return (DeleteCompshareDiskResponse) + this.invoke(request, DeleteCompshareDiskResponse.class); + } + + /** + * DescribeAvailableCompShareInstanceTypes - 获取某个地域下可售/售罄的所有机型信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeAvailableCompShareInstanceTypesResponse describeAvailableCompShareInstanceTypes( + DescribeAvailableCompShareInstanceTypesRequest request) throws UCloudException { + request.setAction("DescribeAvailableCompShareInstanceTypes"); + return (DescribeAvailableCompShareInstanceTypesResponse) + this.invoke(request, DescribeAvailableCompShareInstanceTypesResponse.class); } /** @@ -124,6 +332,45 @@ public DescribeCompShareCustomImagesResponse describeCompShareCustomImages( this.invoke(request, DescribeCompShareCustomImagesResponse.class); } + /** + * DescribeCompShareGpuInventory - 查询GPU卡余量库存 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareGpuInventoryResponse describeCompShareGpuInventory( + DescribeCompShareGpuInventoryRequest request) throws UCloudException { + request.setAction("DescribeCompShareGpuInventory"); + return (DescribeCompShareGpuInventoryResponse) + this.invoke(request, DescribeCompShareGpuInventoryResponse.class); + } + + /** + * DescribeCompShareImageShareAccounts - 获取镜像共享的账号列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareImageShareAccountsResponse describeCompShareImageShareAccounts( + DescribeCompShareImageShareAccountsRequest request) throws UCloudException { + request.setAction("DescribeCompShareImageShareAccounts"); + return (DescribeCompShareImageShareAccountsResponse) + this.invoke(request, DescribeCompShareImageShareAccountsResponse.class); + } + + /** + * DescribeCompShareImageTags - 获取镜像标签列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareImageTagsResponse describeCompShareImageTags( + DescribeCompShareImageTagsRequest request) throws UCloudException { + request.setAction("DescribeCompShareImageTags"); + return (DescribeCompShareImageTagsResponse) + this.invoke(request, DescribeCompShareImageTagsResponse.class); + } + /** * DescribeCompShareImages - 获取算力平台镜像信息 * @@ -151,133 +398,442 @@ public DescribeCompShareInstanceResponse describeCompShareInstance( } /** - * DescribeULHostBundles - 获取轻量应用云主机套餐列表 + * DescribeCompShareMachineTypeFamilies - 获取实例规格族列表(所有机型的信息) + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareMachineTypeFamiliesResponse describeCompShareMachineTypeFamilies( + DescribeCompShareMachineTypeFamiliesRequest request) throws UCloudException { + request.setAction("DescribeCompShareMachineTypeFamilies"); + return (DescribeCompShareMachineTypeFamiliesResponse) + this.invoke(request, DescribeCompShareMachineTypeFamiliesResponse.class); + } + + /** + * DescribeCompShareSharingImages - 获取算力平台共享镜像列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareSharingImagesResponse describeCompShareSharingImages( + DescribeCompShareSharingImagesRequest request) throws UCloudException { + request.setAction("DescribeCompShareSharingImages"); + return (DescribeCompShareSharingImagesResponse) + this.invoke(request, DescribeCompShareSharingImagesResponse.class); + } + + /** + * DescribeCompShareSoftwarePort - 获取算力平台应用及端口号列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareSoftwarePortResponse describeCompShareSoftwarePort( + DescribeCompShareSoftwarePortRequest request) throws UCloudException { + request.setAction("DescribeCompShareSoftwarePort"); + return (DescribeCompShareSoftwarePortResponse) + this.invoke(request, DescribeCompShareSoftwarePortResponse.class); + } + + /** + * DescribeCompShareSupportZone - 获取支持的可用区信息列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareSupportZoneResponse describeCompShareSupportZone( + DescribeCompShareSupportZoneRequest request) throws UCloudException { + request.setAction("DescribeCompShareSupportZone"); + return (DescribeCompShareSupportZoneResponse) + this.invoke(request, DescribeCompShareSupportZoneResponse.class); + } + + /** + * DescribeModelRepositoryModels - 模型仓库模型列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeModelRepositoryModelsResponse describeModelRepositoryModels( + DescribeModelRepositoryModelsRequest request) throws UCloudException { + request.setAction("DescribeModelRepositoryModels"); + return (DescribeModelRepositoryModelsResponse) + this.invoke(request, DescribeModelRepositoryModelsResponse.class); + } + + /** + * DescribeModelRepositoryTags - 模型仓库标签列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeModelRepositoryTagsResponse describeModelRepositoryTags( + DescribeModelRepositoryTagsRequest request) throws UCloudException { + request.setAction("DescribeModelRepositoryTags"); + return (DescribeModelRepositoryTagsResponse) + this.invoke(request, DescribeModelRepositoryTagsResponse.class); + } + + /** + * DescribeSelfCommunityImages - 个人中心社区镜像查询 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeSelfCommunityImagesResponse describeSelfCommunityImages( + DescribeSelfCommunityImagesRequest request) throws UCloudException { + request.setAction("DescribeSelfCommunityImages"); + return (DescribeSelfCommunityImagesResponse) + this.invoke(request, DescribeSelfCommunityImagesResponse.class); + } + + /** + * DescribeTeamMemberOrder - 获取团队订单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeTeamMemberOrderResponse describeTeamMemberOrder( + DescribeTeamMemberOrderRequest request) throws UCloudException { + request.setAction("DescribeTeamMemberOrder"); + return (DescribeTeamMemberOrderResponse) + this.invoke(request, DescribeTeamMemberOrderResponse.class); + } + + /** + * DescribeTeamMemberOrderCount - 获取团队成员订单总览 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeTeamMemberOrderCountResponse describeTeamMemberOrderCount( + DescribeTeamMemberOrderCountRequest request) throws UCloudException { + request.setAction("DescribeTeamMemberOrderCount"); + return (DescribeTeamMemberOrderCountResponse) + this.invoke(request, DescribeTeamMemberOrderCountResponse.class); + } + + /** + * DescribeTeamMemberUnpaidOrder - 获取团队队员未支付订单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeTeamMemberUnpaidOrderResponse describeTeamMemberUnpaidOrder( + DescribeTeamMemberUnpaidOrderRequest request) throws UCloudException { + request.setAction("DescribeTeamMemberUnpaidOrder"); + return (DescribeTeamMemberUnpaidOrderResponse) + this.invoke(request, DescribeTeamMemberUnpaidOrderResponse.class); + } + + /** + * DescribeTeamMemberUnpaidOrderCount - 获取团队成员未支付订单总览 * * @param request Request object * @throws UCloudException Exception */ - public DescribeULHostBundlesResponse describeULHostBundles(DescribeULHostBundlesRequest request) + public DescribeTeamMemberUnpaidOrderCountResponse describeTeamMemberUnpaidOrderCount( + DescribeTeamMemberUnpaidOrderCountRequest request) throws UCloudException { + request.setAction("DescribeTeamMemberUnpaidOrderCount"); + return (DescribeTeamMemberUnpaidOrderCountResponse) + this.invoke(request, DescribeTeamMemberUnpaidOrderCountResponse.class); + } + + /** + * DescribeUserCommunityImages - 获取社区镜像列表(登录状态) + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeUserCommunityImagesResponse describeUserCommunityImages( + DescribeUserCommunityImagesRequest request) throws UCloudException { + request.setAction("DescribeUserCommunityImages"); + return (DescribeUserCommunityImagesResponse) + this.invoke(request, DescribeUserCommunityImagesResponse.class); + } + + /** + * DetachCompshareDisk - 卸载云硬盘 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DetachCompshareDiskResponse detachCompshareDisk(DetachCompshareDiskRequest request) throws UCloudException { - request.setAction("DescribeULHostBundles"); - return (DescribeULHostBundlesResponse) - this.invoke(request, DescribeULHostBundlesResponse.class); + request.setAction("DetachCompshareDisk"); + return (DetachCompshareDiskResponse) + this.invoke(request, DetachCompshareDiskResponse.class); + } + + /** + * DownloadTeamOrder - 下载团队订单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DownloadTeamOrderResponse downloadTeamOrder(DownloadTeamOrderRequest request) + throws UCloudException { + request.setAction("DownloadTeamOrder"); + return (DownloadTeamOrderResponse) this.invoke(request, DownloadTeamOrderResponse.class); + } + + /** + * GetCompShareAttachedDiskUpgradePrice - 获取算力平台实例磁盘升级价格 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareAttachedDiskUpgradePriceResponse getCompShareAttachedDiskUpgradePrice( + GetCompShareAttachedDiskUpgradePriceRequest request) throws UCloudException { + request.setAction("GetCompShareAttachedDiskUpgradePrice"); + return (GetCompShareAttachedDiskUpgradePriceResponse) + this.invoke(request, GetCompShareAttachedDiskUpgradePriceResponse.class); + } + + /** + * GetCompShareImageCreateProgress - 获取算力平台镜像制作进度 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareImageCreateProgressResponse getCompShareImageCreateProgress( + GetCompShareImageCreateProgressRequest request) throws UCloudException { + request.setAction("GetCompShareImageCreateProgress"); + return (GetCompShareImageCreateProgressResponse) + this.invoke(request, GetCompShareImageCreateProgressResponse.class); + } + + /** + * GetCompShareInstanceMonitor - 获取实例监控指标 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareInstanceMonitorResponse getCompShareInstanceMonitor( + GetCompShareInstanceMonitorRequest request) throws UCloudException { + request.setAction("GetCompShareInstanceMonitor"); + return (GetCompShareInstanceMonitorResponse) + this.invoke(request, GetCompShareInstanceMonitorResponse.class); } /** - * DescribeULHostInstance - 获取轻量应用云主机列表 + * GetCompShareInstancePrice - 获取算力平台实例价格 * * @param request Request object * @throws UCloudException Exception */ - public DescribeULHostInstanceResponse describeULHostInstance( - DescribeULHostInstanceRequest request) throws UCloudException { - request.setAction("DescribeULHostInstance"); - return (DescribeULHostInstanceResponse) - this.invoke(request, DescribeULHostInstanceResponse.class); + public GetCompShareInstancePriceResponse getCompShareInstancePrice( + GetCompShareInstancePriceRequest request) throws UCloudException { + request.setAction("GetCompShareInstancePrice"); + return (GetCompShareInstancePriceResponse) + this.invoke(request, GetCompShareInstancePriceResponse.class); } /** - * GetULHostInstancePrice - 获取轻量应用云主机套餐价格 + * GetCompShareInstanceUpgradePrice - 获取算力平台实例升降级价格 * * @param request Request object * @throws UCloudException Exception */ - public GetULHostInstancePriceResponse getULHostInstancePrice( - GetULHostInstancePriceRequest request) throws UCloudException { - request.setAction("GetULHostInstancePrice"); - return (GetULHostInstancePriceResponse) - this.invoke(request, GetULHostInstancePriceResponse.class); + public GetCompShareInstanceUpgradePriceResponse getCompShareInstanceUpgradePrice( + GetCompShareInstanceUpgradePriceRequest request) throws UCloudException { + request.setAction("GetCompShareInstanceUpgradePrice"); + return (GetCompShareInstanceUpgradePriceResponse) + this.invoke(request, GetCompShareInstanceUpgradePriceResponse.class); } /** - * GetULHostRenewPrice - 获取主机续费价格 + * GetCompShareInstanceUserPrice - 获取算力平台实例用户价格 * * @param request Request object * @throws UCloudException Exception */ - public GetULHostRenewPriceResponse getULHostRenewPrice(GetULHostRenewPriceRequest request) + public GetCompShareInstanceUserPriceResponse getCompShareInstanceUserPrice( + GetCompShareInstanceUserPriceRequest request) throws UCloudException { + request.setAction("GetCompShareInstanceUserPrice"); + return (GetCompShareInstanceUserPriceResponse) + this.invoke(request, GetCompShareInstanceUserPriceResponse.class); + } + + /** + * GetCompShareRefundPrice - 获取算力平台实例删除扣除费用 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareRefundPriceResponse getCompShareRefundPrice( + GetCompShareRefundPriceRequest request) throws UCloudException { + request.setAction("GetCompShareRefundPrice"); + return (GetCompShareRefundPriceResponse) + this.invoke(request, GetCompShareRefundPriceResponse.class); + } + + /** + * GetCompShareTeamInfo - 获取团队详细信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareTeamInfoResponse getCompShareTeamInfo(GetCompShareTeamInfoRequest request) throws UCloudException { - request.setAction("GetULHostRenewPrice"); - return (GetULHostRenewPriceResponse) - this.invoke(request, GetULHostRenewPriceResponse.class); + request.setAction("GetCompShareTeamInfo"); + return (GetCompShareTeamInfoResponse) + this.invoke(request, GetCompShareTeamInfoResponse.class); } /** - * ModifyULHostAttribute - 修改轻量应用主机属性信息 + * GetOpenClawModelList - 获取OpenClaw模型列表 * * @param request Request object * @throws UCloudException Exception */ - public ModifyULHostAttributeResponse modifyULHostAttribute(ModifyULHostAttributeRequest request) + public GetOpenClawModelListResponse getOpenClawModelList(GetOpenClawModelListRequest request) throws UCloudException { - request.setAction("ModifyULHostAttribute"); - return (ModifyULHostAttributeResponse) - this.invoke(request, ModifyULHostAttributeResponse.class); + request.setAction("GetOpenClawModelList"); + return (GetOpenClawModelListResponse) + this.invoke(request, GetOpenClawModelListResponse.class); } /** - * PoweroffULHostInstance - 模拟主机掉电 + * GetSoftwareURL - 获取算力平台实例应用URL * * @param request Request object * @throws UCloudException Exception */ - public PoweroffULHostInstanceResponse poweroffULHostInstance( - PoweroffULHostInstanceRequest request) throws UCloudException { - request.setAction("PoweroffULHostInstance"); - return (PoweroffULHostInstanceResponse) - this.invoke(request, PoweroffULHostInstanceResponse.class); + public GetSoftwareURLResponse getSoftwareURL(GetSoftwareURLRequest request) + throws UCloudException { + request.setAction("GetSoftwareURL"); + return (GetSoftwareURLResponse) this.invoke(request, GetSoftwareURLResponse.class); } /** - * RebootCompShareInstance - 重启轻量算力平台实例 + * ListCompShareTeam - 获取团队列表 * * @param request Request object * @throws UCloudException Exception */ - public RebootCompShareInstanceResponse rebootCompShareInstance( - RebootCompShareInstanceRequest request) throws UCloudException { - request.setAction("RebootCompShareInstance"); - return (RebootCompShareInstanceResponse) - this.invoke(request, RebootCompShareInstanceResponse.class); + public ListCompShareTeamResponse listCompShareTeam(ListCompShareTeamRequest request) + throws UCloudException { + request.setAction("ListCompShareTeam"); + return (ListCompShareTeamResponse) this.invoke(request, ListCompShareTeamResponse.class); + } + + /** + * ListCompShareTeamInvite - 获取邀请成员的列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCompShareTeamInviteResponse listCompShareTeamInvite( + ListCompShareTeamInviteRequest request) throws UCloudException { + request.setAction("ListCompShareTeamInvite"); + return (ListCompShareTeamInviteResponse) + this.invoke(request, ListCompShareTeamInviteResponse.class); + } + + /** + * ListCompShareTeamJoined - 获取加入团队信息列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCompShareTeamJoinedResponse listCompShareTeamJoined( + ListCompShareTeamJoinedRequest request) throws UCloudException { + request.setAction("ListCompShareTeamJoined"); + return (ListCompShareTeamJoinedResponse) + this.invoke(request, ListCompShareTeamJoinedResponse.class); + } + + /** + * ListCompShareTeamOperateLog - 获取团队操作日志列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCompShareTeamOperateLogResponse listCompShareTeamOperateLog( + ListCompShareTeamOperateLogRequest request) throws UCloudException { + request.setAction("ListCompShareTeamOperateLog"); + return (ListCompShareTeamOperateLogResponse) + this.invoke(request, ListCompShareTeamOperateLogResponse.class); } /** - * RebootULHostInstance - 重启轻量应用云主机 + * ListMemberProductType - 获取成员订单产品类型 * * @param request Request object * @throws UCloudException Exception */ - public RebootULHostInstanceResponse rebootULHostInstance(RebootULHostInstanceRequest request) + public ListMemberProductTypeResponse listMemberProductType(ListMemberProductTypeRequest request) throws UCloudException { - request.setAction("RebootULHostInstance"); - return (RebootULHostInstanceResponse) - this.invoke(request, RebootULHostInstanceResponse.class); + request.setAction("ListMemberProductType"); + return (ListMemberProductTypeResponse) + this.invoke(request, ListMemberProductTypeResponse.class); } /** - * ReinstallCompShareInstance - 重装算力平台实例 + * ModifyCompShareImageShareAccount - 管理镜像的共享账号列表 * * @param request Request object * @throws UCloudException Exception */ - public ReinstallCompShareInstanceResponse reinstallCompShareInstance( - ReinstallCompShareInstanceRequest request) throws UCloudException { - request.setAction("ReinstallCompShareInstance"); - return (ReinstallCompShareInstanceResponse) - this.invoke(request, ReinstallCompShareInstanceResponse.class); + public ModifyCompShareImageShareAccountResponse modifyCompShareImageShareAccount( + ModifyCompShareImageShareAccountRequest request) throws UCloudException { + request.setAction("ModifyCompShareImageShareAccount"); + return (ModifyCompShareImageShareAccountResponse) + this.invoke(request, ModifyCompShareImageShareAccountResponse.class); } /** - * ReinstallULHostInstance - 重装轻量应用云主机 + * ModifyCompShareInstanceName - 修改算力平台实例名称 * * @param request Request object * @throws UCloudException Exception */ - public ReinstallULHostInstanceResponse reinstallULHostInstance( - ReinstallULHostInstanceRequest request) throws UCloudException { - request.setAction("ReinstallULHostInstance"); - return (ReinstallULHostInstanceResponse) - this.invoke(request, ReinstallULHostInstanceResponse.class); + public ModifyCompShareInstanceNameResponse modifyCompShareInstanceName( + ModifyCompShareInstanceNameRequest request) throws UCloudException { + request.setAction("ModifyCompShareInstanceName"); + return (ModifyCompShareInstanceNameResponse) + this.invoke(request, ModifyCompShareInstanceNameResponse.class); + } + + /** + * PublishCompShareImage - 将自制镜像发布到镜像社区 + * + * @param request Request object + * @throws UCloudException Exception + */ + public PublishCompShareImageResponse publishCompShareImage(PublishCompShareImageRequest request) + throws UCloudException { + request.setAction("PublishCompShareImage"); + return (PublishCompShareImageResponse) + this.invoke(request, PublishCompShareImageResponse.class); + } + + /** + * RebootCompShareInstance - 重启轻量算力平台实例 + * + * @param request Request object + * @throws UCloudException Exception + */ + public RebootCompShareInstanceResponse rebootCompShareInstance( + RebootCompShareInstanceRequest request) throws UCloudException { + request.setAction("RebootCompShareInstance"); + return (RebootCompShareInstanceResponse) + this.invoke(request, RebootCompShareInstanceResponse.class); + } + + /** + * ReinstallCompShareInstance - 重装算力平台实例 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ReinstallCompShareInstanceResponse reinstallCompShareInstance( + ReinstallCompShareInstanceRequest request) throws UCloudException { + request.setAction("ReinstallCompShareInstance"); + return (ReinstallCompShareInstanceResponse) + this.invoke(request, ReinstallCompShareInstanceResponse.class); } /** @@ -294,42 +850,55 @@ public ResetCompShareInstancePasswordResponse resetCompShareInstancePassword( } /** - * ResetULHostInstancePassword - 重置轻量应用云主机密码 + * ResizeCompShareDisk - 扩容算力磁盘 * * @param request Request object * @throws UCloudException Exception */ - public ResetULHostInstancePasswordResponse resetULHostInstancePassword( - ResetULHostInstancePasswordRequest request) throws UCloudException { - request.setAction("ResetULHostInstancePassword"); - return (ResetULHostInstancePasswordResponse) - this.invoke(request, ResetULHostInstancePasswordResponse.class); + public ResizeCompShareDiskResponse resizeCompShareDisk(ResizeCompShareDiskRequest request) + throws UCloudException { + request.setAction("ResizeCompShareDisk"); + return (ResizeCompShareDiskResponse) + this.invoke(request, ResizeCompShareDiskResponse.class); } /** - * StartCompShareInstance - 启动算力平台实例 + * ResizeCompShareInstance - 修改算力平台实例配置 * * @param request Request object * @throws UCloudException Exception */ - public StartCompShareInstanceResponse startCompShareInstance( - StartCompShareInstanceRequest request) throws UCloudException { - request.setAction("StartCompShareInstance"); - return (StartCompShareInstanceResponse) - this.invoke(request, StartCompShareInstanceResponse.class); + public ResizeCompShareInstanceResponse resizeCompShareInstance( + ResizeCompShareInstanceRequest request) throws UCloudException { + request.setAction("ResizeCompShareInstance"); + return (ResizeCompShareInstanceResponse) + this.invoke(request, ResizeCompShareInstanceResponse.class); } /** - * StartULHostInstance - 启动轻量应用主机 + * SetCompShareTeamRelation - 设置邀请信息 * * @param request Request object * @throws UCloudException Exception */ - public StartULHostInstanceResponse startULHostInstance(StartULHostInstanceRequest request) - throws UCloudException { - request.setAction("StartULHostInstance"); - return (StartULHostInstanceResponse) - this.invoke(request, StartULHostInstanceResponse.class); + public SetCompShareTeamRelationResponse setCompShareTeamRelation( + SetCompShareTeamRelationRequest request) throws UCloudException { + request.setAction("SetCompShareTeamRelation"); + return (SetCompShareTeamRelationResponse) + this.invoke(request, SetCompShareTeamRelationResponse.class); + } + + /** + * StartCompShareInstance - 启动算力平台实例 + * + * @param request Request object + * @throws UCloudException Exception + */ + public StartCompShareInstanceResponse startCompShareInstance( + StartCompShareInstanceRequest request) throws UCloudException { + request.setAction("StartCompShareInstance"); + return (StartCompShareInstanceResponse) + this.invoke(request, StartCompShareInstanceResponse.class); } /** @@ -346,15 +915,16 @@ public StopCompShareInstanceResponse stopCompShareInstance(StopCompShareInstance } /** - * StopULHostInstance - 关闭轻量应用云主机 + * TerminateCompShareCustomImage - 删除算力平台自制镜像 * * @param request Request object * @throws UCloudException Exception */ - public StopULHostInstanceResponse stopULHostInstance(StopULHostInstanceRequest request) - throws UCloudException { - request.setAction("StopULHostInstance"); - return (StopULHostInstanceResponse) this.invoke(request, StopULHostInstanceResponse.class); + public TerminateCompShareCustomImageResponse terminateCompShareCustomImage( + TerminateCompShareCustomImageRequest request) throws UCloudException { + request.setAction("TerminateCompShareCustomImage"); + return (TerminateCompShareCustomImageResponse) + this.invoke(request, TerminateCompShareCustomImageResponse.class); } /** @@ -371,15 +941,41 @@ public TerminateCompShareInstanceResponse terminateCompShareInstance( } /** - * TerminateULHostInstance - 删除轻量应用云主机 + * UpdateCompShareImage - 编辑算力平台自制镜像信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateCompShareImageResponse updateCompShareImage(UpdateCompShareImageRequest request) + throws UCloudException { + request.setAction("UpdateCompShareImage"); + return (UpdateCompShareImageResponse) + this.invoke(request, UpdateCompShareImageResponse.class); + } + + /** + * UpdateCompShareStopScheduler - 更新实例定时关机时间 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateCompShareStopSchedulerResponse updateCompShareStopScheduler( + UpdateCompShareStopSchedulerRequest request) throws UCloudException { + request.setAction("UpdateCompShareStopScheduler"); + return (UpdateCompShareStopSchedulerResponse) + this.invoke(request, UpdateCompShareStopSchedulerResponse.class); + } + + /** + * UpdateCompShareTeam - 更改团队信息 * * @param request Request object * @throws UCloudException Exception */ - public TerminateULHostInstanceResponse terminateULHostInstance( - TerminateULHostInstanceRequest request) throws UCloudException { - request.setAction("TerminateULHostInstance"); - return (TerminateULHostInstanceResponse) - this.invoke(request, TerminateULHostInstanceResponse.class); + public UpdateCompShareTeamResponse updateCompShareTeam(UpdateCompShareTeamRequest request) + throws UCloudException { + request.setAction("UpdateCompShareTeam"); + return (UpdateCompShareTeamResponse) + this.invoke(request, UpdateCompShareTeamResponse.class); } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClientInterface.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClientInterface.java index 4703b24f..60426670 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClientInterface.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/client/UCompShareClientInterface.java @@ -15,58 +15,182 @@ import cn.ucloud.common.client.Client; import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.ucompshare.models.AttachCompshareDiskRequest; +import cn.ucloud.ucompshare.models.AttachCompshareDiskResponse; +import cn.ucloud.ucompshare.models.AttachUS3Request; +import cn.ucloud.ucompshare.models.AttachUS3Response; +import cn.ucloud.ucompshare.models.CheckCompShareNetOptimizerRequest; +import cn.ucloud.ucompshare.models.CheckCompShareNetOptimizerResponse; +import cn.ucloud.ucompshare.models.CopyCompShareCustomImageRequest; +import cn.ucloud.ucompshare.models.CopyCompShareCustomImageResponse; +import cn.ucloud.ucompshare.models.CreateCompShareCustomImageRequest; +import cn.ucloud.ucompshare.models.CreateCompShareCustomImageResponse; import cn.ucloud.ucompshare.models.CreateCompShareInstanceRequest; import cn.ucloud.ucompshare.models.CreateCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.CreateULHostInstanceRequest; -import cn.ucloud.ucompshare.models.CreateULHostInstanceResponse; +import cn.ucloud.ucompshare.models.CreateCompShareTeamRelationRequest; +import cn.ucloud.ucompshare.models.CreateCompShareTeamRelationResponse; +import cn.ucloud.ucompshare.models.CreateCompShareTeamRequest; +import cn.ucloud.ucompshare.models.CreateCompShareTeamResponse; +import cn.ucloud.ucompshare.models.DeleteCompShareStopSchedulerRequest; +import cn.ucloud.ucompshare.models.DeleteCompShareStopSchedulerResponse; +import cn.ucloud.ucompshare.models.DeleteCompShareTeamRequest; +import cn.ucloud.ucompshare.models.DeleteCompShareTeamResponse; +import cn.ucloud.ucompshare.models.DeleteCompshareDiskRequest; +import cn.ucloud.ucompshare.models.DeleteCompshareDiskResponse; +import cn.ucloud.ucompshare.models.DescribeAvailableCompShareInstanceTypesRequest; +import cn.ucloud.ucompshare.models.DescribeAvailableCompShareInstanceTypesResponse; import cn.ucloud.ucompshare.models.DescribeCommunityImagesRequest; import cn.ucloud.ucompshare.models.DescribeCommunityImagesResponse; import cn.ucloud.ucompshare.models.DescribeCompShareCustomImagesRequest; import cn.ucloud.ucompshare.models.DescribeCompShareCustomImagesResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareGpuInventoryRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareGpuInventoryResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareImageShareAccountsRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareImageShareAccountsResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareImageTagsRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareImageTagsResponse; import cn.ucloud.ucompshare.models.DescribeCompShareImagesRequest; import cn.ucloud.ucompshare.models.DescribeCompShareImagesResponse; import cn.ucloud.ucompshare.models.DescribeCompShareInstanceRequest; import cn.ucloud.ucompshare.models.DescribeCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.DescribeULHostBundlesRequest; -import cn.ucloud.ucompshare.models.DescribeULHostBundlesResponse; -import cn.ucloud.ucompshare.models.DescribeULHostInstanceRequest; -import cn.ucloud.ucompshare.models.DescribeULHostInstanceResponse; -import cn.ucloud.ucompshare.models.GetULHostInstancePriceRequest; -import cn.ucloud.ucompshare.models.GetULHostInstancePriceResponse; -import cn.ucloud.ucompshare.models.GetULHostRenewPriceRequest; -import cn.ucloud.ucompshare.models.GetULHostRenewPriceResponse; -import cn.ucloud.ucompshare.models.ModifyULHostAttributeRequest; -import cn.ucloud.ucompshare.models.ModifyULHostAttributeResponse; -import cn.ucloud.ucompshare.models.PoweroffULHostInstanceRequest; -import cn.ucloud.ucompshare.models.PoweroffULHostInstanceResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareMachineTypeFamiliesRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareMachineTypeFamiliesResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareSharingImagesRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareSharingImagesResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareSoftwarePortRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareSoftwarePortResponse; +import cn.ucloud.ucompshare.models.DescribeCompShareSupportZoneRequest; +import cn.ucloud.ucompshare.models.DescribeCompShareSupportZoneResponse; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryModelsRequest; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryModelsResponse; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryTagsRequest; +import cn.ucloud.ucompshare.models.DescribeModelRepositoryTagsResponse; +import cn.ucloud.ucompshare.models.DescribeSelfCommunityImagesRequest; +import cn.ucloud.ucompshare.models.DescribeSelfCommunityImagesResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderCountRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderCountResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberOrderResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderCountRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderCountResponse; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderRequest; +import cn.ucloud.ucompshare.models.DescribeTeamMemberUnpaidOrderResponse; +import cn.ucloud.ucompshare.models.DescribeUserCommunityImagesRequest; +import cn.ucloud.ucompshare.models.DescribeUserCommunityImagesResponse; +import cn.ucloud.ucompshare.models.DetachCompshareDiskRequest; +import cn.ucloud.ucompshare.models.DetachCompshareDiskResponse; +import cn.ucloud.ucompshare.models.DownloadTeamOrderRequest; +import cn.ucloud.ucompshare.models.DownloadTeamOrderResponse; +import cn.ucloud.ucompshare.models.GetCompShareAttachedDiskUpgradePriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareAttachedDiskUpgradePriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareImageCreateProgressRequest; +import cn.ucloud.ucompshare.models.GetCompShareImageCreateProgressResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstanceMonitorRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstanceMonitorResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstancePriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstancePriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUpgradePriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUpgradePriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUserPriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareInstanceUserPriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareRefundPriceRequest; +import cn.ucloud.ucompshare.models.GetCompShareRefundPriceResponse; +import cn.ucloud.ucompshare.models.GetCompShareTeamInfoRequest; +import cn.ucloud.ucompshare.models.GetCompShareTeamInfoResponse; +import cn.ucloud.ucompshare.models.GetOpenClawModelListRequest; +import cn.ucloud.ucompshare.models.GetOpenClawModelListResponse; +import cn.ucloud.ucompshare.models.GetSoftwareURLRequest; +import cn.ucloud.ucompshare.models.GetSoftwareURLResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamInviteRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamInviteResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamJoinedRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamJoinedResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamOperateLogRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamOperateLogResponse; +import cn.ucloud.ucompshare.models.ListCompShareTeamRequest; +import cn.ucloud.ucompshare.models.ListCompShareTeamResponse; +import cn.ucloud.ucompshare.models.ListMemberProductTypeRequest; +import cn.ucloud.ucompshare.models.ListMemberProductTypeResponse; +import cn.ucloud.ucompshare.models.ModifyCompShareImageShareAccountRequest; +import cn.ucloud.ucompshare.models.ModifyCompShareImageShareAccountResponse; +import cn.ucloud.ucompshare.models.ModifyCompShareInstanceNameRequest; +import cn.ucloud.ucompshare.models.ModifyCompShareInstanceNameResponse; +import cn.ucloud.ucompshare.models.PublishCompShareImageRequest; +import cn.ucloud.ucompshare.models.PublishCompShareImageResponse; import cn.ucloud.ucompshare.models.RebootCompShareInstanceRequest; import cn.ucloud.ucompshare.models.RebootCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.RebootULHostInstanceRequest; -import cn.ucloud.ucompshare.models.RebootULHostInstanceResponse; import cn.ucloud.ucompshare.models.ReinstallCompShareInstanceRequest; import cn.ucloud.ucompshare.models.ReinstallCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.ReinstallULHostInstanceRequest; -import cn.ucloud.ucompshare.models.ReinstallULHostInstanceResponse; import cn.ucloud.ucompshare.models.ResetCompShareInstancePasswordRequest; import cn.ucloud.ucompshare.models.ResetCompShareInstancePasswordResponse; -import cn.ucloud.ucompshare.models.ResetULHostInstancePasswordRequest; -import cn.ucloud.ucompshare.models.ResetULHostInstancePasswordResponse; +import cn.ucloud.ucompshare.models.ResizeCompShareDiskRequest; +import cn.ucloud.ucompshare.models.ResizeCompShareDiskResponse; +import cn.ucloud.ucompshare.models.ResizeCompShareInstanceRequest; +import cn.ucloud.ucompshare.models.ResizeCompShareInstanceResponse; +import cn.ucloud.ucompshare.models.SetCompShareTeamRelationRequest; +import cn.ucloud.ucompshare.models.SetCompShareTeamRelationResponse; import cn.ucloud.ucompshare.models.StartCompShareInstanceRequest; import cn.ucloud.ucompshare.models.StartCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.StartULHostInstanceRequest; -import cn.ucloud.ucompshare.models.StartULHostInstanceResponse; import cn.ucloud.ucompshare.models.StopCompShareInstanceRequest; import cn.ucloud.ucompshare.models.StopCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.StopULHostInstanceRequest; -import cn.ucloud.ucompshare.models.StopULHostInstanceResponse; +import cn.ucloud.ucompshare.models.TerminateCompShareCustomImageRequest; +import cn.ucloud.ucompshare.models.TerminateCompShareCustomImageResponse; import cn.ucloud.ucompshare.models.TerminateCompShareInstanceRequest; import cn.ucloud.ucompshare.models.TerminateCompShareInstanceResponse; -import cn.ucloud.ucompshare.models.TerminateULHostInstanceRequest; -import cn.ucloud.ucompshare.models.TerminateULHostInstanceResponse; +import cn.ucloud.ucompshare.models.UpdateCompShareImageRequest; +import cn.ucloud.ucompshare.models.UpdateCompShareImageResponse; +import cn.ucloud.ucompshare.models.UpdateCompShareStopSchedulerRequest; +import cn.ucloud.ucompshare.models.UpdateCompShareStopSchedulerResponse; +import cn.ucloud.ucompshare.models.UpdateCompShareTeamRequest; +import cn.ucloud.ucompshare.models.UpdateCompShareTeamResponse; /** This client is used to call actions of **UCompShare** service */ public interface UCompShareClientInterface extends Client { + /** + * AttachCompshareDisk - 挂载云硬盘 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AttachCompshareDiskResponse attachCompshareDisk(AttachCompshareDiskRequest request) + throws UCloudException; + + /** + * AttachUS3 - 挂载us3 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AttachUS3Response attachUS3(AttachUS3Request request) throws UCloudException; + + /** + * CheckCompShareNetOptimizer - 检查算力平台账号是否开通访问加速 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CheckCompShareNetOptimizerResponse checkCompShareNetOptimizer( + CheckCompShareNetOptimizerRequest request) throws UCloudException; + + /** + * CopyCompShareCustomImage - 复制算力平台镜像 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CopyCompShareCustomImageResponse copyCompShareCustomImage( + CopyCompShareCustomImageRequest request) throws UCloudException; + + /** + * CreateCompShareCustomImage - 制作算力平台实例自制镜像 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCompShareCustomImageResponse createCompShareCustomImage( + CreateCompShareCustomImageRequest request) throws UCloudException; + /** * CreateCompShareInstance - 创建轻量级算力平台主机资源 * @@ -77,14 +201,59 @@ public CreateCompShareInstanceResponse createCompShareInstance( CreateCompShareInstanceRequest request) throws UCloudException; /** - * CreateULHostInstance - 创建轻量应用云主机 + * CreateCompShareTeam - 创建团队 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCompShareTeamResponse createCompShareTeam(CreateCompShareTeamRequest request) + throws UCloudException; + + /** + * CreateCompShareTeamRelation - 发送团队邀请 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCompShareTeamRelationResponse createCompShareTeamRelation( + CreateCompShareTeamRelationRequest request) throws UCloudException; + + /** + * DeleteCompShareStopScheduler - 删除实例定时关机任务 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCompShareStopSchedulerResponse deleteCompShareStopScheduler( + DeleteCompShareStopSchedulerRequest request) throws UCloudException; + + /** + * DeleteCompShareTeam - 删除团队 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCompShareTeamResponse deleteCompShareTeam(DeleteCompShareTeamRequest request) + throws UCloudException; + + /** + * DeleteCompshareDisk - 删除算力磁盘 * * @param request Request object * @throws UCloudException Exception */ - public CreateULHostInstanceResponse createULHostInstance(CreateULHostInstanceRequest request) + public DeleteCompshareDiskResponse deleteCompshareDisk(DeleteCompshareDiskRequest request) throws UCloudException; + /** + * DescribeAvailableCompShareInstanceTypes - 获取某个地域下可售/售罄的所有机型信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeAvailableCompShareInstanceTypesResponse describeAvailableCompShareInstanceTypes( + DescribeAvailableCompShareInstanceTypesRequest request) throws UCloudException; + /** * DescribeCommunityImages - 获取社区镜像列表 * @@ -103,6 +272,33 @@ public DescribeCommunityImagesResponse describeCommunityImages( public DescribeCompShareCustomImagesResponse describeCompShareCustomImages( DescribeCompShareCustomImagesRequest request) throws UCloudException; + /** + * DescribeCompShareGpuInventory - 查询GPU卡余量库存 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareGpuInventoryResponse describeCompShareGpuInventory( + DescribeCompShareGpuInventoryRequest request) throws UCloudException; + + /** + * DescribeCompShareImageShareAccounts - 获取镜像共享的账号列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareImageShareAccountsResponse describeCompShareImageShareAccounts( + DescribeCompShareImageShareAccountsRequest request) throws UCloudException; + + /** + * DescribeCompShareImageTags - 获取镜像标签列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareImageTagsResponse describeCompShareImageTags( + DescribeCompShareImageTagsRequest request) throws UCloudException; + /** * DescribeCompShareImages - 获取算力平台镜像信息 * @@ -122,94 +318,310 @@ public DescribeCompShareInstanceResponse describeCompShareInstance( DescribeCompShareInstanceRequest request) throws UCloudException; /** - * DescribeULHostBundles - 获取轻量应用云主机套餐列表 + * DescribeCompShareMachineTypeFamilies - 获取实例规格族列表(所有机型的信息) + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareMachineTypeFamiliesResponse describeCompShareMachineTypeFamilies( + DescribeCompShareMachineTypeFamiliesRequest request) throws UCloudException; + + /** + * DescribeCompShareSharingImages - 获取算力平台共享镜像列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareSharingImagesResponse describeCompShareSharingImages( + DescribeCompShareSharingImagesRequest request) throws UCloudException; + + /** + * DescribeCompShareSoftwarePort - 获取算力平台应用及端口号列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareSoftwarePortResponse describeCompShareSoftwarePort( + DescribeCompShareSoftwarePortRequest request) throws UCloudException; + + /** + * DescribeCompShareSupportZone - 获取支持的可用区信息列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCompShareSupportZoneResponse describeCompShareSupportZone( + DescribeCompShareSupportZoneRequest request) throws UCloudException; + + /** + * DescribeModelRepositoryModels - 模型仓库模型列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeModelRepositoryModelsResponse describeModelRepositoryModels( + DescribeModelRepositoryModelsRequest request) throws UCloudException; + + /** + * DescribeModelRepositoryTags - 模型仓库标签列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeModelRepositoryTagsResponse describeModelRepositoryTags( + DescribeModelRepositoryTagsRequest request) throws UCloudException; + + /** + * DescribeSelfCommunityImages - 个人中心社区镜像查询 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeSelfCommunityImagesResponse describeSelfCommunityImages( + DescribeSelfCommunityImagesRequest request) throws UCloudException; + + /** + * DescribeTeamMemberOrder - 获取团队订单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeTeamMemberOrderResponse describeTeamMemberOrder( + DescribeTeamMemberOrderRequest request) throws UCloudException; + + /** + * DescribeTeamMemberOrderCount - 获取团队成员订单总览 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeTeamMemberOrderCountResponse describeTeamMemberOrderCount( + DescribeTeamMemberOrderCountRequest request) throws UCloudException; + + /** + * DescribeTeamMemberUnpaidOrder - 获取团队队员未支付订单 * * @param request Request object * @throws UCloudException Exception */ - public DescribeULHostBundlesResponse describeULHostBundles(DescribeULHostBundlesRequest request) + public DescribeTeamMemberUnpaidOrderResponse describeTeamMemberUnpaidOrder( + DescribeTeamMemberUnpaidOrderRequest request) throws UCloudException; + + /** + * DescribeTeamMemberUnpaidOrderCount - 获取团队成员未支付订单总览 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeTeamMemberUnpaidOrderCountResponse describeTeamMemberUnpaidOrderCount( + DescribeTeamMemberUnpaidOrderCountRequest request) throws UCloudException; + + /** + * DescribeUserCommunityImages - 获取社区镜像列表(登录状态) + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeUserCommunityImagesResponse describeUserCommunityImages( + DescribeUserCommunityImagesRequest request) throws UCloudException; + + /** + * DetachCompshareDisk - 卸载云硬盘 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DetachCompshareDiskResponse detachCompshareDisk(DetachCompshareDiskRequest request) throws UCloudException; /** - * DescribeULHostInstance - 获取轻量应用云主机列表 + * DownloadTeamOrder - 下载团队订单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DownloadTeamOrderResponse downloadTeamOrder(DownloadTeamOrderRequest request) + throws UCloudException; + + /** + * GetCompShareAttachedDiskUpgradePrice - 获取算力平台实例磁盘升级价格 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareAttachedDiskUpgradePriceResponse getCompShareAttachedDiskUpgradePrice( + GetCompShareAttachedDiskUpgradePriceRequest request) throws UCloudException; + + /** + * GetCompShareImageCreateProgress - 获取算力平台镜像制作进度 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareImageCreateProgressResponse getCompShareImageCreateProgress( + GetCompShareImageCreateProgressRequest request) throws UCloudException; + + /** + * GetCompShareInstanceMonitor - 获取实例监控指标 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareInstanceMonitorResponse getCompShareInstanceMonitor( + GetCompShareInstanceMonitorRequest request) throws UCloudException; + + /** + * GetCompShareInstancePrice - 获取算力平台实例价格 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareInstancePriceResponse getCompShareInstancePrice( + GetCompShareInstancePriceRequest request) throws UCloudException; + + /** + * GetCompShareInstanceUpgradePrice - 获取算力平台实例升降级价格 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCompShareInstanceUpgradePriceResponse getCompShareInstanceUpgradePrice( + GetCompShareInstanceUpgradePriceRequest request) throws UCloudException; + + /** + * GetCompShareInstanceUserPrice - 获取算力平台实例用户价格 * * @param request Request object * @throws UCloudException Exception */ - public DescribeULHostInstanceResponse describeULHostInstance( - DescribeULHostInstanceRequest request) throws UCloudException; + public GetCompShareInstanceUserPriceResponse getCompShareInstanceUserPrice( + GetCompShareInstanceUserPriceRequest request) throws UCloudException; /** - * GetULHostInstancePrice - 获取轻量应用云主机套餐价格 + * GetCompShareRefundPrice - 获取算力平台实例删除扣除费用 * * @param request Request object * @throws UCloudException Exception */ - public GetULHostInstancePriceResponse getULHostInstancePrice( - GetULHostInstancePriceRequest request) throws UCloudException; + public GetCompShareRefundPriceResponse getCompShareRefundPrice( + GetCompShareRefundPriceRequest request) throws UCloudException; /** - * GetULHostRenewPrice - 获取主机续费价格 + * GetCompShareTeamInfo - 获取团队详细信息 * * @param request Request object * @throws UCloudException Exception */ - public GetULHostRenewPriceResponse getULHostRenewPrice(GetULHostRenewPriceRequest request) + public GetCompShareTeamInfoResponse getCompShareTeamInfo(GetCompShareTeamInfoRequest request) throws UCloudException; /** - * ModifyULHostAttribute - 修改轻量应用主机属性信息 + * GetOpenClawModelList - 获取OpenClaw模型列表 * * @param request Request object * @throws UCloudException Exception */ - public ModifyULHostAttributeResponse modifyULHostAttribute(ModifyULHostAttributeRequest request) + public GetOpenClawModelListResponse getOpenClawModelList(GetOpenClawModelListRequest request) throws UCloudException; /** - * PoweroffULHostInstance - 模拟主机掉电 + * GetSoftwareURL - 获取算力平台实例应用URL * * @param request Request object * @throws UCloudException Exception */ - public PoweroffULHostInstanceResponse poweroffULHostInstance( - PoweroffULHostInstanceRequest request) throws UCloudException; + public GetSoftwareURLResponse getSoftwareURL(GetSoftwareURLRequest request) + throws UCloudException; /** - * RebootCompShareInstance - 重启轻量算力平台实例 + * ListCompShareTeam - 获取团队列表 * * @param request Request object * @throws UCloudException Exception */ - public RebootCompShareInstanceResponse rebootCompShareInstance( - RebootCompShareInstanceRequest request) throws UCloudException; + public ListCompShareTeamResponse listCompShareTeam(ListCompShareTeamRequest request) + throws UCloudException; /** - * RebootULHostInstance - 重启轻量应用云主机 + * ListCompShareTeamInvite - 获取邀请成员的列表 * * @param request Request object * @throws UCloudException Exception */ - public RebootULHostInstanceResponse rebootULHostInstance(RebootULHostInstanceRequest request) + public ListCompShareTeamInviteResponse listCompShareTeamInvite( + ListCompShareTeamInviteRequest request) throws UCloudException; + + /** + * ListCompShareTeamJoined - 获取加入团队信息列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCompShareTeamJoinedResponse listCompShareTeamJoined( + ListCompShareTeamJoinedRequest request) throws UCloudException; + + /** + * ListCompShareTeamOperateLog - 获取团队操作日志列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCompShareTeamOperateLogResponse listCompShareTeamOperateLog( + ListCompShareTeamOperateLogRequest request) throws UCloudException; + + /** + * ListMemberProductType - 获取成员订单产品类型 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListMemberProductTypeResponse listMemberProductType(ListMemberProductTypeRequest request) throws UCloudException; /** - * ReinstallCompShareInstance - 重装算力平台实例 + * ModifyCompShareImageShareAccount - 管理镜像的共享账号列表 * * @param request Request object * @throws UCloudException Exception */ - public ReinstallCompShareInstanceResponse reinstallCompShareInstance( - ReinstallCompShareInstanceRequest request) throws UCloudException; + public ModifyCompShareImageShareAccountResponse modifyCompShareImageShareAccount( + ModifyCompShareImageShareAccountRequest request) throws UCloudException; + + /** + * ModifyCompShareInstanceName - 修改算力平台实例名称 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ModifyCompShareInstanceNameResponse modifyCompShareInstanceName( + ModifyCompShareInstanceNameRequest request) throws UCloudException; /** - * ReinstallULHostInstance - 重装轻量应用云主机 + * PublishCompShareImage - 将自制镜像发布到镜像社区 * * @param request Request object * @throws UCloudException Exception */ - public ReinstallULHostInstanceResponse reinstallULHostInstance( - ReinstallULHostInstanceRequest request) throws UCloudException; + public PublishCompShareImageResponse publishCompShareImage(PublishCompShareImageRequest request) + throws UCloudException; + + /** + * RebootCompShareInstance - 重启轻量算力平台实例 + * + * @param request Request object + * @throws UCloudException Exception + */ + public RebootCompShareInstanceResponse rebootCompShareInstance( + RebootCompShareInstanceRequest request) throws UCloudException; + + /** + * ReinstallCompShareInstance - 重装算力平台实例 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ReinstallCompShareInstanceResponse reinstallCompShareInstance( + ReinstallCompShareInstanceRequest request) throws UCloudException; /** * ResetCompShareInstancePassword - 重置算力平台实例密码 @@ -221,31 +633,40 @@ public ResetCompShareInstancePasswordResponse resetCompShareInstancePassword( ResetCompShareInstancePasswordRequest request) throws UCloudException; /** - * ResetULHostInstancePassword - 重置轻量应用云主机密码 + * ResizeCompShareDisk - 扩容算力磁盘 * * @param request Request object * @throws UCloudException Exception */ - public ResetULHostInstancePasswordResponse resetULHostInstancePassword( - ResetULHostInstancePasswordRequest request) throws UCloudException; + public ResizeCompShareDiskResponse resizeCompShareDisk(ResizeCompShareDiskRequest request) + throws UCloudException; /** - * StartCompShareInstance - 启动算力平台实例 + * ResizeCompShareInstance - 修改算力平台实例配置 * * @param request Request object * @throws UCloudException Exception */ - public StartCompShareInstanceResponse startCompShareInstance( - StartCompShareInstanceRequest request) throws UCloudException; + public ResizeCompShareInstanceResponse resizeCompShareInstance( + ResizeCompShareInstanceRequest request) throws UCloudException; /** - * StartULHostInstance - 启动轻量应用主机 + * SetCompShareTeamRelation - 设置邀请信息 * * @param request Request object * @throws UCloudException Exception */ - public StartULHostInstanceResponse startULHostInstance(StartULHostInstanceRequest request) - throws UCloudException; + public SetCompShareTeamRelationResponse setCompShareTeamRelation( + SetCompShareTeamRelationRequest request) throws UCloudException; + + /** + * StartCompShareInstance - 启动算力平台实例 + * + * @param request Request object + * @throws UCloudException Exception + */ + public StartCompShareInstanceResponse startCompShareInstance( + StartCompShareInstanceRequest request) throws UCloudException; /** * StopCompShareInstance - 关闭算力平台实例 @@ -257,13 +678,13 @@ public StopCompShareInstanceResponse stopCompShareInstance(StopCompShareInstance throws UCloudException; /** - * StopULHostInstance - 关闭轻量应用云主机 + * TerminateCompShareCustomImage - 删除算力平台自制镜像 * * @param request Request object * @throws UCloudException Exception */ - public StopULHostInstanceResponse stopULHostInstance(StopULHostInstanceRequest request) - throws UCloudException; + public TerminateCompShareCustomImageResponse terminateCompShareCustomImage( + TerminateCompShareCustomImageRequest request) throws UCloudException; /** * TerminateCompShareInstance - 删除轻量算力共享平台虚机实例 @@ -275,11 +696,29 @@ public TerminateCompShareInstanceResponse terminateCompShareInstance( TerminateCompShareInstanceRequest request) throws UCloudException; /** - * TerminateULHostInstance - 删除轻量应用云主机 + * UpdateCompShareImage - 编辑算力平台自制镜像信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateCompShareImageResponse updateCompShareImage(UpdateCompShareImageRequest request) + throws UCloudException; + + /** + * UpdateCompShareStopScheduler - 更新实例定时关机时间 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateCompShareStopSchedulerResponse updateCompShareStopScheduler( + UpdateCompShareStopSchedulerRequest request) throws UCloudException; + + /** + * UpdateCompShareTeam - 更改团队信息 * * @param request Request object * @throws UCloudException Exception */ - public TerminateULHostInstanceResponse terminateULHostInstance( - TerminateULHostInstanceRequest request) throws UCloudException; + public UpdateCompShareTeamResponse updateCompShareTeam(UpdateCompShareTeamRequest request) + throws UCloudException; } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostInstancePriceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachCompshareDiskRequest.java similarity index 55% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostInstancePriceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachCompshareDiskRequest.java index 663bf468..73e5f17f 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostInstancePriceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachCompshareDiskRequest.java @@ -18,13 +18,17 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class GetULHostInstancePriceRequest extends Request { +public class AttachCompshareDiskRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,22 +36,18 @@ public class GetULHostInstancePriceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** 套餐ID */ + /** 需要挂载的UDisk实例ID. */ @NotEmpty - @UCloudParam("BundleId") - private String bundleId; - - /** 获取指定计费模式的价格。枚举值:\\ > Year,按年付费; \\ > Month。未指定时,返回所有计费模式价格 */ - @UCloudParam("ChargeType") - private String chargeType; + @UCloudParam("UDiskId") + private String uDiskId; - /** 购买台数,范围[1,5]。默认:1 */ - @UCloudParam("Count") - private Integer count; + /** UHost实例ID。【UHostId和HostId必须选填一个,本字段即将废弃,建议使用HostId】 */ + @UCloudParam("UHostId") + private String uHostId; - /** 购买时长。默认: 1。不支持购买到月末 */ - @UCloudParam("Quantity") - private Integer quantity; + /** 是否允许跨pod挂载(Yes:允许跨pod挂载,No:不允许跨pod挂载,不填默认No) */ + @UCloudParam("EnableCrossPodAttach") + private String enableCrossPodAttach; public String getRegion() { return region; @@ -57,43 +57,43 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getBundleId() { - return bundleId; + public String getProjectId() { + return projectId; } - public void setBundleId(String bundleId) { - this.bundleId = bundleId; + public void setProjectId(String projectId) { + this.projectId = projectId; } - public String getChargeType() { - return chargeType; + public String getUDiskId() { + return uDiskId; } - public void setChargeType(String chargeType) { - this.chargeType = chargeType; + public void setUDiskId(String uDiskId) { + this.uDiskId = uDiskId; } - public Integer getCount() { - return count; + public String getUHostId() { + return uHostId; } - public void setCount(Integer count) { - this.count = count; + public void setUHostId(String uHostId) { + this.uHostId = uHostId; } - public Integer getQuantity() { - return quantity; + public String getEnableCrossPodAttach() { + return enableCrossPodAttach; } - public void setQuantity(Integer quantity) { - this.quantity = quantity; + public void setEnableCrossPodAttach(String enableCrossPodAttach) { + this.enableCrossPodAttach = enableCrossPodAttach; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachCompshareDiskResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachCompshareDiskResponse.java new file mode 100644 index 00000000..3d184217 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachCompshareDiskResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class AttachCompshareDiskResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResetULHostInstancePasswordRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachUS3Request.java similarity index 73% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResetULHostInstancePasswordRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachUS3Request.java index 32db71fe..91f42f21 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResetULHostInstancePasswordRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachUS3Request.java @@ -18,13 +18,18 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class ResetULHostInstancePasswordRequest extends Request { +public class AttachUS3Request extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,15 +37,10 @@ public class ResetULHostInstancePasswordRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost实例ID */ - @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; - - /** ULHost新密码(密码格式使用BASE64编码) */ + /** 实例Id */ @NotEmpty - @UCloudParam("Password") - private String password; + @UCloudParam("UHostId") + private String uHostId; public String getRegion() { return region; @@ -50,27 +50,27 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getULHostId() { - return ulHostId; + public String getProjectId() { + return projectId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setProjectId(String projectId) { + this.projectId = projectId; } - public String getPassword() { - return password; + public String getUHostId() { + return uHostId; } - public void setPassword(String password) { - this.password = password; + public void setUHostId(String uHostId) { + this.uHostId = uHostId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachUS3Response.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachUS3Response.java new file mode 100644 index 00000000..e48e2082 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/AttachUS3Response.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class AttachUS3Response extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PoweroffULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CheckCompShareNetOptimizerRequest.java similarity index 82% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PoweroffULHostInstanceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CheckCompShareNetOptimizerRequest.java index 9c7592a9..aff917fa 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PoweroffULHostInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CheckCompShareNetOptimizerRequest.java @@ -18,13 +18,18 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class PoweroffULHostInstanceRequest extends Request { +public class CheckCompShareNetOptimizerRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,11 +37,6 @@ public class PoweroffULHostInstanceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost实例ID */ - @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; - public String getRegion() { return region; } @@ -45,19 +45,19 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getULHostId() { - return ulHostId; + public String getProjectId() { + return projectId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setProjectId(String projectId) { + this.projectId = projectId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyULHostAttributeResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CheckCompShareNetOptimizerResponse.java similarity index 71% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyULHostAttributeResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CheckCompShareNetOptimizerResponse.java index 23d2b068..18aca082 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyULHostAttributeResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CheckCompShareNetOptimizerResponse.java @@ -18,17 +18,17 @@ import com.google.gson.annotations.SerializedName; -public class ModifyULHostAttributeResponse extends Response { +public class CheckCompShareNetOptimizerResponse extends Response { - /** ULHost实例Id */ - @SerializedName("ULHostId") - private String ulHostId; + /** 是否已开通 */ + @SerializedName("Optimized") + private Boolean optimized; - public String getULHostId() { - return ulHostId; + public Boolean getOptimized() { + return optimized; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setOptimized(Boolean optimized) { + this.optimized = optimized; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageRequest.java new file mode 100644 index 00000000..a265d031 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageRequest.java @@ -0,0 +1,87 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class CopyCompShareCustomImageRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 镜像Id */ + @NotEmpty + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** 目标镜像名称 */ + @UCloudParam("TargetImageName") + private String targetImageName; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public String getTargetImageName() { + return targetImageName; + } + + public void setTargetImageName(String targetImageName) { + this.targetImageName = targetImageName; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageResponse.java new file mode 100644 index 00000000..3a27da2c --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CopyCompShareCustomImageResponse.java @@ -0,0 +1,34 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class CopyCompShareCustomImageResponse extends Response { + + /** 复制后的镜像Id */ + @SerializedName("NewCompShareImageId") + private String newCompShareImageId; + + public String getNewCompShareImageId() { + return newCompShareImageId; + } + + public void setNewCompShareImageId(String newCompShareImageId) { + this.newCompShareImageId = newCompShareImageId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareCustomImageRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareCustomImageRequest.java new file mode 100644 index 00000000..1fbf6c0d --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareCustomImageRequest.java @@ -0,0 +1,165 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class CreateCompShareCustomImageRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 实例Id */ + @NotEmpty + @UCloudParam("UHostId") + private String uHostId; + + /** 镜像名称。不允许与账号下其他镜像名称重复 */ + @NotEmpty + @UCloudParam("Name") + private String name; + + /** 镜像描述信息 */ + @UCloudParam("Description") + private String description; + + /** */ + @UCloudParam("Softwares") + private Softwares softwares; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Softwares getSoftwares() { + return softwares; + } + + public void setSoftwares(Softwares softwares) { + this.softwares = softwares; + } + + public static class Softwares extends Request { + + /** 镜像框架名称 */ + @UCloudParam("Framework") + private String framework; + + /** 镜像框架版本 */ + @UCloudParam("FrameworkVersion") + private String frameworkVersion; + + /** 镜像CUDA版本 */ + @UCloudParam("CUDAVersion") + private String cudaVersion; + + /** 【array of string】镜像的应用列表 */ + @UCloudParam("Application") + private List application; + + public String getFramework() { + return framework; + } + + public void setFramework(String framework) { + this.framework = framework; + } + + public String getFrameworkVersion() { + return frameworkVersion; + } + + public void setFrameworkVersion(String frameworkVersion) { + this.frameworkVersion = frameworkVersion; + } + + public String getCUDAVersion() { + return cudaVersion; + } + + public void setCUDAVersion(String cudaVersion) { + this.cudaVersion = cudaVersion; + } + + public List getApplication() { + return application; + } + + public void setApplication(List application) { + this.application = application; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PoweroffULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareCustomImageResponse.java similarity index 68% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PoweroffULHostInstanceResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareCustomImageResponse.java index f1f4bc78..a4e70c07 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PoweroffULHostInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareCustomImageResponse.java @@ -18,17 +18,17 @@ import com.google.gson.annotations.SerializedName; -public class PoweroffULHostInstanceResponse extends Response { +public class CreateCompShareCustomImageResponse extends Response { - /** ULHost实例ID */ - @SerializedName("ULHostId") - private String ulHostId; + /** 镜像Id */ + @SerializedName("CompShareImageId") + private String compShareImageId; - public String getULHostId() { - return ulHostId; + public String getCompShareImageId() { + return compShareImageId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareInstanceRequest.java index 643a9a65..cc537fe3 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareInstanceRequest.java @@ -96,7 +96,8 @@ public class CreateCompShareInstanceRequest extends Request { /** * 最低cpu平台,枚举值["Intel/Auto", "Intel/IvyBridge", "Intel/Haswell", "Intel/Broadwell", * "Intel/Skylake", "Intel/Cascadelake", "Intel/CascadelakeR", "Intel/IceLake", "Amd/Epyc2", - * "Amd/Auto","Ampere/Auto","Ampere/Altra"],默认值是"Intel/Auto"。 + * "Amd/Auto","Ampere/Auto","Ampere/Altra", "Auto"],默认值是"Intel/Auto", "Auto" 自动分配Amd或者Intel + * cpu平台。 */ @UCloudParam("MinimalCpuPlatform") private String minimalCpuPlatform; @@ -116,6 +117,10 @@ public class CreateCompShareInstanceRequest extends Request { @UCloudParam("SecurityGroupId") private String securityGroupId; + /** 是否挂载云存储(仅容器实例支持此操作) */ + @UCloudParam("EnableUS3") + private Boolean enableUS3; + public String getRegion() { return region; } @@ -252,6 +257,14 @@ public void setSecurityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; } + public Boolean getEnableUS3() { + return enableUS3; + } + + public void setEnableUS3(Boolean enableUS3) { + this.enableUS3 = enableUS3; + } + public static class Disks extends Request { /** 是否是系统盘。枚举值:\\ > True,是系统盘 \\ > False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 */ diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationRequest.java new file mode 100644 index 00000000..8ca31070 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationRequest.java @@ -0,0 +1,115 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class CreateCompShareTeamRelationRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** */ + @UCloudParam("UserInfo") + private List userInfo; + + /** 团队Id */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public List getUserInfo() { + return userInfo; + } + + public void setUserInfo(List userInfo) { + this.userInfo = userInfo; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public static class UserInfo extends Request { + + /** 被邀请成员的公司Id */ + @NotEmpty + @UCloudParam("UserCompanyId") + private Integer userCompanyId; + + /** 被邀请成员的备注名称 */ + @UCloudParam("RemarkName") + private String remarkName; + + public Integer getUserCompanyId() { + return userCompanyId; + } + + public void setUserCompanyId(Integer userCompanyId) { + this.userCompanyId = userCompanyId; + } + + public String getRemarkName() { + return remarkName; + } + + public void setRemarkName(String remarkName) { + this.remarkName = remarkName; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationResponse.java new file mode 100644 index 00000000..74776412 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRelationResponse.java @@ -0,0 +1,37 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class CreateCompShareTeamRelationResponse extends Response { + + /** + * 错误信息Map:key:被邀请成员的公司Id ,value :报错信息ErrorInfo(object),ErrorInfo.Message 报错信息,ErrorInfo.Code + * 报错Code + */ + @SerializedName("ErrorMap") + private Object errorMap; + + public Object getErrorMap() { + return errorMap; + } + + public void setErrorMap(Object errorMap) { + this.errorMap = errorMap; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRequest.java new file mode 100644 index 00000000..5a3ac2fe --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamRequest.java @@ -0,0 +1,86 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class CreateCompShareTeamRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 团队名称 */ + @NotEmpty + @UCloudParam("Name") + private String name; + + /** 团队简介 */ + @UCloudParam("Description") + private String description; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamResponse.java new file mode 100644 index 00000000..eafea966 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateCompShareTeamResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class CreateCompShareTeamResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateULHostInstanceRequest.java deleted file mode 100644 index aa100210..00000000 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateULHostInstanceRequest.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * Copyright 2021 UCloud Technology Co., Ltd. - * - *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of the License at - * - *

http://www.apache.org/licenses/LICENSE-2.0 - * - *

Unless required by applicable law or agreed to in writing, software distributed under the - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing permissions and - * limitations under the License. - */ -package cn.ucloud.ucompshare.models; - - -import cn.ucloud.common.annotation.NotEmpty; -import cn.ucloud.common.annotation.UCloudParam; -import cn.ucloud.common.request.Request; - -public class CreateULHostInstanceRequest extends Request { - - /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ - @NotEmpty - @UCloudParam("Region") - private String region; - - /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) - */ - @UCloudParam("ProjectId") - private String projectId; - - /** 镜像ID。 请通过 [DescribeImage](describe_image.html)获取 */ - @NotEmpty - @UCloudParam("ImageId") - private String imageId; - - /** 套餐ID。如:"ulh.c1m1s40b30t800" */ - @NotEmpty - @UCloudParam("BundleId") - private String bundleId; - - /** - * ULHost密码。请遵照[[api:uhost-api:specification|字段规范]]设定密码。密码需使用base64进行编码,举例如下:# echo -n Password1 - * | base64 - */ - @NotEmpty - @UCloudParam("Password") - private String password; - - /** 轻量应用主机名称。默认:套餐ID。请遵照[[api:uhost-api:specification|字段规范]]设定实例名称。 */ - @UCloudParam("Name") - private String name; - - /** 计费模式。枚举值: \\ > Year,按年付费; \\ > Month,按月付费;默认:Month */ - @UCloudParam("ChargeType") - private String chargeType; - - /** 购买时长。默认:1。不支持购买到月末 */ - @UCloudParam("Quantity") - private Integer quantity; - - /** VPC ID。默认为当前地域的默认VPC。 */ - @UCloudParam("VPCId") - private String vpcId; - - /** 子网 ID。默认为当前地域的默认子网。 */ - @UCloudParam("SubnetId") - private String subnetId; - - /** - * 防火墙ID,默认:Web推荐防火墙。如何查询SecurityGroupId请参见 - * [DescribeFirewall](api/unet-api/describe_firewall.html)。 - */ - @UCloudParam("SecurityGroupId") - private String securityGroupId; - - /** 主机代金券ID。请通过DescribeCoupon接口查询,或登录用户中心查看 */ - @UCloudParam("CouponId") - private String couponId; - - public String getRegion() { - return region; - } - - public void setRegion(String region) { - this.region = region; - } - - public String getProjectId() { - return projectId; - } - - public void setProjectId(String projectId) { - this.projectId = projectId; - } - - public String getImageId() { - return imageId; - } - - public void setImageId(String imageId) { - this.imageId = imageId; - } - - public String getBundleId() { - return bundleId; - } - - public void setBundleId(String bundleId) { - this.bundleId = bundleId; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getChargeType() { - return chargeType; - } - - public void setChargeType(String chargeType) { - this.chargeType = chargeType; - } - - public Integer getQuantity() { - return quantity; - } - - public void setQuantity(Integer quantity) { - this.quantity = quantity; - } - - public String getVPCId() { - return vpcId; - } - - public void setVPCId(String vpcId) { - this.vpcId = vpcId; - } - - public String getSubnetId() { - return subnetId; - } - - public void setSubnetId(String subnetId) { - this.subnetId = subnetId; - } - - public String getSecurityGroupId() { - return securityGroupId; - } - - public void setSecurityGroupId(String securityGroupId) { - this.securityGroupId = securityGroupId; - } - - public String getCouponId() { - return couponId; - } - - public void setCouponId(String couponId) { - this.couponId = couponId; - } -} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerRequest.java new file mode 100644 index 00000000..dbbce394 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerRequest.java @@ -0,0 +1,75 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DeleteCompShareStopSchedulerRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** UHost实例ID。【UHostId和HostId必须选填一个,本字段即将废弃,建议使用HostId】 */ + @NotEmpty + @UCloudParam("UHostId") + private String uHostId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerResponse.java new file mode 100644 index 00000000..a4933ccf --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareStopSchedulerResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class DeleteCompShareStopSchedulerResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamRequest.java new file mode 100644 index 00000000..ee11d0c1 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamRequest.java @@ -0,0 +1,74 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DeleteCompShareTeamRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 团队Id */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamResponse.java new file mode 100644 index 00000000..f2585eb3 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompShareTeamResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class DeleteCompShareTeamResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompshareDiskRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompshareDiskRequest.java new file mode 100644 index 00000000..d113d1ef --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompshareDiskRequest.java @@ -0,0 +1,114 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DeleteCompshareDiskRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 公司id */ + @NotEmpty + @UCloudParam("TopOrganizationID") + private Integer topOrganizationID; + + /** 项目id */ + @NotEmpty + @UCloudParam("OrganizationID") + private Integer organizationID; + + /** 磁盘ID */ + @NotEmpty + @UCloudParam("UDiskId") + private String uDiskId; + + /** 主机ID */ + @UCloudParam("UHostId") + private String uHostId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public Integer getTopOrganizationID() { + return topOrganizationID; + } + + public void setTopOrganizationID(Integer topOrganizationID) { + this.topOrganizationID = topOrganizationID; + } + + public Integer getOrganizationID() { + return organizationID; + } + + public void setOrganizationID(Integer organizationID) { + this.organizationID = organizationID; + } + + public String getUDiskId() { + return uDiskId; + } + + public void setUDiskId(String uDiskId) { + this.uDiskId = uDiskId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompshareDiskResponse.java similarity index 73% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateULHostInstanceResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompshareDiskResponse.java index c280bdac..ea8a8cc3 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/CreateULHostInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DeleteCompshareDiskResponse.java @@ -18,17 +18,17 @@ import com.google.gson.annotations.SerializedName; -public class CreateULHostInstanceResponse extends Response { +public class DeleteCompshareDiskResponse extends Response { - /** 实例ID */ - @SerializedName("ULHostId") - private String ulHostId; + /** 已删除磁盘id */ + @SerializedName("UDiskId") + private String uDiskId; - public String getULHostId() { - return ulHostId; + public String getUDiskId() { + return uDiskId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setUDiskId(String uDiskId) { + this.uDiskId = uDiskId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesRequest.java new file mode 100644 index 00000000..203705ee --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesRequest.java @@ -0,0 +1,70 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class DescribeAvailableCompShareInstanceTypesRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** 项目ID。不填写为默认项目,子帐号必须填写。 */ + @UCloudParam("ProjectId") + private String projectId; + + /** 指定机型列表 */ + @UCloudParam("MachineTypes") + private List machineTypes; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public List getMachineTypes() { + return machineTypes; + } + + public void setMachineTypes(List machineTypes) { + this.machineTypes = machineTypes; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesResponse.java new file mode 100644 index 00000000..2c415796 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeAvailableCompShareInstanceTypesResponse.java @@ -0,0 +1,586 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeAvailableCompShareInstanceTypesResponse extends Response { + + /** AvailableInstanceTypes */ + @SerializedName("AvailableInstanceTypes") + private List availableInstanceTypes; + + /** 当前区域是否可售 */ + @SerializedName("Status") + private String status; + + public List getAvailableInstanceTypes() { + return availableInstanceTypes; + } + + public void setAvailableInstanceTypes(List availableInstanceTypes) { + this.availableInstanceTypes = availableInstanceTypes; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public static class AvailableInstanceTypes extends Response { + + /** 可用区信息 */ + @SerializedName("Zone") + private String zone; + + /** 实例类型,枚举值["uhost", "spot"] */ + @SerializedName("InstanceType") + private String instanceType; + + /** 机型名称:快杰O型|O 、快杰共享型|OM 、快杰内存型|OMEM 、 快杰PRO型|OPRO、通用N型|N、高主频C型|C和GPU G型|G等 */ + @SerializedName("Name") + private String name; + + /** 机型状态:可售|Normal 、 公测|Beta、售罄|Soldout、隐藏|Hidden */ + @SerializedName("Status") + private String status; + + /** 支持的CPU平台,并且按照Intel、AMD和Ampere分类返回 */ + @SerializedName("CpuPlatforms") + private CpuPlatforms cpuPlatforms; + + /** + * 磁盘信息。磁盘主要分类如下:云盘|cloudDisk、普通本地盘|normalLocalDisk和SSD本地盘|ssdLocalDisk。 + * + *

其中云盘主要包含普通云盘|CLOUD_NORMAL、SSD云盘|CLOUD_SSD和RSSD云盘|CLOUD_RSSD。普通本地盘只包含普通本地盘|LOCAL_NORMAL一种。SSD本地盘只包含SSD本地盘|LOCAL_SSD一种。 + * + *

MinimalSize为磁盘最小值,如果没有该字段,最小值取基础镜像Size值即可(linux为20G,windows为40G)。MaximalSize为磁盘最大值。 + * + *

InstantResize表示系统盘是否允许扩容,如果是本地盘,则不允许扩容,InstantResize为false。 + * + *

Features为磁盘可支持的服务:数据方舟|DATAARK,快照服务|SNAPSHOT,加密盘|Encrypted。 + */ + @SerializedName("Disks") + private List disks; + + /** + * GPU、CPU和内存信息。Gpu为GPU可支持的规格,Cpu和Memory分别为CPU和内存可支持的规格。如果非GPU机型,GPU为0。 + * + *

MinimalCpuPlatform代表含义这个CPU和内存规格只能在列出来的CPU平台支持。 + */ + @SerializedName("MachineSizes") + private List machineSizes; + + /** + * 虚机可支持的特性。目前支持的特性网络增强|NetCapability、热升级|Hotplug。 + * + *

网络增强分为关闭|Normal、网络增强1.0|Super和网络增强2.0|Ultra。 + * + *

Name为可支持的特性名称,Modes为可以提供的模式类别等,RelatedToImageFeature为镜像上支持这个特性的标签。例如DescribeImage返回的字段Features包含HotPlug,说明该镜像支持热升级。 + * + *

MinimalCpuPlatform表示这个特性必须是列出来的CPU平台及以上的CPU才支持。 + */ + @SerializedName("Features") + private List features; + + /** 区分是否是GPU机型:GPU机型|GPU,非GPU机型|Normal。 */ + @SerializedName("MachineClass") + private String machineClass; + + /** GPU的显存指标,value为值,单位是GB。 */ + @SerializedName("GraphicsMemory") + private GraphicsMemory graphicsMemory; + + /** GPU的性能指标,value为值,单位是TFlops。 */ + @SerializedName("Performance") + private Performance performance; + + /** 父机型 */ + @SerializedName("ParentType") + private String parentType; + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getInstanceType() { + return instanceType; + } + + public void setInstanceType(String instanceType) { + this.instanceType = instanceType; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public CpuPlatforms getCpuPlatforms() { + return cpuPlatforms; + } + + public void setCpuPlatforms(CpuPlatforms cpuPlatforms) { + this.cpuPlatforms = cpuPlatforms; + } + + public List getDisks() { + return disks; + } + + public void setDisks(List disks) { + this.disks = disks; + } + + public List getMachineSizes() { + return machineSizes; + } + + public void setMachineSizes(List machineSizes) { + this.machineSizes = machineSizes; + } + + public List getFeatures() { + return features; + } + + public void setFeatures(List features) { + this.features = features; + } + + public String getMachineClass() { + return machineClass; + } + + public void setMachineClass(String machineClass) { + this.machineClass = machineClass; + } + + public GraphicsMemory getGraphicsMemory() { + return graphicsMemory; + } + + public void setGraphicsMemory(GraphicsMemory graphicsMemory) { + this.graphicsMemory = graphicsMemory; + } + + public Performance getPerformance() { + return performance; + } + + public void setPerformance(Performance performance) { + this.performance = performance; + } + + public String getParentType() { + return parentType; + } + + public void setParentType(String parentType) { + this.parentType = parentType; + } + } + + public static class BootDiskInfo extends Response { + + /** + * 系统盘类别,包含普通云盘|CLOUD_NORMAL、SSD云盘|CLOUD_SSD和RSSD云盘|CLOUD_RSSD。普通本地盘只包含普通本地盘|LOCAL_NORMAL一种。SSD本地盘只包含SSD本地盘|LOCAL_SSD一种。 + */ + @SerializedName("Name") + private String name; + + /** 系统盘是否允许扩容,如果是本地盘,则不允许扩容,InstantResize为false。 */ + @SerializedName("InstantResize") + private Boolean instantResize; + + /** MaximalSize为磁盘最大值 */ + @SerializedName("MaximalSize") + private Integer maximalSize; + + /** 磁盘可支持的服务 */ + @SerializedName("Features") + private List features; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Boolean getInstantResize() { + return instantResize; + } + + public void setInstantResize(Boolean instantResize) { + this.instantResize = instantResize; + } + + public Integer getMaximalSize() { + return maximalSize; + } + + public void setMaximalSize(Integer maximalSize) { + this.maximalSize = maximalSize; + } + + public List getFeatures() { + return features; + } + + public void setFeatures(List features) { + this.features = features; + } + } + + public static class Collection extends Response { + + /** CPU规格 */ + @SerializedName("Cpu") + private Integer cpu; + + /** 内存规格 */ + @SerializedName("Memory") + private List memory; + + /** CPU和内存规格只能在列出来的CPU平台支持 */ + @SerializedName("MinimalCpuPlatform") + private List minimalCpuPlatform; + + public Integer getCpu() { + return cpu; + } + + public void setCpu(Integer cpu) { + this.cpu = cpu; + } + + public List getMemory() { + return memory; + } + + public void setMemory(List memory) { + this.memory = memory; + } + + public List getMinimalCpuPlatform() { + return minimalCpuPlatform; + } + + public void setMinimalCpuPlatform(List minimalCpuPlatform) { + this.minimalCpuPlatform = minimalCpuPlatform; + } + } + + public static class CpuPlatforms extends Response { + + /** 返回Intel的CPU平台信息,例如:Intel: ['Intel/CascadeLake','Intel/CascadelakeR','Intel/IceLake'] */ + @SerializedName("Intel") + private List intel; + + /** 返回AMD的CPU平台信息,例如:AMD: ['Amd/Epyc2'] */ + @SerializedName("Amd") + private List amd; + + /** 返回Arm的CPU平台信息,例如:Ampere: ['Ampere/Altra'] */ + @SerializedName("Ampere") + private List ampere; + + public List getIntel() { + return intel; + } + + public void setIntel(List intel) { + this.intel = intel; + } + + public List getAmd() { + return amd; + } + + public void setAmd(List amd) { + this.amd = amd; + } + + public List getAmpere() { + return ampere; + } + + public void setAmpere(List ampere) { + this.ampere = ampere; + } + } + + public static class DataDiskInfo extends Response { + + /** 磁盘最小值,如果没有该字段,最小值取基础镜像Size值即可(linux为20G,windows为40G)。 */ + @SerializedName("MinimalSize") + private Integer minimalSize; + + /** + * 数据盘类别,包含普通云盘|CLOUD_NORMAL、SSD云盘|CLOUD_SSD和RSSD云盘|CLOUD_RSSD。普通本地盘只包含普通本地盘|LOCAL_NORMAL一种。SSD本地盘只包含SSD本地盘|LOCAL_SSD一种。 + */ + @SerializedName("Name") + private String name; + + /** MaximalSize为磁盘最大值 */ + @SerializedName("MaximalSize") + private Integer maximalSize; + + /** 数据盘可支持的服务 */ + @SerializedName("Features") + private List features; + + public Integer getMinimalSize() { + return minimalSize; + } + + public void setMinimalSize(Integer minimalSize) { + this.minimalSize = minimalSize; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getMaximalSize() { + return maximalSize; + } + + public void setMaximalSize(Integer maximalSize) { + this.maximalSize = maximalSize; + } + + public List getFeatures() { + return features; + } + + public void setFeatures(List features) { + this.features = features; + } + } + + public static class Disks extends Response { + + /** 磁盘介质类别信息,磁盘主要分类如下:云盘|cloudDisk、普通本地盘|normalLocalDisk和SSD本地盘|ssdLocalDisk。 */ + @SerializedName("Name") + private String name; + + /** 系统盘信息 */ + @SerializedName("BootDisk") + private List bootDisk; + + /** 数据盘信息 */ + @SerializedName("DataDisk") + private List dataDisk; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public List getBootDisk() { + return bootDisk; + } + + public void setBootDisk(List bootDisk) { + this.bootDisk = bootDisk; + } + + public List getDataDisk() { + return dataDisk; + } + + public void setDataDisk(List dataDisk) { + this.dataDisk = dataDisk; + } + } + + public static class FeatureModes extends Response { + + /** 模式|特性名称 */ + @SerializedName("Name") + private String name; + + /** 为镜像上支持这个特性的标签。例如DescribeImage返回的字段Features包含HotPlug,说明该镜像支持热升级。 */ + @SerializedName("RelatedToImageFeature") + private List relatedToImageFeature; + + /** 这个特性必须是列出来的CPU平台及以上的CPU才支持 */ + @SerializedName("MinimalCpuPlatform") + private List minimalCpuPlatform; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public List getRelatedToImageFeature() { + return relatedToImageFeature; + } + + public void setRelatedToImageFeature(List relatedToImageFeature) { + this.relatedToImageFeature = relatedToImageFeature; + } + + public List getMinimalCpuPlatform() { + return minimalCpuPlatform; + } + + public void setMinimalCpuPlatform(List minimalCpuPlatform) { + this.minimalCpuPlatform = minimalCpuPlatform; + } + } + + public static class Features extends Response { + + /** 可支持的特性名称。目前支持的特性网络增强|NetCapability、热升级|Hotplug */ + @SerializedName("Name") + private String name; + + /** 可以提供的模式类别 */ + @SerializedName("Modes") + private List modes; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public List getModes() { + return modes; + } + + public void setModes(List modes) { + this.modes = modes; + } + } + + public static class GraphicsMemory extends Response { + + /** 值,单位是GB */ + @SerializedName("Value") + private Integer value; + + /** 交互展示参数,可忽略 */ + @SerializedName("Rate") + private Integer rate; + + public Integer getValue() { + return value; + } + + public void setValue(Integer value) { + this.value = value; + } + + public Integer getRate() { + return rate; + } + + public void setRate(Integer rate) { + this.rate = rate; + } + } + + public static class MachineSizes extends Response { + + /** Gpu为GPU可支持的规格即GPU颗数,非GPU机型,Gpu为0 */ + @SerializedName("Gpu") + private Integer gpu; + + /** CPU和内存可支持的规格 */ + @SerializedName("Collection") + private List collection; + + public Integer getGpu() { + return gpu; + } + + public void setGpu(Integer gpu) { + this.gpu = gpu; + } + + public List getCollection() { + return collection; + } + + public void setCollection(List collection) { + this.collection = collection; + } + } + + public static class Performance extends Response { + + /** 值,单位是TFlops */ + @SerializedName("Value") + private Double value; + + /** 交互展示参数,可忽略 */ + @SerializedName("Rate") + private Integer rate; + + public Double getValue() { + return value; + } + + public void setValue(Double value) { + this.value = value; + } + + public Integer getRate() { + return rate; + } + + public void setRate(Integer rate) { + this.rate = rate; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryRequest.java new file mode 100644 index 00000000..b4e05a75 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryRequest.java @@ -0,0 +1,47 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeCompShareGpuInventoryRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryResponse.java new file mode 100644 index 00000000..543fa062 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareGpuInventoryResponse.java @@ -0,0 +1,62 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeCompShareGpuInventoryResponse extends Response { + + /** + * 返回为嵌套map:,key为池子名称 (Exclusive:独占,Spot :抢占) value : 库存余量信息map {key 可用区ID,value:GPU卡余量map + * (key:GPU机型,value:余量GPU卡数量),举例:{"Exclusive":{10027:{"2080":10}}}} + */ + @SerializedName("GpuInventoryByZone") + private Object gpuInventoryByZone; + + /** 缓存更新时间(5min更新一次) */ + @SerializedName("UpdateTime") + private Integer updateTime; + + /** 不支持抢占的GPU机型 */ + @SerializedName("SpotUnsupportedGpuTypes") + private List spotUnsupportedGpuTypes; + + public Object getGpuInventoryByZone() { + return gpuInventoryByZone; + } + + public void setGpuInventoryByZone(Object gpuInventoryByZone) { + this.gpuInventoryByZone = gpuInventoryByZone; + } + + public Integer getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Integer updateTime) { + this.updateTime = updateTime; + } + + public List getSpotUnsupportedGpuTypes() { + return spotUnsupportedGpuTypes; + } + + public void setSpotUnsupportedGpuTypes(List spotUnsupportedGpuTypes) { + this.spotUnsupportedGpuTypes = spotUnsupportedGpuTypes; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StartULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageShareAccountsRequest.java similarity index 81% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StartULHostInstanceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageShareAccountsRequest.java index 6a4447a5..75fc622a 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StartULHostInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageShareAccountsRequest.java @@ -18,7 +18,7 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class StartULHostInstanceRequest extends Request { +public class DescribeCompShareImageShareAccountsRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @@ -32,10 +32,10 @@ public class StartULHostInstanceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost实例ID */ + /** 镜像Id */ @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; + @UCloudParam("CompShareImageId") + private String compShareImageId; public String getRegion() { return region; @@ -53,11 +53,11 @@ public void setProjectId(String projectId) { this.projectId = projectId; } - public String getULHostId() { - return ulHostId; + public String getCompShareImageId() { + return compShareImageId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageShareAccountsResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageShareAccountsResponse.java new file mode 100644 index 00000000..3254f4e9 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageShareAccountsResponse.java @@ -0,0 +1,62 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeCompShareImageShareAccountsResponse extends Response { + + /** 被共享的账号列表 */ + @SerializedName("AccountSet") + private List accountSet; + + public List getAccountSet() { + return accountSet; + } + + public void setAccountSet(List accountSet) { + this.accountSet = accountSet; + } + + public static class Projects extends Response { + + /** 账号昵称 */ + @SerializedName("AccountName") + private String accountName; + + /** 账号Id */ + @SerializedName("AccountId") + private String accountId; + + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/RebootULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageTagsRequest.java similarity index 80% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/RebootULHostInstanceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageTagsRequest.java index bada6d49..2a633b62 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/RebootULHostInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageTagsRequest.java @@ -14,17 +14,19 @@ package cn.ucloud.ucompshare.models; -import cn.ucloud.common.annotation.NotEmpty; import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class RebootULHostInstanceRequest extends Request { +public class DescribeCompShareImageTagsRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ - @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,11 +34,6 @@ public class RebootULHostInstanceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost实例ID */ - @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; - public String getRegion() { return region; } @@ -45,19 +42,19 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getULHostId() { - return ulHostId; + public String getProjectId() { + return projectId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setProjectId(String projectId) { + this.projectId = projectId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/RebootULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageTagsResponse.java similarity index 69% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/RebootULHostInstanceResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageTagsResponse.java index bd0d1a0c..4a5d7ea6 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/RebootULHostInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareImageTagsResponse.java @@ -13,22 +13,23 @@ */ package cn.ucloud.ucompshare.models; - import cn.ucloud.common.response.Response; import com.google.gson.annotations.SerializedName; -public class RebootULHostInstanceResponse extends Response { +import java.util.List; + +public class DescribeCompShareImageTagsResponse extends Response { - /** ULHost实例ID */ - @SerializedName("ULHostId") - private String ulHostId; + /** 【Array of string】镜像标签列表 */ + @SerializedName("Tags") + private List tags; - public String getULHostId() { - return ulHostId; + public List getTags() { + return tags; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setTags(List tags) { + this.tags = tags; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareInstanceResponse.java index a825a192..57123310 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareInstanceResponse.java @@ -231,6 +231,14 @@ public static class CompShareInstanceSet extends Response { @SerializedName("MonitorMessages") private MonitorMessage monitorMessages; + /** 主机折扣类型 1:夜间折扣 2:节日折扣 */ + @SerializedName("DiscountType") + private Integer discountType; + + /** 主机启动时间 */ + @SerializedName("StartTime") + private Integer startTime; + public String getZone() { return zone; } @@ -591,6 +599,22 @@ public MonitorMessage getMonitorMessages() { public void setMonitorMessages(MonitorMessage monitorMessages) { this.monitorMessages = monitorMessages; } + + public Integer getDiscountType() { + return discountType; + } + + public void setDiscountType(Integer discountType) { + this.discountType = discountType; + } + + public Integer getStartTime() { + return startTime; + } + + public void setStartTime(Integer startTime) { + this.startTime = startTime; + } } public static class DiskPriceInfo extends Response { diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesRequest.java new file mode 100644 index 00000000..03f8a5ca --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesRequest.java @@ -0,0 +1,35 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeCompShareMachineTypeFamiliesRequest extends Request { + + /** 项目ID。因为子账号要iam鉴权而填写 */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesResponse.java new file mode 100644 index 00000000..be8d1bc5 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareMachineTypeFamiliesResponse.java @@ -0,0 +1,35 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeCompShareMachineTypeFamiliesResponse extends Response { + + /** 机型配置列表 */ + @SerializedName("MachineTypes") + private List machineTypes; + + public List getMachineTypes() { + return machineTypes; + } + + public void setMachineTypes(List machineTypes) { + this.machineTypes = machineTypes; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSharingImagesRequest.java similarity index 76% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostInstanceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSharingImagesRequest.java index 3451fff1..cb6cab56 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSharingImagesRequest.java @@ -13,19 +13,22 @@ */ package cn.ucloud.ucompshare.models; + import cn.ucloud.common.annotation.NotEmpty; import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -import java.util.List; - -public class DescribeULHostInstanceRequest extends Request { +public class DescribeCompShareSharingImagesRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -33,9 +36,9 @@ public class DescribeULHostInstanceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** 【数组】轻量应用云主机ID。 */ - @UCloudParam("ULHostIds") - private List ulHostIds; + /** 镜像Id */ + @UCloudParam("CompShareImageId") + private String compShareImageId; /** 列表起始位置偏移量,默认为0 */ @UCloudParam("Offset") @@ -53,6 +56,14 @@ public void setRegion(String region) { this.region = region; } + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + public String getProjectId() { return projectId; } @@ -61,12 +72,12 @@ public void setProjectId(String projectId) { this.projectId = projectId; } - public List getULHostIds() { - return ulHostIds; + public String getCompShareImageId() { + return compShareImageId; } - public void setULHostIds(List ulHostIds) { - this.ulHostIds = ulHostIds; + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; } public Integer getOffset() { diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSharingImagesResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSharingImagesResponse.java new file mode 100644 index 00000000..094d0daf --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSharingImagesResponse.java @@ -0,0 +1,488 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeCompShareSharingImagesResponse extends Response { + + /** 共享镜像列表 */ + @SerializedName("ImageSet") + private List imageSet; + + /** 总数 */ + @SerializedName("TotalCount") + private Integer totalCount; + + public List getImageSet() { + return imageSet; + } + + public void setImageSet(List imageSet) { + this.imageSet = imageSet; + } + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public static class CompShareImage extends Response { + + /** 镜像Id */ + @SerializedName("CompShareImageId") + private String compShareImageId; + + /** 镜像名称 */ + @SerializedName("Name") + private String name; + + /** 镜像作者昵称 */ + @SerializedName("Author") + private String author; + + /** 镜像作者认证信息 */ + @SerializedName("AuthInfo") + private Integer authInfo; + + /** 镜像来源。 - Official 平台镜像; - Community 社区镜像 */ + @SerializedName("ImageOwnerAlias") + private String imageOwnerAlias; + + /** 镜像类型。 - System 平台提供的公共镜像; - App 平台提供的应用镜像; - Custom 自制镜像; - Community 社区镜像 */ + @SerializedName("ImageType") + private String imageType; + + /** 来源是否为官方镜像【仅自制镜像信息返回该字段】 */ + @SerializedName("IsOfficial") + private Boolean isOfficial; + + /** 是否为容器镜像。 - True 容器镜像 - False 虚机镜像 */ + @SerializedName("Container") + private String container; + + /** 镜像状态。 - Making 制作中; - Available 可用; - UnAvailable 不可用; - Reviewing 审核中; - Offline 已下线 */ + @SerializedName("Status") + private String status; + + /** 镜像大小。单位MB */ + @SerializedName("Size") + private Integer size; + + /** 可见性。0:私密镜像;1:公开至镜像社区 */ + @SerializedName("Visibility") + private Integer visibility; + + /** 镜像描述信息 */ + @SerializedName("Description") + private String description; + + /** 【array of string】镜像标签 */ + @SerializedName("Tags") + private List tags; + + /** 镜像价格。单位:元 */ + @SerializedName("Price") + private Double price; + + /** 镜像封面URL */ + @SerializedName("Cover") + private String cover; + + /** 镜像详细描述。仅指定镜像Id查询时返回 */ + @SerializedName("Readme") + private String readme; + + /** 镜像软件信息 */ + @SerializedName("Softwares") + private Software softwares; + + /** 镜像引用创建计数 */ + @SerializedName("CreatedCount") + private Integer createdCount; + + /** 镜像收藏计数 */ + @SerializedName("FavoritesCount") + private Integer favoritesCount; + + /** 镜像制作失败错误原因 */ + @SerializedName("FailedReason") + private String failedReason; + + /** 创建时间戳 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 发布时间戳 */ + @SerializedName("PubTime") + private Integer pubTime; + + /** 镜像所属账号信息 */ + @SerializedName("Owner") + private Projects owner; + + /** 镜像组id */ + @SerializedName("GroupId") + private String groupId; + + /** 版本名称 */ + @SerializedName("VersionName") + private String versionName; + + /** 版本描述 */ + @SerializedName("VersionDesc") + private String versionDesc; + + /** 自制镜像来源机型 */ + @SerializedName("SourceGpuType") + private String sourceGpuType; + + /** 是否支持自启动 default:false */ + @SerializedName("AutoStart") + private Boolean autoStart; + + /** 是否镜像收费 default: false */ + @SerializedName("ImageCharge") + private Boolean imageCharge; + + /** 镜像使用时长 */ + @SerializedName("ImageUseTime") + private Integer imageUseTime; + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAuthor() { + return author; + } + + public void setAuthor(String author) { + this.author = author; + } + + public Integer getAuthInfo() { + return authInfo; + } + + public void setAuthInfo(Integer authInfo) { + this.authInfo = authInfo; + } + + public String getImageOwnerAlias() { + return imageOwnerAlias; + } + + public void setImageOwnerAlias(String imageOwnerAlias) { + this.imageOwnerAlias = imageOwnerAlias; + } + + public String getImageType() { + return imageType; + } + + public void setImageType(String imageType) { + this.imageType = imageType; + } + + public Boolean getIsOfficial() { + return isOfficial; + } + + public void setIsOfficial(Boolean isOfficial) { + this.isOfficial = isOfficial; + } + + public String getContainer() { + return container; + } + + public void setContainer(String container) { + this.container = container; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public Integer getVisibility() { + return visibility; + } + + public void setVisibility(Integer visibility) { + this.visibility = visibility; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public Double getPrice() { + return price; + } + + public void setPrice(Double price) { + this.price = price; + } + + public String getCover() { + return cover; + } + + public void setCover(String cover) { + this.cover = cover; + } + + public String getReadme() { + return readme; + } + + public void setReadme(String readme) { + this.readme = readme; + } + + public Software getSoftwares() { + return softwares; + } + + public void setSoftwares(Software softwares) { + this.softwares = softwares; + } + + public Integer getCreatedCount() { + return createdCount; + } + + public void setCreatedCount(Integer createdCount) { + this.createdCount = createdCount; + } + + public Integer getFavoritesCount() { + return favoritesCount; + } + + public void setFavoritesCount(Integer favoritesCount) { + this.favoritesCount = favoritesCount; + } + + public String getFailedReason() { + return failedReason; + } + + public void setFailedReason(String failedReason) { + this.failedReason = failedReason; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getPubTime() { + return pubTime; + } + + public void setPubTime(Integer pubTime) { + this.pubTime = pubTime; + } + + public Projects getOwner() { + return owner; + } + + public void setOwner(Projects owner) { + this.owner = owner; + } + + public String getGroupId() { + return groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + public String getVersionDesc() { + return versionDesc; + } + + public void setVersionDesc(String versionDesc) { + this.versionDesc = versionDesc; + } + + public String getSourceGpuType() { + return sourceGpuType; + } + + public void setSourceGpuType(String sourceGpuType) { + this.sourceGpuType = sourceGpuType; + } + + public Boolean getAutoStart() { + return autoStart; + } + + public void setAutoStart(Boolean autoStart) { + this.autoStart = autoStart; + } + + public Boolean getImageCharge() { + return imageCharge; + } + + public void setImageCharge(Boolean imageCharge) { + this.imageCharge = imageCharge; + } + + public Integer getImageUseTime() { + return imageUseTime; + } + + public void setImageUseTime(Integer imageUseTime) { + this.imageUseTime = imageUseTime; + } + } + + public static class Projects extends Response { + + /** 账号昵称 */ + @SerializedName("AccountName") + private String accountName; + + /** 账号Id */ + @SerializedName("AccountId") + private String accountId; + + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + } + + public static class Software extends Response { + + /** 框架名称 */ + @SerializedName("Framework") + private String framework; + + /** 框架版本 */ + @SerializedName("FrameworkVersion") + private String frameworkVersion; + + /** CUDA版本 */ + @SerializedName("CUDAVersion") + private String cudaVersion; + + /** 【array of string】应用列表 */ + @SerializedName("Applications") + private List applications; + + public String getFramework() { + return framework; + } + + public void setFramework(String framework) { + this.framework = framework; + } + + public String getFrameworkVersion() { + return frameworkVersion; + } + + public void setFrameworkVersion(String frameworkVersion) { + this.frameworkVersion = frameworkVersion; + } + + public String getCUDAVersion() { + return cudaVersion; + } + + public void setCUDAVersion(String cudaVersion) { + this.cudaVersion = cudaVersion; + } + + public List getApplications() { + return applications; + } + + public void setApplications(List applications) { + this.applications = applications; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostBundlesRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSoftwarePortRequest.java similarity index 95% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostBundlesRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSoftwarePortRequest.java index dbe99c2c..d216d973 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostBundlesRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSoftwarePortRequest.java @@ -18,7 +18,7 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class DescribeULHostBundlesRequest extends Request { +public class DescribeCompShareSoftwarePortRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSoftwarePortResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSoftwarePortResponse.java new file mode 100644 index 00000000..0108d467 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSoftwarePortResponse.java @@ -0,0 +1,62 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeCompShareSoftwarePortResponse extends Response { + + /** 应用端口信息 */ + @SerializedName("SoftwarePort") + private List softwarePort; + + public List getSoftwarePort() { + return softwarePort; + } + + public void setSoftwarePort(List softwarePort) { + this.softwarePort = softwarePort; + } + + public static class SoftwarePort extends Response { + + /** 应用名称 */ + @SerializedName("Software") + private String software; + + /** 端口号。范围: [1, 65535] */ + @SerializedName("Port") + private Integer port; + + public String getSoftware() { + return software; + } + + public void setSoftware(String software) { + this.software = software; + } + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneRequest.java new file mode 100644 index 00000000..890f3d90 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneRequest.java @@ -0,0 +1,35 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeCompShareSupportZoneRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneResponse.java new file mode 100644 index 00000000..1c4b3a4e --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeCompShareSupportZoneResponse.java @@ -0,0 +1,98 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeCompShareSupportZoneResponse extends Response { + + /** 可用区信息列表 */ + @SerializedName("ZoneInfo") + private List zoneInfo; + + public List getZoneInfo() { + return zoneInfo; + } + + public void setZoneInfo(List zoneInfo) { + this.zoneInfo = zoneInfo; + } + + public static class SupportZone extends Response { + + /** 地域名称 */ + @SerializedName("Region") + private String region; + + /** 可用区名称 */ + @SerializedName("Zone") + private String zone; + + /** 地域ID */ + @SerializedName("RegionId") + private Integer regionId; + + /** 可用区ID */ + @SerializedName("ZoneId") + private Integer zoneId; + + /** 可用区显示名称 */ + @SerializedName("Describe") + private String describe; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public Integer getRegionId() { + return regionId; + } + + public void setRegionId(Integer regionId) { + this.regionId = regionId; + } + + public Integer getZoneId() { + return zoneId; + } + + public void setZoneId(Integer zoneId) { + this.zoneId = zoneId; + } + + public String getDescribe() { + return describe; + } + + public void setDescribe(String describe) { + this.describe = describe; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsRequest.java new file mode 100644 index 00000000..a4a462a7 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsRequest.java @@ -0,0 +1,72 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeModelRepositoryModelsRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** 模型名称 */ + @UCloudParam("Name") + private String name; + + /** 模型标签列表, 标签之间英文逗号:"," 相连接 */ + @UCloudParam("Tags") + private String tags; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getTags() { + return tags; + } + + public void setTags(String tags) { + this.tags = tags; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsResponse.java new file mode 100644 index 00000000..6041dfeb --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryModelsResponse.java @@ -0,0 +1,98 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeModelRepositoryModelsResponse extends Response { + + /** 模型信息列表 */ + @SerializedName("Models") + private List models; + + public List getModels() { + return models; + } + + public void setModels(List models) { + this.models = models; + } + + public static class ModelRepositoryModel extends Response { + + /** 创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 模型名称 */ + @SerializedName("Name") + private String name; + + /** 模型路径 */ + @SerializedName("Path") + private String path; + + /** 模型标签 */ + @SerializedName("Tag") + private String tag; + + /** 模型大小 */ + @SerializedName("Size") + private String size; + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPath() { + return path; + } + + public void setPath(String path) { + this.path = path; + } + + public String getTag() { + return tag; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public String getSize() { + return size; + } + + public void setSize(String size) { + this.size = size; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryTagsRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryTagsRequest.java new file mode 100644 index 00000000..03ccfd59 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryTagsRequest.java @@ -0,0 +1,48 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeModelRepositoryTagsRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResetULHostInstancePasswordResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryTagsResponse.java similarity index 72% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResetULHostInstancePasswordResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryTagsResponse.java index 93769f8c..6e72590e 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResetULHostInstancePasswordResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeModelRepositoryTagsResponse.java @@ -13,22 +13,23 @@ */ package cn.ucloud.ucompshare.models; - import cn.ucloud.common.response.Response; import com.google.gson.annotations.SerializedName; -public class ResetULHostInstancePasswordResponse extends Response { +import java.util.List; + +public class DescribeModelRepositoryTagsResponse extends Response { - /** ULHost实例ID */ - @SerializedName("ULHostId") - private String ulHostId; + /** 标签列表 */ + @SerializedName("Tags") + private List tags; - public String getULHostId() { - return ulHostId; + public List getTags() { + return tags; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setTags(List tags) { + this.tags = tags; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesRequest.java new file mode 100644 index 00000000..b06be103 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesRequest.java @@ -0,0 +1,87 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeSelfCommunityImagesRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 镜像ID */ + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** 版本组ID */ + @UCloudParam("GroupId") + private String groupId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public String getGroupId() { + return groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesResponse.java new file mode 100644 index 00000000..bd4dce85 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeSelfCommunityImagesResponse.java @@ -0,0 +1,623 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeSelfCommunityImagesResponse extends Response { + + /** 镜像列表 */ + @SerializedName("ImageSetGroup") + private List imageSetGroup; + + /** 镜像总数 */ + @SerializedName("TotalCount") + private Integer totalCount; + + /** 仅计算当前ImageSetGroup中已发布的镜像信息,若某个Group中不存在已上线,则不统计 */ + @SerializedName("AvailableTotalCount") + private Integer availableTotalCount; + + public List getImageSetGroup() { + return imageSetGroup; + } + + public void setImageSetGroup(List imageSetGroup) { + this.imageSetGroup = imageSetGroup; + } + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getAvailableTotalCount() { + return availableTotalCount; + } + + public void setAvailableTotalCount(Integer availableTotalCount) { + this.availableTotalCount = availableTotalCount; + } + + public static class CompShareImage extends Response { + + /** 镜像Id */ + @SerializedName("CompShareImageId") + private String compShareImageId; + + /** 镜像名称 */ + @SerializedName("Name") + private String name; + + /** 镜像作者昵称 */ + @SerializedName("Author") + private String author; + + /** 镜像作者认证信息 */ + @SerializedName("AuthInfo") + private Integer authInfo; + + /** 镜像来源。 - Official 平台镜像; - Community 社区镜像 */ + @SerializedName("ImageOwnerAlias") + private String imageOwnerAlias; + + /** 镜像类型。 - System 平台提供的公共镜像; - App 平台提供的应用镜像; - Custom 自制镜像; - Community 社区镜像 */ + @SerializedName("ImageType") + private String imageType; + + /** 来源是否为官方镜像【仅自制镜像信息返回该字段】 */ + @SerializedName("IsOfficial") + private Boolean isOfficial; + + /** 是否为容器镜像。 - True 容器镜像 - False 虚机镜像 */ + @SerializedName("Container") + private String container; + + /** 镜像状态。 - Making 制作中; - Available 可用; - UnAvailable 不可用; - Reviewing 审核中; - Offline 已下线 */ + @SerializedName("Status") + private String status; + + /** 镜像大小。单位MB */ + @SerializedName("Size") + private Integer size; + + /** 可见性。0:私密镜像;1:公开至镜像社区 */ + @SerializedName("Visibility") + private Integer visibility; + + /** 镜像描述信息 */ + @SerializedName("Description") + private String description; + + /** 【array of string】镜像标签 */ + @SerializedName("Tags") + private List tags; + + /** 镜像价格。单位:元 */ + @SerializedName("Price") + private Double price; + + /** 镜像封面URL */ + @SerializedName("Cover") + private String cover; + + /** 镜像详细描述。仅指定镜像Id查询时返回 */ + @SerializedName("Readme") + private String readme; + + /** 镜像软件信息 */ + @SerializedName("Softwares") + private Software softwares; + + /** 镜像引用创建计数 */ + @SerializedName("CreatedCount") + private Integer createdCount; + + /** 镜像收藏计数 */ + @SerializedName("FavoritesCount") + private Integer favoritesCount; + + /** 镜像制作失败错误原因 */ + @SerializedName("FailedReason") + private String failedReason; + + /** 创建时间戳 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 发布时间戳 */ + @SerializedName("PubTime") + private Integer pubTime; + + /** 镜像所属账号信息 */ + @SerializedName("Owner") + private Projects owner; + + /** 镜像组id */ + @SerializedName("GroupId") + private String groupId; + + /** 版本名称 */ + @SerializedName("VersionName") + private String versionName; + + /** 版本描述 */ + @SerializedName("VersionDesc") + private String versionDesc; + + /** 自制镜像来源机型 */ + @SerializedName("SourceGpuType") + private String sourceGpuType; + + /** 是否支持自启动 default:false */ + @SerializedName("AutoStart") + private Boolean autoStart; + + /** 是否镜像收费 default: false */ + @SerializedName("ImageCharge") + private Boolean imageCharge; + + /** 镜像使用时长 */ + @SerializedName("ImageUseTime") + private Integer imageUseTime; + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAuthor() { + return author; + } + + public void setAuthor(String author) { + this.author = author; + } + + public Integer getAuthInfo() { + return authInfo; + } + + public void setAuthInfo(Integer authInfo) { + this.authInfo = authInfo; + } + + public String getImageOwnerAlias() { + return imageOwnerAlias; + } + + public void setImageOwnerAlias(String imageOwnerAlias) { + this.imageOwnerAlias = imageOwnerAlias; + } + + public String getImageType() { + return imageType; + } + + public void setImageType(String imageType) { + this.imageType = imageType; + } + + public Boolean getIsOfficial() { + return isOfficial; + } + + public void setIsOfficial(Boolean isOfficial) { + this.isOfficial = isOfficial; + } + + public String getContainer() { + return container; + } + + public void setContainer(String container) { + this.container = container; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public Integer getVisibility() { + return visibility; + } + + public void setVisibility(Integer visibility) { + this.visibility = visibility; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public Double getPrice() { + return price; + } + + public void setPrice(Double price) { + this.price = price; + } + + public String getCover() { + return cover; + } + + public void setCover(String cover) { + this.cover = cover; + } + + public String getReadme() { + return readme; + } + + public void setReadme(String readme) { + this.readme = readme; + } + + public Software getSoftwares() { + return softwares; + } + + public void setSoftwares(Software softwares) { + this.softwares = softwares; + } + + public Integer getCreatedCount() { + return createdCount; + } + + public void setCreatedCount(Integer createdCount) { + this.createdCount = createdCount; + } + + public Integer getFavoritesCount() { + return favoritesCount; + } + + public void setFavoritesCount(Integer favoritesCount) { + this.favoritesCount = favoritesCount; + } + + public String getFailedReason() { + return failedReason; + } + + public void setFailedReason(String failedReason) { + this.failedReason = failedReason; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getPubTime() { + return pubTime; + } + + public void setPubTime(Integer pubTime) { + this.pubTime = pubTime; + } + + public Projects getOwner() { + return owner; + } + + public void setOwner(Projects owner) { + this.owner = owner; + } + + public String getGroupId() { + return groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + public String getVersionDesc() { + return versionDesc; + } + + public void setVersionDesc(String versionDesc) { + this.versionDesc = versionDesc; + } + + public String getSourceGpuType() { + return sourceGpuType; + } + + public void setSourceGpuType(String sourceGpuType) { + this.sourceGpuType = sourceGpuType; + } + + public Boolean getAutoStart() { + return autoStart; + } + + public void setAutoStart(Boolean autoStart) { + this.autoStart = autoStart; + } + + public Boolean getImageCharge() { + return imageCharge; + } + + public void setImageCharge(Boolean imageCharge) { + this.imageCharge = imageCharge; + } + + public Integer getImageUseTime() { + return imageUseTime; + } + + public void setImageUseTime(Integer imageUseTime) { + this.imageUseTime = imageUseTime; + } + } + + public static class CompshareImageGroup extends Response { + + /** 版本组ID */ + @SerializedName("GroupId") + private String groupId; + + /** 镜像名称 */ + @SerializedName("ImageName") + private String imageName; + + /** 镜像描述 */ + @SerializedName("ImageDesc") + private String imageDesc; + + /** 引用创建次数 */ + @SerializedName("CreatedCount") + private Integer createdCount; + + /** 收藏数 */ + @SerializedName("FavoritesCount") + private Integer favoritesCount; + + /** 推荐数 */ + @SerializedName("RecommendCount") + private Integer recommendCount; + + /** 镜像组状态 Available 可用;UnAvailable 不可用 */ + @SerializedName("Status") + private String status; + + /** 镜像数据 */ + @SerializedName("Data") + private List data; + + /** 镜像使用时长 , 单位:小时 */ + @SerializedName("ImageUseTime") + private Integer imageUseTime; + + /** 是否被收藏 */ + @SerializedName("IsFavorite") + private Boolean isFavorite; + + public String getGroupId() { + return groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getImageName() { + return imageName; + } + + public void setImageName(String imageName) { + this.imageName = imageName; + } + + public String getImageDesc() { + return imageDesc; + } + + public void setImageDesc(String imageDesc) { + this.imageDesc = imageDesc; + } + + public Integer getCreatedCount() { + return createdCount; + } + + public void setCreatedCount(Integer createdCount) { + this.createdCount = createdCount; + } + + public Integer getFavoritesCount() { + return favoritesCount; + } + + public void setFavoritesCount(Integer favoritesCount) { + this.favoritesCount = favoritesCount; + } + + public Integer getRecommendCount() { + return recommendCount; + } + + public void setRecommendCount(Integer recommendCount) { + this.recommendCount = recommendCount; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + public Integer getImageUseTime() { + return imageUseTime; + } + + public void setImageUseTime(Integer imageUseTime) { + this.imageUseTime = imageUseTime; + } + + public Boolean getIsFavorite() { + return isFavorite; + } + + public void setIsFavorite(Boolean isFavorite) { + this.isFavorite = isFavorite; + } + } + + public static class Projects extends Response { + + /** 账号昵称 */ + @SerializedName("AccountName") + private String accountName; + + /** 账号Id */ + @SerializedName("AccountId") + private String accountId; + + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + } + + public static class Software extends Response { + + /** 框架名称 */ + @SerializedName("Framework") + private String framework; + + /** 框架版本 */ + @SerializedName("FrameworkVersion") + private String frameworkVersion; + + /** CUDA版本 */ + @SerializedName("CUDAVersion") + private String cudaVersion; + + /** 【array of string】应用列表 */ + @SerializedName("Applications") + private List applications; + + public String getFramework() { + return framework; + } + + public void setFramework(String framework) { + this.framework = framework; + } + + public String getFrameworkVersion() { + return frameworkVersion; + } + + public void setFrameworkVersion(String frameworkVersion) { + this.frameworkVersion = frameworkVersion; + } + + public String getCUDAVersion() { + return cudaVersion; + } + + public void setCUDAVersion(String cudaVersion) { + this.cudaVersion = cudaVersion; + } + + public List getApplications() { + return applications; + } + + public void setApplications(List applications) { + this.applications = applications; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountRequest.java new file mode 100644 index 00000000..f537acd7 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountRequest.java @@ -0,0 +1,134 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeTeamMemberOrderCountRequest extends Request { + + /** 团队ID */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + /** 团队虚拟账号ID */ + @NotEmpty + @UCloudParam("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 起始时间,需使用时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + /** 可用区 */ + @UCloudParam("Regions") + private String regions; + + /** 产品类型 */ + @UCloudParam("ResourceTypes") + private String resourceTypes; + + /** 订单类型 */ + @UCloudParam("OrderTypes") + private String orderTypes; + + /** 付费方式 */ + @UCloudParam("ChargeTypes") + private String chargeTypes; + + /** 订单状态 */ + @UCloudParam("OrderStates") + private String orderStates; + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public String getRegions() { + return regions; + } + + public void setRegions(String regions) { + this.regions = regions; + } + + public String getResourceTypes() { + return resourceTypes; + } + + public void setResourceTypes(String resourceTypes) { + this.resourceTypes = resourceTypes; + } + + public String getOrderTypes() { + return orderTypes; + } + + public void setOrderTypes(String orderTypes) { + this.orderTypes = orderTypes; + } + + public String getChargeTypes() { + return chargeTypes; + } + + public void setChargeTypes(String chargeTypes) { + this.chargeTypes = chargeTypes; + } + + public String getOrderStates() { + return orderStates; + } + + public void setOrderStates(String orderStates) { + this.orderStates = orderStates; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountResponse.java new file mode 100644 index 00000000..f66bfc20 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderCountResponse.java @@ -0,0 +1,82 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class DescribeTeamMemberOrderCountResponse extends Response { + + /** 订单数量 */ + @SerializedName("TotalCount") + private Integer totalCount; + + /** 订单总金额 */ + @SerializedName("Amount") + private String amount; + + /** 真实金额 */ + @SerializedName("AmountReal") + private String amountReal; + + /** 赠送金额 */ + @SerializedName("AmountFree") + private String amountFree; + + /** 代金券 */ + @SerializedName("AmountCoupon") + private String amountCoupon; + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public String getAmount() { + return amount; + } + + public void setAmount(String amount) { + this.amount = amount; + } + + public String getAmountReal() { + return amountReal; + } + + public void setAmountReal(String amountReal) { + this.amountReal = amountReal; + } + + public String getAmountFree() { + return amountFree; + } + + public void setAmountFree(String amountFree) { + this.amountFree = amountFree; + } + + public String getAmountCoupon() { + return amountCoupon; + } + + public void setAmountCoupon(String amountCoupon) { + this.amountCoupon = amountCoupon; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderRequest.java new file mode 100644 index 00000000..a670494d --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderRequest.java @@ -0,0 +1,207 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class DescribeTeamMemberOrderRequest extends Request { + + /** 起始时间,需使用时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + /** 团队ID */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + /** 团队虚拟账号ID */ + @NotEmpty + @UCloudParam("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 返回数据长度,默认为25,最大100 */ + @UCloudParam("Limit") + private Integer limit; + + /** 列表起始位置偏移量,默认为0 */ + @UCloudParam("Offset") + private Integer offset; + + /** 可用区 */ + @UCloudParam("Regions") + private List regions; + + /** 产品类型 */ + @UCloudParam("ResourceTypes") + private List resourceTypes; + + /** 订单类型 */ + @UCloudParam("OrderTypes") + private List orderTypes; + + /** 付费方式 */ + @UCloudParam("ChargeTypes") + private List chargeTypes; + + /** 订单状态 */ + @UCloudParam("OrderStates") + private List orderStates; + + /** 订单号 */ + @UCloudParam("OrderNos") + private List orderNos; + + /** 资源ID */ + @UCloudParam("ResourceIds") + private List resourceIds; + + /** 排序参数 */ + @UCloudParam("OrderBy") + private String orderBy; + + /** 排序方式 */ + @UCloudParam("OrderDir") + private String orderDir; + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public List getRegions() { + return regions; + } + + public void setRegions(List regions) { + this.regions = regions; + } + + public List getResourceTypes() { + return resourceTypes; + } + + public void setResourceTypes(List resourceTypes) { + this.resourceTypes = resourceTypes; + } + + public List getOrderTypes() { + return orderTypes; + } + + public void setOrderTypes(List orderTypes) { + this.orderTypes = orderTypes; + } + + public List getChargeTypes() { + return chargeTypes; + } + + public void setChargeTypes(List chargeTypes) { + this.chargeTypes = chargeTypes; + } + + public List getOrderStates() { + return orderStates; + } + + public void setOrderStates(List orderStates) { + this.orderStates = orderStates; + } + + public List getOrderNos() { + return orderNos; + } + + public void setOrderNos(List orderNos) { + this.orderNos = orderNos; + } + + public List getResourceIds() { + return resourceIds; + } + + public void setResourceIds(List resourceIds) { + this.resourceIds = resourceIds; + } + + public String getOrderBy() { + return orderBy; + } + + public void setOrderBy(String orderBy) { + this.orderBy = orderBy; + } + + public String getOrderDir() { + return orderDir; + } + + public void setOrderDir(String orderDir) { + this.orderDir = orderDir; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderResponse.java new file mode 100644 index 00000000..33b9f73c --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberOrderResponse.java @@ -0,0 +1,416 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeTeamMemberOrderResponse extends Response { + + /** 订单详细信息 */ + @SerializedName("OrderInfos") + private List orderInfos; + + /** 总条数 */ + @SerializedName("Total") + private Integer total; + + /** 分页大小 */ + @SerializedName("Limit") + private Integer limit; + + /** 分页偏移 */ + @SerializedName("Offset") + private Integer offset; + + public List getOrderInfos() { + return orderInfos; + } + + public void setOrderInfos(List orderInfos) { + this.orderInfos = orderInfos; + } + + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public static class OrderDetailItem extends Response { + + /** 产品名 */ + @SerializedName("ProductName") + private String productName; + + /** 配置 */ + @SerializedName("Value") + private String value; + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + } + + public static class OrderInfo extends Response { + + /** 订单号 */ + @SerializedName("OrderNo") + private String orderNo; + + /** 订单类型 */ + @SerializedName("OrderType") + private String orderType; + + /** 订单状态 */ + @SerializedName("OrderState") + private String orderState; + + /** 可用区 */ + @SerializedName("RegionId") + private String regionId; + + /** 产品类型 */ + @SerializedName("ResourceType") + private String resourceType; + + /** 付费方式 */ + @SerializedName("ChargeType") + private String chargeType; + + /** 订单金额 */ + @SerializedName("Amount") + private String amount; + + /** 真实金额 */ + @SerializedName("AmountReal") + private String amountReal; + + /** 赠金 */ + @SerializedName("AmountFree") + private String amountFree; + + /** 优惠券金额 */ + @SerializedName("AmountCoupon") + private String amountCoupon; + + /** 购买量 */ + @SerializedName("Quantity") + private String quantity; + + /** 购买数量 */ + @SerializedName("Count") + private Integer count; + + /** 创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 更新时间 */ + @SerializedName("UpdateTime") + private Integer updateTime; + + /** 订单起始时间 */ + @SerializedName("StartTime") + private Integer startTime; + + /** 订单结束时间 */ + @SerializedName("EndTime") + private Integer endTime; + + /** 交易号 */ + @SerializedName("TradeNo") + private String tradeNo; + + /** 资源ID */ + @SerializedName("ResourceId") + private String resourceId; + + /** 抢占式折扣,仅抢占式才展示 */ + @SerializedName("SpotDiscount") + private String spotDiscount; + + /** 折扣率 */ + @SerializedName("OriginalPrice") + private String originalPrice; + + /** 项目名称 */ + @SerializedName("ProjectName") + private String projectName; + + /** 配置详情 */ + @SerializedName("OrderDetail") + private List orderDetail; + + /** 原配置详情 */ + @SerializedName("OrderDetailOld") + private List orderDetailOld; + + /** 资源标识 */ + @SerializedName("ResourceTag") + private List resourceTag; + + public String getOrderNo() { + return orderNo; + } + + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; + } + + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } + + public String getOrderState() { + return orderState; + } + + public void setOrderState(String orderState) { + this.orderState = orderState; + } + + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getAmount() { + return amount; + } + + public void setAmount(String amount) { + this.amount = amount; + } + + public String getAmountReal() { + return amountReal; + } + + public void setAmountReal(String amountReal) { + this.amountReal = amountReal; + } + + public String getAmountFree() { + return amountFree; + } + + public void setAmountFree(String amountFree) { + this.amountFree = amountFree; + } + + public String getAmountCoupon() { + return amountCoupon; + } + + public void setAmountCoupon(String amountCoupon) { + this.amountCoupon = amountCoupon; + } + + public String getQuantity() { + return quantity; + } + + public void setQuantity(String quantity) { + this.quantity = quantity; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Integer updateTime) { + this.updateTime = updateTime; + } + + public Integer getStartTime() { + return startTime; + } + + public void setStartTime(Integer startTime) { + this.startTime = startTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public String getTradeNo() { + return tradeNo; + } + + public void setTradeNo(String tradeNo) { + this.tradeNo = tradeNo; + } + + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getSpotDiscount() { + return spotDiscount; + } + + public void setSpotDiscount(String spotDiscount) { + this.spotDiscount = spotDiscount; + } + + public String getOriginalPrice() { + return originalPrice; + } + + public void setOriginalPrice(String originalPrice) { + this.originalPrice = originalPrice; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public List getOrderDetail() { + return orderDetail; + } + + public void setOrderDetail(List orderDetail) { + this.orderDetail = orderDetail; + } + + public List getOrderDetailOld() { + return orderDetailOld; + } + + public void setOrderDetailOld(List orderDetailOld) { + this.orderDetailOld = orderDetailOld; + } + + public List getResourceTag() { + return resourceTag; + } + + public void setResourceTag(List resourceTag) { + this.resourceTag = resourceTag; + } + } + + public static class ResourceTagItem extends Response { + + /** 标识名称 */ + @SerializedName("KeyId") + private String keyId; + + /** 标识信息 */ + @SerializedName("Value") + private String value; + + public String getKeyId() { + return keyId; + } + + public void setKeyId(String keyId) { + this.keyId = keyId; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountRequest.java new file mode 100644 index 00000000..727c6ab3 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountRequest.java @@ -0,0 +1,171 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class DescribeTeamMemberUnpaidOrderCountRequest extends Request { + + /** 起始时间,需使用时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + /** 团队ID */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + /** 虚拟账号公司ID */ + @NotEmpty + @UCloudParam("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 组织ID */ + @UCloudParam("OrganizationId") + private Integer organizationId; + + /** 资源ID */ + @UCloudParam("ResourceIds") + private String resourceIds; + + /** 产品类型 */ + @UCloudParam("ResourceTypes") + private Integer resourceTypes; + + /** 订单类型 */ + @UCloudParam("OrderTypes") + private List orderTypes; + + /** 订单状态 */ + @UCloudParam("OrderStates") + private List orderStates; + + /** 付费方式 */ + @UCloudParam("ChargeTypes") + private List chargeTypes; + + /** 可用区 */ + @UCloudParam("Regions") + private List regions; + + /** 交易流水号 */ + @UCloudParam("TransactionNos") + private List transactionNos; + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public Integer getOrganizationId() { + return organizationId; + } + + public void setOrganizationId(Integer organizationId) { + this.organizationId = organizationId; + } + + public String getResourceIds() { + return resourceIds; + } + + public void setResourceIds(String resourceIds) { + this.resourceIds = resourceIds; + } + + public Integer getResourceTypes() { + return resourceTypes; + } + + public void setResourceTypes(Integer resourceTypes) { + this.resourceTypes = resourceTypes; + } + + public List getOrderTypes() { + return orderTypes; + } + + public void setOrderTypes(List orderTypes) { + this.orderTypes = orderTypes; + } + + public List getOrderStates() { + return orderStates; + } + + public void setOrderStates(List orderStates) { + this.orderStates = orderStates; + } + + public List getChargeTypes() { + return chargeTypes; + } + + public void setChargeTypes(List chargeTypes) { + this.chargeTypes = chargeTypes; + } + + public List getRegions() { + return regions; + } + + public void setRegions(List regions) { + this.regions = regions; + } + + public List getTransactionNos() { + return transactionNos; + } + + public void setTransactionNos(List transactionNos) { + this.transactionNos = transactionNos; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountResponse.java new file mode 100644 index 00000000..eee7def4 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderCountResponse.java @@ -0,0 +1,46 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class DescribeTeamMemberUnpaidOrderCountResponse extends Response { + + /** 欠费订单数 */ + @SerializedName("TotalCount") + private Integer totalCount; + + /** 欠费订单总金额 */ + @SerializedName("Amount") + private String amount; + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public String getAmount() { + return amount; + } + + public void setAmount(String amount) { + this.amount = amount; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderRequest.java new file mode 100644 index 00000000..cfae6e82 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderRequest.java @@ -0,0 +1,207 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class DescribeTeamMemberUnpaidOrderRequest extends Request { + + /** 起始时间,需使用时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + /** 团队ID */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + /** 团队虚拟账号ID */ + @NotEmpty + @UCloudParam("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 返回数据长度,默认为25,最大100 */ + @UCloudParam("Limit") + private Integer limit; + + /** 列表起始位置偏移量,默认为0 */ + @UCloudParam("Offset") + private Integer offset; + + /** 可用区 */ + @UCloudParam("Regions") + private List regions; + + /** 产品类型 */ + @UCloudParam("ResourceTypes") + private List resourceTypes; + + /** 订单类型 */ + @UCloudParam("OrderTypes") + private List orderTypes; + + /** 付费方式 */ + @UCloudParam("ChargeTypes") + private List chargeTypes; + + /** 订单状态 */ + @UCloudParam("OrderStates") + private List orderStates; + + /** 订单号 */ + @UCloudParam("OrderNos") + private List orderNos; + + /** 资源ID */ + @UCloudParam("ResourceIds") + private List resourceIds; + + /** 排序参数 */ + @UCloudParam("OrderBy") + private String orderBy; + + /** 排序方式 */ + @UCloudParam("OrderDir") + private String orderDir; + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public List getRegions() { + return regions; + } + + public void setRegions(List regions) { + this.regions = regions; + } + + public List getResourceTypes() { + return resourceTypes; + } + + public void setResourceTypes(List resourceTypes) { + this.resourceTypes = resourceTypes; + } + + public List getOrderTypes() { + return orderTypes; + } + + public void setOrderTypes(List orderTypes) { + this.orderTypes = orderTypes; + } + + public List getChargeTypes() { + return chargeTypes; + } + + public void setChargeTypes(List chargeTypes) { + this.chargeTypes = chargeTypes; + } + + public List getOrderStates() { + return orderStates; + } + + public void setOrderStates(List orderStates) { + this.orderStates = orderStates; + } + + public List getOrderNos() { + return orderNos; + } + + public void setOrderNos(List orderNos) { + this.orderNos = orderNos; + } + + public List getResourceIds() { + return resourceIds; + } + + public void setResourceIds(List resourceIds) { + this.resourceIds = resourceIds; + } + + public String getOrderBy() { + return orderBy; + } + + public void setOrderBy(String orderBy) { + this.orderBy = orderBy; + } + + public String getOrderDir() { + return orderDir; + } + + public void setOrderDir(String orderDir) { + this.orderDir = orderDir; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderResponse.java new file mode 100644 index 00000000..40af489c --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeTeamMemberUnpaidOrderResponse.java @@ -0,0 +1,317 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeTeamMemberUnpaidOrderResponse extends Response { + + /** 订单详细信息 */ + @SerializedName("OrderInfos") + private List orderInfos; + + /** 总条数 */ + @SerializedName("Total") + private Integer total; + + /** 分页大小 */ + @SerializedName("Limit") + private Integer limit; + + /** 分页偏移 */ + @SerializedName("Offset") + private Integer offset; + + public List getOrderInfos() { + return orderInfos; + } + + public void setOrderInfos(List orderInfos) { + this.orderInfos = orderInfos; + } + + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public static class UnpaidOrderDetail extends Response { + + /** 产品子类 */ + @SerializedName("ProductId") + private Integer productId; + + /** 配置大小 */ + @SerializedName("Multiple") + private Integer multiple; + + /** 计费对象的资源ID */ + @SerializedName("BillItemId") + private String billItemId; + + /** 资源有效期 */ + @SerializedName("PurchaseValue") + private Integer purchaseValue; + + public Integer getProductId() { + return productId; + } + + public void setProductId(Integer productId) { + this.productId = productId; + } + + public Integer getMultiple() { + return multiple; + } + + public void setMultiple(Integer multiple) { + this.multiple = multiple; + } + + public String getBillItemId() { + return billItemId; + } + + public void setBillItemId(String billItemId) { + this.billItemId = billItemId; + } + + public Integer getPurchaseValue() { + return purchaseValue; + } + + public void setPurchaseValue(Integer purchaseValue) { + this.purchaseValue = purchaseValue; + } + } + + public static class UnpaidOrderInfo extends Response { + + /** 订单号 */ + @SerializedName("OrderNo") + private String orderNo; + + /** 订单类型 */ + @SerializedName("OrderType") + private String orderType; + + /** 订单状态 */ + @SerializedName("OrderState") + private String orderState; + + /** 可用区 */ + @SerializedName("RegionId") + private String regionId; + + /** 产品类型 */ + @SerializedName("ResourceType") + private String resourceType; + + /** 付费方式 */ + @SerializedName("ChargeType") + private String chargeType; + + /** 购买量 */ + @SerializedName("Quantity") + private String quantity; + + /** 创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 更新时间 */ + @SerializedName("UpdateTime") + private Integer updateTime; + + /** 订单起始时间 */ + @SerializedName("StartTime") + private Integer startTime; + + /** 订单结束时间 */ + @SerializedName("EndTime") + private Integer endTime; + + /** 交易号 */ + @SerializedName("TradeNo") + private String tradeNo; + + /** 资源短ID */ + @SerializedName("ResourceId") + private String resourceId; + + /** 折扣率 */ + @SerializedName("OriginalPrice") + private String originalPrice; + + /** 配置详情 */ + @SerializedName("OrderDetail") + private List orderDetail; + + /** 金额 */ + @SerializedName("Amount") + private Integer amount; + + public String getOrderNo() { + return orderNo; + } + + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; + } + + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } + + public String getOrderState() { + return orderState; + } + + public void setOrderState(String orderState) { + this.orderState = orderState; + } + + public String getRegionId() { + return regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getQuantity() { + return quantity; + } + + public void setQuantity(String quantity) { + this.quantity = quantity; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Integer updateTime) { + this.updateTime = updateTime; + } + + public Integer getStartTime() { + return startTime; + } + + public void setStartTime(Integer startTime) { + this.startTime = startTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public String getTradeNo() { + return tradeNo; + } + + public void setTradeNo(String tradeNo) { + this.tradeNo = tradeNo; + } + + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getOriginalPrice() { + return originalPrice; + } + + public void setOriginalPrice(String originalPrice) { + this.originalPrice = originalPrice; + } + + public List getOrderDetail() { + return orderDetail; + } + + public void setOrderDetail(List orderDetail) { + this.orderDetail = orderDetail; + } + + public Integer getAmount() { + return amount; + } + + public void setAmount(Integer amount) { + this.amount = amount; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostBundlesResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostBundlesResponse.java deleted file mode 100644 index 4c6f9337..00000000 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostBundlesResponse.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * Copyright 2021 UCloud Technology Co., Ltd. - * - *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of the License at - * - *

http://www.apache.org/licenses/LICENSE-2.0 - * - *

Unless required by applicable law or agreed to in writing, software distributed under the - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing permissions and - * limitations under the License. - */ -package cn.ucloud.ucompshare.models; - -import cn.ucloud.common.response.Response; - -import com.google.gson.annotations.SerializedName; - -import java.util.List; - -public class DescribeULHostBundlesResponse extends Response { - - /** 套餐列表 */ - @SerializedName("Bundles") - private List bundles; - - public List getBundles() { - return bundles; - } - - public void setBundles(List bundles) { - this.bundles = bundles; - } - - public static class Bundle extends Response { - - /** 套餐ID。 */ - @SerializedName("BundleId") - private String bundleId; - - /** CPU核数。 */ - @SerializedName("CPU") - private Integer cpu; - - /** 内存大小。单位:MB。 */ - @SerializedName("Memory") - private Integer memory; - - /** 系统盘大小。单位:GB。 */ - @SerializedName("SysDiskSpace") - private Integer sysDiskSpace; - - /** 外网带宽。单位:Mbps。 */ - @SerializedName("Bandwidth") - private Integer bandwidth; - - /** 流量包大小。单位:GB。 */ - @SerializedName("TrafficPacket") - private Integer trafficPacket; - - public String getBundleId() { - return bundleId; - } - - public void setBundleId(String bundleId) { - this.bundleId = bundleId; - } - - public Integer getCPU() { - return cpu; - } - - public void setCPU(Integer cpu) { - this.cpu = cpu; - } - - public Integer getMemory() { - return memory; - } - - public void setMemory(Integer memory) { - this.memory = memory; - } - - public Integer getSysDiskSpace() { - return sysDiskSpace; - } - - public void setSysDiskSpace(Integer sysDiskSpace) { - this.sysDiskSpace = sysDiskSpace; - } - - public Integer getBandwidth() { - return bandwidth; - } - - public void setBandwidth(Integer bandwidth) { - this.bandwidth = bandwidth; - } - - public Integer getTrafficPacket() { - return trafficPacket; - } - - public void setTrafficPacket(Integer trafficPacket) { - this.trafficPacket = trafficPacket; - } - } -} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostInstanceResponse.java deleted file mode 100644 index 8c6a03c7..00000000 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeULHostInstanceResponse.java +++ /dev/null @@ -1,566 +0,0 @@ -/** - * Copyright 2021 UCloud Technology Co., Ltd. - * - *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of the License at - * - *

http://www.apache.org/licenses/LICENSE-2.0 - * - *

Unless required by applicable law or agreed to in writing, software distributed under the - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing permissions and - * limitations under the License. - */ -package cn.ucloud.ucompshare.models; - -import cn.ucloud.common.response.Response; - -import com.google.gson.annotations.SerializedName; - -import java.util.List; - -public class DescribeULHostInstanceResponse extends Response { - - /** 实例列表 */ - @SerializedName("ULHostInstanceSets") - private List ulHostInstanceSets; - - public List getULHostInstanceSets() { - return ulHostInstanceSets; - } - - public void setULHostInstanceSets(List ulHostInstanceSets) { - this.ulHostInstanceSets = ulHostInstanceSets; - } - - public static class ExclusiveUTPInfo extends Response { - - /** 当前周期总流量 */ - @SerializedName("TotalSize") - private Integer totalSize; - - /** 当前周期剩余流量 */ - @SerializedName("AvailableSize") - private Integer availableSize; - - /** 当前周期已使用流量 */ - @SerializedName("UsedSize") - private Integer usedSize; - - /** 当前周期超出限额的流量 */ - @SerializedName("ExcessSize") - private Integer excessSize; - - /** 上次重置时间 */ - @SerializedName("LastResetTime") - private Integer lastResetTime; - - /** 下次重置时间 */ - @SerializedName("NextResetTime") - private Integer nextResetTime; - - /** 创建时间 */ - @SerializedName("CreateTime") - private Integer createTime; - - public Integer getTotalSize() { - return totalSize; - } - - public void setTotalSize(Integer totalSize) { - this.totalSize = totalSize; - } - - public Integer getAvailableSize() { - return availableSize; - } - - public void setAvailableSize(Integer availableSize) { - this.availableSize = availableSize; - } - - public Integer getUsedSize() { - return usedSize; - } - - public void setUsedSize(Integer usedSize) { - this.usedSize = usedSize; - } - - public Integer getExcessSize() { - return excessSize; - } - - public void setExcessSize(Integer excessSize) { - this.excessSize = excessSize; - } - - public Integer getLastResetTime() { - return lastResetTime; - } - - public void setLastResetTime(Integer lastResetTime) { - this.lastResetTime = lastResetTime; - } - - public Integer getNextResetTime() { - return nextResetTime; - } - - public void setNextResetTime(Integer nextResetTime) { - this.nextResetTime = nextResetTime; - } - - public Integer getCreateTime() { - return createTime; - } - - public void setCreateTime(Integer createTime) { - this.createTime = createTime; - } - } - - public static class UHostIPSet extends Response { - - /** IPv4/IPv6; */ - @SerializedName("IPMode") - private String ipMode; - - /** 内网 Private 类型下,表示是否为默认网卡。true: 是默认网卡;其他值:不是。 */ - @SerializedName("Default") - private String fDefault; - - /** 内网 Private 类型下,当前网卡的Mac。 */ - @SerializedName("Mac") - private String mac; - - /** 当前EIP的权重。权重最大的为当前的出口IP。 */ - @SerializedName("Weight") - private Integer weight; - - /** 国际: Internation,BGP: Bgp,内网: Private */ - @SerializedName("Type") - private String type; - - /** 外网IP资源ID 。(内网IP无对应的资源ID) */ - @SerializedName("IPId") - private String ipId; - - /** IP地址 */ - @SerializedName("IP") - private String ip; - - /** IP对应的带宽, 单位: Mb (内网IP不显示带宽信息) */ - @SerializedName("Bandwidth") - private Integer bandwidth; - - /** IP地址对应的VPC ID。(北京一不支持,字段返回为空) */ - @SerializedName("VPCId") - private String vpcId; - - /** IP地址对应的子网 ID。(北京一不支持,字段返回为空) */ - @SerializedName("SubnetId") - private String subnetId; - - /** 弹性网卡为默认网卡时,返回对应的 ID 值 */ - @SerializedName("NetworkInterfaceId") - private String networkInterfaceId; - - public String getIPMode() { - return ipMode; - } - - public void setIPMode(String ipMode) { - this.ipMode = ipMode; - } - - public String getDefault() { - return fDefault; - } - - public void setDefault(String fDefault) { - this.fDefault = fDefault; - } - - public String getMac() { - return mac; - } - - public void setMac(String mac) { - this.mac = mac; - } - - public Integer getWeight() { - return weight; - } - - public void setWeight(Integer weight) { - this.weight = weight; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getIPId() { - return ipId; - } - - public void setIPId(String ipId) { - this.ipId = ipId; - } - - public String getIP() { - return ip; - } - - public void setIP(String ip) { - this.ip = ip; - } - - public Integer getBandwidth() { - return bandwidth; - } - - public void setBandwidth(Integer bandwidth) { - this.bandwidth = bandwidth; - } - - public String getVPCId() { - return vpcId; - } - - public void setVPCId(String vpcId) { - this.vpcId = vpcId; - } - - public String getSubnetId() { - return subnetId; - } - - public void setSubnetId(String subnetId) { - this.subnetId = subnetId; - } - - public String getNetworkInterfaceId() { - return networkInterfaceId; - } - - public void setNetworkInterfaceId(String networkInterfaceId) { - this.networkInterfaceId = networkInterfaceId; - } - } - - public static class ULHostDiskSet extends Response { - - /** 磁盘Id */ - @SerializedName("DiskId") - private String diskId; - - /** 磁盘类型。如:"CLOUD_RSSD"、"CLOUD_SSD" */ - @SerializedName("DiskType") - private String diskType; - - /** 磁盘类型。系统盘:"Boot";数据盘:"Data" */ - @SerializedName("Type") - private String type; - - /** 磁盘大小。单位:GB */ - @SerializedName("Size") - private Integer size; - - /** 是否为系统盘。是:"True";否:"False" */ - @SerializedName("IsBoot") - private String isBoot; - - /** 磁盘盘符。系统盘:"vda" */ - @SerializedName("Drive") - private String drive; - - public String getDiskId() { - return diskId; - } - - public void setDiskId(String diskId) { - this.diskId = diskId; - } - - public String getDiskType() { - return diskType; - } - - public void setDiskType(String diskType) { - this.diskType = diskType; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public Integer getSize() { - return size; - } - - public void setSize(Integer size) { - this.size = size; - } - - public String getIsBoot() { - return isBoot; - } - - public void setIsBoot(String isBoot) { - this.isBoot = isBoot; - } - - public String getDrive() { - return drive; - } - - public void setDrive(String drive) { - this.drive = drive; - } - } - - public static class ULHostInstanceSet extends Response { - - /** 可用区。 */ - @SerializedName("Zone") - private String zone; - - /** 实例Id。 */ - @SerializedName("ULHostId") - private String ulHostId; - - /** 实例名称。默认套餐Id */ - @SerializedName("Name") - private String name; - - /** 业务组。 */ - @SerializedName("Tag") - private String tag; - - /** 备注。 */ - @SerializedName("Remark") - private String remark; - - /** 镜像Id。 */ - @SerializedName("ImageId") - private String imageId; - - /** 镜像名称。 */ - @SerializedName("ImageName") - private String imageName; - - /** 【数组】镜像包含的应用列表。 */ - @SerializedName("Apps") - private List apps; - - /** CPU核数。 */ - @SerializedName("CPU") - private Integer cpu; - - /** 内存。单位:MB */ - @SerializedName("Memory") - private Integer memory; - - /** - * 实例状态。枚举值:\\ >初始化: Initializing; \\ >启动中: Starting; \\> 运行中: Running; \\> 关机中: Stopping; - * \\ >关机: Stopped \\ >安装失败: Install Fail; \\ >重启中: Rebooting; \\ > 未知(空字符串,获取状态超时或出错):"" - */ - @SerializedName("State") - private String state; - - /** 计费模式。枚举值:Month/Year */ - @SerializedName("ChargeType") - private String chargeType; - - /** IP信息 */ - @SerializedName("IPSet") - private List ipSet; - - /** 磁盘信息 */ - @SerializedName("DiskSet") - private List diskSet; - - /** 流量包详情信息 */ - @SerializedName("EIPExclusiveUTPInfo") - private ExclusiveUTPInfo eipExclusiveUTPInfo; - - /** 是否自动续费。枚举值:Yes/No */ - @SerializedName("AutoRenew") - private String autoRenew; - - /** 是否过期。枚举值:Yes/No */ - @SerializedName("IsExpire") - private String isExpire; - - /** 过期时间。Unix时间戳 */ - @SerializedName("ExpireTime") - private Integer expireTime; - - /** 创建时间。Unix时间戳 */ - @SerializedName("CreateTime") - private Integer createTime; - - public String getZone() { - return zone; - } - - public void setZone(String zone) { - this.zone = zone; - } - - public String getULHostId() { - return ulHostId; - } - - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getTag() { - return tag; - } - - public void setTag(String tag) { - this.tag = tag; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getImageId() { - return imageId; - } - - public void setImageId(String imageId) { - this.imageId = imageId; - } - - public String getImageName() { - return imageName; - } - - public void setImageName(String imageName) { - this.imageName = imageName; - } - - public List getApps() { - return apps; - } - - public void setApps(List apps) { - this.apps = apps; - } - - public Integer getCPU() { - return cpu; - } - - public void setCPU(Integer cpu) { - this.cpu = cpu; - } - - public Integer getMemory() { - return memory; - } - - public void setMemory(Integer memory) { - this.memory = memory; - } - - public String getState() { - return state; - } - - public void setState(String state) { - this.state = state; - } - - public String getChargeType() { - return chargeType; - } - - public void setChargeType(String chargeType) { - this.chargeType = chargeType; - } - - public List getIPSet() { - return ipSet; - } - - public void setIPSet(List ipSet) { - this.ipSet = ipSet; - } - - public List getDiskSet() { - return diskSet; - } - - public void setDiskSet(List diskSet) { - this.diskSet = diskSet; - } - - public ExclusiveUTPInfo getEIPExclusiveUTPInfo() { - return eipExclusiveUTPInfo; - } - - public void setEIPExclusiveUTPInfo(ExclusiveUTPInfo eipExclusiveUTPInfo) { - this.eipExclusiveUTPInfo = eipExclusiveUTPInfo; - } - - public String getAutoRenew() { - return autoRenew; - } - - public void setAutoRenew(String autoRenew) { - this.autoRenew = autoRenew; - } - - public String getIsExpire() { - return isExpire; - } - - public void setIsExpire(String isExpire) { - this.isExpire = isExpire; - } - - public Integer getExpireTime() { - return expireTime; - } - - public void setExpireTime(Integer expireTime) { - this.expireTime = expireTime; - } - - public Integer getCreateTime() { - return createTime; - } - - public void setCreateTime(Integer createTime) { - this.createTime = createTime; - } - } -} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesRequest.java new file mode 100644 index 00000000..870d1868 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesRequest.java @@ -0,0 +1,213 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DescribeUserCommunityImagesRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 镜像Id。支持指定镜像Id查询 */ + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** 镜像名称。模糊搜索 */ + @UCloudParam("Name") + private String name; + + /** 搜索指定作者发布的镜像 */ + @UCloudParam("Author") + private String author; + + /** 列表起始位置偏移量,默认为0 */ + @UCloudParam("Offset") + private Integer offset; + + /** 返回数据长度,默认为20,最大100 */ + @UCloudParam("Limit") + private String limit; + + /** 按标签名称搜索,精确匹配 */ + @UCloudParam("Tag") + private String tag; + + /** */ + @UCloudParam("SortCondition") + private SortCondition sortCondition; + + /** 是否只筛选免费镜像 */ + @UCloudParam("IsFree") + private Boolean isFree; + + /** 是否只筛选官方镜像 */ + @UCloudParam("IsOfficial") + private Boolean isOfficial; + + /** 模糊搜索,支持 镜像名称、作者名称 */ + @UCloudParam("FuzzySearch") + private String fuzzySearch; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAuthor() { + return author; + } + + public void setAuthor(String author) { + this.author = author; + } + + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public String getLimit() { + return limit; + } + + public void setLimit(String limit) { + this.limit = limit; + } + + public String getTag() { + return tag; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public SortCondition getSortCondition() { + return sortCondition; + } + + public void setSortCondition(SortCondition sortCondition) { + this.sortCondition = sortCondition; + } + + public Boolean getIsFree() { + return isFree; + } + + public void setIsFree(Boolean isFree) { + this.isFree = isFree; + } + + public Boolean getIsOfficial() { + return isOfficial; + } + + public void setIsOfficial(Boolean isOfficial) { + this.isOfficial = isOfficial; + } + + public String getFuzzySearch() { + return fuzzySearch; + } + + public void setFuzzySearch(String fuzzySearch) { + this.fuzzySearch = fuzzySearch; + } + + public static class SortCondition extends Request { + + /** + * 排序条件。 - Favor:按热度排序,获取热点镜像; - PubTime:按发布时间排序,获取最新社区镜像; - Price 按价格排序; - CreatedCount + * 按使用量排序; - ImageUseTime 镜像使用时长排序 - FavoritesCount 收藏数排序 默认:"PubTime" + */ + @UCloudParam("Field") + private String field; + + /** 是否升序排列 */ + @UCloudParam("ASC") + private String asc; + + public String getField() { + return field; + } + + public void setField(String field) { + this.field = field; + } + + public String getASC() { + return asc; + } + + public void setASC(String asc) { + this.asc = asc; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesResponse.java new file mode 100644 index 00000000..a4ebb76d --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DescribeUserCommunityImagesResponse.java @@ -0,0 +1,623 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class DescribeUserCommunityImagesResponse extends Response { + + /** 镜像详情列表 */ + @SerializedName("ImageSetGroup") + private List imageSetGroup; + + /** 总数量 */ + @SerializedName("TotalCount") + private Integer totalCount; + + /** 版本组可用数量 */ + @SerializedName("AvailableTotalCount") + private Integer availableTotalCount; + + public List getImageSetGroup() { + return imageSetGroup; + } + + public void setImageSetGroup(List imageSetGroup) { + this.imageSetGroup = imageSetGroup; + } + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getAvailableTotalCount() { + return availableTotalCount; + } + + public void setAvailableTotalCount(Integer availableTotalCount) { + this.availableTotalCount = availableTotalCount; + } + + public static class CompShareImage extends Response { + + /** 镜像Id */ + @SerializedName("CompShareImageId") + private String compShareImageId; + + /** 镜像名称 */ + @SerializedName("Name") + private String name; + + /** 镜像作者昵称 */ + @SerializedName("Author") + private String author; + + /** 镜像作者认证信息 */ + @SerializedName("AuthInfo") + private Integer authInfo; + + /** 镜像来源。 - Official 平台镜像; - Community 社区镜像 */ + @SerializedName("ImageOwnerAlias") + private String imageOwnerAlias; + + /** 镜像类型。 - System 平台提供的公共镜像; - App 平台提供的应用镜像; - Custom 自制镜像; - Community 社区镜像 */ + @SerializedName("ImageType") + private String imageType; + + /** 来源是否为官方镜像【仅自制镜像信息返回该字段】 */ + @SerializedName("IsOfficial") + private Boolean isOfficial; + + /** 是否为容器镜像。 - True 容器镜像 - False 虚机镜像 */ + @SerializedName("Container") + private String container; + + /** 镜像状态。 - Making 制作中; - Available 可用; - UnAvailable 不可用; - Reviewing 审核中; - Offline 已下线 */ + @SerializedName("Status") + private String status; + + /** 镜像大小。单位MB */ + @SerializedName("Size") + private Integer size; + + /** 可见性。0:私密镜像;1:公开至镜像社区 */ + @SerializedName("Visibility") + private Integer visibility; + + /** 镜像描述信息 */ + @SerializedName("Description") + private String description; + + /** 【array of string】镜像标签 */ + @SerializedName("Tags") + private List tags; + + /** 镜像价格。单位:元 */ + @SerializedName("Price") + private Double price; + + /** 镜像封面URL */ + @SerializedName("Cover") + private String cover; + + /** 镜像详细描述。仅指定镜像Id查询时返回 */ + @SerializedName("Readme") + private String readme; + + /** 镜像软件信息 */ + @SerializedName("Softwares") + private Software softwares; + + /** 镜像引用创建计数 */ + @SerializedName("CreatedCount") + private Integer createdCount; + + /** 镜像收藏计数 */ + @SerializedName("FavoritesCount") + private Integer favoritesCount; + + /** 镜像制作失败错误原因 */ + @SerializedName("FailedReason") + private String failedReason; + + /** 创建时间戳 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 发布时间戳 */ + @SerializedName("PubTime") + private Integer pubTime; + + /** 镜像所属账号信息 */ + @SerializedName("Owner") + private Projects owner; + + /** 镜像组id */ + @SerializedName("GroupId") + private String groupId; + + /** 版本名称 */ + @SerializedName("VersionName") + private String versionName; + + /** 版本描述 */ + @SerializedName("VersionDesc") + private String versionDesc; + + /** 自制镜像来源机型 */ + @SerializedName("SourceGpuType") + private String sourceGpuType; + + /** 是否支持自启动 default:false */ + @SerializedName("AutoStart") + private Boolean autoStart; + + /** 是否镜像收费 default: false */ + @SerializedName("ImageCharge") + private Boolean imageCharge; + + /** 镜像使用时长 */ + @SerializedName("ImageUseTime") + private Integer imageUseTime; + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getAuthor() { + return author; + } + + public void setAuthor(String author) { + this.author = author; + } + + public Integer getAuthInfo() { + return authInfo; + } + + public void setAuthInfo(Integer authInfo) { + this.authInfo = authInfo; + } + + public String getImageOwnerAlias() { + return imageOwnerAlias; + } + + public void setImageOwnerAlias(String imageOwnerAlias) { + this.imageOwnerAlias = imageOwnerAlias; + } + + public String getImageType() { + return imageType; + } + + public void setImageType(String imageType) { + this.imageType = imageType; + } + + public Boolean getIsOfficial() { + return isOfficial; + } + + public void setIsOfficial(Boolean isOfficial) { + this.isOfficial = isOfficial; + } + + public String getContainer() { + return container; + } + + public void setContainer(String container) { + this.container = container; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public Integer getVisibility() { + return visibility; + } + + public void setVisibility(Integer visibility) { + this.visibility = visibility; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public Double getPrice() { + return price; + } + + public void setPrice(Double price) { + this.price = price; + } + + public String getCover() { + return cover; + } + + public void setCover(String cover) { + this.cover = cover; + } + + public String getReadme() { + return readme; + } + + public void setReadme(String readme) { + this.readme = readme; + } + + public Software getSoftwares() { + return softwares; + } + + public void setSoftwares(Software softwares) { + this.softwares = softwares; + } + + public Integer getCreatedCount() { + return createdCount; + } + + public void setCreatedCount(Integer createdCount) { + this.createdCount = createdCount; + } + + public Integer getFavoritesCount() { + return favoritesCount; + } + + public void setFavoritesCount(Integer favoritesCount) { + this.favoritesCount = favoritesCount; + } + + public String getFailedReason() { + return failedReason; + } + + public void setFailedReason(String failedReason) { + this.failedReason = failedReason; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getPubTime() { + return pubTime; + } + + public void setPubTime(Integer pubTime) { + this.pubTime = pubTime; + } + + public Projects getOwner() { + return owner; + } + + public void setOwner(Projects owner) { + this.owner = owner; + } + + public String getGroupId() { + return groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getVersionName() { + return versionName; + } + + public void setVersionName(String versionName) { + this.versionName = versionName; + } + + public String getVersionDesc() { + return versionDesc; + } + + public void setVersionDesc(String versionDesc) { + this.versionDesc = versionDesc; + } + + public String getSourceGpuType() { + return sourceGpuType; + } + + public void setSourceGpuType(String sourceGpuType) { + this.sourceGpuType = sourceGpuType; + } + + public Boolean getAutoStart() { + return autoStart; + } + + public void setAutoStart(Boolean autoStart) { + this.autoStart = autoStart; + } + + public Boolean getImageCharge() { + return imageCharge; + } + + public void setImageCharge(Boolean imageCharge) { + this.imageCharge = imageCharge; + } + + public Integer getImageUseTime() { + return imageUseTime; + } + + public void setImageUseTime(Integer imageUseTime) { + this.imageUseTime = imageUseTime; + } + } + + public static class CompshareImageGroup extends Response { + + /** 版本组ID */ + @SerializedName("GroupId") + private String groupId; + + /** 镜像名称 */ + @SerializedName("ImageName") + private String imageName; + + /** 镜像描述 */ + @SerializedName("ImageDesc") + private String imageDesc; + + /** 引用创建次数 */ + @SerializedName("CreatedCount") + private Integer createdCount; + + /** 收藏数 */ + @SerializedName("FavoritesCount") + private Integer favoritesCount; + + /** 推荐数 */ + @SerializedName("RecommendCount") + private Integer recommendCount; + + /** 镜像组状态 Available 可用;UnAvailable 不可用 */ + @SerializedName("Status") + private String status; + + /** 镜像数据 */ + @SerializedName("Data") + private List data; + + /** 镜像使用时长 , 单位:小时 */ + @SerializedName("ImageUseTime") + private Integer imageUseTime; + + /** 是否被收藏 */ + @SerializedName("IsFavorite") + private Boolean isFavorite; + + public String getGroupId() { + return groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getImageName() { + return imageName; + } + + public void setImageName(String imageName) { + this.imageName = imageName; + } + + public String getImageDesc() { + return imageDesc; + } + + public void setImageDesc(String imageDesc) { + this.imageDesc = imageDesc; + } + + public Integer getCreatedCount() { + return createdCount; + } + + public void setCreatedCount(Integer createdCount) { + this.createdCount = createdCount; + } + + public Integer getFavoritesCount() { + return favoritesCount; + } + + public void setFavoritesCount(Integer favoritesCount) { + this.favoritesCount = favoritesCount; + } + + public Integer getRecommendCount() { + return recommendCount; + } + + public void setRecommendCount(Integer recommendCount) { + this.recommendCount = recommendCount; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + public Integer getImageUseTime() { + return imageUseTime; + } + + public void setImageUseTime(Integer imageUseTime) { + this.imageUseTime = imageUseTime; + } + + public Boolean getIsFavorite() { + return isFavorite; + } + + public void setIsFavorite(Boolean isFavorite) { + this.isFavorite = isFavorite; + } + } + + public static class Projects extends Response { + + /** 账号昵称 */ + @SerializedName("AccountName") + private String accountName; + + /** 账号Id */ + @SerializedName("AccountId") + private String accountId; + + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getAccountId() { + return accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + } + + public static class Software extends Response { + + /** 框架名称 */ + @SerializedName("Framework") + private String framework; + + /** 框架版本 */ + @SerializedName("FrameworkVersion") + private String frameworkVersion; + + /** CUDA版本 */ + @SerializedName("CUDAVersion") + private String cudaVersion; + + /** 【array of string】应用列表 */ + @SerializedName("Applications") + private List applications; + + public String getFramework() { + return framework; + } + + public void setFramework(String framework) { + this.framework = framework; + } + + public String getFrameworkVersion() { + return frameworkVersion; + } + + public void setFrameworkVersion(String frameworkVersion) { + this.frameworkVersion = frameworkVersion; + } + + public String getCUDAVersion() { + return cudaVersion; + } + + public void setCUDAVersion(String cudaVersion) { + this.cudaVersion = cudaVersion; + } + + public List getApplications() { + return applications; + } + + public void setApplications(List applications) { + this.applications = applications; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskRequest.java new file mode 100644 index 00000000..02125d1a --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskRequest.java @@ -0,0 +1,87 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DetachCompshareDiskRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 需要卸载的UDisk实例ID */ + @NotEmpty + @UCloudParam("UDiskId") + private String uDiskId; + + /** UHost实例ID。【UHostId和HostId必须选填一个,本字段即将废弃,建议使用HostId】 */ + @UCloudParam("UHostId") + private String uHostId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUDiskId() { + return uDiskId; + } + + public void setUDiskId(String uDiskId) { + this.uDiskId = uDiskId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskResponse.java new file mode 100644 index 00000000..78a61fcb --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DetachCompshareDiskResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class DetachCompshareDiskResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderRequest.java new file mode 100644 index 00000000..0f7da2f9 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderRequest.java @@ -0,0 +1,84 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class DownloadTeamOrderRequest extends Request { + + /** 团队ID */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + /** 团队虚拟账号ID */ + @UCloudParam("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 起始时间,需使用时间戳 */ + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @UCloudParam("EndTime") + private Integer endTime; + + /** 订单状态 */ + @UCloudParam("OrderStates") + private List orderStates; + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public List getOrderStates() { + return orderStates; + } + + public void setOrderStates(List orderStates) { + this.orderStates = orderStates; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderResponse.java new file mode 100644 index 00000000..2f7466e8 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/DownloadTeamOrderResponse.java @@ -0,0 +1,190 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class DownloadTeamOrderResponse extends Response { + + /** 订单号 */ + @SerializedName("OrderNo") + private String orderNo; + + /** 创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 开始时间 */ + @SerializedName("StartTime") + private Integer startTime; + + /** 结束时间 */ + @SerializedName("EndTime") + private Integer endTime; + + /** 订单类型 */ + @SerializedName("OrderType") + private String orderType; + + /** 资源ID */ + @SerializedName("ResourceId") + private String resourceId; + + /** 产品类型 */ + @SerializedName("ResourceType") + private String resourceType; + + /** 计费方式 */ + @SerializedName("ChargeType") + private String chargeType; + + /** 总金额 */ + @SerializedName("Amount") + private String amount; + + /** 现金 */ + @SerializedName("AmountReal") + private String amountReal; + + /** 赠金 */ + @SerializedName("AmountFree") + private String amountFree; + + /** 代金券 */ + @SerializedName("AmountCoupon") + private String amountCoupon; + + /** 成员ID */ + @SerializedName("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 成员备注 */ + @SerializedName("RemarkName") + private String remarkName; + + public String getOrderNo() { + return orderNo; + } + + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getStartTime() { + return startTime; + } + + public void setStartTime(Integer startTime) { + this.startTime = startTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public String getOrderType() { + return orderType; + } + + public void setOrderType(String orderType) { + this.orderType = orderType; + } + + public String getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getResourceType() { + return resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getAmount() { + return amount; + } + + public void setAmount(String amount) { + this.amount = amount; + } + + public String getAmountReal() { + return amountReal; + } + + public void setAmountReal(String amountReal) { + this.amountReal = amountReal; + } + + public String getAmountFree() { + return amountFree; + } + + public void setAmountFree(String amountFree) { + this.amountFree = amountFree; + } + + public String getAmountCoupon() { + return amountCoupon; + } + + public void setAmountCoupon(String amountCoupon) { + this.amountCoupon = amountCoupon; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public String getRemarkName() { + return remarkName; + } + + public void setRemarkName(String remarkName) { + this.remarkName = remarkName; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceRequest.java new file mode 100644 index 00000000..a28c3a7f --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceRequest.java @@ -0,0 +1,102 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetCompShareAttachedDiskUpgradePriceRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 实例Id */ + @NotEmpty + @UCloudParam("UHostId") + private String uHostId; + + /** 磁盘Id */ + @NotEmpty + @UCloudParam("DiskId") + private String diskId; + + /** 目标大小。单位:GB */ + @NotEmpty + @UCloudParam("DiskSpace") + private String diskSpace; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } + + public String getDiskId() { + return diskId; + } + + public void setDiskId(String diskId) { + this.diskId = diskId; + } + + public String getDiskSpace() { + return diskSpace; + } + + public void setDiskSpace(String diskSpace) { + this.diskSpace = diskSpace; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceResponse.java new file mode 100644 index 00000000..1f0d5e46 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareAttachedDiskUpgradePriceResponse.java @@ -0,0 +1,121 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class GetCompShareAttachedDiskUpgradePriceResponse extends Response { + + /** 升级价格 */ + @SerializedName("Price") + private Double price; + + /** 原价 */ + @SerializedName("OriginalPrice") + private Double originalPrice; + + /** 列表价 */ + @SerializedName("ListPrice") + private Double listPrice; + + /** 价格详情 */ + @SerializedName("PriceDetail") + private DiskUpgradePriceDetail priceDetail; + + /** 原价详情 */ + @SerializedName("OriginalPriceDetail") + private DiskUpgradePriceDetail originalPriceDetail; + + /** 列表价详情 */ + @SerializedName("ListPriceDetail") + private DiskUpgradePriceDetail listPriceDetail; + + public Double getPrice() { + return price; + } + + public void setPrice(Double price) { + this.price = price; + } + + public Double getOriginalPrice() { + return originalPrice; + } + + public void setOriginalPrice(Double originalPrice) { + this.originalPrice = originalPrice; + } + + public Double getListPrice() { + return listPrice; + } + + public void setListPrice(Double listPrice) { + this.listPrice = listPrice; + } + + public DiskUpgradePriceDetail getPriceDetail() { + return priceDetail; + } + + public void setPriceDetail(DiskUpgradePriceDetail priceDetail) { + this.priceDetail = priceDetail; + } + + public DiskUpgradePriceDetail getOriginalPriceDetail() { + return originalPriceDetail; + } + + public void setOriginalPriceDetail(DiskUpgradePriceDetail originalPriceDetail) { + this.originalPriceDetail = originalPriceDetail; + } + + public DiskUpgradePriceDetail getListPriceDetail() { + return listPriceDetail; + } + + public void setListPriceDetail(DiskUpgradePriceDetail listPriceDetail) { + this.listPriceDetail = listPriceDetail; + } + + public static class DiskUpgradePriceDetail extends Response { + + /** 磁盘价格 */ + @SerializedName("UDisk") + private Double uDisk; + + /** 快照价格 */ + @SerializedName("Snapshot") + private Double snapshot; + + public Double getUDisk() { + return uDisk; + } + + public void setUDisk(Double uDisk) { + this.uDisk = uDisk; + } + + public Double getSnapshot() { + return snapshot; + } + + public void setSnapshot(Double snapshot) { + this.snapshot = snapshot; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostRenewPriceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareImageCreateProgressRequest.java similarity index 71% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostRenewPriceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareImageCreateProgressRequest.java index 201a7775..cf5e060e 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostRenewPriceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareImageCreateProgressRequest.java @@ -18,13 +18,18 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class GetULHostRenewPriceRequest extends Request { +public class GetCompShareImageCreateProgressRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,14 +37,10 @@ public class GetULHostRenewPriceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost实例ID */ + /** 镜像Id */ @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; - - /** 计费类型。支持:Year/Month;默认:Month */ - @UCloudParam("ChargeType") - private String chargeType; + @UCloudParam("CompShareImageId") + private String compShareImageId; public String getRegion() { return region; @@ -49,27 +50,27 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getULHostId() { - return ulHostId; + public String getProjectId() { + return projectId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setProjectId(String projectId) { + this.projectId = projectId; } - public String getChargeType() { - return chargeType; + public String getCompShareImageId() { + return compShareImageId; } - public void setChargeType(String chargeType) { - this.chargeType = chargeType; + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareImageCreateProgressResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareImageCreateProgressResponse.java new file mode 100644 index 00000000..aea18a67 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareImageCreateProgressResponse.java @@ -0,0 +1,58 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class GetCompShareImageCreateProgressResponse extends Response { + + /** 处理进度 0 ~ 100 */ + @SerializedName("Process") + private Double process; + + /** 预估处理总时间 单位秒 */ + @SerializedName("TotalDuration") + private String totalDuration; + + /** 预估剩余总时间 单位秒 */ + @SerializedName("RemainingDuration") + private String remainingDuration; + + public Double getProcess() { + return process; + } + + public void setProcess(Double process) { + this.process = process; + } + + public String getTotalDuration() { + return totalDuration; + } + + public void setTotalDuration(String totalDuration) { + this.totalDuration = totalDuration; + } + + public String getRemainingDuration() { + return remainingDuration; + } + + public void setRemainingDuration(String remainingDuration) { + this.remainingDuration = remainingDuration; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorRequest.java new file mode 100644 index 00000000..c292ed4e --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorRequest.java @@ -0,0 +1,77 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class GetCompShareInstanceMonitorRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** + * 【数组】UHost主机的资源ID,例如UHostIds.0代表希望获取信息 的主机1,UHostIds.1代表主机2。 如果不传入,则返回当前Region 所有符合条件的UHost实例。 + */ + @UCloudParam("UHostIds") + private List uHostIds; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public List getUHostIds() { + return uHostIds; + } + + public void setUHostIds(List uHostIds) { + this.uHostIds = uHostIds; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorResponse.java new file mode 100644 index 00000000..e3c447cc --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceMonitorResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class GetCompShareInstanceMonitorResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceRequest.java new file mode 100644 index 00000000..e0e86947 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceRequest.java @@ -0,0 +1,190 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class GetCompShareInstancePriceRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** + * 计费模式。枚举值为: \\ > Year,按年付费; \\ > Month,按月付费;\\ > Dynamic,按小时付费;\\ Day,按天付费 \\ + * 如果不传某个枚举值,默认返回月付价格 + */ + @UCloudParam("ChargeType") + private String chargeType; + + /** CPU核数。可选范围参照控制台。默认值: 16 */ + @UCloudParam("Cpu") + private String cpu; + + /** 内存大小。单位:MB。取值为1024的倍数(可选范围参照好控制台)。默认值:32768 */ + @UCloudParam("Memory") + private String memory; + + /** GPU卡核心数。默认值:1 */ + @UCloudParam("Gpu") + private String gpu; + + /** 镜像Id */ + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** */ + @UCloudParam("Disks") + private List disks; + + /** GpuType。枚举值:["4090"] */ + @UCloudParam("GpuType") + private String gpuType; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getCpu() { + return cpu; + } + + public void setCpu(String cpu) { + this.cpu = cpu; + } + + public String getMemory() { + return memory; + } + + public void setMemory(String memory) { + this.memory = memory; + } + + public String getGpu() { + return gpu; + } + + public void setGpu(String gpu) { + this.gpu = gpu; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public List getDisks() { + return disks; + } + + public void setDisks(List disks) { + this.disks = disks; + } + + public String getGpuType() { + return gpuType; + } + + public void setGpuType(String gpuType) { + this.gpuType = gpuType; + } + + public static class Disks extends Request { + + /** 磁盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。 */ + @UCloudParam("Type") + private String type; + + /** 磁盘大小,单位GB。请参考[[api:uhost-api:disk_type|磁盘类型]]。 */ + @UCloudParam("Size") + private Integer size; + + /** 是否是系统盘。枚举值:\\ > True,是系统盘 \\ > False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 */ + @UCloudParam("IsBoot") + private Boolean isBoot; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public Boolean getIsBoot() { + return isBoot; + } + + public void setIsBoot(Boolean isBoot) { + this.isBoot = isBoot; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceResponse.java new file mode 100644 index 00000000..8203d158 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstancePriceResponse.java @@ -0,0 +1,146 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class GetCompShareInstancePriceResponse extends Response { + + /** 价格详情列表 */ + @SerializedName("PriceDetail") + private List priceDetail; + + /** 原价详情列表 */ + @SerializedName("OriginalPriceDetail") + private List originalPriceDetail; + + /** 列表价详情列表 */ + @SerializedName("ListPriceDetail") + private List listPriceDetail; + + public List getPriceDetail() { + return priceDetail; + } + + public void setPriceDetail(List priceDetail) { + this.priceDetail = priceDetail; + } + + public List getOriginalPriceDetail() { + return originalPriceDetail; + } + + public void setOriginalPriceDetail(List originalPriceDetail) { + this.originalPriceDetail = originalPriceDetail; + } + + public List getListPriceDetail() { + return listPriceDetail; + } + + public void setListPriceDetail(List listPriceDetail) { + this.listPriceDetail = listPriceDetail; + } + + public static class CompSharePriceDetail extends Response { + + /** 计费类型 */ + @SerializedName("ChargeType") + private String chargeType; + + /** 实例价格 */ + @SerializedName("Instance") + private Double instance; + + /** 磁盘价格 */ + @SerializedName("Disks") + private Double disks; + + /** 镜像价格/Gpu/小时 */ + @SerializedName("CompShareImage") + private Double compShareImage; + + /** 原价 */ + @SerializedName("OriginalPrice") + private Double originalPrice; + + /** 列表价 */ + @SerializedName("ListPrice") + private String listPrice; + + /** 主机折扣类型 1:夜间折扣 2:节日折扣 */ + @SerializedName("InstanceDiscountType") + private Integer instanceDiscountType; + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public Double getInstance() { + return instance; + } + + public void setInstance(Double instance) { + this.instance = instance; + } + + public Double getDisks() { + return disks; + } + + public void setDisks(Double disks) { + this.disks = disks; + } + + public Double getCompShareImage() { + return compShareImage; + } + + public void setCompShareImage(Double compShareImage) { + this.compShareImage = compShareImage; + } + + public Double getOriginalPrice() { + return originalPrice; + } + + public void setOriginalPrice(Double originalPrice) { + this.originalPrice = originalPrice; + } + + public String getListPrice() { + return listPrice; + } + + public void setListPrice(String listPrice) { + this.listPrice = listPrice; + } + + public Integer getInstanceDiscountType() { + return instanceDiscountType; + } + + public void setInstanceDiscountType(Integer instanceDiscountType) { + this.instanceDiscountType = instanceDiscountType; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUpgradePriceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUpgradePriceRequest.java new file mode 100644 index 00000000..7d9f4c58 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUpgradePriceRequest.java @@ -0,0 +1,124 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetCompShareInstanceUpgradePriceRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** UHost Id */ + @NotEmpty + @UCloudParam("UHostId") + private String uHostId; + + /** 目标Cpu核心数。默认原配置 */ + @UCloudParam("Cpu") + private Integer cpu; + + /** 目标内存大小。单位:MB。默认原配置 */ + @UCloudParam("Memory") + private Integer memory; + + /** 目标Gpu卡数。默认原配置 */ + @UCloudParam("Gpu") + private Integer gpu; + + /** 镜像Id */ + @UCloudParam("CompShareImageId") + private String compShareImageId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } + + public Integer getCpu() { + return cpu; + } + + public void setCpu(Integer cpu) { + this.cpu = cpu; + } + + public Integer getMemory() { + return memory; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public Integer getGpu() { + return gpu; + } + + public void setGpu(Integer gpu) { + this.gpu = gpu; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUpgradePriceResponse.java similarity index 50% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateULHostInstanceResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUpgradePriceResponse.java index ba63002f..42341e95 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateULHostInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUpgradePriceResponse.java @@ -18,29 +18,41 @@ import com.google.gson.annotations.SerializedName; -public class TerminateULHostInstanceResponse extends Response { +public class GetCompShareInstanceUpgradePriceResponse extends Response { - /** 用于判断主机删除时是否进入回收站。放入回收站:"Yes", 彻底删除:“No”。 */ - @SerializedName("InRecycle") - private String inRecycle; + /** 价格 */ + @SerializedName("Price") + private Double price; - /** ULHost 实例 Id */ - @SerializedName("ULHostId") - private String ulHostId; + /** 原价 */ + @SerializedName("OriginalPrice") + private Double originalPrice; - public String getInRecycle() { - return inRecycle; + /** 列表价 */ + @SerializedName("ListPrice") + private Double listPrice; + + public Double getPrice() { + return price; + } + + public void setPrice(Double price) { + this.price = price; + } + + public Double getOriginalPrice() { + return originalPrice; } - public void setInRecycle(String inRecycle) { - this.inRecycle = inRecycle; + public void setOriginalPrice(Double originalPrice) { + this.originalPrice = originalPrice; } - public String getULHostId() { - return ulHostId; + public Double getListPrice() { + return listPrice; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setListPrice(Double listPrice) { + this.listPrice = listPrice; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceRequest.java new file mode 100644 index 00000000..59b6e56d --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceRequest.java @@ -0,0 +1,190 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class GetCompShareInstanceUserPriceRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** + * 计费模式。枚举值为: \\ > Year,按年付费; \\ > Month,按月付费;\\ > Dynamic,按小时付费;\\ Day,按天付费 \\ + * 如果不传某个枚举值,默认返回月付价格 + */ + @UCloudParam("ChargeType") + private String chargeType; + + /** CPU核数。可选范围参照控制台。默认值: 16 */ + @UCloudParam("Cpu") + private String cpu; + + /** 内存大小。单位:MB。取值为1024的倍数(可选范围参照好控制台)。默认值:32768 */ + @UCloudParam("Memory") + private String memory; + + /** GPU卡核心数。默认值:1 */ + @UCloudParam("Gpu") + private String gpu; + + /** GpuType。枚举值:["4090"] */ + @UCloudParam("GpuType") + private String gpuType; + + /** 镜像Id */ + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** */ + @UCloudParam("Disks") + private List disks; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getCpu() { + return cpu; + } + + public void setCpu(String cpu) { + this.cpu = cpu; + } + + public String getMemory() { + return memory; + } + + public void setMemory(String memory) { + this.memory = memory; + } + + public String getGpu() { + return gpu; + } + + public void setGpu(String gpu) { + this.gpu = gpu; + } + + public String getGpuType() { + return gpuType; + } + + public void setGpuType(String gpuType) { + this.gpuType = gpuType; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public List getDisks() { + return disks; + } + + public void setDisks(List disks) { + this.disks = disks; + } + + public static class Disks extends Request { + + /** 磁盘类型。请参考[[api:uhost-api:disk_type|磁盘类型]]。 */ + @UCloudParam("Type") + private String type; + + /** 磁盘大小,单位GB。请参考[[api:uhost-api:disk_type|磁盘类型]]。 */ + @UCloudParam("Size") + private Integer size; + + /** 是否是系统盘。枚举值:\\ > True,是系统盘 \\ > False,是数据盘(默认)。Disks数组中有且只能有一块盘是系统盘。 */ + @UCloudParam("IsBoot") + private Boolean isBoot; + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public Boolean getIsBoot() { + return isBoot; + } + + public void setIsBoot(Boolean isBoot) { + this.isBoot = isBoot; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceResponse.java new file mode 100644 index 00000000..6b47f076 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareInstanceUserPriceResponse.java @@ -0,0 +1,146 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class GetCompShareInstanceUserPriceResponse extends Response { + + /** 价格详情列表 */ + @SerializedName("PriceDetail") + private List priceDetail; + + /** 原价详情列表 */ + @SerializedName("OriginalPriceDetail") + private List originalPriceDetail; + + /** 列表价详情列表 */ + @SerializedName("ListPriceDetail") + private List listPriceDetail; + + public List getPriceDetail() { + return priceDetail; + } + + public void setPriceDetail(List priceDetail) { + this.priceDetail = priceDetail; + } + + public List getOriginalPriceDetail() { + return originalPriceDetail; + } + + public void setOriginalPriceDetail(List originalPriceDetail) { + this.originalPriceDetail = originalPriceDetail; + } + + public List getListPriceDetail() { + return listPriceDetail; + } + + public void setListPriceDetail(List listPriceDetail) { + this.listPriceDetail = listPriceDetail; + } + + public static class CompSharePriceDetail extends Response { + + /** 计费类型 */ + @SerializedName("ChargeType") + private String chargeType; + + /** 实例价格 */ + @SerializedName("Instance") + private Double instance; + + /** 磁盘价格 */ + @SerializedName("Disks") + private Double disks; + + /** 镜像价格/Gpu/小时 */ + @SerializedName("CompShareImage") + private Double compShareImage; + + /** 原价 */ + @SerializedName("OriginalPrice") + private Double originalPrice; + + /** 列表价 */ + @SerializedName("ListPrice") + private String listPrice; + + /** 主机折扣类型 1:夜间折扣 2:节日折扣 */ + @SerializedName("InstanceDiscountType") + private Integer instanceDiscountType; + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public Double getInstance() { + return instance; + } + + public void setInstance(Double instance) { + this.instance = instance; + } + + public Double getDisks() { + return disks; + } + + public void setDisks(Double disks) { + this.disks = disks; + } + + public Double getCompShareImage() { + return compShareImage; + } + + public void setCompShareImage(Double compShareImage) { + this.compShareImage = compShareImage; + } + + public Double getOriginalPrice() { + return originalPrice; + } + + public void setOriginalPrice(Double originalPrice) { + this.originalPrice = originalPrice; + } + + public String getListPrice() { + return listPrice; + } + + public void setListPrice(String listPrice) { + this.listPrice = listPrice; + } + + public Integer getInstanceDiscountType() { + return instanceDiscountType; + } + + public void setInstanceDiscountType(Integer instanceDiscountType) { + this.instanceDiscountType = instanceDiscountType; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceRequest.java new file mode 100644 index 00000000..af794118 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceRequest.java @@ -0,0 +1,77 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class GetCompShareRefundPriceRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 【数组】UHost实例ID。参见 [DescribeUHostInstance](describe_uhost_instance.html) */ + @NotEmpty + @UCloudParam("UHostIds") + private List uHostIds; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public List getUHostIds() { + return uHostIds; + } + + public void setUHostIds(List uHostIds) { + this.uHostIds = uHostIds; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceResponse.java new file mode 100644 index 00000000..425e2ad5 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareRefundPriceResponse.java @@ -0,0 +1,86 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class GetCompShareRefundPriceResponse extends Response { + + /** 主机删除扣除费用详情 */ + @SerializedName("RefundPriceSet") + private List refundPriceSet; + + public List getRefundPriceSet() { + return refundPriceSet; + } + + public void setRefundPriceSet(List refundPriceSet) { + this.refundPriceSet = refundPriceSet; + } + + public static class UHostRefundPriceSet extends Response { + + /** UHost实例ID */ + @SerializedName("UHostId") + private String uHostId; + + /** 实例操作结果的错误码。0为成功 */ + @SerializedName("Code") + private Integer code; + + /** 当 Code 非 0 时提供详细的描述信息 */ + @SerializedName("ErrMessage") + private String errMessage; + + /** 实例的删除退费金额 */ + @SerializedName("RefundPrice") + private Double refundPrice; + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } + + public Integer getCode() { + return code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getErrMessage() { + return errMessage; + } + + public void setErrMessage(String errMessage) { + this.errMessage = errMessage; + } + + public Double getRefundPrice() { + return refundPrice; + } + + public void setRefundPrice(Double refundPrice) { + this.refundPrice = refundPrice; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoRequest.java new file mode 100644 index 00000000..6463d807 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoRequest.java @@ -0,0 +1,74 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetCompShareTeamInfoRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 团队Id */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoResponse.java new file mode 100644 index 00000000..d188fe9a --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetCompShareTeamInfoResponse.java @@ -0,0 +1,221 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class GetCompShareTeamInfoResponse extends Response { + + /** 团队信息 */ + @SerializedName("Team") + private CompShareTeamDetailInfo team; + + /** 团队关系数组 */ + @SerializedName("TeamRelation") + private List teamRelation; + + public CompShareTeamDetailInfo getTeam() { + return team; + } + + public void setTeam(CompShareTeamDetailInfo team) { + this.team = team; + } + + public List getTeamRelation() { + return teamRelation; + } + + public void setTeamRelation(List teamRelation) { + this.teamRelation = teamRelation; + } + + public static class CompShareTeamDetailInfo extends Response { + + /** 团队Id */ + @SerializedName("Id") + private Integer id; + + /** 团队名称 */ + @SerializedName("Name") + private String name; + + /** 管理者公司Id */ + @SerializedName("CompanyId") + private Integer companyId; + + /** 团队简介 */ + @SerializedName("Description") + private String description; + + /** 删除状态 0: 未删除 1: 已删除 */ + @SerializedName("Deleted") + private Integer deleted; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getCompanyId() { + return companyId; + } + + public void setCompanyId(Integer companyId) { + this.companyId = companyId; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Integer getDeleted() { + return deleted; + } + + public void setDeleted(Integer deleted) { + this.deleted = deleted; + } + } + + public static class TeamRelation extends Response { + + /** 团队ID */ + @SerializedName("TeamId") + private Integer teamId; + + /** 团队名称 */ + @SerializedName("TeamName") + private String teamName; + + /** 成员公司Id */ + @SerializedName("UserCompanyId") + private Integer userCompanyId; + + /** 虚拟账号公司Id */ + @SerializedName("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 邀请状态:Pending(待同意)、Joined(已加入)、Rejected(拒绝)、Canceled(取消) */ + @SerializedName("Status") + private String status; + + /** 备注名称 */ + @SerializedName("RemarkName") + private String remarkName; + + /** 邀请时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 已分配金额 */ + @SerializedName("AllocateAmount") + private Integer allocateAmount; + + /** 余额 */ + @SerializedName("AvailableAmount") + private Integer availableAmount; + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public String getTeamName() { + return teamName; + } + + public void setTeamName(String teamName) { + this.teamName = teamName; + } + + public Integer getUserCompanyId() { + return userCompanyId; + } + + public void setUserCompanyId(Integer userCompanyId) { + this.userCompanyId = userCompanyId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getRemarkName() { + return remarkName; + } + + public void setRemarkName(String remarkName) { + this.remarkName = remarkName; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getAllocateAmount() { + return allocateAmount; + } + + public void setAllocateAmount(Integer allocateAmount) { + this.allocateAmount = allocateAmount; + } + + public Integer getAvailableAmount() { + return availableAmount; + } + + public void setAvailableAmount(Integer availableAmount) { + this.availableAmount = availableAmount; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListRequest.java new file mode 100644 index 00000000..a0ffdd54 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListRequest.java @@ -0,0 +1,36 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetOpenClawModelListRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListResponse.java new file mode 100644 index 00000000..34287b7d --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetOpenClawModelListResponse.java @@ -0,0 +1,61 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class GetOpenClawModelListResponse extends Response { + + /** 模型列表 */ + @SerializedName("Models") + private OpenClawModelInfo models; + + public OpenClawModelInfo getModels() { + return models; + } + + public void setModels(OpenClawModelInfo models) { + this.models = models; + } + + public static class OpenClawModelInfo extends Response { + + /** 模型Id */ + @SerializedName("Id") + private String id; + + /** 模型名称 */ + @SerializedName("Name") + private String name; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetSoftwareURLRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetSoftwareURLRequest.java new file mode 100644 index 00000000..0db0ab03 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetSoftwareURLRequest.java @@ -0,0 +1,89 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetSoftwareURLRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 实例Id */ + @NotEmpty + @UCloudParam("UHostId") + private String uHostId; + + /** 应用名称 */ + @NotEmpty + @UCloudParam("Software") + private String software; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } + + public String getSoftware() { + return software; + } + + public void setSoftware(String software) { + this.software = software; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StopULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetSoftwareURLResponse.java similarity index 72% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StopULHostInstanceResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetSoftwareURLResponse.java index f44f9a70..ae8a7907 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StopULHostInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetSoftwareURLResponse.java @@ -18,17 +18,17 @@ import com.google.gson.annotations.SerializedName; -public class StopULHostInstanceResponse extends Response { +public class GetSoftwareURLResponse extends Response { - /** ULHost实例ID */ - @SerializedName("ULHostId") - private String ulHostId; + /** 应用的URL */ + @SerializedName("URL") + private String url; - public String getULHostId() { - return ulHostId; + public String getURL() { + return url; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setURL(String url) { + this.url = url; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostInstancePriceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostInstancePriceResponse.java deleted file mode 100644 index 025b287a..00000000 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostInstancePriceResponse.java +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Copyright 2021 UCloud Technology Co., Ltd. - * - *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of the License at - * - *

http://www.apache.org/licenses/LICENSE-2.0 - * - *

Unless required by applicable law or agreed to in writing, software distributed under the - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing permissions and - * limitations under the License. - */ -package cn.ucloud.ucompshare.models; - -import cn.ucloud.common.response.Response; - -import com.google.gson.annotations.SerializedName; - -import java.util.List; - -public class GetULHostInstancePriceResponse extends Response { - - /** */ - @SerializedName("PriceSet") - private List priceSet; - - public List getPriceSet() { - return priceSet; - } - - public void setPriceSet(List priceSet) { - this.priceSet = priceSet; - } - - public static class ULHostPriceSet extends Response { - - /** 计费模式 */ - @SerializedName("ChargeType") - private String chargeType; - - /** 价格 */ - @SerializedName("Price") - private Double price; - - /** 原价 */ - @SerializedName("OriginalPrice") - private Double originalPrice; - - public String getChargeType() { - return chargeType; - } - - public void setChargeType(String chargeType) { - this.chargeType = chargeType; - } - - public Double getPrice() { - return price; - } - - public void setPrice(Double price) { - this.price = price; - } - - public Double getOriginalPrice() { - return originalPrice; - } - - public void setOriginalPrice(Double originalPrice) { - this.originalPrice = originalPrice; - } - } -} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostRenewPriceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostRenewPriceResponse.java deleted file mode 100644 index 58a241c3..00000000 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/GetULHostRenewPriceResponse.java +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Copyright 2021 UCloud Technology Co., Ltd. - * - *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of the License at - * - *

http://www.apache.org/licenses/LICENSE-2.0 - * - *

Unless required by applicable law or agreed to in writing, software distributed under the - * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing permissions and - * limitations under the License. - */ -package cn.ucloud.ucompshare.models; - -import cn.ucloud.common.response.Response; - -import com.google.gson.annotations.SerializedName; - -import java.util.List; - -public class GetULHostRenewPriceResponse extends Response { - - /** */ - @SerializedName("PriceSet") - private List priceSet; - - public List getPriceSet() { - return priceSet; - } - - public void setPriceSet(List priceSet) { - this.priceSet = priceSet; - } - - public static class ULHostPriceSet extends Response { - - /** 计费模式 */ - @SerializedName("ChargeType") - private String chargeType; - - /** 价格 */ - @SerializedName("Price") - private Double price; - - /** 原价 */ - @SerializedName("OriginalPrice") - private Double originalPrice; - - public String getChargeType() { - return chargeType; - } - - public void setChargeType(String chargeType) { - this.chargeType = chargeType; - } - - public Double getPrice() { - return price; - } - - public void setPrice(Double price) { - this.price = price; - } - - public Double getOriginalPrice() { - return originalPrice; - } - - public void setOriginalPrice(Double originalPrice) { - this.originalPrice = originalPrice; - } - } -} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteRequest.java new file mode 100644 index 00000000..8ca22d4e --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteRequest.java @@ -0,0 +1,72 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class ListCompShareTeamInviteRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 团队ID */ + @UCloudParam("TeamId") + private Integer teamId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteResponse.java new file mode 100644 index 00000000..348dffc8 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamInviteResponse.java @@ -0,0 +1,122 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ListCompShareTeamInviteResponse extends Response { + + /** 成员信息列表 */ + @SerializedName("Invites") + private List invites; + + public List getInvites() { + return invites; + } + + public void setInvites(List invites) { + this.invites = invites; + } + + public static class CompShareTeamInviteInfo extends Response { + + /** 团队ID */ + @SerializedName("TeamId") + private Integer teamId; + + /** 团队名称 */ + @SerializedName("TeamName") + private String teamName; + + /** 成员公司Id */ + @SerializedName("UserCompanyId") + private Integer userCompanyId; + + /** 虚拟账号公司Id */ + @SerializedName("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 邀请状态:Pending(待同意)、Joined(已加入)、Rejected(拒绝)、Canceled(取消) */ + @SerializedName("Status") + private String status; + + /** 备注名称 */ + @SerializedName("RemarkName") + private String remarkName; + + /** 邀请时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public String getTeamName() { + return teamName; + } + + public void setTeamName(String teamName) { + this.teamName = teamName; + } + + public Integer getUserCompanyId() { + return userCompanyId; + } + + public void setUserCompanyId(Integer userCompanyId) { + this.userCompanyId = userCompanyId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getRemarkName() { + return remarkName; + } + + public void setRemarkName(String remarkName) { + this.remarkName = remarkName; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedRequest.java new file mode 100644 index 00000000..904a9d82 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedRequest.java @@ -0,0 +1,72 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class ListCompShareTeamJoinedRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 邀请状态:Pending(待同意)、Joined(已加入)、Rejected(拒绝)、Canceled(取消) */ + @UCloudParam("Status") + private String status; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedResponse.java new file mode 100644 index 00000000..01f3fbdf --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamJoinedResponse.java @@ -0,0 +1,134 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ListCompShareTeamJoinedResponse extends Response { + + /** 加入团队信息数组 */ + @SerializedName("JoinedTeams") + private List joinedTeams; + + public List getJoinedTeams() { + return joinedTeams; + } + + public void setJoinedTeams(List joinedTeams) { + this.joinedTeams = joinedTeams; + } + + public static class CompShareTeamJoinedInfo extends Response { + + /** 团队ID */ + @SerializedName("TeamId") + private Integer teamId; + + /** 团队名称 */ + @SerializedName("TeamName") + private String teamName; + + /** 成员公司Id */ + @SerializedName("UserCompanyId") + private Integer userCompanyId; + + /** 虚拟账号公司Id */ + @SerializedName("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 邀请状态:Pending(待同意)、Joined(已加入)、Rejected(拒绝)、Canceled(取消) */ + @SerializedName("Status") + private String status; + + /** 备注名称 */ + @SerializedName("RemarkName") + private String remarkName; + + /** 邀请时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 当前是否为个人账号 */ + @SerializedName("IsPersonalAccount") + private Boolean isPersonalAccount; + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public String getTeamName() { + return teamName; + } + + public void setTeamName(String teamName) { + this.teamName = teamName; + } + + public Integer getUserCompanyId() { + return userCompanyId; + } + + public void setUserCompanyId(Integer userCompanyId) { + this.userCompanyId = userCompanyId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getRemarkName() { + return remarkName; + } + + public void setRemarkName(String remarkName) { + this.remarkName = remarkName; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Boolean getIsPersonalAccount() { + return isPersonalAccount; + } + + public void setIsPersonalAccount(Boolean isPersonalAccount) { + this.isPersonalAccount = isPersonalAccount; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogRequest.java new file mode 100644 index 00000000..3f4091d3 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogRequest.java @@ -0,0 +1,122 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class ListCompShareTeamOperateLogRequest extends Request { + + /** 起始时间,需使用时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + /** 团队ID */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + /** 返回数据长度,默认为25,最大100 */ + @UCloudParam("Limit") + private Integer limit; + + /** 列表起始位置偏移量,默认为0 */ + @UCloudParam("Offset") + private Integer offset; + + /** 操作类型,详细参考返回值 */ + @UCloudParam("OperateType") + private List operateType; + + /** 操作状态,详细参考返回值 */ + @UCloudParam("Status") + private List status; + + /** 排序方式:true表示按创建时间升序,false表示降序(默认) */ + @UCloudParam("OrderByASC") + private Boolean orderByASC; + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public List getOperateType() { + return operateType; + } + + public void setOperateType(List operateType) { + this.operateType = operateType; + } + + public List getStatus() { + return status; + } + + public void setStatus(List status) { + this.status = status; + } + + public Boolean getOrderByASC() { + return orderByASC; + } + + public void setOrderByASC(Boolean orderByASC) { + this.orderByASC = orderByASC; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogResponse.java new file mode 100644 index 00000000..56652ca9 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamOperateLogResponse.java @@ -0,0 +1,122 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ListCompShareTeamOperateLogResponse extends Response { + + /** 团队操作日志列表 */ + @SerializedName("Logs") + private List logs; + + /** 总条目数 */ + @SerializedName("Total") + private Integer total; + + /** 操作类型枚举列表 */ + @SerializedName("OperateTypeList") + private List operateTypeList; + + /** 状态枚举列表 */ + @SerializedName("StatusList") + private List statusList; + + public List getLogs() { + return logs; + } + + public void setLogs(List logs) { + this.logs = logs; + } + + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public List getOperateTypeList() { + return operateTypeList; + } + + public void setOperateTypeList(List operateTypeList) { + this.operateTypeList = operateTypeList; + } + + public List getStatusList() { + return statusList; + } + + public void setStatusList(List statusList) { + this.statusList = statusList; + } + + public static class CompShareTeamOperateLogInfo extends Response { + + /** 操作内容 */ + @SerializedName("Content") + private String content; + + /** 操作类型 */ + @SerializedName("OperateType") + private String operateType; + + /** 操作日志的创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 操作状态 */ + @SerializedName("Status") + private String status; + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getOperateType() { + return operateType; + } + + public void setOperateType(String operateType) { + this.operateType = operateType; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StopULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamRequest.java similarity index 80% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StopULHostInstanceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamRequest.java index 59ee4154..b39f1913 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StopULHostInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamRequest.java @@ -14,17 +14,19 @@ package cn.ucloud.ucompshare.models; -import cn.ucloud.common.annotation.NotEmpty; import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class StopULHostInstanceRequest extends Request { +public class ListCompShareTeamRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ - @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,11 +34,6 @@ public class StopULHostInstanceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost实例ID。 */ - @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; - public String getRegion() { return region; } @@ -45,19 +42,19 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getULHostId() { - return ulHostId; + public String getProjectId() { + return projectId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setProjectId(String projectId) { + this.projectId = projectId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamResponse.java new file mode 100644 index 00000000..91abe35c --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListCompShareTeamResponse.java @@ -0,0 +1,98 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ListCompShareTeamResponse extends Response { + + /** 团队信息数组 */ + @SerializedName("Teams") + private List teams; + + public List getTeams() { + return teams; + } + + public void setTeams(List teams) { + this.teams = teams; + } + + public static class CompShareTeamInfo extends Response { + + /** 团队Id */ + @SerializedName("Id") + private Integer id; + + /** 团队名称 */ + @SerializedName("Name") + private String name; + + /** 管理者公司Id */ + @SerializedName("CompanyId") + private Integer companyId; + + /** 团队简介 */ + @SerializedName("Description") + private String description; + + /** 成员数量 */ + @SerializedName("MemberCount") + private Integer memberCount; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getCompanyId() { + return companyId; + } + + public void setCompanyId(Integer companyId) { + this.companyId = companyId; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Integer getMemberCount() { + return memberCount; + } + + public void setMemberCount(Integer memberCount) { + this.memberCount = memberCount; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeRequest.java new file mode 100644 index 00000000..27311700 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeRequest.java @@ -0,0 +1,86 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class ListMemberProductTypeRequest extends Request { + + /** 起始时间,需使用时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + /** 团队ID */ + @NotEmpty + @UCloudParam("TeamId") + private Integer teamId; + + /** 成员虚拟ID */ + @UCloudParam("VirtualCompanyId") + private Integer virtualCompanyId; + + /** 订单状态 */ + @UCloudParam("OrderStates") + private List orderStates; + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getEndTime() { + return endTime; + } + + public void setEndTime(Integer endTime) { + this.endTime = endTime; + } + + public Integer getTeamId() { + return teamId; + } + + public void setTeamId(Integer teamId) { + this.teamId = teamId; + } + + public Integer getVirtualCompanyId() { + return virtualCompanyId; + } + + public void setVirtualCompanyId(Integer virtualCompanyId) { + this.virtualCompanyId = virtualCompanyId; + } + + public List getOrderStates() { + return orderStates; + } + + public void setOrderStates(List orderStates) { + this.orderStates = orderStates; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeResponse.java new file mode 100644 index 00000000..257e6af4 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ListMemberProductTypeResponse.java @@ -0,0 +1,35 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ListMemberProductTypeResponse extends Response { + + /** 产品类型列表 */ + @SerializedName("ProductTypeList") + private List productTypeList; + + public List getProductTypeList() { + return productTypeList; + } + + public void setProductTypeList(List productTypeList) { + this.productTypeList = productTypeList; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountRequest.java new file mode 100644 index 00000000..db8e4055 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountRequest.java @@ -0,0 +1,88 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class ModifyCompShareImageShareAccountRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 镜像Id */ + @NotEmpty + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** 添加被共享的账号Id,每次最多10个。与RemoveAccounts.N不能同时为空 */ + @UCloudParam("AddAccounts") + private List addAccounts; + + /** 移除被共享的账号Id,每次最多10个。与AddAccounts.N不能同时为空 */ + @UCloudParam("RemoveAccounts") + private List removeAccounts; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public List getAddAccounts() { + return addAccounts; + } + + public void setAddAccounts(List addAccounts) { + this.addAccounts = addAccounts; + } + + public List getRemoveAccounts() { + return removeAccounts; + } + + public void setRemoveAccounts(List removeAccounts) { + this.removeAccounts = removeAccounts; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountResponse.java new file mode 100644 index 00000000..8ac25678 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareImageShareAccountResponse.java @@ -0,0 +1,35 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ModifyCompShareImageShareAccountResponse extends Response { + + /** 无效的账号Id列表 */ + @SerializedName("InvalidAccounts") + private List invalidAccounts; + + public List getInvalidAccounts() { + return invalidAccounts; + } + + public void setInvalidAccounts(List invalidAccounts) { + this.invalidAccounts = invalidAccounts; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyULHostAttributeRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareInstanceNameRequest.java similarity index 74% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyULHostAttributeRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareInstanceNameRequest.java index a228eb4c..b6cf018e 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyULHostAttributeRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareInstanceNameRequest.java @@ -18,13 +18,18 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class ModifyULHostAttributeRequest extends Request { +public class ModifyCompShareInstanceNameRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,19 +37,16 @@ public class ModifyULHostAttributeRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost实例Id */ + /** 实例Id */ @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; + @UCloudParam("UHostId") + private String uHostId; - /** 名称。和Remark至少选择一个进行修改 */ + /** 名称 */ + @NotEmpty @UCloudParam("Name") private String name; - /** 备注。和Name至少选择一个进行修改 */ - @UCloudParam("Remark") - private String remark; - public String getRegion() { return region; } @@ -53,6 +55,14 @@ public void setRegion(String region) { this.region = region; } + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + public String getProjectId() { return projectId; } @@ -61,12 +71,12 @@ public void setProjectId(String projectId) { this.projectId = projectId; } - public String getULHostId() { - return ulHostId; + public String getUHostId() { + return uHostId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setUHostId(String uHostId) { + this.uHostId = uHostId; } public String getName() { @@ -76,12 +86,4 @@ public String getName() { public void setName(String name) { this.name = name; } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ReinstallULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareInstanceNameResponse.java similarity index 74% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ReinstallULHostInstanceResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareInstanceNameResponse.java index 403b1f6d..8f93a0cf 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ReinstallULHostInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ModifyCompShareInstanceNameResponse.java @@ -18,17 +18,17 @@ import com.google.gson.annotations.SerializedName; -public class ReinstallULHostInstanceResponse extends Response { +public class ModifyCompShareInstanceNameResponse extends Response { /** 实例Id */ - @SerializedName("ULHostId") - private String ulHostId; + @SerializedName("UHostId") + private String uHostId; - public String getULHostId() { - return ulHostId; + public String getUHostId() { + return uHostId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setUHostId(String uHostId) { + this.uHostId = uHostId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageRequest.java new file mode 100644 index 00000000..e8f84fab --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageRequest.java @@ -0,0 +1,225 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class PublishCompShareImageRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 镜像Id */ + @NotEmpty + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** 镜像价格。单位:元,支持00.00 */ + @NotEmpty + @UCloudParam("Price") + private Double price; + + /** 封面。base64编码的图片 */ + @UCloudParam("Cover") + private String cover; + + /** 【array of string】镜像标签。最多支持3个标签 */ + @UCloudParam("Tags") + private List tags; + + /** 镜像描述信息 */ + @UCloudParam("Description") + private String description; + + /** 镜像详情描述【富文本】 */ + @UCloudParam("Readme") + private String readme; + + /** */ + @UCloudParam("Softwares") + private Softwares softwares; + + /** 发布社区镜像名称 */ + @UCloudParam("CommunityImageName") + private String communityImageName; + + /** 是否支持自启动 false: 不支持 true:支持 */ + @UCloudParam("AutoStart") + private String autoStart; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public Double getPrice() { + return price; + } + + public void setPrice(Double price) { + this.price = price; + } + + public String getCover() { + return cover; + } + + public void setCover(String cover) { + this.cover = cover; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getReadme() { + return readme; + } + + public void setReadme(String readme) { + this.readme = readme; + } + + public Softwares getSoftwares() { + return softwares; + } + + public void setSoftwares(Softwares softwares) { + this.softwares = softwares; + } + + public String getCommunityImageName() { + return communityImageName; + } + + public void setCommunityImageName(String communityImageName) { + this.communityImageName = communityImageName; + } + + public String getAutoStart() { + return autoStart; + } + + public void setAutoStart(String autoStart) { + this.autoStart = autoStart; + } + + public static class Softwares extends Request { + + /** 镜像框架名称 */ + @UCloudParam("Framework") + private String framework; + + /** 镜像框架版本 */ + @UCloudParam("FrameworkVersion") + private String frameworkVersion; + + /** 镜像CUDA版本 */ + @UCloudParam("CUDAVersion") + private String cudaVersion; + + /** 镜像应用列表 */ + @UCloudParam("Applications") + private List applications; + + public String getFramework() { + return framework; + } + + public void setFramework(String framework) { + this.framework = framework; + } + + public String getFrameworkVersion() { + return frameworkVersion; + } + + public void setFrameworkVersion(String frameworkVersion) { + this.frameworkVersion = frameworkVersion; + } + + public String getCUDAVersion() { + return cudaVersion; + } + + public void setCUDAVersion(String cudaVersion) { + this.cudaVersion = cudaVersion; + } + + public List getApplications() { + return applications; + } + + public void setApplications(List applications) { + this.applications = applications; + } + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageResponse.java new file mode 100644 index 00000000..199c4dc7 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/PublishCompShareImageResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class PublishCompShareImageResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareDiskRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareDiskRequest.java new file mode 100644 index 00000000..59da4871 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareDiskRequest.java @@ -0,0 +1,89 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class ResizeCompShareDiskRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 磁盘id */ + @NotEmpty + @UCloudParam("UDiskId") + private String uDiskId; + + /** 大小 */ + @NotEmpty + @UCloudParam("Size") + private Integer size; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUDiskId() { + return uDiskId; + } + + public void setUDiskId(String uDiskId) { + this.uDiskId = uDiskId; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StartULHostInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareDiskResponse.java similarity index 72% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StartULHostInstanceResponse.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareDiskResponse.java index 1b0247da..e239f809 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/StartULHostInstanceResponse.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareDiskResponse.java @@ -18,17 +18,17 @@ import com.google.gson.annotations.SerializedName; -public class StartULHostInstanceResponse extends Response { +public class ResizeCompShareDiskResponse extends Response { - /** ULHost实例ID */ - @SerializedName("ULHostId") - private String ulHostId; + /** 磁盘id */ + @SerializedName("UDiskId") + private String uDiskId; - public String getULHostId() { - return ulHostId; + public String getUDiskId() { + return uDiskId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setUDiskId(String uDiskId) { + this.uDiskId = uDiskId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceRequest.java new file mode 100644 index 00000000..78c5162d --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceRequest.java @@ -0,0 +1,136 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class ResizeCompShareInstanceRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 实例Id */ + @NotEmpty + @UCloudParam("UHostId") + private String uHostId; + + /** 目标Cpu核心数 */ + @UCloudParam("Cpu") + private Integer cpu; + + /** 目标内存大小 */ + @UCloudParam("Memory") + private Integer memory; + + /** 目标Gpu卡数 */ + @UCloudParam("Gpu") + private Integer gpu; + + /** 磁盘Id */ + @UCloudParam("DiskId") + private String diskId; + + /** 目标磁盘大小 */ + @UCloudParam("DiskSpace") + private String diskSpace; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } + + public Integer getCpu() { + return cpu; + } + + public void setCpu(Integer cpu) { + this.cpu = cpu; + } + + public Integer getMemory() { + return memory; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public Integer getGpu() { + return gpu; + } + + public void setGpu(Integer gpu) { + this.gpu = gpu; + } + + public String getDiskId() { + return diskId; + } + + public void setDiskId(String diskId) { + this.diskId = diskId; + } + + public String getDiskSpace() { + return diskSpace; + } + + public void setDiskSpace(String diskSpace) { + this.diskSpace = diskSpace; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceResponse.java new file mode 100644 index 00000000..3824f494 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ResizeCompShareInstanceResponse.java @@ -0,0 +1,34 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class ResizeCompShareInstanceResponse extends Response { + + /** 实例Id */ + @SerializedName("UHostId") + private String uHostId; + + public String getUHostId() { + return uHostId; + } + + public void setUHostId(String uHostId) { + this.uHostId = uHostId; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationRequest.java new file mode 100644 index 00000000..4255eeba --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationRequest.java @@ -0,0 +1,111 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class SetCompShareTeamRelationRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 发送邀请操作:Agree(同意)、Reject(拒绝)、Cancel(取消)、UpdateRemarkName(更改备注) */ + @NotEmpty + @UCloudParam("Status") + private String status; + + /** 团队Id */ + @NotEmpty + @UCloudParam("TeamId") + private String teamId; + + /** 取消邀请的成员公司Id */ + @UCloudParam("UserCompanyId") + private String userCompanyId; + + /** 备注名称 */ + @UCloudParam("RemarkName") + private String remarkName; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getTeamId() { + return teamId; + } + + public void setTeamId(String teamId) { + this.teamId = teamId; + } + + public String getUserCompanyId() { + return userCompanyId; + } + + public void setUserCompanyId(String userCompanyId) { + this.userCompanyId = userCompanyId; + } + + public String getRemarkName() { + return remarkName; + } + + public void setRemarkName(String remarkName) { + this.remarkName = remarkName; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationResponse.java new file mode 100644 index 00000000..f655e8a9 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/SetCompShareTeamRelationResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class SetCompShareTeamRelationResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateCompShareCustomImageRequest.java similarity index 71% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateULHostInstanceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateCompShareCustomImageRequest.java index af59a3ac..6d28f0a8 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateULHostInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateCompShareCustomImageRequest.java @@ -18,13 +18,18 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class TerminateULHostInstanceRequest extends Request { +public class TerminateCompShareCustomImageRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,14 +37,10 @@ public class TerminateULHostInstanceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** ULHost资源Id */ + /** 镜像Id */ @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; - - /** 删除主机时是否同时删除挂载的数据盘。默认为false。 */ - @UCloudParam("ReleaseUDisk") - private Boolean releaseUDisk; + @UCloudParam("CompShareImageId") + private String compShareImageId; public String getRegion() { return region; @@ -49,27 +50,27 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getULHostId() { - return ulHostId; + public String getProjectId() { + return projectId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setProjectId(String projectId) { + this.projectId = projectId; } - public Boolean getReleaseUDisk() { - return releaseUDisk; + public String getCompShareImageId() { + return compShareImageId; } - public void setReleaseUDisk(Boolean releaseUDisk) { - this.releaseUDisk = releaseUDisk; + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateCompShareCustomImageResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateCompShareCustomImageResponse.java new file mode 100644 index 00000000..3d7653e1 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/TerminateCompShareCustomImageResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class TerminateCompShareCustomImageResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageRequest.java new file mode 100644 index 00000000..39c0110a --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageRequest.java @@ -0,0 +1,161 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +import java.util.List; + +public class UpdateCompShareImageRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 镜像Id */ + @NotEmpty + @UCloudParam("CompShareImageId") + private String compShareImageId; + + /** 可见性 0:私密;1:公开 */ + @UCloudParam("Visibility") + private Integer visibility; + + /** 镜像封面图。Base64编码后的字符串 */ + @UCloudParam("Cover") + private String cover; + + /** 镜像描述信息 */ + @UCloudParam("Description") + private String description; + + /** 镜像详情描述信息,支持富文本 */ + @UCloudParam("Readme") + private String readme; + + /** 镜像标签列表,最多支持3个标签 */ + @UCloudParam("Tags") + private List tags; + + /** 镜像框架信息 */ + @UCloudParam("Framework") + private String framework; + + /** 镜像软件信息 */ + @UCloudParam("Softwares") + private String softwares; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getCompShareImageId() { + return compShareImageId; + } + + public void setCompShareImageId(String compShareImageId) { + this.compShareImageId = compShareImageId; + } + + public Integer getVisibility() { + return visibility; + } + + public void setVisibility(Integer visibility) { + this.visibility = visibility; + } + + public String getCover() { + return cover; + } + + public void setCover(String cover) { + this.cover = cover; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getReadme() { + return readme; + } + + public void setReadme(String readme) { + this.readme = readme; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public String getFramework() { + return framework; + } + + public void setFramework(String framework) { + this.framework = framework; + } + + public String getSoftwares() { + return softwares; + } + + public void setSoftwares(String softwares) { + this.softwares = softwares; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageResponse.java new file mode 100644 index 00000000..e308ca47 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareImageResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class UpdateCompShareImageResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ReinstallULHostInstanceRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareStopSchedulerRequest.java similarity index 64% rename from ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ReinstallULHostInstanceRequest.java rename to ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareStopSchedulerRequest.java index eacc9269..cab1945a 100644 --- a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/ReinstallULHostInstanceRequest.java +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareStopSchedulerRequest.java @@ -18,13 +18,17 @@ import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; -public class ReinstallULHostInstanceRequest extends Request { +public class UpdateCompShareStopSchedulerRequest extends Request { /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) @@ -32,20 +36,15 @@ public class ReinstallULHostInstanceRequest extends Request { @UCloudParam("ProjectId") private String projectId; - /** 镜像Id。暂不支持使用自定义镜像重装 */ - @NotEmpty - @UCloudParam("ImageId") - private String imageId; - - /** 实例Id */ + /** UHost实例ID。【UHostId和HostId必须选填一个,本字段即将废弃,建议使用HostId】 */ @NotEmpty - @UCloudParam("ULHostId") - private String ulHostId; + @UCloudParam("UHostId") + private String uHostId; - /** 登陆密码。密码需使用base64进行编码,举例如下:# echo -n Password1 | base64UGFzc3dvcmQx */ + /** 定时关机时间 */ @NotEmpty - @UCloudParam("Password") - private String password; + @UCloudParam("StopTime") + private Integer stopTime; public String getRegion() { return region; @@ -55,35 +54,35 @@ public void setRegion(String region) { this.region = region; } - public String getProjectId() { - return projectId; + public String getZone() { + return zone; } - public void setProjectId(String projectId) { - this.projectId = projectId; + public void setZone(String zone) { + this.zone = zone; } - public String getImageId() { - return imageId; + public String getProjectId() { + return projectId; } - public void setImageId(String imageId) { - this.imageId = imageId; + public void setProjectId(String projectId) { + this.projectId = projectId; } - public String getULHostId() { - return ulHostId; + public String getUHostId() { + return uHostId; } - public void setULHostId(String ulHostId) { - this.ulHostId = ulHostId; + public void setUHostId(String uHostId) { + this.uHostId = uHostId; } - public String getPassword() { - return password; + public Integer getStopTime() { + return stopTime; } - public void setPassword(String password) { - this.password = password; + public void setStopTime(Integer stopTime) { + this.stopTime = stopTime; } } diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareStopSchedulerResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareStopSchedulerResponse.java new file mode 100644 index 00000000..adcaf0d2 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareStopSchedulerResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class UpdateCompShareStopSchedulerResponse extends Response {} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamRequest.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamRequest.java new file mode 100644 index 00000000..da6bb263 --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamRequest.java @@ -0,0 +1,84 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class UpdateCompShareTeamRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 团队名称 */ + @UCloudParam("Name") + private String name; + + /** 团队简介 */ + @UCloudParam("Description") + private String description; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } +} diff --git a/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamResponse.java b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamResponse.java new file mode 100644 index 00000000..0396e33d --- /dev/null +++ b/ucloud-sdk-java-ucompshare/src/main/java/cn/ucloud/ucompshare/models/UpdateCompShareTeamResponse.java @@ -0,0 +1,20 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.ucompshare.models; + + + +import cn.ucloud.common.response.Response; + +public class UpdateCompShareTeamResponse extends Response {} diff --git a/ucloud-sdk-java-udb/pom.xml b/ucloud-sdk-java-udb/pom.xml index 799d2390..9c5d91b5 100644 --- a/ucloud-sdk-java-udb/pom.xml +++ b/ucloud-sdk-java-udb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-udb ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-udbproxy/pom.xml b/ucloud-sdk-java-udbproxy/pom.xml index e8e396ac..f59ebacd 100644 --- a/ucloud-sdk-java-udbproxy/pom.xml +++ b/ucloud-sdk-java-udbproxy/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-udbproxy ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-udi/pom.xml b/ucloud-sdk-java-udi/pom.xml index e2b1d23d..4e717a9f 100644 --- a/ucloud-sdk-java-udi/pom.xml +++ b/ucloud-sdk-java-udi/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-udi ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-udisk/pom.xml b/ucloud-sdk-java-udisk/pom.xml index 273f99b2..52efb9ee 100644 --- a/ucloud-sdk-java-udisk/pom.xml +++ b/ucloud-sdk-java-udisk/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-udisk ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-udns/pom.xml b/ucloud-sdk-java-udns/pom.xml index 2d51c217..44b853f8 100644 --- a/ucloud-sdk-java-udns/pom.xml +++ b/ucloud-sdk-java-udns/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-udns ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-udpn/pom.xml b/ucloud-sdk-java-udpn/pom.xml index d93c04a0..b7a0985d 100644 --- a/ucloud-sdk-java-udpn/pom.xml +++ b/ucloud-sdk-java-udpn/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-udpn ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uec/pom.xml b/ucloud-sdk-java-uec/pom.xml index 285de55e..7ab17ad8 100644 --- a/ucloud-sdk-java-uec/pom.xml +++ b/ucloud-sdk-java-uec/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uec ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uewaf/pom.xml b/ucloud-sdk-java-uewaf/pom.xml index 55748c4c..3c59bfec 100644 --- a/ucloud-sdk-java-uewaf/pom.xml +++ b/ucloud-sdk-java-uewaf/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uewaf ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ufile/pom.xml b/ucloud-sdk-java-ufile/pom.xml index 68690f91..518d7e9d 100644 --- a/ucloud-sdk-java-ufile/pom.xml +++ b/ucloud-sdk-java-ufile/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ufile ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ufs/pom.xml b/ucloud-sdk-java-ufs/pom.xml index 7e398abf..c1bd21cb 100644 --- a/ucloud-sdk-java-ufs/pom.xml +++ b/ucloud-sdk-java-ufs/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ufs ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uhost/pom.xml b/ucloud-sdk-java-uhost/pom.xml index 1bb0b8ee..bc23325c 100644 --- a/ucloud-sdk-java-uhost/pom.xml +++ b/ucloud-sdk-java-uhost/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uhost ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uk8s/pom.xml b/ucloud-sdk-java-uk8s/pom.xml index 80433254..109fa49e 100644 --- a/ucloud-sdk-java-uk8s/pom.xml +++ b/ucloud-sdk-java-uk8s/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uk8s ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ulb/pom.xml b/ucloud-sdk-java-ulb/pom.xml index e343d14a..ba5df793 100644 --- a/ucloud-sdk-java-ulb/pom.xml +++ b/ucloud-sdk-java-ulb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ulb ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ulighthost/pom.xml b/ucloud-sdk-java-ulighthost/pom.xml index aea7e3d9..e5fd4299 100644 --- a/ucloud-sdk-java-ulighthost/pom.xml +++ b/ucloud-sdk-java-ulighthost/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ulighthost ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-ulog/pom.xml b/ucloud-sdk-java-ulog/pom.xml index 4e2bd6ea..9441e56a 100644 --- a/ucloud-sdk-java-ulog/pom.xml +++ b/ucloud-sdk-java-ulog/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-ulog ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-umem/pom.xml b/ucloud-sdk-java-umem/pom.xml index 07ffbcc5..302c5dd6 100644 --- a/ucloud-sdk-java-umem/pom.xml +++ b/ucloud-sdk-java-umem/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-umem ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-umon/pom.xml b/ucloud-sdk-java-umon/pom.xml index 1ce9d746..196fdfa8 100644 --- a/ucloud-sdk-java-umon/pom.xml +++ b/ucloud-sdk-java-umon/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-umon ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-umongodb/pom.xml b/ucloud-sdk-java-umongodb/pom.xml index 49a8eebc..90dbf48e 100644 --- a/ucloud-sdk-java-umongodb/pom.xml +++ b/ucloud-sdk-java-umongodb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-umongodb ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-unet/pom.xml b/ucloud-sdk-java-unet/pom.xml index 8b8632e2..92c34e62 100644 --- a/ucloud-sdk-java-unet/pom.xml +++ b/ucloud-sdk-java-unet/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-unet ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-upfs/pom.xml b/ucloud-sdk-java-upfs/pom.xml index 2d4c1c82..0550d834 100644 --- a/ucloud-sdk-java-upfs/pom.xml +++ b/ucloud-sdk-java-upfs/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-upfs ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-upgsql/pom.xml b/ucloud-sdk-java-upgsql/pom.xml index e4b265f7..f777fc66 100644 --- a/ucloud-sdk-java-upgsql/pom.xml +++ b/ucloud-sdk-java-upgsql/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-upgsql ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uphone/pom.xml b/ucloud-sdk-java-uphone/pom.xml index 71ba642a..f5180818 100644 --- a/ucloud-sdk-java-uphone/pom.xml +++ b/ucloud-sdk-java-uphone/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uphone ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uphost/pom.xml b/ucloud-sdk-java-uphost/pom.xml index 50b7c6d7..e0db76ea 100644 --- a/ucloud-sdk-java-uphost/pom.xml +++ b/ucloud-sdk-java-uphost/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uphost ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uslk/pom.xml b/ucloud-sdk-java-uslk/pom.xml index 5ac96433..34553265 100644 --- a/ucloud-sdk-java-uslk/pom.xml +++ b/ucloud-sdk-java-uslk/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uslk ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-usms/pom.xml b/ucloud-sdk-java-usms/pom.xml index edb7e69d..abcf775f 100644 --- a/ucloud-sdk-java-usms/pom.xml +++ b/ucloud-sdk-java-usms/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-usms ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-usnap/pom.xml b/ucloud-sdk-java-usnap/pom.xml index ebc3728f..025dda7d 100644 --- a/ucloud-sdk-java-usnap/pom.xml +++ b/ucloud-sdk-java-usnap/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-usnap ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-uvms/pom.xml b/ucloud-sdk-java-uvms/pom.xml index e0ef42c6..d8b50dcc 100644 --- a/ucloud-sdk-java-uvms/pom.xml +++ b/ucloud-sdk-java-uvms/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-uvms ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release diff --git a/ucloud-sdk-java-vpc/pom.xml b/ucloud-sdk-java-vpc/pom.xml index 7d2ba667..af3e7e4a 100644 --- a/ucloud-sdk-java-vpc/pom.xml +++ b/ucloud-sdk-java-vpc/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.58-release + 1.2.59-release 4.0.0 ucloud-sdk-java-vpc ucloud-sdk-java - 1.2.58-release + 1.2.59-release cn.ucloud ucloud-sdk-java-common - 1.2.58-release + 1.2.59-release