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 AddUSMSSignatureQualificationRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** 资质名称 */ + @NotEmpty + @UCloudParam("Name") + private String name; + + /** 资质属性,0-自用 1-他用 */ + @NotEmpty + @UCloudParam("Attr") + private Integer attr; + + /** 状态:0-草稿,1-提交审核 */ + @NotEmpty + @UCloudParam("Status") + private Integer status; + + /** 公司名称,长度限制100 */ + @UCloudParam("CompanyName") + private String companyName; + + /** 公司统一社会信用代码 */ + @UCloudParam("CompanyCreditCode") + private String companyCreditCode; + + /** 公司证件文件FileId */ + @UCloudParam("CompanyCertificateFileId") + private String companyCertificateFileId; + + /** 公司工作现场照片FileId */ + @UCloudParam("CompanyWorkScenePhotosFileId") + private String companyWorkScenePhotosFileId; + + /** 经办人姓名 */ + @UCloudParam("HandlerName") + private String handlerName; + + /** 经办人身份证号码 */ + @UCloudParam("HandlerIDNumber") + private String handlerIDNumber; + + /** 经办人身份证人像面图片FileId */ + @UCloudParam("HandlerIDCardFrontImageFileId") + private String handlerIDCardFrontImageFileId; + + /** 经办人身份证国徽面图片FileId */ + @UCloudParam("HandlerIDCardBackImageFileId") + private String handlerIDCardBackImageFileId; + + /** 经办人手持身份证图片FileId */ + @UCloudParam("HandlerHandHeldImageFileId") + private String handlerHandHeldImageFileId; + + /** 法人姓名 */ + @UCloudParam("ManagerName") + private String managerName; + + /** 法人身份证号码 */ + @UCloudParam("ManagerIDNumber") + private String managerIDNumber; + + 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 getAttr() { + return attr; + } + + public void setAttr(Integer attr) { + this.attr = attr; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getCompanyName() { + return companyName; + } + + public void setCompanyName(String companyName) { + this.companyName = companyName; + } + + public String getCompanyCreditCode() { + return companyCreditCode; + } + + public void setCompanyCreditCode(String companyCreditCode) { + this.companyCreditCode = companyCreditCode; + } + + public String getCompanyCertificateFileId() { + return companyCertificateFileId; + } + + public void setCompanyCertificateFileId(String companyCertificateFileId) { + this.companyCertificateFileId = companyCertificateFileId; + } + + public String getCompanyWorkScenePhotosFileId() { + return companyWorkScenePhotosFileId; + } + + public void setCompanyWorkScenePhotosFileId(String companyWorkScenePhotosFileId) { + this.companyWorkScenePhotosFileId = companyWorkScenePhotosFileId; + } + + public String getHandlerName() { + return handlerName; + } + + public void setHandlerName(String handlerName) { + this.handlerName = handlerName; + } + + public String getHandlerIDNumber() { + return handlerIDNumber; + } + + public void setHandlerIDNumber(String handlerIDNumber) { + this.handlerIDNumber = handlerIDNumber; + } + + public String getHandlerIDCardFrontImageFileId() { + return handlerIDCardFrontImageFileId; + } + + public void setHandlerIDCardFrontImageFileId(String handlerIDCardFrontImageFileId) { + this.handlerIDCardFrontImageFileId = handlerIDCardFrontImageFileId; + } + + public String getHandlerIDCardBackImageFileId() { + return handlerIDCardBackImageFileId; + } + + public void setHandlerIDCardBackImageFileId(String handlerIDCardBackImageFileId) { + this.handlerIDCardBackImageFileId = handlerIDCardBackImageFileId; + } + + public String getHandlerHandHeldImageFileId() { + return handlerHandHeldImageFileId; + } + + public void setHandlerHandHeldImageFileId(String handlerHandHeldImageFileId) { + this.handlerHandHeldImageFileId = handlerHandHeldImageFileId; + } + + public String getManagerName() { + return managerName; + } + + public void setManagerName(String managerName) { + this.managerName = managerName; + } + + public String getManagerIDNumber() { + return managerIDNumber; + } + + public void setManagerIDNumber(String managerIDNumber) { + this.managerIDNumber = managerIDNumber; + } +} diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/AddUSMSSignatureQualificationResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/AddUSMSSignatureQualificationResponse.java new file mode 100644 index 00000000..efd8c4e8 --- /dev/null +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/AddUSMSSignatureQualificationResponse.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.usms.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class AddUSMSSignatureQualificationResponse extends Response { + + /** 资质Id */ + @SerializedName("QualificationId") + private String qualificationId; + + public String getQualificationId() { + return qualificationId; + } + + public void setQualificationId(String qualificationId) { + this.qualificationId = qualificationId; + } +} diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/CreateUSMSSignatureRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/CreateUSMSSignatureRequest.java index a3b27480..fefd78d8 100644 --- a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/CreateUSMSSignatureRequest.java +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/CreateUSMSSignatureRequest.java @@ -76,6 +76,10 @@ public class CreateUSMSSignatureRequest extends Request { @UCloudParam("QualificationId") private String qualificationId; + /** 短信签名对应的场景说明 */ + @UCloudParam("SceneDesc") + private String sceneDesc; + public String getProjectId() { return projectId; } @@ -155,4 +159,12 @@ public String getQualificationId() { public void setQualificationId(String qualificationId) { this.qualificationId = qualificationId; } + + public String getSceneDesc() { + return sceneDesc; + } + + public void setSceneDesc(String sceneDesc) { + this.sceneDesc = sceneDesc; + } } diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/DeleteUSMSSignatureQualificationRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/DeleteUSMSSignatureQualificationRequest.java new file mode 100644 index 00000000..e1d16946 --- /dev/null +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/DeleteUSMSSignatureQualificationRequest.java @@ -0,0 +1,52 @@ +/** + * 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.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class DeleteUSMSSignatureQualificationRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 签名资质Id,支持以数组的方式,举例,以QualificationIds.0、QualificationIds.1...QualificationIds.N方式传入 */
+ @NotEmpty
+ @UCloudParam("QualificationIds")
+ 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.response.Response;
+
+public class DeleteUSMSSignatureQualificationResponse extends Response {}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSignatureQualificationRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSignatureQualificationRequest.java
new file mode 100644
index 00000000..f3f16753
--- /dev/null
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSignatureQualificationRequest.java
@@ -0,0 +1,127 @@
+/**
+ * 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.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class GetUSMSSignatureQualificationRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 页索引 */
+ @NotEmpty
+ @UCloudParam("Page")
+ private Integer page;
+
+ /** 每页个数 */
+ @NotEmpty
+ @UCloudParam("NumPerPage")
+ private Integer numPerPage;
+
+ /** 排序字段,QualificationId/CreateTime */
+ @NotEmpty
+ @UCloudParam("OrderBy")
+ private String orderBy;
+
+ /** 排序类型: desc、asc */
+ @NotEmpty
+ @UCloudParam("OrderType")
+ private String orderType;
+
+ /** 签名资质属性: 0-自用,1-他用 */
+ @UCloudParam("QualificationAttr")
+ private Integer qualificationAttr;
+
+ /** 签名资质状态: 0-草稿 1-审核中 2-审核通过 3-审核未通过 4-人工禁用 */
+ @UCloudParam("Status")
+ private Integer status;
+
+ /** 项目ID列表 */
+ @UCloudParam("InAccountIds")
+ 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.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class GetUSMSSignatureQualificationResponse extends Response {
+
+ /** 签名资质总个数 */
+ @SerializedName("Total")
+ private Integer total;
+
+ /** 签名资质结果集合 */
+ @SerializedName("Data")
+ 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 QueryUSMSSignatureQualificationRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 签名资质Id */
+ @NotEmpty
+ @UCloudParam("QualificationId")
+ private String qualificationId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getQualificationId() {
+ return qualificationId;
+ }
+
+ public void setQualificationId(String qualificationId) {
+ this.qualificationId = qualificationId;
+ }
+}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/QueryUSMSSignatureQualificationResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/QueryUSMSSignatureQualificationResponse.java
new file mode 100644
index 00000000..ac7f1128
--- /dev/null
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/QueryUSMSSignatureQualificationResponse.java
@@ -0,0 +1,301 @@
+/**
+ * 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;
+
+public class QueryUSMSSignatureQualificationResponse extends Response {
+
+ /** 签名资质详细信息 */
+ @SerializedName("Data")
+ private OutSignatureQualificationDetail data;
+
+ public OutSignatureQualificationDetail getData() {
+ return data;
+ }
+
+ public void setData(OutSignatureQualificationDetail data) {
+ this.data = data;
+ }
+
+ public static class OutSignatureQualificationDetail extends Response {
+
+ /** 资质Id */
+ @SerializedName("QualificationId")
+ private String qualificationId;
+
+ /** 资质名称 */
+ @SerializedName("Name")
+ private String name;
+
+ /** 资质属性:0-自用,1-他用 */
+ @SerializedName("Attr")
+ private Integer attr;
+
+ /** 公司名称 */
+ @SerializedName("CompanyName")
+ private String companyName;
+
+ /** 统一社会信用代码 */
+ @SerializedName("CompanyCreditCode")
+ private String companyCreditCode;
+
+ /** 公司证件文件链接 */
+ @SerializedName("CompanyCertificateFile")
+ private String companyCertificateFile;
+
+ /** 负责人姓名 */
+ @SerializedName("ManagerName")
+ private String managerName;
+
+ /** 负责人证件号码 */
+ @SerializedName("ManagerIDNumber")
+ private String managerIDNumber;
+
+ /** 经办人姓名 */
+ @SerializedName("HandlerName")
+ private String handlerName;
+
+ /** 经办人证件号码 */
+ @SerializedName("HandlerIDNumber")
+ private String handlerIDNumber;
+
+ /** 经办人身份证人像面图片链接 */
+ @SerializedName("HandlerIDCardFrontImage")
+ private String handlerIDCardFrontImage;
+
+ /** 经办人身份证国徽面图片链接 */
+ @SerializedName("HandlerIDCardBackImage")
+ private String handlerIDCardBackImage;
+
+ /** 经办人手持身份证图片链接 */
+ @SerializedName("HandlerHandHeldImage")
+ private String handlerHandHeldImage;
+
+ /** 工作现场照片链接 */
+ @SerializedName("CompanyWorkScenePhotos")
+ private String companyWorkScenePhotos;
+
+ /** 授权委托书文件链接 */
+ @SerializedName("PowerOfAttorney")
+ private String powerOfAttorney;
+
+ /** 状态:0-草稿 1-审核中 2-审核通过 3-审核未通过 4-人工禁用 */
+ @SerializedName("Status")
+ private Integer status;
+
+ /** 审核未通过错误码 */
+ @SerializedName("ErrCode")
+ private Integer errCode;
+
+ /** 审核未通过错误原因 */
+ @SerializedName("ErrDesc")
+ private String errDesc;
+
+ /** 创建时间戳 */
+ @SerializedName("CreateTime")
+ private Integer createTime;
+
+ /** 修改时间戳 */
+ @SerializedName("ModifyTime")
+ private Integer modifyTime;
+
+ /** 审核开始时间戳 */
+ @SerializedName("ReviewStartTime")
+ private Integer reviewStartTime;
+
+ /** 审核完成时间戳 */
+ @SerializedName("ReviewEndTime")
+ private Integer reviewEndTime;
+
+ public String getQualificationId() {
+ return qualificationId;
+ }
+
+ public void setQualificationId(String qualificationId) {
+ this.qualificationId = qualificationId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getAttr() {
+ return attr;
+ }
+
+ public void setAttr(Integer attr) {
+ this.attr = attr;
+ }
+
+ public String getCompanyName() {
+ return companyName;
+ }
+
+ public void setCompanyName(String companyName) {
+ this.companyName = companyName;
+ }
+
+ public String getCompanyCreditCode() {
+ return companyCreditCode;
+ }
+
+ public void setCompanyCreditCode(String companyCreditCode) {
+ this.companyCreditCode = companyCreditCode;
+ }
+
+ public String getCompanyCertificateFile() {
+ return companyCertificateFile;
+ }
+
+ public void setCompanyCertificateFile(String companyCertificateFile) {
+ this.companyCertificateFile = companyCertificateFile;
+ }
+
+ public String getManagerName() {
+ return managerName;
+ }
+
+ public void setManagerName(String managerName) {
+ this.managerName = managerName;
+ }
+
+ public String getManagerIDNumber() {
+ return managerIDNumber;
+ }
+
+ public void setManagerIDNumber(String managerIDNumber) {
+ this.managerIDNumber = managerIDNumber;
+ }
+
+ public String getHandlerName() {
+ return handlerName;
+ }
+
+ public void setHandlerName(String handlerName) {
+ this.handlerName = handlerName;
+ }
+
+ public String getHandlerIDNumber() {
+ return handlerIDNumber;
+ }
+
+ public void setHandlerIDNumber(String handlerIDNumber) {
+ this.handlerIDNumber = handlerIDNumber;
+ }
+
+ public String getHandlerIDCardFrontImage() {
+ return handlerIDCardFrontImage;
+ }
+
+ public void setHandlerIDCardFrontImage(String handlerIDCardFrontImage) {
+ this.handlerIDCardFrontImage = handlerIDCardFrontImage;
+ }
+
+ public String getHandlerIDCardBackImage() {
+ return handlerIDCardBackImage;
+ }
+
+ public void setHandlerIDCardBackImage(String handlerIDCardBackImage) {
+ this.handlerIDCardBackImage = handlerIDCardBackImage;
+ }
+
+ public String getHandlerHandHeldImage() {
+ return handlerHandHeldImage;
+ }
+
+ public void setHandlerHandHeldImage(String handlerHandHeldImage) {
+ this.handlerHandHeldImage = handlerHandHeldImage;
+ }
+
+ public String getCompanyWorkScenePhotos() {
+ return companyWorkScenePhotos;
+ }
+
+ public void setCompanyWorkScenePhotos(String companyWorkScenePhotos) {
+ this.companyWorkScenePhotos = companyWorkScenePhotos;
+ }
+
+ public String getPowerOfAttorney() {
+ return powerOfAttorney;
+ }
+
+ public void setPowerOfAttorney(String powerOfAttorney) {
+ this.powerOfAttorney = powerOfAttorney;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public Integer getErrCode() {
+ return errCode;
+ }
+
+ public void setErrCode(Integer errCode) {
+ this.errCode = errCode;
+ }
+
+ public String getErrDesc() {
+ return errDesc;
+ }
+
+ public void setErrDesc(String errDesc) {
+ this.errDesc = errDesc;
+ }
+
+ public Integer getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Integer createTime) {
+ this.createTime = createTime;
+ }
+
+ public Integer getModifyTime() {
+ return modifyTime;
+ }
+
+ public void setModifyTime(Integer modifyTime) {
+ this.modifyTime = modifyTime;
+ }
+
+ public Integer getReviewStartTime() {
+ return reviewStartTime;
+ }
+
+ public void setReviewStartTime(Integer reviewStartTime) {
+ this.reviewStartTime = reviewStartTime;
+ }
+
+ public Integer getReviewEndTime() {
+ return reviewEndTime;
+ }
+
+ public void setReviewEndTime(Integer reviewEndTime) {
+ this.reviewEndTime = reviewEndTime;
+ }
+ }
+}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureQualificationRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureQualificationRequest.java
new file mode 100644
index 00000000..61e477b2
--- /dev/null
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureQualificationRequest.java
@@ -0,0 +1,220 @@
+/**
+ * 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.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UpdateUSMSSignatureQualificationRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 资质Id */
+ @NotEmpty
+ @UCloudParam("QualificationId")
+ private String qualificationId;
+
+ /** 状态:0-草稿,1-提交审核 */
+ @NotEmpty
+ @UCloudParam("Status")
+ private Integer status;
+
+ /** 资质名称 */
+ @UCloudParam("Name")
+ private String name;
+
+ /** 资质属性,0-自用 1-他用 */
+ @UCloudParam("Attr")
+ private Integer attr;
+
+ /** 公司名称,长度限制100 */
+ @UCloudParam("CompanyName")
+ private String companyName;
+
+ /** 公司统一社会信用代码 */
+ @UCloudParam("CompanyCreditCode")
+ private String companyCreditCode;
+
+ /** 公司证件文件FileId */
+ @UCloudParam("CompanyCertificateFileId")
+ private String companyCertificateFileId;
+
+ /** 公司工作现场照片FileId */
+ @UCloudParam("CompanyWorkScenePhotosFileId")
+ private String companyWorkScenePhotosFileId;
+
+ /** 经办人姓名 */
+ @UCloudParam("HandlerName")
+ private String handlerName;
+
+ /** 经办人身份证号码 */
+ @UCloudParam("HandlerIDNumber")
+ private String handlerIDNumber;
+
+ /** 经办人身份证人像面图片FileId */
+ @UCloudParam("HandlerIDCardFrontImageFileId")
+ private String handlerIDCardFrontImageFileId;
+
+ /** 经办人身份证国徽面图片FileId */
+ @UCloudParam("HandlerIDCardBackImageFileId")
+ private String handlerIDCardBackImageFileId;
+
+ /** 经办人手持身份证图片FileId */
+ @UCloudParam("HandlerHandHeldImageFileId")
+ private String handlerHandHeldImageFileId;
+
+ /** 法人姓名 */
+ @UCloudParam("ManagerName")
+ private String managerName;
+
+ /** 法人身份证号码 */
+ @UCloudParam("ManagerIDNumber")
+ private String managerIDNumber;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getQualificationId() {
+ return qualificationId;
+ }
+
+ public void setQualificationId(String qualificationId) {
+ this.qualificationId = qualificationId;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getAttr() {
+ return attr;
+ }
+
+ public void setAttr(Integer attr) {
+ this.attr = attr;
+ }
+
+ public String getCompanyName() {
+ return companyName;
+ }
+
+ public void setCompanyName(String companyName) {
+ this.companyName = companyName;
+ }
+
+ public String getCompanyCreditCode() {
+ return companyCreditCode;
+ }
+
+ public void setCompanyCreditCode(String companyCreditCode) {
+ this.companyCreditCode = companyCreditCode;
+ }
+
+ public String getCompanyCertificateFileId() {
+ return companyCertificateFileId;
+ }
+
+ public void setCompanyCertificateFileId(String companyCertificateFileId) {
+ this.companyCertificateFileId = companyCertificateFileId;
+ }
+
+ public String getCompanyWorkScenePhotosFileId() {
+ return companyWorkScenePhotosFileId;
+ }
+
+ public void setCompanyWorkScenePhotosFileId(String companyWorkScenePhotosFileId) {
+ this.companyWorkScenePhotosFileId = companyWorkScenePhotosFileId;
+ }
+
+ public String getHandlerName() {
+ return handlerName;
+ }
+
+ public void setHandlerName(String handlerName) {
+ this.handlerName = handlerName;
+ }
+
+ public String getHandlerIDNumber() {
+ return handlerIDNumber;
+ }
+
+ public void setHandlerIDNumber(String handlerIDNumber) {
+ this.handlerIDNumber = handlerIDNumber;
+ }
+
+ public String getHandlerIDCardFrontImageFileId() {
+ return handlerIDCardFrontImageFileId;
+ }
+
+ public void setHandlerIDCardFrontImageFileId(String handlerIDCardFrontImageFileId) {
+ this.handlerIDCardFrontImageFileId = handlerIDCardFrontImageFileId;
+ }
+
+ public String getHandlerIDCardBackImageFileId() {
+ return handlerIDCardBackImageFileId;
+ }
+
+ public void setHandlerIDCardBackImageFileId(String handlerIDCardBackImageFileId) {
+ this.handlerIDCardBackImageFileId = handlerIDCardBackImageFileId;
+ }
+
+ public String getHandlerHandHeldImageFileId() {
+ return handlerHandHeldImageFileId;
+ }
+
+ public void setHandlerHandHeldImageFileId(String handlerHandHeldImageFileId) {
+ this.handlerHandHeldImageFileId = handlerHandHeldImageFileId;
+ }
+
+ public String getManagerName() {
+ return managerName;
+ }
+
+ public void setManagerName(String managerName) {
+ this.managerName = managerName;
+ }
+
+ public String getManagerIDNumber() {
+ return managerIDNumber;
+ }
+
+ public void setManagerIDNumber(String managerIDNumber) {
+ this.managerIDNumber = managerIDNumber;
+ }
+}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureQualificationResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureQualificationResponse.java
new file mode 100644
index 00000000..36b645c1
--- /dev/null
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureQualificationResponse.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.usms.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class UpdateUSMSSignatureQualificationResponse extends Response {
+
+ /** 资质Id */
+ @SerializedName("QualificationId")
+ private String qualificationId;
+
+ public String getQualificationId() {
+ return qualificationId;
+ }
+
+ public void setQualificationId(String qualificationId) {
+ this.qualificationId = qualificationId;
+ }
+}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureRequest.java
index a7ffb18b..2acc1375 100644
--- a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureRequest.java
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UpdateUSMSSignatureRequest.java
@@ -78,6 +78,10 @@ public class UpdateUSMSSignatureRequest extends Request {
@UCloudParam("ProxyDoc")
private String proxyDoc;
+ /** 短信签名对应的场景说明 */
+ @UCloudParam("SceneDesc")
+ private String sceneDesc;
+
public String getProjectId() {
return projectId;
}
@@ -157,4 +161,12 @@ public String getProxyDoc() {
public void setProxyDoc(String proxyDoc) {
this.proxyDoc = proxyDoc;
}
+
+ public String getSceneDesc() {
+ return sceneDesc;
+ }
+
+ public void setSceneDesc(String sceneDesc) {
+ this.sceneDesc = sceneDesc;
+ }
}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UploadUSMSFileRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UploadUSMSFileRequest.java
new file mode 100644
index 00000000..2244eab2
--- /dev/null
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UploadUSMSFileRequest.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.usms.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UploadUSMSFileRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 文件名称,携带文件后缀 */
+ @NotEmpty
+ @UCloudParam("FileName")
+ private String fileName;
+
+ /** 文件内容,base64编码 */
+ @NotEmpty
+ @UCloudParam("FileContent")
+ private String fileContent;
+
+ /** 文件来源,0-签名资质 */
+ @NotEmpty
+ @UCloudParam("Source")
+ private Integer source;
+
+ /** 文件类型,mime格式 */
+ @UCloudParam("FileType")
+ private String fileType;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getFileName() {
+ return fileName;
+ }
+
+ public void setFileName(String fileName) {
+ this.fileName = fileName;
+ }
+
+ public String getFileContent() {
+ return fileContent;
+ }
+
+ public void setFileContent(String fileContent) {
+ this.fileContent = fileContent;
+ }
+
+ public Integer getSource() {
+ return source;
+ }
+
+ public void setSource(Integer source) {
+ this.source = source;
+ }
+
+ public String getFileType() {
+ return fileType;
+ }
+
+ public void setFileType(String fileType) {
+ this.fileType = fileType;
+ }
+}
diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UploadUSMSFileResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UploadUSMSFileResponse.java
new file mode 100644
index 00000000..7e75fcf1
--- /dev/null
+++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/UploadUSMSFileResponse.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.usms.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class UploadUSMSFileResponse extends Response {
+
+ /** 文件FileId */
+ @SerializedName("FileId")
+ private String fileId;
+
+ public String getFileId() {
+ return fileId;
+ }
+
+ public void setFileId(String fileId) {
+ this.fileId = fileId;
+ }
+}
diff --git a/ucloud-sdk-java-usnap/pom.xml b/ucloud-sdk-java-usnap/pom.xml
index 84c372a3..4c75bf11 100644
--- a/ucloud-sdk-java-usnap/pom.xml
+++ b/ucloud-sdk-java-usnap/pom.xml
@@ -6,18 +6,18 @@