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