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.ucdn.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetNewUcdnLogClientIpStatisticsRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 域名id,创建域名时生成的id */ + @NotEmpty + @UCloudParam("DomainId") + private String domainId; + + /** 查询的日期,单位:Unix时间戳。只支持按天查询 */ + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 0表示按照下载次数降序排列,1表示按流量降序排列,默认为0 */ + @UCloudParam("OrderBy") + private Integer orderBy; + + /** 返回结果数量限制,返回最多100条 */ + @UCloudParam("Limit") + private String limit; + + /** 1表示按照1小时粒度,2表示按照一天的粒度 默认是天 */ + @UCloudParam("Type") + private Integer type; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getDomainId() { + return domainId; + } + + public void setDomainId(String domainId) { + this.domainId = domainId; + } + + public Integer getBeginTime() { + return beginTime; + } + + public void setBeginTime(Integer beginTime) { + this.beginTime = beginTime; + } + + public Integer getOrderBy() { + return orderBy; + } + + public void setOrderBy(Integer orderBy) { + this.orderBy = orderBy; + } + + public String getLimit() { + return limit; + } + + public void setLimit(String limit) { + this.limit = limit; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } +} diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetNewUcdnLogClientIpStatisticsResponse.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetNewUcdnLogClientIpStatisticsResponse.java new file mode 100644 index 00000000..a0ad3a4e --- /dev/null +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetNewUcdnLogClientIpStatisticsResponse.java @@ -0,0 +1,98 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.ucdn.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetNewUcdnLogClientIpStatisticsResponse extends Response {
+
+ /** 客户端ip数据集合。 */
+ @SerializedName("ClientIpStatisticsList")
+ private List 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.ucdn.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UpdateUcdnDomainHttpsConfigV2Request extends Request {
+
+ /** 域名对应的资源Id */
+ @NotEmpty
+ @UCloudParam("DomainId")
+ private String domainId;
+
+ /** 开启或关闭加速 enable或disable 当加速区域含国内的时候,此参数为必传 */
+ @UCloudParam("HttpsStatusCn")
+ private String httpsStatusCn;
+
+ /** 开启或关闭加速 enable或disable 当加速区域含国外的时候,此参数为必传 */
+ @UCloudParam("HttpsStatusAbroad")
+ private String httpsStatusAbroad;
+
+ /** 证书名称,开启加速必传 */
+ @UCloudParam("CertName")
+ private String certName;
+
+ /** 证书id(可能是ucdn的id,也可能是ussl的id) */
+ @UCloudParam("CertId")
+ private Integer certId;
+
+ /** 证书类型 ucdn/ussl */
+ @UCloudParam("CertType")
+ private String certType;
+
+ public String getDomainId() {
+ return domainId;
+ }
+
+ public void setDomainId(String domainId) {
+ this.domainId = domainId;
+ }
+
+ public String getHttpsStatusCn() {
+ return httpsStatusCn;
+ }
+
+ public void setHttpsStatusCn(String httpsStatusCn) {
+ this.httpsStatusCn = httpsStatusCn;
+ }
+
+ public String getHttpsStatusAbroad() {
+ return httpsStatusAbroad;
+ }
+
+ public void setHttpsStatusAbroad(String httpsStatusAbroad) {
+ this.httpsStatusAbroad = httpsStatusAbroad;
+ }
+
+ public String getCertName() {
+ return certName;
+ }
+
+ public void setCertName(String certName) {
+ this.certName = certName;
+ }
+
+ public Integer getCertId() {
+ return certId;
+ }
+
+ public void setCertId(Integer certId) {
+ this.certId = certId;
+ }
+
+ public String getCertType() {
+ return certType;
+ }
+
+ public void setCertType(String certType) {
+ this.certType = certType;
+ }
+}
diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/UpdateUcdnDomainHttpsConfigV2Response.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/UpdateUcdnDomainHttpsConfigV2Response.java
new file mode 100644
index 00000000..a908eb95
--- /dev/null
+++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/UpdateUcdnDomainHttpsConfigV2Response.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.ucdn.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class UpdateUcdnDomainHttpsConfigV2Response extends Response {}
diff --git a/ucloud-sdk-java-ucompshare/pom.xml b/ucloud-sdk-java-ucompshare/pom.xml
index 4a781d8a..88c695ab 100644
--- a/ucloud-sdk-java-ucompshare/pom.xml
+++ b/ucloud-sdk-java-ucompshare/pom.xml
@@ -6,18 +6,18 @@
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.udns.client;
+
+import cn.ucloud.common.client.DefaultClient;
+import cn.ucloud.common.config.Config;
+import cn.ucloud.common.credential.Credential;
+import cn.ucloud.common.exception.UCloudException;
+import cn.ucloud.udns.models.AssociateUDNSZoneVPCRequest;
+import cn.ucloud.udns.models.AssociateUDNSZoneVPCResponse;
+import cn.ucloud.udns.models.CreateUDNSRecordRequest;
+import cn.ucloud.udns.models.CreateUDNSRecordResponse;
+import cn.ucloud.udns.models.CreateUDNSZoneRequest;
+import cn.ucloud.udns.models.CreateUDNSZoneResponse;
+import cn.ucloud.udns.models.DeleteUDNSRecordRequest;
+import cn.ucloud.udns.models.DeleteUDNSRecordResponse;
+import cn.ucloud.udns.models.DescribeUDNSDomainRequest;
+import cn.ucloud.udns.models.DescribeUDNSDomainResponse;
+import cn.ucloud.udns.models.DescribeUDNSRecordRequest;
+import cn.ucloud.udns.models.DescribeUDNSRecordResponse;
+import cn.ucloud.udns.models.DescribeUDNSZoneRequest;
+import cn.ucloud.udns.models.DescribeUDNSZoneResponse;
+import cn.ucloud.udns.models.DisassociateUDNSZoneVPCRequest;
+import cn.ucloud.udns.models.DisassociateUDNSZoneVPCResponse;
+import cn.ucloud.udns.models.ModifyUDNSRecordRequest;
+import cn.ucloud.udns.models.ModifyUDNSRecordResponse;
+import cn.ucloud.udns.models.ModifyUDNSZoneRequest;
+import cn.ucloud.udns.models.ModifyUDNSZoneResponse;
+
+/** This client is used to call actions of **UDNS** service */
+public class UDNSClient extends DefaultClient implements UDNSClientInterface {
+ public UDNSClient(Config config, Credential credential) {
+ super(config, credential);
+ }
+
+ /**
+ * AssociateUDNSZoneVPC - 绑定域名与VPC
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public AssociateUDNSZoneVPCResponse associateUDNSZoneVPC(AssociateUDNSZoneVPCRequest request)
+ throws UCloudException {
+ request.setAction("AssociateUDNSZoneVPC");
+ return (AssociateUDNSZoneVPCResponse)
+ this.invoke(request, AssociateUDNSZoneVPCResponse.class);
+ }
+
+ /**
+ * CreateUDNSRecord - 创建域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUDNSRecordResponse createUDNSRecord(CreateUDNSRecordRequest request)
+ throws UCloudException {
+ request.setAction("CreateUDNSRecord");
+ return (CreateUDNSRecordResponse) this.invoke(request, CreateUDNSRecordResponse.class);
+ }
+
+ /**
+ * CreateUDNSZone - 创建域名
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUDNSZoneResponse createUDNSZone(CreateUDNSZoneRequest request)
+ throws UCloudException {
+ request.setAction("CreateUDNSZone");
+ return (CreateUDNSZoneResponse) this.invoke(request, CreateUDNSZoneResponse.class);
+ }
+
+ /**
+ * DeleteUDNSRecord - 删除域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUDNSRecordResponse deleteUDNSRecord(DeleteUDNSRecordRequest request)
+ throws UCloudException {
+ request.setAction("DeleteUDNSRecord");
+ return (DeleteUDNSRecordResponse) this.invoke(request, DeleteUDNSRecordResponse.class);
+ }
+
+ /**
+ * DescribeUDNSDomain - zone下所有域名的rr记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUDNSDomainResponse describeUDNSDomain(DescribeUDNSDomainRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUDNSDomain");
+ return (DescribeUDNSDomainResponse) this.invoke(request, DescribeUDNSDomainResponse.class);
+ }
+
+ /**
+ * DescribeUDNSRecord - 获取域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUDNSRecordResponse describeUDNSRecord(DescribeUDNSRecordRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUDNSRecord");
+ return (DescribeUDNSRecordResponse) this.invoke(request, DescribeUDNSRecordResponse.class);
+ }
+
+ /**
+ * DescribeUDNSZone - 获取域名信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUDNSZoneResponse describeUDNSZone(DescribeUDNSZoneRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUDNSZone");
+ return (DescribeUDNSZoneResponse) this.invoke(request, DescribeUDNSZoneResponse.class);
+ }
+
+ /**
+ * DisassociateUDNSZoneVPC - 解绑域名和VPC
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DisassociateUDNSZoneVPCResponse disassociateUDNSZoneVPC(
+ DisassociateUDNSZoneVPCRequest request) throws UCloudException {
+ request.setAction("DisassociateUDNSZoneVPC");
+ return (DisassociateUDNSZoneVPCResponse)
+ this.invoke(request, DisassociateUDNSZoneVPCResponse.class);
+ }
+
+ /**
+ * ModifyUDNSRecord - 修改域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUDNSRecordResponse modifyUDNSRecord(ModifyUDNSRecordRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUDNSRecord");
+ return (ModifyUDNSRecordResponse) this.invoke(request, ModifyUDNSRecordResponse.class);
+ }
+
+ /**
+ * ModifyUDNSZone - 修改域名属性
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUDNSZoneResponse modifyUDNSZone(ModifyUDNSZoneRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUDNSZone");
+ return (ModifyUDNSZoneResponse) this.invoke(request, ModifyUDNSZoneResponse.class);
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/client/UDNSClientInterface.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/client/UDNSClientInterface.java
new file mode 100644
index 00000000..5e3d5eef
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/client/UDNSClientInterface.java
@@ -0,0 +1,131 @@
+/**
+ * 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.udns.client;
+
+import cn.ucloud.common.client.Client;
+import cn.ucloud.common.exception.UCloudException;
+import cn.ucloud.udns.models.AssociateUDNSZoneVPCRequest;
+import cn.ucloud.udns.models.AssociateUDNSZoneVPCResponse;
+import cn.ucloud.udns.models.CreateUDNSRecordRequest;
+import cn.ucloud.udns.models.CreateUDNSRecordResponse;
+import cn.ucloud.udns.models.CreateUDNSZoneRequest;
+import cn.ucloud.udns.models.CreateUDNSZoneResponse;
+import cn.ucloud.udns.models.DeleteUDNSRecordRequest;
+import cn.ucloud.udns.models.DeleteUDNSRecordResponse;
+import cn.ucloud.udns.models.DescribeUDNSDomainRequest;
+import cn.ucloud.udns.models.DescribeUDNSDomainResponse;
+import cn.ucloud.udns.models.DescribeUDNSRecordRequest;
+import cn.ucloud.udns.models.DescribeUDNSRecordResponse;
+import cn.ucloud.udns.models.DescribeUDNSZoneRequest;
+import cn.ucloud.udns.models.DescribeUDNSZoneResponse;
+import cn.ucloud.udns.models.DisassociateUDNSZoneVPCRequest;
+import cn.ucloud.udns.models.DisassociateUDNSZoneVPCResponse;
+import cn.ucloud.udns.models.ModifyUDNSRecordRequest;
+import cn.ucloud.udns.models.ModifyUDNSRecordResponse;
+import cn.ucloud.udns.models.ModifyUDNSZoneRequest;
+import cn.ucloud.udns.models.ModifyUDNSZoneResponse;
+
+/** This client is used to call actions of **UDNS** service */
+public interface UDNSClientInterface extends Client {
+
+ /**
+ * AssociateUDNSZoneVPC - 绑定域名与VPC
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public AssociateUDNSZoneVPCResponse associateUDNSZoneVPC(AssociateUDNSZoneVPCRequest request)
+ throws UCloudException;
+
+ /**
+ * CreateUDNSRecord - 创建域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUDNSRecordResponse createUDNSRecord(CreateUDNSRecordRequest request)
+ throws UCloudException;
+
+ /**
+ * CreateUDNSZone - 创建域名
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUDNSZoneResponse createUDNSZone(CreateUDNSZoneRequest request)
+ throws UCloudException;
+
+ /**
+ * DeleteUDNSRecord - 删除域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUDNSRecordResponse deleteUDNSRecord(DeleteUDNSRecordRequest request)
+ throws UCloudException;
+
+ /**
+ * DescribeUDNSDomain - zone下所有域名的rr记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUDNSDomainResponse describeUDNSDomain(DescribeUDNSDomainRequest request)
+ throws UCloudException;
+
+ /**
+ * DescribeUDNSRecord - 获取域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUDNSRecordResponse describeUDNSRecord(DescribeUDNSRecordRequest request)
+ throws UCloudException;
+
+ /**
+ * DescribeUDNSZone - 获取域名信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUDNSZoneResponse describeUDNSZone(DescribeUDNSZoneRequest request)
+ throws UCloudException;
+
+ /**
+ * DisassociateUDNSZoneVPC - 解绑域名和VPC
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DisassociateUDNSZoneVPCResponse disassociateUDNSZoneVPC(
+ DisassociateUDNSZoneVPCRequest request) throws UCloudException;
+
+ /**
+ * ModifyUDNSRecord - 修改域名记录
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUDNSRecordResponse modifyUDNSRecord(ModifyUDNSRecordRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyUDNSZone - 修改域名属性
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUDNSZoneResponse modifyUDNSZone(ModifyUDNSZoneRequest request)
+ throws UCloudException;
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/AssociateUDNSZoneVPCRequest.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/AssociateUDNSZoneVPCRequest.java
new file mode 100644
index 00000000..fb43c48f
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/AssociateUDNSZoneVPCRequest.java
@@ -0,0 +1,89 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.udns.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class AssociateUDNSZoneVPCRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @NotEmpty
+ @UCloudParam("DNSZoneId")
+ private String dnsZoneId;
+
+ /** VPC所属项目ID */
+ @NotEmpty
+ @UCloudParam("VPCProjectId")
+ private String vpcProjectId;
+
+ /** VPC资源ID */
+ @NotEmpty
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDNSZoneId() {
+ return dnsZoneId;
+ }
+
+ public void setDNSZoneId(String dnsZoneId) {
+ this.dnsZoneId = dnsZoneId;
+ }
+
+ public String getVPCProjectId() {
+ return vpcProjectId;
+ }
+
+ public void setVPCProjectId(String vpcProjectId) {
+ this.vpcProjectId = vpcProjectId;
+ }
+
+ public String getVPCId() {
+ return vpcId;
+ }
+
+ public void setVPCId(String vpcId) {
+ this.vpcId = vpcId;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/AssociateUDNSZoneVPCResponse.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/AssociateUDNSZoneVPCResponse.java
new file mode 100644
index 00000000..4d7e5534
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/AssociateUDNSZoneVPCResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.udns.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class AssociateUDNSZoneVPCResponse extends Response {}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSRecordRequest.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSRecordRequest.java
new file mode 100644
index 00000000..37558bef
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSRecordRequest.java
@@ -0,0 +1,141 @@
+/**
+ * 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.udns.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateUDNSRecordRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @NotEmpty
+ @UCloudParam("DNSZoneId")
+ private String dnsZoneId;
+
+ /** 主机记录 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** 记录类型。枚举值,“A”,"CNAME","MX","AAAA","SRV","PTR","TXT"。 */
+ @NotEmpty
+ @UCloudParam("Type")
+ private String type;
+
+ /**
+ * 数值组,支持逗号分割。格式为:Value|权重|IsEnabled,其中权重支持1-10,IsEnabled为枚举值(1为启用,0为禁用)。输入格式示例:192.168.1.1|1|1,192.168.1.2|10|0。
+ */
+ @NotEmpty
+ @UCloudParam("Value")
+ private String value;
+
+ /** 值类型。枚举值,“Normal”,标准;“Multivalue”,多值返回。仅在值为“Multivalue”时,Value的权重生效。 */
+ @NotEmpty
+ @UCloudParam("ValueType")
+ private String valueType;
+
+ /** TTL值,范围为5-600,单位为秒。默认为5 */
+ @UCloudParam("TTL")
+ private Integer ttl;
+
+ /** 记录的备注信息 */
+ @UCloudParam("Remark")
+ private String remark;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDNSZoneId() {
+ return dnsZoneId;
+ }
+
+ public void setDNSZoneId(String dnsZoneId) {
+ this.dnsZoneId = dnsZoneId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getValueType() {
+ return valueType;
+ }
+
+ public void setValueType(String valueType) {
+ this.valueType = valueType;
+ }
+
+ public Integer getTTL() {
+ return ttl;
+ }
+
+ public void setTTL(Integer ttl) {
+ this.ttl = ttl;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSRecordResponse.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSRecordResponse.java
new file mode 100644
index 00000000..087bc8d3
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSRecordResponse.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.udns.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class CreateUDNSRecordResponse extends Response {
+
+ /** 域名记录的资源ID */
+ @SerializedName("DNSRecordId")
+ private String dnsRecordId;
+
+ public String getDNSRecordId() {
+ return dnsRecordId;
+ }
+
+ public void setDNSRecordId(String dnsRecordId) {
+ this.dnsRecordId = dnsRecordId;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSZoneRequest.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSZoneRequest.java
new file mode 100644
index 00000000..ff214538
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSZoneRequest.java
@@ -0,0 +1,148 @@
+/**
+ * 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.udns.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateUDNSZoneRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名字符串 */
+ @NotEmpty
+ @UCloudParam("DNSZoneName")
+ private String dnsZoneName;
+
+ /** 域名类型。枚举值,“private”,内网DNS;“public”,公网DNS,暂只支持private。 */
+ @NotEmpty
+ @UCloudParam("Type")
+ private String type;
+
+ /** 所属业务组名称 */
+ @UCloudParam("Tag")
+ private String tag;
+
+ /** 备注 */
+ @UCloudParam("Remark")
+ private String remark;
+
+ /** 是否支持迭代。枚举值,"enable",支持迭代; "disable",不支持迭代 */
+ @UCloudParam("IsRecursionEnabled")
+ private String isRecursionEnabled;
+
+ /** 购买时长,默认为1 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费; Dynamic, 按需付费,默认为按月付费 */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 代金券ID,默认不使用 */
+ @UCloudParam("CouponId")
+ private String couponId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDNSZoneName() {
+ return dnsZoneName;
+ }
+
+ public void setDNSZoneName(String dnsZoneName) {
+ this.dnsZoneName = dnsZoneName;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getTag() {
+ return tag;
+ }
+
+ public void setTag(String tag) {
+ this.tag = tag;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+
+ public String getIsRecursionEnabled() {
+ return isRecursionEnabled;
+ }
+
+ public void setIsRecursionEnabled(String isRecursionEnabled) {
+ this.isRecursionEnabled = isRecursionEnabled;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public String getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(String couponId) {
+ this.couponId = couponId;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSZoneResponse.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSZoneResponse.java
new file mode 100644
index 00000000..263d2a02
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/CreateUDNSZoneResponse.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.udns.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class CreateUDNSZoneResponse extends Response {
+
+ /** 域名资源ID */
+ @SerializedName("DNSZoneId")
+ private String dnsZoneId;
+
+ public String getDNSZoneId() {
+ return dnsZoneId;
+ }
+
+ public void setDNSZoneId(String dnsZoneId) {
+ this.dnsZoneId = dnsZoneId;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DeleteUDNSRecordRequest.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DeleteUDNSRecordRequest.java
new file mode 100644
index 00000000..ea2931eb
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DeleteUDNSRecordRequest.java
@@ -0,0 +1,77 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.udns.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 DeleteUDNSRecordRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @NotEmpty
+ @UCloudParam("DNSZoneId")
+ private String dnsZoneId;
+
+ /** 域名记录资源ID */
+ @NotEmpty
+ @UCloudParam("RecordIds")
+ private List 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.udns.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteUDNSRecordResponse extends Response {}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DescribeUDNSDomainRequest.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DescribeUDNSDomainRequest.java
new file mode 100644
index 00000000..bfa7cb2f
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DescribeUDNSDomainRequest.java
@@ -0,0 +1,101 @@
+/**
+ * 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.udns.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUDNSDomainRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** zone名称 */
+ @NotEmpty
+ @UCloudParam("DNSZoneName")
+ private String dnsZoneName;
+
+ /** VPI资源ID */
+ @NotEmpty
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ /** 查询数量偏移 */
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ /** 返回数量 */
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDNSZoneName() {
+ return dnsZoneName;
+ }
+
+ public void setDNSZoneName(String dnsZoneName) {
+ this.dnsZoneName = dnsZoneName;
+ }
+
+ public String getVPCId() {
+ return vpcId;
+ }
+
+ public void setVPCId(String vpcId) {
+ this.vpcId = vpcId;
+ }
+
+ 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;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DescribeUDNSDomainResponse.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DescribeUDNSDomainResponse.java
new file mode 100644
index 00000000..4c2fe2f7
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DescribeUDNSDomainResponse.java
@@ -0,0 +1,173 @@
+/**
+ * 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.udns.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class DescribeUDNSDomainResponse extends Response {
+
+ /** 查询记录 */
+ @SerializedName("RecordInfos")
+ private List 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.udns.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 DescribeUDNSRecordRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @NotEmpty
+ @UCloudParam("DNSZoneId")
+ private String dnsZoneId;
+
+ /** 域名记录资源ID */
+ @UCloudParam("RecordIds")
+ private List 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.udns.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class DescribeUDNSRecordResponse extends Response {
+
+ /** 资源数量 */
+ @SerializedName("TotalCount")
+ private Integer totalCount;
+
+ /** 域名记录详细信息 */
+ @SerializedName("RecordInfos")
+ private List 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.udns.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 DescribeUDNSZoneRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @UCloudParam("DNSZoneIds")
+ private List 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.udns.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class DescribeUDNSZoneResponse extends Response {
+
+ /** 符合查询条件的域名数量 */
+ @SerializedName("TotalCount")
+ private Integer totalCount;
+
+ /** 域名资源信息 */
+ @SerializedName("DNSZoneInfos")
+ private List 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.udns.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DisassociateUDNSZoneVPCRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @NotEmpty
+ @UCloudParam("DNSZoneId")
+ private String dnsZoneId;
+
+ /** VPC所属项目ID */
+ @NotEmpty
+ @UCloudParam("VPCProjectId")
+ private String vpcProjectId;
+
+ /** VPC资源ID */
+ @NotEmpty
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDNSZoneId() {
+ return dnsZoneId;
+ }
+
+ public void setDNSZoneId(String dnsZoneId) {
+ this.dnsZoneId = dnsZoneId;
+ }
+
+ public String getVPCProjectId() {
+ return vpcProjectId;
+ }
+
+ public void setVPCProjectId(String vpcProjectId) {
+ this.vpcProjectId = vpcProjectId;
+ }
+
+ public String getVPCId() {
+ return vpcId;
+ }
+
+ public void setVPCId(String vpcId) {
+ this.vpcId = vpcId;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DisassociateUDNSZoneVPCResponse.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DisassociateUDNSZoneVPCResponse.java
new file mode 100644
index 00000000..c81780ce
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/DisassociateUDNSZoneVPCResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.udns.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DisassociateUDNSZoneVPCResponse extends Response {}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSRecordRequest.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSRecordRequest.java
new file mode 100644
index 00000000..e129f7d4
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSRecordRequest.java
@@ -0,0 +1,126 @@
+/**
+ * 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.udns.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ModifyUDNSRecordRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @NotEmpty
+ @UCloudParam("DNSZoneId")
+ private String dnsZoneId;
+
+ /** 域名记录资源ID */
+ @NotEmpty
+ @UCloudParam("RecordId")
+ private String recordId;
+
+ /**
+ * 数值组,支持逗号分割。格式为:Value|权重|Enable,其中权重支持1-10,Enable为枚举值(1为启用,0为禁用)。输入格式示例:192.168.1.1|1|1,192.168.1.2|10|0。
+ */
+ @UCloudParam("Value")
+ private String value;
+
+ /** 值类型。枚举值,“Normal”,标准;“Multivalue”,多值返回。仅在值为“Multivalue”时,Value的权重生效。 */
+ @UCloudParam("ValueType")
+ private String valueType;
+
+ /** TTL值,单位为秒 */
+ @UCloudParam("TTL")
+ private Integer ttl;
+
+ /** 记录的备注信息 */
+ @UCloudParam("Remark")
+ private String remark;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDNSZoneId() {
+ return dnsZoneId;
+ }
+
+ public void setDNSZoneId(String dnsZoneId) {
+ this.dnsZoneId = dnsZoneId;
+ }
+
+ public String getRecordId() {
+ return recordId;
+ }
+
+ public void setRecordId(String recordId) {
+ this.recordId = recordId;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getValueType() {
+ return valueType;
+ }
+
+ public void setValueType(String valueType) {
+ this.valueType = valueType;
+ }
+
+ public Integer getTTL() {
+ return ttl;
+ }
+
+ public void setTTL(Integer ttl) {
+ this.ttl = ttl;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSRecordResponse.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSRecordResponse.java
new file mode 100644
index 00000000..49b9695e
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSRecordResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.udns.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class ModifyUDNSRecordResponse extends Response {}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSZoneRequest.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSZoneRequest.java
new file mode 100644
index 00000000..48e75198
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSZoneRequest.java
@@ -0,0 +1,87 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.udns.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ModifyUDNSZoneRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 域名资源ID */
+ @NotEmpty
+ @UCloudParam("DNSZoneId")
+ private String dnsZoneId;
+
+ /** 备注 */
+ @UCloudParam("Remark")
+ private String remark;
+
+ /** 是否支持迭代。枚举值,"enable",支持迭代; "disable",不支持迭代 */
+ @UCloudParam("IsRecursionEnabled")
+ private String isRecursionEnabled;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDNSZoneId() {
+ return dnsZoneId;
+ }
+
+ public void setDNSZoneId(String dnsZoneId) {
+ this.dnsZoneId = dnsZoneId;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+
+ public String getIsRecursionEnabled() {
+ return isRecursionEnabled;
+ }
+
+ public void setIsRecursionEnabled(String isRecursionEnabled) {
+ this.isRecursionEnabled = isRecursionEnabled;
+ }
+}
diff --git a/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSZoneResponse.java b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSZoneResponse.java
new file mode 100644
index 00000000..db83cad7
--- /dev/null
+++ b/ucloud-sdk-java-udns/src/main/java/cn/ucloud/udns/models/ModifyUDNSZoneResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.udns.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class ModifyUDNSZoneResponse extends Response {}
diff --git a/ucloud-sdk-java-udpn/pom.xml b/ucloud-sdk-java-udpn/pom.xml
index a7eddfa0..42edce25 100644
--- a/ucloud-sdk-java-udpn/pom.xml
+++ b/ucloud-sdk-java-udpn/pom.xml
@@ -6,18 +6,18 @@
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.umongodb.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class BackupUMongoDBLogRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 日志包名称 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** 集群id */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ /** 节点id, 慢日志 mongos 节点不可选 */
+ @NotEmpty
+ @UCloudParam("NodeId")
+ private String nodeId;
+
+ /** 日志开始时间,最早为7x24小时前 */
+ @NotEmpty
+ @UCloudParam("Begin")
+ private Integer begin;
+
+ /** 日志结束时间,时间区间不能超过24小时 */
+ @NotEmpty
+ @UCloudParam("End")
+ private Integer end;
+
+ /** 日志类型:SlowLog,ErrorLog */
+ @NotEmpty
+ @UCloudParam("LogType")
+ private String logType;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public String getNodeId() {
+ return nodeId;
+ }
+
+ public void setNodeId(String nodeId) {
+ this.nodeId = nodeId;
+ }
+
+ public Integer getBegin() {
+ return begin;
+ }
+
+ public void setBegin(Integer begin) {
+ this.begin = begin;
+ }
+
+ public Integer getEnd() {
+ return end;
+ }
+
+ public void setEnd(Integer end) {
+ this.end = end;
+ }
+
+ public String getLogType() {
+ return logType;
+ }
+
+ public void setLogType(String logType) {
+ this.logType = logType;
+ }
+}
diff --git a/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/BackupUMongoDBLogResponse.java b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/BackupUMongoDBLogResponse.java
new file mode 100644
index 00000000..77309fd5
--- /dev/null
+++ b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/BackupUMongoDBLogResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.umongodb.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class BackupUMongoDBLogResponse extends Response {}
diff --git a/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBBackupResponse.java b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBBackupResponse.java
index a73d76b0..26bebd19 100644
--- a/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBBackupResponse.java
+++ b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBBackupResponse.java
@@ -79,6 +79,10 @@ public static class BackupInfo extends Response {
@SerializedName("BatchId")
private String batchId;
+ /** 磁盘大小 */
+ @SerializedName("DiskSize")
+ private Integer diskSize;
+
public String getBackupId() {
return backupId;
}
@@ -166,5 +170,13 @@ public String getBatchId() {
public void setBatchId(String batchId) {
this.batchId = batchId;
}
+
+ public Integer getDiskSize() {
+ return diskSize;
+ }
+
+ public void setDiskSize(Integer diskSize) {
+ this.diskSize = diskSize;
+ }
}
}
diff --git a/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBLogPackageRequest.java b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBLogPackageRequest.java
new file mode 100644
index 00000000..e6563bc8
--- /dev/null
+++ b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBLogPackageRequest.java
@@ -0,0 +1,88 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.umongodb.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListUMongoDBLogPackageRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 集群id */
+ @NotEmpty
+ @UCloudParam("ClusterId")
+ private String clusterId;
+
+ /** 节点id */
+ @UCloudParam("NodeId")
+ private String nodeId;
+
+ 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 getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public String getNodeId() {
+ return nodeId;
+ }
+
+ public void setNodeId(String nodeId) {
+ this.nodeId = nodeId;
+ }
+}
diff --git a/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBLogPackageResponse.java b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBLogPackageResponse.java
new file mode 100644
index 00000000..af69d594
--- /dev/null
+++ b/ucloud-sdk-java-umongodb/src/main/java/cn/ucloud/umongodb/models/ListUMongoDBLogPackageResponse.java
@@ -0,0 +1,184 @@
+/**
+ * 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.umongodb.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class ListUMongoDBLogPackageResponse extends Response {
+
+ /** 列表 */
+ @SerializedName("DataSet")
+ private List 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.usms.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetUSMSSendStatisticsRequest extends Request {
+
+ /**
+ * 项目ID,不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 页编号,从0开始 */
+ @NotEmpty
+ @UCloudParam("Page")
+ private Integer page;
+
+ /** 每页记录个数 */
+ @NotEmpty
+ @UCloudParam("NumPerPage")
+ private Integer numPerPage;
+
+ /** 排序字段,如BrevityCode表示按照BrevityCode排列,配合OrderType使用。目前支持SendDate、BrevityCode */
+ @NotEmpty
+ @UCloudParam("OrderBy")
+ private String orderBy;
+
+ /** 排序方式,asc-正序 desc-倒序 */
+ @NotEmpty
+ @UCloudParam("OrderType")
+ private String orderType;
+
+ /** 开始日期,格式为YYYY-MM-DD */
+ @NotEmpty
+ @UCloudParam("StartDate")
+ private String startDate;
+
+ /** 结束日期,格式为YYYY-MM-DD */
+ @NotEmpty
+ @UCloudParam("EndDate")
+ private String endDate;
+
+ /** 国内标记,0-国际短信 1-国内短信 */
+ @NotEmpty
+ @UCloudParam("Domestic")
+ private Integer domestic;
+
+ /** 国际简码,如CN表示中国,当需要查询多个国家时,使用-分割,如CN-ID。 */
+ @UCloudParam("BrevityCode")
+ private String brevityCode;
+
+ /** 短信类型,1-验证码 2-通知类 3-营销类 */
+ @UCloudParam("Purpose")
+ private Integer purpose;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getPage() {
+ return page;
+ }
+
+ public void setPage(Integer page) {
+ this.page = page;
+ }
+
+ public Integer getNumPerPage() {
+ return numPerPage;
+ }
+
+ public void setNumPerPage(Integer numPerPage) {
+ this.numPerPage = numPerPage;
+ }
+
+ public String getOrderBy() {
+ return orderBy;
+ }
+
+ public void setOrderBy(String orderBy) {
+ this.orderBy = orderBy;
+ }
+
+ public String getOrderType() {
+ return orderType;
+ }
+
+ public void setOrderType(String orderType) {
+ this.orderType = orderType;
+ }
+
+ public String getStartDate() {
+ return startDate;
+ }
+
+ public void setStartDate(String startDate) {
+ this.startDate = startDate;
+ }
+
+ public String getEndDate() {
+ return endDate;
+ }
+
+ public void setEndDate(String endDate) {
+ this.endDate = endDate;
+ }
+
+ public Integer getDomestic() {
+ return domestic;
+ }
+
+ public void setDomestic(Integer domestic) {
+ this.domestic = domestic;
+ }
+
+ public String getBrevityCode() {
+ return brevityCode;
+ }
+
+ public void setBrevityCode(String brevityCode) {
+ this.brevityCode = brevityCode;
+ }
+
+ public Integer getPurpose() {
+ return purpose;
+ }
+
+ public void setPurpose(Integer purpose) {
+ this.purpose = purpose;
+ }
+}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSendStatisticsResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSendStatisticsResponse.java
new file mode 100644
index 00000000..b4f304cb
--- /dev/null
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSendStatisticsResponse.java
@@ -0,0 +1,353 @@
+/**
+ * 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.usms.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUSMSSendStatisticsResponse extends Response {
+
+ /** 返回记录数 */
+ @SerializedName("Total")
+ private Integer total;
+
+ /** 符合查询条件的发送数据统计求和集,具体字段信息见StatisticsData模型 */
+ @SerializedName("StatisticsData")
+ private StatisticsData statisticsData;
+
+ /** 以天为统计维度的发送数据统计集合,每天的统计数据字段详见StatisticsDataInfo模型 */
+ @SerializedName("Data")
+ private List