diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClient.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClient.java
index c9870a18a..f5c5d7923 100644
--- a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClient.java
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClient.java
@@ -17,8 +17,38 @@
import cn.ucloud.common.config.Config;
import cn.ucloud.common.credential.Credential;
import cn.ucloud.common.exception.UCloudException;
-import cn.ucloud.uai_modelverse.models.GetUMInferServiceRequest;
-import cn.ucloud.uai_modelverse.models.GetUMInferServiceResponse;
+import cn.ucloud.uai_modelverse.models.CreateUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.CreateUMInferAPIKeyResponse;
+import cn.ucloud.uai_modelverse.models.DeleteUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.DeleteUMInferAPIKeyResponse;
+import cn.ucloud.uai_modelverse.models.DownloadListPaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.DownloadListPaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.DownloadListUnpaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.DownloadListUnpaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.DownloadOrderSummaryRequest;
+import cn.ucloud.uai_modelverse.models.DownloadOrderSummaryResponse;
+import cn.ucloud.uai_modelverse.models.GetFilterOptionsRequest;
+import cn.ucloud.uai_modelverse.models.GetFilterOptionsResponse;
+import cn.ucloud.uai_modelverse.models.GetOrderAmountRequest;
+import cn.ucloud.uai_modelverse.models.GetOrderAmountResponse;
+import cn.ucloud.uai_modelverse.models.GetUMInferAPIModelRequest;
+import cn.ucloud.uai_modelverse.models.GetUMInferAPIModelResponse;
+import cn.ucloud.uai_modelverse.models.GetUMInferTokenUsageRequest;
+import cn.ucloud.uai_modelverse.models.GetUMInferTokenUsageResponse;
+import cn.ucloud.uai_modelverse.models.ListPaidOrderSummaryRequest;
+import cn.ucloud.uai_modelverse.models.ListPaidOrderSummaryResponse;
+import cn.ucloud.uai_modelverse.models.ListPaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.ListPaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.ListUFSquareModelRequest;
+import cn.ucloud.uai_modelverse.models.ListUFSquareModelResponse;
+import cn.ucloud.uai_modelverse.models.ListUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.ListUMInferAPIKeyResponse;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrderSummaryRequest;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrderSummaryResponse;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.UpdateUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.UpdateUMInferAPIKeyResponse;
/** This client is used to call actions of **UAIModelverse** service */
public class UAIModelverseClient extends DefaultClient implements UAIModelverseClientInterface {
@@ -27,14 +57,203 @@ public UAIModelverseClient(Config config, Credential credential) {
}
/**
- * GetUMInferService - 获取模型服务
+ * CreateUMInferAPIKey - 创建apikey
*
* @param request Request object
* @throws UCloudException Exception
*/
- public GetUMInferServiceResponse getUMInferService(GetUMInferServiceRequest request)
+ public CreateUMInferAPIKeyResponse createUMInferAPIKey(CreateUMInferAPIKeyRequest request)
throws UCloudException {
- request.setAction("GetUMInferService");
- return (GetUMInferServiceResponse) this.invoke(request, GetUMInferServiceResponse.class);
+ request.setAction("CreateUMInferAPIKey");
+ return (CreateUMInferAPIKeyResponse)
+ this.invoke(request, CreateUMInferAPIKeyResponse.class);
+ }
+
+ /**
+ * DeleteUMInferAPIKey - 删除apikey
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUMInferAPIKeyResponse deleteUMInferAPIKey(DeleteUMInferAPIKeyRequest request)
+ throws UCloudException {
+ request.setAction("DeleteUMInferAPIKey");
+ return (DeleteUMInferAPIKeyResponse)
+ this.invoke(request, DeleteUMInferAPIKeyResponse.class);
+ }
+
+ /**
+ * DownloadListPaidOrders - 下载已完成订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DownloadListPaidOrdersResponse downloadListPaidOrders(
+ DownloadListPaidOrdersRequest request) throws UCloudException {
+ request.setAction("DownloadListPaidOrders");
+ return (DownloadListPaidOrdersResponse)
+ this.invoke(request, DownloadListPaidOrdersResponse.class);
+ }
+
+ /**
+ * DownloadListUnpaidOrders - 下载欠费订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DownloadListUnpaidOrdersResponse downloadListUnpaidOrders(
+ DownloadListUnpaidOrdersRequest request) throws UCloudException {
+ request.setAction("DownloadListUnpaidOrders");
+ return (DownloadListUnpaidOrdersResponse)
+ this.invoke(request, DownloadListUnpaidOrdersResponse.class);
+ }
+
+ /**
+ * DownloadOrderSummary - 下载订单汇总
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DownloadOrderSummaryResponse downloadOrderSummary(DownloadOrderSummaryRequest request)
+ throws UCloudException {
+ request.setAction("DownloadOrderSummary");
+ return (DownloadOrderSummaryResponse)
+ this.invoke(request, DownloadOrderSummaryResponse.class);
+ }
+
+ /**
+ * GetFilterOptions - 查询筛选选项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetFilterOptionsResponse getFilterOptions(GetFilterOptionsRequest request)
+ throws UCloudException {
+ request.setAction("GetFilterOptions");
+ return (GetFilterOptionsResponse) this.invoke(request, GetFilterOptionsResponse.class);
+ }
+
+ /**
+ * GetOrderAmount - 查询订单汇总统计
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetOrderAmountResponse getOrderAmount(GetOrderAmountRequest request)
+ throws UCloudException {
+ request.setAction("GetOrderAmount");
+ return (GetOrderAmountResponse) this.invoke(request, GetOrderAmountResponse.class);
+ }
+
+ /**
+ * GetUMInferAPIModel - 获取api模型列表
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUMInferAPIModelResponse getUMInferAPIModel(GetUMInferAPIModelRequest request)
+ throws UCloudException {
+ request.setAction("GetUMInferAPIModel");
+ return (GetUMInferAPIModelResponse) this.invoke(request, GetUMInferAPIModelResponse.class);
+ }
+
+ /**
+ * GetUMInferTokenUsage - 获取token使用量
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUMInferTokenUsageResponse getUMInferTokenUsage(GetUMInferTokenUsageRequest request)
+ throws UCloudException {
+ request.setAction("GetUMInferTokenUsage");
+ return (GetUMInferTokenUsageResponse)
+ this.invoke(request, GetUMInferTokenUsageResponse.class);
+ }
+
+ /**
+ * ListPaidOrderSummary - 查询已完成订单汇总
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListPaidOrderSummaryResponse listPaidOrderSummary(ListPaidOrderSummaryRequest request)
+ throws UCloudException {
+ request.setAction("ListPaidOrderSummary");
+ return (ListPaidOrderSummaryResponse)
+ this.invoke(request, ListPaidOrderSummaryResponse.class);
+ }
+
+ /**
+ * ListPaidOrders - 查询已完成订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListPaidOrdersResponse listPaidOrders(ListPaidOrdersRequest request)
+ throws UCloudException {
+ request.setAction("ListPaidOrders");
+ return (ListPaidOrdersResponse) this.invoke(request, ListPaidOrdersResponse.class);
+ }
+
+ /**
+ * ListUFSquareModel - 查询模型广场数据
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUFSquareModelResponse listUFSquareModel(ListUFSquareModelRequest request)
+ throws UCloudException {
+ request.setAction("ListUFSquareModel");
+ return (ListUFSquareModelResponse) this.invoke(request, ListUFSquareModelResponse.class);
+ }
+
+ /**
+ * ListUMInferAPIKey - 列表查询APIKey
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUMInferAPIKeyResponse listUMInferAPIKey(ListUMInferAPIKeyRequest request)
+ throws UCloudException {
+ request.setAction("ListUMInferAPIKey");
+ return (ListUMInferAPIKeyResponse) this.invoke(request, ListUMInferAPIKeyResponse.class);
+ }
+
+ /**
+ * ListUnpaidOrderSummary - 查询欠费订单汇总
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUnpaidOrderSummaryResponse listUnpaidOrderSummary(
+ ListUnpaidOrderSummaryRequest request) throws UCloudException {
+ request.setAction("ListUnpaidOrderSummary");
+ return (ListUnpaidOrderSummaryResponse)
+ this.invoke(request, ListUnpaidOrderSummaryResponse.class);
+ }
+
+ /**
+ * ListUnpaidOrders - 查询欠费订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUnpaidOrdersResponse listUnpaidOrders(ListUnpaidOrdersRequest request)
+ throws UCloudException {
+ request.setAction("ListUnpaidOrders");
+ return (ListUnpaidOrdersResponse) this.invoke(request, ListUnpaidOrdersResponse.class);
+ }
+
+ /**
+ * UpdateUMInferAPIKey - 更新apikey
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateUMInferAPIKeyResponse updateUMInferAPIKey(UpdateUMInferAPIKeyRequest request)
+ throws UCloudException {
+ request.setAction("UpdateUMInferAPIKey");
+ return (UpdateUMInferAPIKeyResponse)
+ this.invoke(request, UpdateUMInferAPIKeyResponse.class);
}
}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClientInterface.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClientInterface.java
index 4c7793733..ec6f5873a 100644
--- a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClientInterface.java
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/client/UAIModelverseClientInterface.java
@@ -15,18 +15,183 @@
import cn.ucloud.common.client.Client;
import cn.ucloud.common.exception.UCloudException;
-import cn.ucloud.uai_modelverse.models.GetUMInferServiceRequest;
-import cn.ucloud.uai_modelverse.models.GetUMInferServiceResponse;
+import cn.ucloud.uai_modelverse.models.CreateUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.CreateUMInferAPIKeyResponse;
+import cn.ucloud.uai_modelverse.models.DeleteUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.DeleteUMInferAPIKeyResponse;
+import cn.ucloud.uai_modelverse.models.DownloadListPaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.DownloadListPaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.DownloadListUnpaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.DownloadListUnpaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.DownloadOrderSummaryRequest;
+import cn.ucloud.uai_modelverse.models.DownloadOrderSummaryResponse;
+import cn.ucloud.uai_modelverse.models.GetFilterOptionsRequest;
+import cn.ucloud.uai_modelverse.models.GetFilterOptionsResponse;
+import cn.ucloud.uai_modelverse.models.GetOrderAmountRequest;
+import cn.ucloud.uai_modelverse.models.GetOrderAmountResponse;
+import cn.ucloud.uai_modelverse.models.GetUMInferAPIModelRequest;
+import cn.ucloud.uai_modelverse.models.GetUMInferAPIModelResponse;
+import cn.ucloud.uai_modelverse.models.GetUMInferTokenUsageRequest;
+import cn.ucloud.uai_modelverse.models.GetUMInferTokenUsageResponse;
+import cn.ucloud.uai_modelverse.models.ListPaidOrderSummaryRequest;
+import cn.ucloud.uai_modelverse.models.ListPaidOrderSummaryResponse;
+import cn.ucloud.uai_modelverse.models.ListPaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.ListPaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.ListUFSquareModelRequest;
+import cn.ucloud.uai_modelverse.models.ListUFSquareModelResponse;
+import cn.ucloud.uai_modelverse.models.ListUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.ListUMInferAPIKeyResponse;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrderSummaryRequest;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrderSummaryResponse;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrdersRequest;
+import cn.ucloud.uai_modelverse.models.ListUnpaidOrdersResponse;
+import cn.ucloud.uai_modelverse.models.UpdateUMInferAPIKeyRequest;
+import cn.ucloud.uai_modelverse.models.UpdateUMInferAPIKeyResponse;
/** This client is used to call actions of **UAIModelverse** service */
public interface UAIModelverseClientInterface extends Client {
/**
- * GetUMInferService - 获取模型服务
+ * CreateUMInferAPIKey - 创建apikey
*
* @param request Request object
* @throws UCloudException Exception
*/
- public GetUMInferServiceResponse getUMInferService(GetUMInferServiceRequest request)
+ public CreateUMInferAPIKeyResponse createUMInferAPIKey(CreateUMInferAPIKeyRequest request)
+ throws UCloudException;
+
+ /**
+ * DeleteUMInferAPIKey - 删除apikey
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUMInferAPIKeyResponse deleteUMInferAPIKey(DeleteUMInferAPIKeyRequest request)
+ throws UCloudException;
+
+ /**
+ * DownloadListPaidOrders - 下载已完成订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DownloadListPaidOrdersResponse downloadListPaidOrders(
+ DownloadListPaidOrdersRequest request) throws UCloudException;
+
+ /**
+ * DownloadListUnpaidOrders - 下载欠费订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DownloadListUnpaidOrdersResponse downloadListUnpaidOrders(
+ DownloadListUnpaidOrdersRequest request) throws UCloudException;
+
+ /**
+ * DownloadOrderSummary - 下载订单汇总
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DownloadOrderSummaryResponse downloadOrderSummary(DownloadOrderSummaryRequest request)
+ throws UCloudException;
+
+ /**
+ * GetFilterOptions - 查询筛选选项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetFilterOptionsResponse getFilterOptions(GetFilterOptionsRequest request)
+ throws UCloudException;
+
+ /**
+ * GetOrderAmount - 查询订单汇总统计
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetOrderAmountResponse getOrderAmount(GetOrderAmountRequest request)
+ throws UCloudException;
+
+ /**
+ * GetUMInferAPIModel - 获取api模型列表
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUMInferAPIModelResponse getUMInferAPIModel(GetUMInferAPIModelRequest request)
+ throws UCloudException;
+
+ /**
+ * GetUMInferTokenUsage - 获取token使用量
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUMInferTokenUsageResponse getUMInferTokenUsage(GetUMInferTokenUsageRequest request)
+ throws UCloudException;
+
+ /**
+ * ListPaidOrderSummary - 查询已完成订单汇总
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListPaidOrderSummaryResponse listPaidOrderSummary(ListPaidOrderSummaryRequest request)
+ throws UCloudException;
+
+ /**
+ * ListPaidOrders - 查询已完成订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListPaidOrdersResponse listPaidOrders(ListPaidOrdersRequest request)
+ throws UCloudException;
+
+ /**
+ * ListUFSquareModel - 查询模型广场数据
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUFSquareModelResponse listUFSquareModel(ListUFSquareModelRequest request)
+ throws UCloudException;
+
+ /**
+ * ListUMInferAPIKey - 列表查询APIKey
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUMInferAPIKeyResponse listUMInferAPIKey(ListUMInferAPIKeyRequest request)
+ throws UCloudException;
+
+ /**
+ * ListUnpaidOrderSummary - 查询欠费订单汇总
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUnpaidOrderSummaryResponse listUnpaidOrderSummary(
+ ListUnpaidOrderSummaryRequest request) throws UCloudException;
+
+ /**
+ * ListUnpaidOrders - 查询欠费订单明细
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ListUnpaidOrdersResponse listUnpaidOrders(ListUnpaidOrdersRequest request)
+ throws UCloudException;
+
+ /**
+ * UpdateUMInferAPIKey - 更新apikey
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateUMInferAPIKeyResponse updateUMInferAPIKey(UpdateUMInferAPIKeyRequest request)
throws UCloudException;
}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/CreateUMInferAPIKeyRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/CreateUMInferAPIKeyRequest.java
new file mode 100644
index 000000000..83a9f008f
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/CreateUMInferAPIKeyRequest.java
@@ -0,0 +1,140 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateUMInferAPIKeyRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** apikey名称 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** 是否modelverse可用 0: 启用 1: 禁用 */
+ @UCloudParam("ModelverseDisabled")
+ private Integer modelverseDisabled;
+
+ /** 是否沙盒可用 0: 启用 1: 禁用(astraflow 沙盒控制未上线,暂时无效) */
+ @UCloudParam("SandBoxDisabled")
+ private Integer sandBoxDisabled;
+
+ /** 日限额,单位随用户所在渠道。126渠道单位为美元 */
+ @UCloudParam("DailyLimitAmount")
+ private String dailyLimitAmount;
+
+ /** 月限额,单位随用户所在渠道。126渠道单位为美元 */
+ @UCloudParam("MonthlyLimitAmount")
+ private String monthlyLimitAmount;
+
+ /** 全部模型访问开关,开启不受 GrantedModels 参数控制,关闭只能访问 GrantedModels 中添加模型 */
+ @UCloudParam("GrantAllModels")
+ private Boolean grantAllModels;
+
+ /**
+ * 授权模型,内容为数组格式。当 GrantAllModels 为false时 当前key只可访问数组中模型。例:["deepseek-ai/DeepSeek-V3.2-Think"]
+ */
+ @UCloudParam("GrantedModels")
+ private String grantedModels;
+
+ /**
+ * ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例: 192.168.1.1 192.168.1.10-192.168.1.100
+ * 192.168.1.10/24
+ */
+ @UCloudParam("IPWhitelist")
+ private String ipWhitelist;
+
+ 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 Integer getModelverseDisabled() {
+ return modelverseDisabled;
+ }
+
+ public void setModelverseDisabled(Integer modelverseDisabled) {
+ this.modelverseDisabled = modelverseDisabled;
+ }
+
+ public Integer getSandBoxDisabled() {
+ return sandBoxDisabled;
+ }
+
+ public void setSandBoxDisabled(Integer sandBoxDisabled) {
+ this.sandBoxDisabled = sandBoxDisabled;
+ }
+
+ public String getDailyLimitAmount() {
+ return dailyLimitAmount;
+ }
+
+ public void setDailyLimitAmount(String dailyLimitAmount) {
+ this.dailyLimitAmount = dailyLimitAmount;
+ }
+
+ public String getMonthlyLimitAmount() {
+ return monthlyLimitAmount;
+ }
+
+ public void setMonthlyLimitAmount(String monthlyLimitAmount) {
+ this.monthlyLimitAmount = monthlyLimitAmount;
+ }
+
+ public Boolean getGrantAllModels() {
+ return grantAllModels;
+ }
+
+ public void setGrantAllModels(Boolean grantAllModels) {
+ this.grantAllModels = grantAllModels;
+ }
+
+ public String getGrantedModels() {
+ return grantedModels;
+ }
+
+ public void setGrantedModels(String grantedModels) {
+ this.grantedModels = grantedModels;
+ }
+
+ public String getIPWhitelist() {
+ return ipWhitelist;
+ }
+
+ public void setIPWhitelist(String ipWhitelist) {
+ this.ipWhitelist = ipWhitelist;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/CreateUMInferAPIKeyResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/CreateUMInferAPIKeyResponse.java
new file mode 100644
index 000000000..2f41ff647
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/CreateUMInferAPIKeyResponse.java
@@ -0,0 +1,269 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class CreateUMInferAPIKeyResponse extends Response {
+
+ /** apikey */
+ @SerializedName("Data")
+ private APIKey data;
+
+ /** 总条数 */
+ @SerializedName("TotalCount")
+ private Integer totalCount;
+
+ public APIKey getData() {
+ return data;
+ }
+
+ public void setData(APIKey data) {
+ this.data = data;
+ }
+
+ public Integer getTotalCount() {
+ return totalCount;
+ }
+
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ public static class APIKey extends Response {
+
+ /**
+ * ip白名单,换行分割的多组ip。支持IPv4和网段,输入后回车生效,最多100个, 示例: 192.168.1.1 192.168.1.10-192.168.1.100
+ * 192.168.1.10/24
+ */
+ @SerializedName("IPWhitelist")
+ private String ipWhitelist;
+
+ /** 资源ID */
+ @SerializedName("KeyId")
+ private String keyId;
+
+ /** 名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 渠道id */
+ @SerializedName("ChannelId")
+ private Integer channelId;
+
+ /** 公司id */
+ @SerializedName("TopOrganizationId")
+ private Integer topOrganizationId;
+
+ /** 项目id */
+ @SerializedName("OrganizationId")
+ private Integer organizationId;
+
+ /** 状态,1 正常 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 创建时间 */
+ @SerializedName("CreateTime")
+ private Integer createTime;
+
+ /** 密钥值 */
+ @SerializedName("Key")
+ private String key;
+
+ /** 过期时间的unix时间戳,-1 用不过期 */
+ @SerializedName("ExpireTime")
+ private Integer expireTime;
+
+ /** 是否modelverse可用 0: 启用 1: 禁用 */
+ @SerializedName("ModelverseDisabled")
+ private Integer modelverseDisabled;
+
+ /** 是否沙盒可用 0: 启用 1: 禁用(astraflow 沙盒控制未上线,暂时无效) */
+ @SerializedName("SandBoxDisabled")
+ private Integer sandBoxDisabled;
+
+ /** 日限额,单位随用户所在渠道。126渠道单位为美元 */
+ @SerializedName("DailyLimitAmount")
+ private String dailyLimitAmount;
+
+ /** 日已使用额,单位随用户所在渠道。126渠道单位为美元 */
+ @SerializedName("DailyUsedAmount")
+ private String dailyUsedAmount;
+
+ /** 月限额,单位随用户所在渠道。126渠道单位为美元 */
+ @SerializedName("MonthlyLimitAmount")
+ private String monthlyLimitAmount;
+
+ /** 月已使用额,单位随用户所在渠道。126渠道单位为美元 */
+ @SerializedName("MonthlyUsedAmount")
+ private String monthlyUsedAmount;
+
+ /** 全部模型访问开关,开启不受 GrantedModels 参数控制,关闭只能访问 GrantedModels 中添加模型 */
+ @SerializedName("GrantAllModels")
+ private Boolean grantAllModels;
+
+ /** 授权的模型,英文逗号分隔,all表示所有模型都有权限 */
+ @SerializedName("GrantedModels")
+ private List grantedModels;
+
+ public String getIPWhitelist() {
+ return ipWhitelist;
+ }
+
+ public void setIPWhitelist(String ipWhitelist) {
+ this.ipWhitelist = ipWhitelist;
+ }
+
+ public String getKeyId() {
+ return keyId;
+ }
+
+ public void setKeyId(String keyId) {
+ this.keyId = keyId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getChannelId() {
+ return channelId;
+ }
+
+ public void setChannelId(Integer channelId) {
+ this.channelId = channelId;
+ }
+
+ 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 Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Integer createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getKey() {
+ return key;
+ }
+
+ public void setKey(String key) {
+ this.key = key;
+ }
+
+ public Integer getExpireTime() {
+ return expireTime;
+ }
+
+ public void setExpireTime(Integer expireTime) {
+ this.expireTime = expireTime;
+ }
+
+ public Integer getModelverseDisabled() {
+ return modelverseDisabled;
+ }
+
+ public void setModelverseDisabled(Integer modelverseDisabled) {
+ this.modelverseDisabled = modelverseDisabled;
+ }
+
+ public Integer getSandBoxDisabled() {
+ return sandBoxDisabled;
+ }
+
+ public void setSandBoxDisabled(Integer sandBoxDisabled) {
+ this.sandBoxDisabled = sandBoxDisabled;
+ }
+
+ public String getDailyLimitAmount() {
+ return dailyLimitAmount;
+ }
+
+ public void setDailyLimitAmount(String dailyLimitAmount) {
+ this.dailyLimitAmount = dailyLimitAmount;
+ }
+
+ public String getDailyUsedAmount() {
+ return dailyUsedAmount;
+ }
+
+ public void setDailyUsedAmount(String dailyUsedAmount) {
+ this.dailyUsedAmount = dailyUsedAmount;
+ }
+
+ public String getMonthlyLimitAmount() {
+ return monthlyLimitAmount;
+ }
+
+ public void setMonthlyLimitAmount(String monthlyLimitAmount) {
+ this.monthlyLimitAmount = monthlyLimitAmount;
+ }
+
+ public String getMonthlyUsedAmount() {
+ return monthlyUsedAmount;
+ }
+
+ public void setMonthlyUsedAmount(String monthlyUsedAmount) {
+ this.monthlyUsedAmount = monthlyUsedAmount;
+ }
+
+ public Boolean getGrantAllModels() {
+ return grantAllModels;
+ }
+
+ public void setGrantAllModels(Boolean grantAllModels) {
+ this.grantAllModels = grantAllModels;
+ }
+
+ public List getGrantedModels() {
+ return grantedModels;
+ }
+
+ public void setGrantedModels(List grantedModels) {
+ this.grantedModels = grantedModels;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DeleteUMInferAPIKeyRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DeleteUMInferAPIKeyRequest.java
new file mode 100644
index 000000000..36d8cb5be
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DeleteUMInferAPIKeyRequest.java
@@ -0,0 +1,51 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteUMInferAPIKeyRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 要删除的apikey id */
+ @NotEmpty
+ @UCloudParam("KeyId")
+ private String keyId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getKeyId() {
+ return keyId;
+ }
+
+ public void setKeyId(String keyId) {
+ this.keyId = keyId;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DeleteUMInferAPIKeyResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DeleteUMInferAPIKeyResponse.java
new file mode 100644
index 000000000..b49450973
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DeleteUMInferAPIKeyResponse.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.uai_modelverse.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class DeleteUMInferAPIKeyResponse extends Response {
+
+ /** apikey 的资源ID */
+ @SerializedName("UminferID")
+ private String uminferID;
+
+ public String getUminferID() {
+ return uminferID;
+ }
+
+ public void setUminferID(String uminferID) {
+ this.uminferID = uminferID;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListPaidOrdersRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListPaidOrdersRequest.java
new file mode 100644
index 000000000..fc2d8c643
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListPaidOrdersRequest.java
@@ -0,0 +1,145 @@
+/**
+ * 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.uai_modelverse.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 DownloadListPaidOrdersRequest extends Request {
+
+ /** 查询开始时间(Unix 时间戳,秒级),必填 */
+ @NotEmpty
+ @UCloudParam("StartTime")
+ private Integer startTime;
+
+ /** 查询结束时间(Unix 时间戳,秒级),必填;必须大于 StartTime */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /** 资源ID列表(可选) */
+ @UCloudParam("ResourceIds")
+ private List resourceIds;
+
+ /** 模型ID列表(可选) */
+ @UCloudParam("ModelIds")
+ private List modelIds;
+
+ /** 计费单位列表(多选,可选) */
+ @UCloudParam("PricingUnits")
+ private List pricingUnits;
+
+ /** 计费单元(SKU)列表(可选) */
+ @UCloudParam("PricingSkus")
+ private List pricingSkus;
+
+ /** 订单类型数组(多选,可选) */
+ @UCloudParam("OrderTypes")
+ private List orderTypes;
+
+ /** 组织ID列表(可选) */
+ @UCloudParam("OrganizationIds")
+ private List organizationIds;
+
+ /** 地域列表(可选),参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Regions")
+ private List regions;
+
+ /** 产品类型列表(可选),枚举值:`modelverse`、`sandbox` */
+ @UCloudParam("ProductCodes")
+ private List productCodes;
+
+ 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 List getResourceIds() {
+ return resourceIds;
+ }
+
+ public void setResourceIds(List resourceIds) {
+ this.resourceIds = resourceIds;
+ }
+
+ public List getModelIds() {
+ return modelIds;
+ }
+
+ public void setModelIds(List modelIds) {
+ this.modelIds = modelIds;
+ }
+
+ public List getPricingUnits() {
+ return pricingUnits;
+ }
+
+ public void setPricingUnits(List pricingUnits) {
+ this.pricingUnits = pricingUnits;
+ }
+
+ public List getPricingSkus() {
+ return pricingSkus;
+ }
+
+ public void setPricingSkus(List pricingSkus) {
+ this.pricingSkus = pricingSkus;
+ }
+
+ public List getOrderTypes() {
+ return orderTypes;
+ }
+
+ public void setOrderTypes(List orderTypes) {
+ this.orderTypes = orderTypes;
+ }
+
+ public List getOrganizationIds() {
+ return organizationIds;
+ }
+
+ public void setOrganizationIds(List organizationIds) {
+ this.organizationIds = organizationIds;
+ }
+
+ public List getRegions() {
+ return regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+
+ public List getProductCodes() {
+ return productCodes;
+ }
+
+ public void setProductCodes(List productCodes) {
+ this.productCodes = productCodes;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListPaidOrdersResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListPaidOrdersResponse.java
new file mode 100644
index 000000000..4d30c4a70
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListPaidOrdersResponse.java
@@ -0,0 +1,73 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class DownloadListPaidOrdersResponse extends Response {
+
+ /** 下载文件信息 */
+ @SerializedName("Data")
+ private DownloadFileData data;
+
+ public DownloadFileData getData() {
+ return data;
+ }
+
+ public void setData(DownloadFileData data) {
+ this.data = data;
+ }
+
+ public static class DownloadFileData extends Response {
+
+ /** 文件下载链接(US3 预签名 URL,请在有效期内立即下载) */
+ @SerializedName("DownloadURL")
+ private String downloadURL;
+
+ /** 文件名 */
+ @SerializedName("FileName")
+ private String fileName;
+
+ /** 文件大小(字节) */
+ @SerializedName("FileSize")
+ private Integer fileSize;
+
+ public String getDownloadURL() {
+ return downloadURL;
+ }
+
+ public void setDownloadURL(String downloadURL) {
+ this.downloadURL = downloadURL;
+ }
+
+ public String getFileName() {
+ return fileName;
+ }
+
+ public void setFileName(String fileName) {
+ this.fileName = fileName;
+ }
+
+ public Integer getFileSize() {
+ return fileSize;
+ }
+
+ public void setFileSize(Integer fileSize) {
+ this.fileSize = fileSize;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListUnpaidOrdersRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListUnpaidOrdersRequest.java
new file mode 100644
index 000000000..1f9f0b598
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListUnpaidOrdersRequest.java
@@ -0,0 +1,145 @@
+/**
+ * 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.uai_modelverse.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 DownloadListUnpaidOrdersRequest extends Request {
+
+ /** 查询开始时间(Unix 时间戳,秒级),必填 */
+ @NotEmpty
+ @UCloudParam("StartTime")
+ private Integer startTime;
+
+ /** 查询结束时间(Unix 时间戳,秒级),必填;必须大于 StartTime */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /** 资源ID列表(可选) */
+ @UCloudParam("ResourceIds")
+ private List resourceIds;
+
+ /** 模型ID列表(可选) */
+ @UCloudParam("ModelIds")
+ private List modelIds;
+
+ /** 计费单位列表(多选,可选) */
+ @UCloudParam("PricingUnits")
+ private List pricingUnits;
+
+ /** 订单类型数组(多选,可选) */
+ @UCloudParam("OrderTypes")
+ private List orderTypes;
+
+ /** 组织ID列表(可选) */
+ @UCloudParam("OrganizationIds")
+ private List organizationIds;
+
+ /** 计费单元(SKU)列表(可选) */
+ @UCloudParam("PricingSkus")
+ private List pricingSkus;
+
+ /** 产品类型列表(可选),枚举值:`modelverse`、`sandbox` */
+ @UCloudParam("ProductCodes")
+ private List productCodes;
+
+ /** 地域列表(可选),参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Regions")
+ private List regions;
+
+ 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 List getResourceIds() {
+ return resourceIds;
+ }
+
+ public void setResourceIds(List resourceIds) {
+ this.resourceIds = resourceIds;
+ }
+
+ public List getModelIds() {
+ return modelIds;
+ }
+
+ public void setModelIds(List modelIds) {
+ this.modelIds = modelIds;
+ }
+
+ public List getPricingUnits() {
+ return pricingUnits;
+ }
+
+ public void setPricingUnits(List pricingUnits) {
+ this.pricingUnits = pricingUnits;
+ }
+
+ public List getOrderTypes() {
+ return orderTypes;
+ }
+
+ public void setOrderTypes(List orderTypes) {
+ this.orderTypes = orderTypes;
+ }
+
+ public List getOrganizationIds() {
+ return organizationIds;
+ }
+
+ public void setOrganizationIds(List organizationIds) {
+ this.organizationIds = organizationIds;
+ }
+
+ public List getPricingSkus() {
+ return pricingSkus;
+ }
+
+ public void setPricingSkus(List pricingSkus) {
+ this.pricingSkus = pricingSkus;
+ }
+
+ public List getProductCodes() {
+ return productCodes;
+ }
+
+ public void setProductCodes(List productCodes) {
+ this.productCodes = productCodes;
+ }
+
+ public List getRegions() {
+ return regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListUnpaidOrdersResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListUnpaidOrdersResponse.java
new file mode 100644
index 000000000..49d5b792b
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadListUnpaidOrdersResponse.java
@@ -0,0 +1,73 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class DownloadListUnpaidOrdersResponse extends Response {
+
+ /** 下载文件信息 */
+ @SerializedName("Data")
+ private DownloadFileData data;
+
+ public DownloadFileData getData() {
+ return data;
+ }
+
+ public void setData(DownloadFileData data) {
+ this.data = data;
+ }
+
+ public static class DownloadFileData extends Response {
+
+ /** 文件下载链接(US3 预签名 URL,请在有效期内立即下载) */
+ @SerializedName("DownloadURL")
+ private String downloadURL;
+
+ /** 文件名 */
+ @SerializedName("FileName")
+ private String fileName;
+
+ /** 文件大小(字节) */
+ @SerializedName("FileSize")
+ private Integer fileSize;
+
+ public String getDownloadURL() {
+ return downloadURL;
+ }
+
+ public void setDownloadURL(String downloadURL) {
+ this.downloadURL = downloadURL;
+ }
+
+ public String getFileName() {
+ return fileName;
+ }
+
+ public void setFileName(String fileName) {
+ this.fileName = fileName;
+ }
+
+ public Integer getFileSize() {
+ return fileSize;
+ }
+
+ public void setFileSize(Integer fileSize) {
+ this.fileSize = fileSize;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadOrderSummaryRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadOrderSummaryRequest.java
new file mode 100644
index 000000000..d931beff8
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadOrderSummaryRequest.java
@@ -0,0 +1,157 @@
+/**
+ * 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.uai_modelverse.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 DownloadOrderSummaryRequest extends Request {
+
+ /** 查询开始时间(Unix 时间戳,秒级),必填 */
+ @NotEmpty
+ @UCloudParam("StartTime")
+ private Integer startTime;
+
+ /** 查询结束时间(Unix 时间戳,秒级),必填;必须大于 StartTime */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /** 资源ID列表(可选) */
+ @UCloudParam("ResourceIds")
+ private List resourceIds;
+
+ /** 模型ID列表(可选) */
+ @UCloudParam("ModelIds")
+ private List modelIds;
+
+ /** 计费单位列表(多选,可选) */
+ @UCloudParam("PricingUnits")
+ private List pricingUnits;
+
+ /** 订单类型数组(多选,可选) */
+ @UCloudParam("OrderTypes")
+ private List orderTypes;
+
+ /** 计费类型数组(多选,可选) */
+ @UCloudParam("ChargeTypes")
+ private List chargeTypes;
+
+ /** 组织ID列表(可选) */
+ @UCloudParam("OrganizationIds")
+ private List organizationIds;
+
+ /** 地域列表(可选),参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Regions")
+ private List regions;
+
+ /** 计费单元(SKU)列表(可选) */
+ @UCloudParam("PricingSkus")
+ private List pricingSkus;
+
+ /** 产品类型列表(可选),枚举值:`modelverse`、`sandbox` */
+ @UCloudParam("ProductCodes")
+ private List productCodes;
+
+ 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 List getResourceIds() {
+ return resourceIds;
+ }
+
+ public void setResourceIds(List resourceIds) {
+ this.resourceIds = resourceIds;
+ }
+
+ public List getModelIds() {
+ return modelIds;
+ }
+
+ public void setModelIds(List modelIds) {
+ this.modelIds = modelIds;
+ }
+
+ public List getPricingUnits() {
+ return pricingUnits;
+ }
+
+ public void setPricingUnits(List pricingUnits) {
+ this.pricingUnits = pricingUnits;
+ }
+
+ 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 getOrganizationIds() {
+ return organizationIds;
+ }
+
+ public void setOrganizationIds(List organizationIds) {
+ this.organizationIds = organizationIds;
+ }
+
+ public List getRegions() {
+ return regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+
+ public List getPricingSkus() {
+ return pricingSkus;
+ }
+
+ public void setPricingSkus(List pricingSkus) {
+ this.pricingSkus = pricingSkus;
+ }
+
+ public List getProductCodes() {
+ return productCodes;
+ }
+
+ public void setProductCodes(List productCodes) {
+ this.productCodes = productCodes;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadOrderSummaryResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadOrderSummaryResponse.java
new file mode 100644
index 000000000..53a7957ff
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/DownloadOrderSummaryResponse.java
@@ -0,0 +1,73 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class DownloadOrderSummaryResponse extends Response {
+
+ /** 下载文件信息 */
+ @SerializedName("Data")
+ private DownloadFileData data;
+
+ public DownloadFileData getData() {
+ return data;
+ }
+
+ public void setData(DownloadFileData data) {
+ this.data = data;
+ }
+
+ public static class DownloadFileData extends Response {
+
+ /** 文件下载链接(US3 预签名 URL,请在有效期内立即下载) */
+ @SerializedName("DownloadURL")
+ private String downloadURL;
+
+ /** 文件名 */
+ @SerializedName("FileName")
+ private String fileName;
+
+ /** 文件大小(字节) */
+ @SerializedName("FileSize")
+ private Integer fileSize;
+
+ public String getDownloadURL() {
+ return downloadURL;
+ }
+
+ public void setDownloadURL(String downloadURL) {
+ this.downloadURL = downloadURL;
+ }
+
+ public String getFileName() {
+ return fileName;
+ }
+
+ public void setFileName(String fileName) {
+ this.fileName = fileName;
+ }
+
+ public Integer getFileSize() {
+ return fileSize;
+ }
+
+ public void setFileSize(Integer fileSize) {
+ this.fileSize = fileSize;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetFilterOptionsRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetFilterOptionsRequest.java
new file mode 100644
index 000000000..ad00c12d5
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetFilterOptionsRequest.java
@@ -0,0 +1,33 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetFilterOptionsRequest extends Request {
+
+ /** 产品类型(单选,可选),枚举值:`modelverse`、`sandbox`;为空时返回所有产品下的选项 */
+ @UCloudParam("ProductCode")
+ private String productCode;
+
+ public String getProductCode() {
+ return productCode;
+ }
+
+ public void setProductCode(String productCode) {
+ this.productCode = productCode;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetFilterOptionsResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetFilterOptionsResponse.java
new file mode 100644
index 000000000..2568a2679
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetFilterOptionsResponse.java
@@ -0,0 +1,158 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetFilterOptionsResponse extends Response {
+
+ /** 资源选项列表 */
+ @SerializedName("ResourceIds")
+ private List resourceIds;
+
+ /** 模型选项列表 */
+ @SerializedName("Models")
+ private List models;
+
+ /** 账单维度选项列表 */
+ @SerializedName("Dimensions")
+ private List dimensions;
+
+ /** 计费单位选项列表 */
+ @SerializedName("PricingUnits")
+ private List pricingUnits;
+
+ /** 地域选项列表 */
+ @SerializedName("Regions")
+ private List regions;
+
+ /** 产品类型选项列表 */
+ @SerializedName("ProductCodes")
+ private List productCodes;
+
+ /** 项目选项列表 */
+ @SerializedName("Projects")
+ private List projects;
+
+ /** 计费 SKU 选项列表 */
+ @SerializedName("PricingSKUs")
+ private List pricingSKUs;
+
+ /** 订单类型选项列表 */
+ @SerializedName("OrderTypes")
+ private List orderTypes;
+
+ public List getResourceIds() {
+ return resourceIds;
+ }
+
+ public void setResourceIds(List resourceIds) {
+ this.resourceIds = resourceIds;
+ }
+
+ public List getModels() {
+ return models;
+ }
+
+ public void setModels(List models) {
+ this.models = models;
+ }
+
+ public List getDimensions() {
+ return dimensions;
+ }
+
+ public void setDimensions(List dimensions) {
+ this.dimensions = dimensions;
+ }
+
+ public List getPricingUnits() {
+ return pricingUnits;
+ }
+
+ public void setPricingUnits(List pricingUnits) {
+ this.pricingUnits = pricingUnits;
+ }
+
+ public List getRegions() {
+ return regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+
+ public List getProductCodes() {
+ return productCodes;
+ }
+
+ public void setProductCodes(List productCodes) {
+ this.productCodes = productCodes;
+ }
+
+ public List getProjects() {
+ return projects;
+ }
+
+ public void setProjects(List projects) {
+ this.projects = projects;
+ }
+
+ public List getPricingSKUs() {
+ return pricingSKUs;
+ }
+
+ public void setPricingSKUs(List pricingSKUs) {
+ this.pricingSKUs = pricingSKUs;
+ }
+
+ public List getOrderTypes() {
+ return orderTypes;
+ }
+
+ public void setOrderTypes(List orderTypes) {
+ this.orderTypes = orderTypes;
+ }
+
+ public static class FilterOptionAiBill extends Response {
+
+ /** 显示名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 值实际是interface */
+ @SerializedName("Value")
+ private Object value;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public void setValue(Object value) {
+ this.value = value;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetOrderAmountRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetOrderAmountRequest.java
new file mode 100644
index 000000000..90fe3cdc9
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetOrderAmountRequest.java
@@ -0,0 +1,145 @@
+/**
+ * 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.uai_modelverse.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 GetOrderAmountRequest extends Request {
+
+ /** 查询开始时间(Unix 时间戳,秒级)。需与 `EndTime` 同时提供,最大查询跨度 366 天 */
+ @NotEmpty
+ @UCloudParam("StartTime")
+ private Integer startTime;
+
+ /** 查询结束时间(Unix 时间戳,秒级)。需与 `StartTime` 同时提供 */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /** 资源ID列表(可选) */
+ @UCloudParam("ResourceIds")
+ private List resourceIds;
+
+ /** 模型ID列表(可选) */
+ @UCloudParam("ModelIds")
+ private List modelIds;
+
+ /** 计费单位列表(可选) */
+ @UCloudParam("PricingUnits")
+ private List pricingUnits;
+
+ /** 计费单元(SKU)列表(可选) */
+ @UCloudParam("PricingSkus")
+ private List pricingSkus;
+
+ /** 产品类型列表(可选),枚举值:`modelverse`、`sandbox` */
+ @UCloudParam("ProductCodes")
+ private List productCodes;
+
+ /** 订单类型列表(可选) */
+ @UCloudParam("OrderTypes")
+ private List orderTypes;
+
+ /** 地域列表(可选),参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Regions")
+ private List regions;
+
+ /** 组织ID列表(可选) */
+ @UCloudParam("OrganizationIds")
+ private List organizationIds;
+
+ 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 List getResourceIds() {
+ return resourceIds;
+ }
+
+ public void setResourceIds(List resourceIds) {
+ this.resourceIds = resourceIds;
+ }
+
+ public List getModelIds() {
+ return modelIds;
+ }
+
+ public void setModelIds(List modelIds) {
+ this.modelIds = modelIds;
+ }
+
+ public List getPricingUnits() {
+ return pricingUnits;
+ }
+
+ public void setPricingUnits(List pricingUnits) {
+ this.pricingUnits = pricingUnits;
+ }
+
+ public List getPricingSkus() {
+ return pricingSkus;
+ }
+
+ public void setPricingSkus(List pricingSkus) {
+ this.pricingSkus = pricingSkus;
+ }
+
+ public List getProductCodes() {
+ return productCodes;
+ }
+
+ public void setProductCodes(List productCodes) {
+ this.productCodes = productCodes;
+ }
+
+ public List getOrderTypes() {
+ return orderTypes;
+ }
+
+ public void setOrderTypes(List orderTypes) {
+ this.orderTypes = orderTypes;
+ }
+
+ public List getRegions() {
+ return regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+
+ public List getOrganizationIds() {
+ return organizationIds;
+ }
+
+ public void setOrganizationIds(List organizationIds) {
+ this.organizationIds = organizationIds;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetOrderAmountResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetOrderAmountResponse.java
new file mode 100644
index 000000000..2d7389067
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetOrderAmountResponse.java
@@ -0,0 +1,142 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class GetOrderAmountResponse extends Response {
+
+ /** 订单总额(所有订单的总金额) */
+ @SerializedName("TotalOrderAmount")
+ private String totalOrderAmount;
+
+ /** 已支付金额 */
+ @SerializedName("PaidAmount")
+ private String paidAmount;
+
+ /** 待支付金额 */
+ @SerializedName("UnpaidAmount")
+ private String unpaidAmount;
+
+ /** 现金账户总金额 */
+ @SerializedName("CashAmount")
+ private String cashAmount;
+
+ /** 赠金账户总金额 */
+ @SerializedName("BonusAmount")
+ private String bonusAmount;
+
+ /** 代金券抵扣总额 */
+ @SerializedName("CouponAmount")
+ private String couponAmount;
+
+ /** 星力卡抵扣总金额 */
+ @SerializedName("StarCardAmount")
+ private String starCardAmount;
+
+ /** 订单总数 */
+ @SerializedName("OrderCount")
+ private Integer orderCount;
+
+ /** 已支付订单数 */
+ @SerializedName("PaidCount")
+ private Integer paidCount;
+
+ /** 待支付订单数量 */
+ @SerializedName("UnpaidCount")
+ private Integer unpaidCount;
+
+ public String getTotalOrderAmount() {
+ return totalOrderAmount;
+ }
+
+ public void setTotalOrderAmount(String totalOrderAmount) {
+ this.totalOrderAmount = totalOrderAmount;
+ }
+
+ public String getPaidAmount() {
+ return paidAmount;
+ }
+
+ public void setPaidAmount(String paidAmount) {
+ this.paidAmount = paidAmount;
+ }
+
+ public String getUnpaidAmount() {
+ return unpaidAmount;
+ }
+
+ public void setUnpaidAmount(String unpaidAmount) {
+ this.unpaidAmount = unpaidAmount;
+ }
+
+ public String getCashAmount() {
+ return cashAmount;
+ }
+
+ public void setCashAmount(String cashAmount) {
+ this.cashAmount = cashAmount;
+ }
+
+ public String getBonusAmount() {
+ return bonusAmount;
+ }
+
+ public void setBonusAmount(String bonusAmount) {
+ this.bonusAmount = bonusAmount;
+ }
+
+ public String getCouponAmount() {
+ return couponAmount;
+ }
+
+ public void setCouponAmount(String couponAmount) {
+ this.couponAmount = couponAmount;
+ }
+
+ public String getStarCardAmount() {
+ return starCardAmount;
+ }
+
+ public void setStarCardAmount(String starCardAmount) {
+ this.starCardAmount = starCardAmount;
+ }
+
+ public Integer getOrderCount() {
+ return orderCount;
+ }
+
+ public void setOrderCount(Integer orderCount) {
+ this.orderCount = orderCount;
+ }
+
+ public Integer getPaidCount() {
+ return paidCount;
+ }
+
+ public void setPaidCount(Integer paidCount) {
+ this.paidCount = paidCount;
+ }
+
+ public Integer getUnpaidCount() {
+ return unpaidCount;
+ }
+
+ public void setUnpaidCount(Integer unpaidCount) {
+ this.unpaidCount = unpaidCount;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferAPIModelRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferAPIModelRequest.java
new file mode 100644
index 000000000..c260d87f2
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferAPIModelRequest.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.uai_modelverse.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUMInferAPIModelRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** apikey 的id */
+ @UCloudParam("KeyId")
+ private String keyId;
+
+ /** 模型类型,1: 文本生成,2: 图片生成。 */
+ @UCloudParam("ModelType")
+ private Integer modelType;
+
+ /** 模型广场的id,用来跳转体验中心 */
+ @UCloudParam("SquareId")
+ private String squareId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getKeyId() {
+ return keyId;
+ }
+
+ public void setKeyId(String keyId) {
+ this.keyId = keyId;
+ }
+
+ public Integer getModelType() {
+ return modelType;
+ }
+
+ public void setModelType(Integer modelType) {
+ this.modelType = modelType;
+ }
+
+ public String getSquareId() {
+ return squareId;
+ }
+
+ public void setSquareId(String squareId) {
+ this.squareId = squareId;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferAPIModelResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferAPIModelResponse.java
new file mode 100644
index 000000000..1815f57f7
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferAPIModelResponse.java
@@ -0,0 +1,197 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUMInferAPIModelResponse extends Response {
+
+ /** 模型名称的字符串列表 */
+ @SerializedName("Data")
+ private List data;
+
+ public List getData() {
+ return data;
+ }
+
+ public void setData(List data) {
+ this.data = data;
+ }
+
+ public static class Pricing extends Response {
+
+ /** 输出定价 */
+ @SerializedName("Completion")
+ private Double completion;
+
+ /** 提示词定价 */
+ @SerializedName("Prompt")
+ private Double prompt;
+
+ /** 生图定价 */
+ @SerializedName("Image")
+ private Double image;
+
+ /** 币种 */
+ @SerializedName("Currency")
+ private String currency;
+
+ public Double getCompletion() {
+ return completion;
+ }
+
+ public void setCompletion(Double completion) {
+ this.completion = completion;
+ }
+
+ public Double getPrompt() {
+ return prompt;
+ }
+
+ public void setPrompt(Double prompt) {
+ this.prompt = prompt;
+ }
+
+ public Double getImage() {
+ return image;
+ }
+
+ public void setImage(Double image) {
+ this.image = image;
+ }
+
+ public String getCurrency() {
+ return currency;
+ }
+
+ public void setCurrency(String currency) {
+ this.currency = currency;
+ }
+ }
+
+ public static class UMinferAPIModel extends Response {
+
+ /** 使用OpenAI接口调用时,填入的 model值 */
+ @SerializedName("ServedModelName")
+ private String servedModelName;
+
+ /** id */
+ @SerializedName("Id")
+ private String id;
+
+ /** 名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 描述 */
+ @SerializedName("SimpleDescribe")
+ private String simpleDescribe;
+
+ /** 语言 */
+ @SerializedName("Language")
+ private List language;
+
+ /** 图标链接 */
+ @SerializedName("Icon")
+ private String icon;
+
+ /** 模型价格 */
+ @SerializedName("Pricing")
+ private Pricing pricing;
+
+ /** 创建时间 */
+ @SerializedName("CreateAt")
+ private Integer createAt;
+
+ /** 更新时间 */
+ @SerializedName("UpdateAt")
+ private Integer updateAt;
+
+ public String getServedModelName() {
+ return servedModelName;
+ }
+
+ public void setServedModelName(String servedModelName) {
+ this.servedModelName = servedModelName;
+ }
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getSimpleDescribe() {
+ return simpleDescribe;
+ }
+
+ public void setSimpleDescribe(String simpleDescribe) {
+ this.simpleDescribe = simpleDescribe;
+ }
+
+ public List getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(List language) {
+ this.language = language;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public Pricing getPricing() {
+ return pricing;
+ }
+
+ public void setPricing(Pricing pricing) {
+ this.pricing = pricing;
+ }
+
+ public Integer getCreateAt() {
+ return createAt;
+ }
+
+ public void setCreateAt(Integer createAt) {
+ this.createAt = createAt;
+ }
+
+ public Integer getUpdateAt() {
+ return updateAt;
+ }
+
+ public void setUpdateAt(Integer updateAt) {
+ this.updateAt = updateAt;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferServiceRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferServiceRequest.java
deleted file mode 100644
index 612af8361..000000000
--- a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferServiceRequest.java
+++ /dev/null
@@ -1,69 +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.uai_modelverse.models;
-
-
-import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
-
-public class GetUMInferServiceRequest extends Request {
-
- /** 推理服务id */
- @UCloudParam("UminferID")
- private String uminferID;
-
- /** offset */
- @UCloudParam("Offset")
- private String offset;
-
- /** limit */
- @UCloudParam("Limit")
- private String limit;
-
- /** 默认preDeploy,可获取DeepSeek Key */
- @UCloudParam("UminferType")
- private String uminferType;
-
- public String getUminferID() {
- return uminferID;
- }
-
- public void setUminferID(String uminferID) {
- this.uminferID = uminferID;
- }
-
- public String getOffset() {
- return offset;
- }
-
- public void setOffset(String offset) {
- this.offset = offset;
- }
-
- public String getLimit() {
- return limit;
- }
-
- public void setLimit(String limit) {
- this.limit = limit;
- }
-
- public String getUminferType() {
- return uminferType;
- }
-
- public void setUminferType(String uminferType) {
- this.uminferType = uminferType;
- }
-}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferServiceResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferServiceResponse.java
deleted file mode 100644
index e2831b7cd..000000000
--- a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferServiceResponse.java
+++ /dev/null
@@ -1,206 +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.uai_modelverse.models;
-
-import cn.ucloud.common.response.Response;
-
-import com.google.gson.annotations.SerializedName;
-
-import java.util.List;
-
-public class GetUMInferServiceResponse extends Response {
-
- /** 推理服务数据 */
- @SerializedName("Data")
- private List data;
-
- /** 模型数量 */
- @SerializedName("TotalCount")
- private Integer totalCount;
-
- public List getData() {
- return data;
- }
-
- public void setData(List data) {
- this.data = data;
- }
-
- public Integer getTotalCount() {
- return totalCount;
- }
-
- public void setTotalCount(Integer totalCount) {
- this.totalCount = totalCount;
- }
-
- public static class UMInferServiceData extends Response {
-
- /** 副本数 */
- @SerializedName("Replicas")
- private Integer replicas;
-
- /** 实际启动的副本数 */
- @SerializedName("ReadyReplicas")
- private Integer readyReplicas;
-
- /** 算力单元 */
- @SerializedName("ComputingUnit")
- private Integer computingUnit;
-
- /** 推理服务资源id */
- @SerializedName("UminferID")
- private String uminferID;
-
- /** 推理服务资源类型 */
- @SerializedName("UminferType")
- private String uminferType;
-
- /** 服务状态 */
- @SerializedName("Status")
- private String status;
-
- /** 服务的url */
- @SerializedName("URL")
- private String url;
-
- /** 服务名字 */
- @SerializedName("Name")
- private String name;
-
- /** 创建时间 */
- @SerializedName("CreateTime")
- private Integer createTime;
-
- /** 模型id */
- @SerializedName("ModelID")
- private String modelID;
-
- /** 模型名字 */
- @SerializedName("ModelName")
- private String modelName;
-
- /** 描述 */
- @SerializedName("Describe")
- private String describe;
-
- /** 模型认证key */
- @SerializedName("Key")
- private String key;
-
- public Integer getReplicas() {
- return replicas;
- }
-
- public void setReplicas(Integer replicas) {
- this.replicas = replicas;
- }
-
- public Integer getReadyReplicas() {
- return readyReplicas;
- }
-
- public void setReadyReplicas(Integer readyReplicas) {
- this.readyReplicas = readyReplicas;
- }
-
- public Integer getComputingUnit() {
- return computingUnit;
- }
-
- public void setComputingUnit(Integer computingUnit) {
- this.computingUnit = computingUnit;
- }
-
- public String getUminferID() {
- return uminferID;
- }
-
- public void setUminferID(String uminferID) {
- this.uminferID = uminferID;
- }
-
- public String getUminferType() {
- return uminferType;
- }
-
- public void setUminferType(String uminferType) {
- this.uminferType = uminferType;
- }
-
- public String getStatus() {
- return status;
- }
-
- public void setStatus(String status) {
- this.status = status;
- }
-
- public String getURL() {
- return url;
- }
-
- public void setURL(String url) {
- this.url = url;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public Integer getCreateTime() {
- return createTime;
- }
-
- public void setCreateTime(Integer createTime) {
- this.createTime = createTime;
- }
-
- public String getModelID() {
- return modelID;
- }
-
- public void setModelID(String modelID) {
- this.modelID = modelID;
- }
-
- public String getModelName() {
- return modelName;
- }
-
- public void setModelName(String modelName) {
- this.modelName = modelName;
- }
-
- public String getDescribe() {
- return describe;
- }
-
- public void setDescribe(String describe) {
- this.describe = describe;
- }
-
- public String getKey() {
- return key;
- }
-
- public void setKey(String key) {
- this.key = key;
- }
- }
-}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferTokenUsageRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferTokenUsageRequest.java
new file mode 100644
index 000000000..4ee1472c6
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferTokenUsageRequest.java
@@ -0,0 +1,90 @@
+/**
+ * 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.uai_modelverse.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUMInferTokenUsageRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** apikey的id */
+ @NotEmpty
+ @UCloudParam("KeyId")
+ private String keyId;
+
+ /** 模型名称 */
+ @NotEmpty
+ @UCloudParam("Model")
+ private String model;
+
+ /** 开始时间戳 */
+ @NotEmpty
+ @UCloudParam("StartTime")
+ private Integer startTime;
+
+ /** 结束时间戳 */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getKeyId() {
+ return keyId;
+ }
+
+ public void setKeyId(String keyId) {
+ this.keyId = keyId;
+ }
+
+ public String getModel() {
+ return model;
+ }
+
+ public void setModel(String model) {
+ this.model = model;
+ }
+
+ 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;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferTokenUsageResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferTokenUsageResponse.java
new file mode 100644
index 000000000..92271c771
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/GetUMInferTokenUsageResponse.java
@@ -0,0 +1,161 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUMInferTokenUsageResponse extends Response {
+
+ /** token使用详情 */
+ @SerializedName("Data")
+ private TokenUsage data;
+
+ public TokenUsage getData() {
+ return data;
+ }
+
+ public void setData(TokenUsage data) {
+ this.data = data;
+ }
+
+ public static class TokenUsage extends Response {
+
+ /** 总token量 */
+ @SerializedName("Total")
+ private Integer total;
+
+ /** 输出总token */
+ @SerializedName("InTotal")
+ private Integer inTotal;
+
+ /** 输出总token */
+ @SerializedName("OutTotal")
+ private Integer outTotal;
+
+ /** 生图总张数 */
+ @SerializedName("ImageGenerationNum")
+ private Integer imageGenerationNum;
+
+ /** 请求总次数 */
+ @SerializedName("RequestTotal")
+ private Integer requestTotal;
+
+ /** 每个时间戳的token使用量 */
+ @SerializedName("Usages")
+ private List usages;
+
+ public Integer getTotal() {
+ return total;
+ }
+
+ public void setTotal(Integer total) {
+ this.total = total;
+ }
+
+ public Integer getInTotal() {
+ return inTotal;
+ }
+
+ public void setInTotal(Integer inTotal) {
+ this.inTotal = inTotal;
+ }
+
+ public Integer getOutTotal() {
+ return outTotal;
+ }
+
+ public void setOutTotal(Integer outTotal) {
+ this.outTotal = outTotal;
+ }
+
+ public Integer getImageGenerationNum() {
+ return imageGenerationNum;
+ }
+
+ public void setImageGenerationNum(Integer imageGenerationNum) {
+ this.imageGenerationNum = imageGenerationNum;
+ }
+
+ public Integer getRequestTotal() {
+ return requestTotal;
+ }
+
+ public void setRequestTotal(Integer requestTotal) {
+ this.requestTotal = requestTotal;
+ }
+
+ public List getUsages() {
+ return usages;
+ }
+
+ public void setUsages(List usages) {
+ this.usages = usages;
+ }
+ }
+
+ public static class TokenUsageTimestamp extends Response {
+
+ /** 类型,in输入 out输出 total总 request_count 请求次数 image_generation 生图张数 */
+ @SerializedName("Type")
+ private String type;
+
+ /** 数量 */
+ @SerializedName("Count")
+ private Integer count;
+
+ /** unix时间戳 */
+ @SerializedName("Timestamp")
+ private Integer timestamp;
+
+ /** 模型名称 */
+ @SerializedName("Model")
+ private String model;
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public Integer getCount() {
+ return count;
+ }
+
+ public void setCount(Integer count) {
+ this.count = count;
+ }
+
+ public Integer getTimestamp() {
+ return timestamp;
+ }
+
+ public void setTimestamp(Integer timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public String getModel() {
+ return model;
+ }
+
+ public void setModel(String model) {
+ this.model = model;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrderSummaryRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrderSummaryRequest.java
new file mode 100644
index 000000000..01f45f6b9
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrderSummaryRequest.java
@@ -0,0 +1,157 @@
+/**
+ * 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.uai_modelverse.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 ListPaidOrderSummaryRequest extends Request {
+
+ /** 查询开始时间(Unix 时间戳,秒级),必填 */
+ @NotEmpty
+ @UCloudParam("StartTime")
+ private Integer startTime;
+
+ /** 查询结束时间(Unix 时间戳,秒级),必填;必须大于 StartTime */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /** 资源ID数组(多选,可选) */
+ @UCloudParam("ResourceIds")
+ private List resourceIds;
+
+ /** 模型ID数组(多选,可选) */
+ @UCloudParam("ModelIds")
+ private List modelIds;
+
+ /** 计费单位数组(多选,可选) */
+ @UCloudParam("PricingUnits")
+ private List pricingUnits;
+
+ /** 订单类型数组(多选,可选) */
+ @UCloudParam("OrderTypes")
+ private List orderTypes;
+
+ /** 计费类型数组(多选,可选) */
+ @UCloudParam("ChargeTypes")
+ private List chargeTypes;
+
+ /** 计费单元(SKU)列表(可选) */
+ @UCloudParam("PricingSkus")
+ private List pricingSkus;
+
+ /** 产品类型列表(多选,可选),枚举值:`modelverse`、`sandbox` */
+ @UCloudParam("ProductCodes")
+ private List productCodes;
+
+ /** 地域列表(多选,可选),参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Regions")
+ private List regions;
+
+ /** 组织ID列表(可选) */
+ @UCloudParam("OrganizationIds")
+ private List organizationIds;
+
+ 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 List getResourceIds() {
+ return resourceIds;
+ }
+
+ public void setResourceIds(List resourceIds) {
+ this.resourceIds = resourceIds;
+ }
+
+ public List getModelIds() {
+ return modelIds;
+ }
+
+ public void setModelIds(List modelIds) {
+ this.modelIds = modelIds;
+ }
+
+ public List getPricingUnits() {
+ return pricingUnits;
+ }
+
+ public void setPricingUnits(List pricingUnits) {
+ this.pricingUnits = pricingUnits;
+ }
+
+ 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 getPricingSkus() {
+ return pricingSkus;
+ }
+
+ public void setPricingSkus(List pricingSkus) {
+ this.pricingSkus = pricingSkus;
+ }
+
+ public List getProductCodes() {
+ return productCodes;
+ }
+
+ public void setProductCodes(List productCodes) {
+ this.productCodes = productCodes;
+ }
+
+ public List getRegions() {
+ return regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+
+ public List getOrganizationIds() {
+ return organizationIds;
+ }
+
+ public void setOrganizationIds(List organizationIds) {
+ this.organizationIds = organizationIds;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrderSummaryResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrderSummaryResponse.java
new file mode 100644
index 000000000..2197fbbd0
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrderSummaryResponse.java
@@ -0,0 +1,290 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListPaidOrderSummaryResponse extends Response {
+
+ /** 已完成订单汇总列表 */
+ @SerializedName("Summaries")
+ private List summaries;
+
+ public List getSummaries() {
+ return summaries;
+ }
+
+ public void setSummaries(List summaries) {
+ this.summaries = summaries;
+ }
+
+ public static class OrderSummaryItem extends Response {
+
+ /** 资源ID */
+ @SerializedName("ResourceId")
+ private String resourceId;
+
+ /** 计费单元(SKU)名称 */
+ @SerializedName("PricingSKU")
+ private String pricingSKU;
+
+ /** 模型ID */
+ @SerializedName("ModelID")
+ private String modelID;
+
+ /** 模型名称 */
+ @SerializedName("ModelName")
+ private String modelName;
+
+ /** 计费单位(计量单元) */
+ @SerializedName("PricingUnit")
+ private Integer pricingUnit;
+
+ /** 计费单位名称 */
+ @SerializedName("PricingUnitName")
+ private String pricingUnitName;
+
+ /** 订单类型 */
+ @SerializedName("OrderType")
+ private Integer orderType;
+
+ /** 订单类型显示名 */
+ @SerializedName("OrderTypeDisplay")
+ private String orderTypeDisplay;
+
+ /** 计费类型 */
+ @SerializedName("ChargeType")
+ private Integer chargeType;
+
+ /** 订单状态(2=已支付; 3=已撤销) */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 订单状态显示名 */
+ @SerializedName("StatusDisplay")
+ private String statusDisplay;
+
+ /** 列表价(原单价) */
+ @SerializedName("ListPrice")
+ private String listPrice;
+
+ /** 折后单价 */
+ @SerializedName("DiscountPrice")
+ private String discountPrice;
+
+ /** 总用量(原始值) */
+ @SerializedName("SumQuantity")
+ private Integer sumQuantity;
+
+ /** 总用量显示(格式化后的字符串,千token和百万token会进行转换) */
+ @SerializedName("SumQuantityDisplay")
+ private String sumQuantityDisplay;
+
+ /** 总订单金额(格式化后的字符串) */
+ @SerializedName("SumOrderPrice")
+ private String sumOrderPrice;
+
+ /** 总原价(格式化后的字符串) */
+ @SerializedName("SumOriginalPrice")
+ private String sumOriginalPrice;
+
+ /** 总现金账户扣款(仅已完成订单返回) */
+ @SerializedName("SumCashAccount")
+ private String sumCashAccount;
+
+ /** 总星力卡抵扣金额(仅已完成订单返回) */
+ @SerializedName("SumStarCardAccount")
+ private String sumStarCardAccount;
+
+ /** 总赠金账户扣款(仅已完成订单返回) */
+ @SerializedName("SumBonusAccount")
+ private String sumBonusAccount;
+
+ /** 总代金券抵扣(仅已完成订单返回) */
+ @SerializedName("SumCoupon")
+ private String sumCoupon;
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getPricingSKU() {
+ return pricingSKU;
+ }
+
+ public void setPricingSKU(String pricingSKU) {
+ this.pricingSKU = pricingSKU;
+ }
+
+ public String getModelID() {
+ return modelID;
+ }
+
+ public void setModelID(String modelID) {
+ this.modelID = modelID;
+ }
+
+ public String getModelName() {
+ return modelName;
+ }
+
+ public void setModelName(String modelName) {
+ this.modelName = modelName;
+ }
+
+ public Integer getPricingUnit() {
+ return pricingUnit;
+ }
+
+ public void setPricingUnit(Integer pricingUnit) {
+ this.pricingUnit = pricingUnit;
+ }
+
+ public String getPricingUnitName() {
+ return pricingUnitName;
+ }
+
+ public void setPricingUnitName(String pricingUnitName) {
+ this.pricingUnitName = pricingUnitName;
+ }
+
+ public Integer getOrderType() {
+ return orderType;
+ }
+
+ public void setOrderType(Integer orderType) {
+ this.orderType = orderType;
+ }
+
+ public String getOrderTypeDisplay() {
+ return orderTypeDisplay;
+ }
+
+ public void setOrderTypeDisplay(String orderTypeDisplay) {
+ this.orderTypeDisplay = orderTypeDisplay;
+ }
+
+ public Integer getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(Integer chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public String getStatusDisplay() {
+ return statusDisplay;
+ }
+
+ public void setStatusDisplay(String statusDisplay) {
+ this.statusDisplay = statusDisplay;
+ }
+
+ public String getListPrice() {
+ return listPrice;
+ }
+
+ public void setListPrice(String listPrice) {
+ this.listPrice = listPrice;
+ }
+
+ public String getDiscountPrice() {
+ return discountPrice;
+ }
+
+ public void setDiscountPrice(String discountPrice) {
+ this.discountPrice = discountPrice;
+ }
+
+ public Integer getSumQuantity() {
+ return sumQuantity;
+ }
+
+ public void setSumQuantity(Integer sumQuantity) {
+ this.sumQuantity = sumQuantity;
+ }
+
+ public String getSumQuantityDisplay() {
+ return sumQuantityDisplay;
+ }
+
+ public void setSumQuantityDisplay(String sumQuantityDisplay) {
+ this.sumQuantityDisplay = sumQuantityDisplay;
+ }
+
+ public String getSumOrderPrice() {
+ return sumOrderPrice;
+ }
+
+ public void setSumOrderPrice(String sumOrderPrice) {
+ this.sumOrderPrice = sumOrderPrice;
+ }
+
+ public String getSumOriginalPrice() {
+ return sumOriginalPrice;
+ }
+
+ public void setSumOriginalPrice(String sumOriginalPrice) {
+ this.sumOriginalPrice = sumOriginalPrice;
+ }
+
+ public String getSumCashAccount() {
+ return sumCashAccount;
+ }
+
+ public void setSumCashAccount(String sumCashAccount) {
+ this.sumCashAccount = sumCashAccount;
+ }
+
+ public String getSumStarCardAccount() {
+ return sumStarCardAccount;
+ }
+
+ public void setSumStarCardAccount(String sumStarCardAccount) {
+ this.sumStarCardAccount = sumStarCardAccount;
+ }
+
+ public String getSumBonusAccount() {
+ return sumBonusAccount;
+ }
+
+ public void setSumBonusAccount(String sumBonusAccount) {
+ this.sumBonusAccount = sumBonusAccount;
+ }
+
+ public String getSumCoupon() {
+ return sumCoupon;
+ }
+
+ public void setSumCoupon(String sumCoupon) {
+ this.sumCoupon = sumCoupon;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrdersRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrdersRequest.java
new file mode 100644
index 000000000..507204f77
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrdersRequest.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.uai_modelverse.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 ListPaidOrdersRequest extends Request {
+
+ /** 查询开始时间(Unix 时间戳,秒级)。与 `EndTime` 同时提供时启用自定义周期查询;EndTime 必须大于 StartTime */
+ @NotEmpty
+ @UCloudParam("StartTime")
+ private Integer startTime;
+
+ /** 查询结束时间(Unix 时间戳,秒级)。需与 `StartTime` 同时提供 */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /** 页码,从1开始 */
+ @NotEmpty
+ @UCloudParam("Page")
+ private Integer page;
+
+ /** 每页数量(最小10,最大100) */
+ @NotEmpty
+ @UCloudParam("PageSize")
+ private Integer pageSize;
+
+ /** 资源ID数组(多选,可选) */
+ @UCloudParam("ResourceIds")
+ private List resourceIds;
+
+ /** 模型ID数组(多选,可选) */
+ @UCloudParam("ModelIds")
+ private List modelIds;
+
+ /** 计费单位数组(多选,可选) */
+ @UCloudParam("PricingUnits")
+ private List pricingUnits;
+
+ /** 订单类型数组(多选,可选) */
+ @UCloudParam("OrderTypes")
+ private List orderTypes;
+
+ /** 计费 SKU 列表(可选) */
+ @UCloudParam("PricingSkus")
+ private List pricingSkus;
+
+ /** 产品类型列表(多选,可选),枚举值:`modelverse`、`sandbox` */
+ @UCloudParam("ProductCodes")
+ private List productCodes;
+
+ /** 地域列表(多选,可选),参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Regions")
+ private List regions;
+
+ /** 组织ID列表(可选) */
+ @UCloudParam("OrganizationIds")
+ private List organizationIds;
+
+ 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 Integer getPage() {
+ return page;
+ }
+
+ public void setPage(Integer page) {
+ this.page = page;
+ }
+
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ public List getResourceIds() {
+ return resourceIds;
+ }
+
+ public void setResourceIds(List resourceIds) {
+ this.resourceIds = resourceIds;
+ }
+
+ public List getModelIds() {
+ return modelIds;
+ }
+
+ public void setModelIds(List modelIds) {
+ this.modelIds = modelIds;
+ }
+
+ public List getPricingUnits() {
+ return pricingUnits;
+ }
+
+ public void setPricingUnits(List pricingUnits) {
+ this.pricingUnits = pricingUnits;
+ }
+
+ public List getOrderTypes() {
+ return orderTypes;
+ }
+
+ public void setOrderTypes(List orderTypes) {
+ this.orderTypes = orderTypes;
+ }
+
+ public List getPricingSkus() {
+ return pricingSkus;
+ }
+
+ public void setPricingSkus(List pricingSkus) {
+ this.pricingSkus = pricingSkus;
+ }
+
+ public List getProductCodes() {
+ return productCodes;
+ }
+
+ public void setProductCodes(List productCodes) {
+ this.productCodes = productCodes;
+ }
+
+ public List getRegions() {
+ return regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+
+ public List getOrganizationIds() {
+ return organizationIds;
+ }
+
+ public void setOrganizationIds(List organizationIds) {
+ this.organizationIds = organizationIds;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrdersResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrdersResponse.java
new file mode 100644
index 000000000..9d6ba4b6e
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListPaidOrdersResponse.java
@@ -0,0 +1,530 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListPaidOrdersResponse extends Response {
+
+ /** 当前页码 */
+ @SerializedName("Page")
+ private Integer page;
+
+ /** 每页数量 */
+ @SerializedName("PageSize")
+ private Integer pageSize;
+
+ /** 总记录数 */
+ @SerializedName("Total")
+ private Integer total;
+
+ /** 订单列表 */
+ @SerializedName("Orders")
+ private List orders;
+
+ public Integer getPage() {
+ return page;
+ }
+
+ public void setPage(Integer page) {
+ this.page = page;
+ }
+
+ public Integer getPageSize() {
+ return pageSize;
+ }
+
+ public void setPageSize(Integer pageSize) {
+ this.pageSize = pageSize;
+ }
+
+ public Integer getTotal() {
+ return total;
+ }
+
+ public void setTotal(Integer total) {
+ this.total = total;
+ }
+
+ public List getOrders() {
+ return orders;
+ }
+
+ public void setOrders(List orders) {
+ this.orders = orders;
+ }
+
+ public static class OrderItemDetail extends Response {
+
+ /** 地域 */
+ @SerializedName("Region")
+ private String region;
+
+ /** 产品类型 */
+ @SerializedName("ProductCode")
+ private String productCode;
+
+ /** 产品类型显示名 */
+ @SerializedName("ProductCodeDisplay")
+ private String productCodeDisplay;
+
+ /** 星力卡抵扣金额 */
+ @SerializedName("StarCardAccount")
+ private String starCardAccount;
+
+ /** 订单号 */
+ @SerializedName("OrderNo")
+ private String orderNo;
+
+ /** 公司id */
+ @SerializedName("CompanyID")
+ private Integer companyID;
+
+ /** 项目ID */
+ @SerializedName("OrganizationID")
+ private Integer organizationID;
+
+ /** 项目名称 */
+ @SerializedName("OrganizationName")
+ private String organizationName;
+
+ /** 用户邮箱 */
+ @SerializedName("UserEmail")
+ private String userEmail;
+
+ /** 计费类型 */
+ @SerializedName("ChargeType")
+ private Integer chargeType;
+
+ /** 计费类型显示名 */
+ @SerializedName("ChargeTypeDisplay")
+ private String chargeTypeDisplay;
+
+ /** 渠道 */
+ @SerializedName("Channel")
+ private Integer channel;
+
+ /** 币种(如:CNY、USD) */
+ @SerializedName("Currency")
+ private String currency;
+
+ /** 币种显示名 */
+ @SerializedName("CurrencyDisplay")
+ private String currencyDisplay;
+
+ /** 资源ID */
+ @SerializedName("ResourceID")
+ private String resourceID;
+
+ /** 模型ID */
+ @SerializedName("ModelID")
+ private String modelID;
+
+ /** 模型名称 */
+ @SerializedName("ModelName")
+ private String modelName;
+
+ /** 订单类型 */
+ @SerializedName("OrderType")
+ private Integer orderType;
+
+ /** 订单类型显示名 */
+ @SerializedName("OrderTypeDisplay")
+ private String orderTypeDisplay;
+
+ /** 计费单元(SKU)名称 */
+ @SerializedName("PricingSKU")
+ private String pricingSKU;
+
+ /** 用量 */
+ @SerializedName("Quantity")
+ private Integer quantity;
+
+ /** 用量显示(含单位) */
+ @SerializedName("QuantityDisplay")
+ private String quantityDisplay;
+
+ /** 计费单位(计量单元) */
+ @SerializedName("PricingUnit")
+ private Integer pricingUnit;
+
+ /** 计费单位显示名(如:千Token、张、秒) */
+ @SerializedName("PricingUnitDisplay")
+ private String pricingUnitDisplay;
+
+ /** 列表价(原单价) */
+ @SerializedName("ListPrice")
+ private String listPrice;
+
+ /** 折后价(折后单价) */
+ @SerializedName("DiscountPrice")
+ private String discountPrice;
+
+ /** 订单总额 */
+ @SerializedName("OrderTotalPrice")
+ private String orderTotalPrice;
+
+ /** 原价 */
+ @SerializedName("OriginalPrice")
+ private String originalPrice;
+
+ /** 订单状态 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 订单状态显示名 */
+ @SerializedName("StatusDisplay")
+ private String statusDisplay;
+
+ /** 开始计费时间(Unix 时间戳,秒级) */
+ @SerializedName("StartTime")
+ private Integer startTime;
+
+ /** 结束计费时间(Unix 时间戳,秒级) */
+ @SerializedName("EndTime")
+ private Integer endTime;
+
+ /** 支付完成时间(Unix 时间戳,秒级) */
+ @SerializedName("PaidTime")
+ private Integer paidTime;
+
+ /** 现金账户扣款金额 */
+ @SerializedName("CashAccount")
+ private String cashAccount;
+
+ /** 赠金账户扣款金额 */
+ @SerializedName("BonusAccount")
+ private String bonusAccount;
+
+ /** 代金券抵扣金额 */
+ @SerializedName("Coupon")
+ private String coupon;
+
+ /** 欠费订单号 */
+ @SerializedName("UnpaidOrderNo")
+ private String unpaidOrderNo;
+
+ /** 地域显示名 */
+ @SerializedName("RegionDisplay")
+ private String regionDisplay;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProductCode() {
+ return productCode;
+ }
+
+ public void setProductCode(String productCode) {
+ this.productCode = productCode;
+ }
+
+ public String getProductCodeDisplay() {
+ return productCodeDisplay;
+ }
+
+ public void setProductCodeDisplay(String productCodeDisplay) {
+ this.productCodeDisplay = productCodeDisplay;
+ }
+
+ public String getStarCardAccount() {
+ return starCardAccount;
+ }
+
+ public void setStarCardAccount(String starCardAccount) {
+ this.starCardAccount = starCardAccount;
+ }
+
+ public String getOrderNo() {
+ return orderNo;
+ }
+
+ public void setOrderNo(String orderNo) {
+ this.orderNo = orderNo;
+ }
+
+ public Integer getCompanyID() {
+ return companyID;
+ }
+
+ public void setCompanyID(Integer companyID) {
+ this.companyID = companyID;
+ }
+
+ public Integer getOrganizationID() {
+ return organizationID;
+ }
+
+ public void setOrganizationID(Integer organizationID) {
+ this.organizationID = organizationID;
+ }
+
+ public String getOrganizationName() {
+ return organizationName;
+ }
+
+ public void setOrganizationName(String organizationName) {
+ this.organizationName = organizationName;
+ }
+
+ public String getUserEmail() {
+ return userEmail;
+ }
+
+ public void setUserEmail(String userEmail) {
+ this.userEmail = userEmail;
+ }
+
+ public Integer getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(Integer chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public String getChargeTypeDisplay() {
+ return chargeTypeDisplay;
+ }
+
+ public void setChargeTypeDisplay(String chargeTypeDisplay) {
+ this.chargeTypeDisplay = chargeTypeDisplay;
+ }
+
+ public Integer getChannel() {
+ return channel;
+ }
+
+ public void setChannel(Integer channel) {
+ this.channel = channel;
+ }
+
+ public String getCurrency() {
+ return currency;
+ }
+
+ public void setCurrency(String currency) {
+ this.currency = currency;
+ }
+
+ public String getCurrencyDisplay() {
+ return currencyDisplay;
+ }
+
+ public void setCurrencyDisplay(String currencyDisplay) {
+ this.currencyDisplay = currencyDisplay;
+ }
+
+ public String getResourceID() {
+ return resourceID;
+ }
+
+ public void setResourceID(String resourceID) {
+ this.resourceID = resourceID;
+ }
+
+ public String getModelID() {
+ return modelID;
+ }
+
+ public void setModelID(String modelID) {
+ this.modelID = modelID;
+ }
+
+ public String getModelName() {
+ return modelName;
+ }
+
+ public void setModelName(String modelName) {
+ this.modelName = modelName;
+ }
+
+ public Integer getOrderType() {
+ return orderType;
+ }
+
+ public void setOrderType(Integer orderType) {
+ this.orderType = orderType;
+ }
+
+ public String getOrderTypeDisplay() {
+ return orderTypeDisplay;
+ }
+
+ public void setOrderTypeDisplay(String orderTypeDisplay) {
+ this.orderTypeDisplay = orderTypeDisplay;
+ }
+
+ public String getPricingSKU() {
+ return pricingSKU;
+ }
+
+ public void setPricingSKU(String pricingSKU) {
+ this.pricingSKU = pricingSKU;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getQuantityDisplay() {
+ return quantityDisplay;
+ }
+
+ public void setQuantityDisplay(String quantityDisplay) {
+ this.quantityDisplay = quantityDisplay;
+ }
+
+ public Integer getPricingUnit() {
+ return pricingUnit;
+ }
+
+ public void setPricingUnit(Integer pricingUnit) {
+ this.pricingUnit = pricingUnit;
+ }
+
+ public String getPricingUnitDisplay() {
+ return pricingUnitDisplay;
+ }
+
+ public void setPricingUnitDisplay(String pricingUnitDisplay) {
+ this.pricingUnitDisplay = pricingUnitDisplay;
+ }
+
+ public String getListPrice() {
+ return listPrice;
+ }
+
+ public void setListPrice(String listPrice) {
+ this.listPrice = listPrice;
+ }
+
+ public String getDiscountPrice() {
+ return discountPrice;
+ }
+
+ public void setDiscountPrice(String discountPrice) {
+ this.discountPrice = discountPrice;
+ }
+
+ public String getOrderTotalPrice() {
+ return orderTotalPrice;
+ }
+
+ public void setOrderTotalPrice(String orderTotalPrice) {
+ this.orderTotalPrice = orderTotalPrice;
+ }
+
+ public String getOriginalPrice() {
+ return originalPrice;
+ }
+
+ public void setOriginalPrice(String originalPrice) {
+ this.originalPrice = originalPrice;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public String getStatusDisplay() {
+ return statusDisplay;
+ }
+
+ public void setStatusDisplay(String statusDisplay) {
+ this.statusDisplay = statusDisplay;
+ }
+
+ 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 Integer getPaidTime() {
+ return paidTime;
+ }
+
+ public void setPaidTime(Integer paidTime) {
+ this.paidTime = paidTime;
+ }
+
+ public String getCashAccount() {
+ return cashAccount;
+ }
+
+ public void setCashAccount(String cashAccount) {
+ this.cashAccount = cashAccount;
+ }
+
+ public String getBonusAccount() {
+ return bonusAccount;
+ }
+
+ public void setBonusAccount(String bonusAccount) {
+ this.bonusAccount = bonusAccount;
+ }
+
+ public String getCoupon() {
+ return coupon;
+ }
+
+ public void setCoupon(String coupon) {
+ this.coupon = coupon;
+ }
+
+ public String getUnpaidOrderNo() {
+ return unpaidOrderNo;
+ }
+
+ public void setUnpaidOrderNo(String unpaidOrderNo) {
+ this.unpaidOrderNo = unpaidOrderNo;
+ }
+
+ public String getRegionDisplay() {
+ return regionDisplay;
+ }
+
+ public void setRegionDisplay(String regionDisplay) {
+ this.regionDisplay = regionDisplay;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUFSquareModelRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUFSquareModelRequest.java
new file mode 100644
index 000000000..f2bcc2aa7
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUFSquareModelRequest.java
@@ -0,0 +1,157 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class ListUFSquareModelRequest 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("ModelType")
+ private String modelType;
+
+ /** 关键字 */
+ @UCloudParam("Keyword")
+ private String keyword;
+
+ /** 偏移量 */
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ /** 每页数量 */
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ /** 排序字段 */
+ @UCloudParam("OrderBy")
+ private String orderBy;
+
+ /** 排序顺序,默认倒序 */
+ @UCloudParam("Order")
+ private String order;
+
+ /** 上下文长度,数组类型,可选值 [0,4096,16384,32768,131072,256000,262144,1048576] */
+ @UCloudParam("MaxModelLen")
+ private List maxModelLen;
+
+ /** 语言,数组类型,可选值 ["chinese", "english"] */
+ @UCloudParam("Language")
+ private List language;
+
+ 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 getModelType() {
+ return modelType;
+ }
+
+ public void setModelType(String modelType) {
+ this.modelType = modelType;
+ }
+
+ public String getKeyword() {
+ return keyword;
+ }
+
+ public void setKeyword(String keyword) {
+ this.keyword = keyword;
+ }
+
+ public Integer getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Integer offset) {
+ this.offset = offset;
+ }
+
+ public Integer getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Integer limit) {
+ this.limit = limit;
+ }
+
+ public String getOrderBy() {
+ return orderBy;
+ }
+
+ public void setOrderBy(String orderBy) {
+ this.orderBy = orderBy;
+ }
+
+ public String getOrder() {
+ return order;
+ }
+
+ public void setOrder(String order) {
+ this.order = order;
+ }
+
+ public List getMaxModelLen() {
+ return maxModelLen;
+ }
+
+ public void setMaxModelLen(List maxModelLen) {
+ this.maxModelLen = maxModelLen;
+ }
+
+ public List getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(List language) {
+ this.language = language;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUFSquareModelResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUFSquareModelResponse.java
new file mode 100644
index 000000000..4d49473ce
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUFSquareModelResponse.java
@@ -0,0 +1,257 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListUFSquareModelResponse extends Response {
+
+ /** 总数 */
+ @SerializedName("TotalCount")
+ private Integer totalCount;
+
+ /** 广场模型 */
+ @SerializedName("SquareModels")
+ private List squareModels;
+
+ public Integer getTotalCount() {
+ return totalCount;
+ }
+
+ public void setTotalCount(Integer totalCount) {
+ this.totalCount = totalCount;
+ }
+
+ public List getSquareModels() {
+ return squareModels;
+ }
+
+ public void setSquareModels(List squareModels) {
+ this.squareModels = squareModels;
+ }
+
+ public static class Pricing extends Response {
+
+ /** 输出定价 */
+ @SerializedName("Completion")
+ private Double completion;
+
+ /** 提示词定价 */
+ @SerializedName("Prompt")
+ private Double prompt;
+
+ /** 生图定价 */
+ @SerializedName("Image")
+ private Double image;
+
+ /** 币种 */
+ @SerializedName("Currency")
+ private String currency;
+
+ public Double getCompletion() {
+ return completion;
+ }
+
+ public void setCompletion(Double completion) {
+ this.completion = completion;
+ }
+
+ public Double getPrompt() {
+ return prompt;
+ }
+
+ public void setPrompt(Double prompt) {
+ this.prompt = prompt;
+ }
+
+ public Double getImage() {
+ return image;
+ }
+
+ public void setImage(Double image) {
+ this.image = image;
+ }
+
+ public String getCurrency() {
+ return currency;
+ }
+
+ public void setCurrency(String currency) {
+ this.currency = currency;
+ }
+ }
+
+ public static class SquareModel extends Response {
+
+ /** 主键 */
+ @SerializedName("Id")
+ private String id;
+
+ /** 名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 简要描述 */
+ @SerializedName("SimpleDescribe")
+ private String simpleDescribe;
+
+ /** 详细描述 */
+ @SerializedName("Describe")
+ private String describe;
+
+ /** 语言 */
+ @SerializedName("Language")
+ private List language;
+
+ /** 模型长度 */
+ @SerializedName("MaxModelLen")
+ private Integer maxModelLen;
+
+ /** 模型类型 */
+ @SerializedName("ModelType")
+ private String modelType;
+
+ /** HuggingFace 更新时间 */
+ @SerializedName("HfUpdateTime")
+ private Integer hfUpdateTime;
+
+ /** 创建时间 */
+ @SerializedName("CreateAt")
+ private Integer createAt;
+
+ /** 更新时间 */
+ @SerializedName("UpdateAt")
+ private Integer updateAt;
+
+ /** 模型能力 */
+ @SerializedName("SupportedCapabilities")
+ private List supportedCapabilities;
+
+ /** 图标 */
+ @SerializedName("Icon")
+ private String icon;
+
+ /** 定价策略 */
+ @SerializedName("Pricing")
+ private Pricing pricing;
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getSimpleDescribe() {
+ return simpleDescribe;
+ }
+
+ public void setSimpleDescribe(String simpleDescribe) {
+ this.simpleDescribe = simpleDescribe;
+ }
+
+ public String getDescribe() {
+ return describe;
+ }
+
+ public void setDescribe(String describe) {
+ this.describe = describe;
+ }
+
+ public List getLanguage() {
+ return language;
+ }
+
+ public void setLanguage(List language) {
+ this.language = language;
+ }
+
+ public Integer getMaxModelLen() {
+ return maxModelLen;
+ }
+
+ public void setMaxModelLen(Integer maxModelLen) {
+ this.maxModelLen = maxModelLen;
+ }
+
+ public String getModelType() {
+ return modelType;
+ }
+
+ public void setModelType(String modelType) {
+ this.modelType = modelType;
+ }
+
+ public Integer getHfUpdateTime() {
+ return hfUpdateTime;
+ }
+
+ public void setHfUpdateTime(Integer hfUpdateTime) {
+ this.hfUpdateTime = hfUpdateTime;
+ }
+
+ public Integer getCreateAt() {
+ return createAt;
+ }
+
+ public void setCreateAt(Integer createAt) {
+ this.createAt = createAt;
+ }
+
+ public Integer getUpdateAt() {
+ return updateAt;
+ }
+
+ public void setUpdateAt(Integer updateAt) {
+ this.updateAt = updateAt;
+ }
+
+ public List getSupportedCapabilities() {
+ return supportedCapabilities;
+ }
+
+ public void setSupportedCapabilities(List supportedCapabilities) {
+ this.supportedCapabilities = supportedCapabilities;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public Pricing getPricing() {
+ return pricing;
+ }
+
+ public void setPricing(Pricing pricing) {
+ this.pricing = pricing;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUMInferAPIKeyRequest.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUMInferAPIKeyRequest.java
new file mode 100644
index 000000000..9cc166a03
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUMInferAPIKeyRequest.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.uai_modelverse.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListUMInferAPIKeyRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 列表起始位置偏移量,默认为0 */
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ /** 返回数据长度,默认为20,最大100 */
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ /** 是否modelverse可用 0: 启用 1: 禁用 */
+ @UCloudParam("ModelverseDisabled")
+ private Integer modelverseDisabled;
+
+ /** 是否沙盒可用 0: 启用 1: 禁用(astraflow 沙盒控制未上线,暂时无效) */
+ @UCloudParam("SandBoxDisabled")
+ private Integer sandBoxDisabled;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Integer offset) {
+ this.offset = offset;
+ }
+
+ public Integer getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Integer limit) {
+ this.limit = limit;
+ }
+
+ public Integer getModelverseDisabled() {
+ return modelverseDisabled;
+ }
+
+ public void setModelverseDisabled(Integer modelverseDisabled) {
+ this.modelverseDisabled = modelverseDisabled;
+ }
+
+ public Integer getSandBoxDisabled() {
+ return sandBoxDisabled;
+ }
+
+ public void setSandBoxDisabled(Integer sandBoxDisabled) {
+ this.sandBoxDisabled = sandBoxDisabled;
+ }
+}
diff --git a/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUMInferAPIKeyResponse.java b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUMInferAPIKeyResponse.java
new file mode 100644
index 000000000..17412a87b
--- /dev/null
+++ b/ucloud-sdk-java-uai_modelverse/src/main/java/cn/ucloud/uai_modelverse/models/ListUMInferAPIKeyResponse.java
@@ -0,0 +1,257 @@
+/**
+ * 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.uai_modelverse.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListUMInferAPIKeyResponse extends Response {
+
+ /** apikey */
+ @SerializedName("Data")
+ private List data;
+
+ public List getData() {
+ return data;
+ }
+
+ public void setData(List