diff --git a/VERSION b/VERSION index 9020c41c..46fb5eb4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.39-release +1.2.40-release diff --git a/examples/generic/pom.xml b/examples/generic/pom.xml index 8e0e5d0c..51f3cc16 100644 --- a/examples/generic/pom.xml +++ b/examples/generic/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 @@ -18,7 +18,7 @@ cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/examples/uhost/pom.xml b/examples/uhost/pom.xml index 87330e45..2ff1abcf 100644 --- a/examples/uhost/pom.xml +++ b/examples/uhost/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 @@ -18,7 +18,7 @@ cn.ucloud ucloud-sdk-java-uhost - 1.2.39-release + 1.2.40-release diff --git a/pom.xml b/pom.xml index 777749ab..a3707a4c 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ cn.ucloud ucloud-sdk-java pom - 1.2.39-release + 1.2.40-release ucloud-sdk-java-common ucloud-sdk-java-cloudwatch diff --git a/ucloud-sdk-java-cloudwatch/pom.xml b/ucloud-sdk-java-cloudwatch/pom.xml index f79c8ee7..6f345ae7 100644 --- a/ucloud-sdk-java-cloudwatch/pom.xml +++ b/ucloud-sdk-java-cloudwatch/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-cloudwatch - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-common/pom.xml b/ucloud-sdk-java-common/pom.xml index 65b9a452..9e4c51c6 100644 --- a/ucloud-sdk-java-common/pom.xml +++ b/ucloud-sdk-java-common/pom.xml @@ -7,12 +7,12 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-cube/pom.xml b/ucloud-sdk-java-cube/pom.xml index ee251045..bb86497c 100644 --- a/ucloud-sdk-java-cube/pom.xml +++ b/ucloud-sdk-java-cube/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-cube - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ipsecvpn/pom.xml b/ucloud-sdk-java-ipsecvpn/pom.xml index 4012d4a7..3de1ce7a 100644 --- a/ucloud-sdk-java-ipsecvpn/pom.xml +++ b/ucloud-sdk-java-ipsecvpn/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ipsecvpn - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-label/pom.xml b/ucloud-sdk-java-label/pom.xml index 964f6192..e559289c 100644 --- a/ucloud-sdk-java-label/pom.xml +++ b/ucloud-sdk-java-label/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-label - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-nlb/pom.xml b/ucloud-sdk-java-nlb/pom.xml index 67eaffcc..61e77fbf 100644 --- a/ucloud-sdk-java-nlb/pom.xml +++ b/ucloud-sdk-java-nlb/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-nlb - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-pathx/pom.xml b/ucloud-sdk-java-pathx/pom.xml index a8ab9e55..ee51f877 100644 --- a/ucloud-sdk-java-pathx/pom.xml +++ b/ucloud-sdk-java-pathx/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-pathx - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-sts/pom.xml b/ucloud-sdk-java-sts/pom.xml index 800a1866..7c33f978 100644 --- a/ucloud-sdk-java-sts/pom.xml +++ b/ucloud-sdk-java-sts/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-sts - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uaccount/pom.xml b/ucloud-sdk-java-uaccount/pom.xml index 9e2aa410..73899682 100644 --- a/ucloud-sdk-java-uaccount/pom.xml +++ b/ucloud-sdk-java-uaccount/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uaccount - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uai_modelverse/pom.xml b/ucloud-sdk-java-uai_modelverse/pom.xml index 77d97e9e..8617a4d7 100644 --- a/ucloud-sdk-java-uai_modelverse/pom.xml +++ b/ucloud-sdk-java-uai_modelverse/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uai_modelverse - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ubill/pom.xml b/ucloud-sdk-java-ubill/pom.xml index 620b5076..d954922e 100644 --- a/ucloud-sdk-java-ubill/pom.xml +++ b/ucloud-sdk-java-ubill/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ubill - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ucdn/pom.xml b/ucloud-sdk-java-ucdn/pom.xml index fe6fe544..fdb6f4f2 100644 --- a/ucloud-sdk-java-ucdn/pom.xml +++ b/ucloud-sdk-java-ucdn/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ucdn - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ucompshare/pom.xml b/ucloud-sdk-java-ucompshare/pom.xml index 11bd9f84..897ccef7 100644 --- a/ucloud-sdk-java-ucompshare/pom.xml +++ b/ucloud-sdk-java-ucompshare/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ucompshare - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-udb/pom.xml b/ucloud-sdk-java-udb/pom.xml index ead2d1dd..a950ad48 100644 --- a/ucloud-sdk-java-udb/pom.xml +++ b/ucloud-sdk-java-udb/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-udb - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-udbproxy/pom.xml b/ucloud-sdk-java-udbproxy/pom.xml index 8b6e8c42..8fbc15ae 100644 --- a/ucloud-sdk-java-udbproxy/pom.xml +++ b/ucloud-sdk-java-udbproxy/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-udbproxy - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-udi/pom.xml b/ucloud-sdk-java-udi/pom.xml index fd7a6f22..1c9af3c1 100644 --- a/ucloud-sdk-java-udi/pom.xml +++ b/ucloud-sdk-java-udi/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-udi - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-udisk/pom.xml b/ucloud-sdk-java-udisk/pom.xml index d6e156a1..22a5bae6 100644 --- a/ucloud-sdk-java-udisk/pom.xml +++ b/ucloud-sdk-java-udisk/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-udisk - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-udns/pom.xml b/ucloud-sdk-java-udns/pom.xml index f273ac71..f2d33472 100644 --- a/ucloud-sdk-java-udns/pom.xml +++ b/ucloud-sdk-java-udns/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-udns - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-udpn/pom.xml b/ucloud-sdk-java-udpn/pom.xml index de27a40a..a590c9e7 100644 --- a/ucloud-sdk-java-udpn/pom.xml +++ b/ucloud-sdk-java-udpn/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-udpn - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uec/pom.xml b/ucloud-sdk-java-uec/pom.xml index 43c19416..7bc16fbf 100644 --- a/ucloud-sdk-java-uec/pom.xml +++ b/ucloud-sdk-java-uec/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uec - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uewaf/pom.xml b/ucloud-sdk-java-uewaf/pom.xml index 03a9621c..db3410c8 100644 --- a/ucloud-sdk-java-uewaf/pom.xml +++ b/ucloud-sdk-java-uewaf/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uewaf - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ufile/pom.xml b/ucloud-sdk-java-ufile/pom.xml index 69e07ac6..bb060bab 100644 --- a/ucloud-sdk-java-ufile/pom.xml +++ b/ucloud-sdk-java-ufile/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ufile - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ufs/pom.xml b/ucloud-sdk-java-ufs/pom.xml index 2b878707..4287a6d4 100644 --- a/ucloud-sdk-java-ufs/pom.xml +++ b/ucloud-sdk-java-ufs/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ufs - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uhost/pom.xml b/ucloud-sdk-java-uhost/pom.xml index 962b45e0..17671e1f 100644 --- a/ucloud-sdk-java-uhost/pom.xml +++ b/ucloud-sdk-java-uhost/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uhost - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uk8s/pom.xml b/ucloud-sdk-java-uk8s/pom.xml index ba4a8b05..9ea42101 100644 --- a/ucloud-sdk-java-uk8s/pom.xml +++ b/ucloud-sdk-java-uk8s/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uk8s - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ulb/pom.xml b/ucloud-sdk-java-ulb/pom.xml index 15eb4894..a2c6f297 100644 --- a/ucloud-sdk-java-ulb/pom.xml +++ b/ucloud-sdk-java-ulb/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ulb - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-ulog/pom.xml b/ucloud-sdk-java-ulog/pom.xml index 4a59417f..037fb66a 100644 --- a/ucloud-sdk-java-ulog/pom.xml +++ b/ucloud-sdk-java-ulog/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-ulog - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-umem/pom.xml b/ucloud-sdk-java-umem/pom.xml index ce0d6fde..5f25c798 100644 --- a/ucloud-sdk-java-umem/pom.xml +++ b/ucloud-sdk-java-umem/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-umem - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-umongodb/pom.xml b/ucloud-sdk-java-umongodb/pom.xml index 9db34f55..02097598 100644 --- a/ucloud-sdk-java-umongodb/pom.xml +++ b/ucloud-sdk-java-umongodb/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-umongodb - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-unet/pom.xml b/ucloud-sdk-java-unet/pom.xml index f183182a..cb7ddb2f 100644 --- a/ucloud-sdk-java-unet/pom.xml +++ b/ucloud-sdk-java-unet/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-unet - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-upgsql/pom.xml b/ucloud-sdk-java-upgsql/pom.xml index a96cc7a6..f149b485 100644 --- a/ucloud-sdk-java-upgsql/pom.xml +++ b/ucloud-sdk-java-upgsql/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-upgsql - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uphone/pom.xml b/ucloud-sdk-java-uphone/pom.xml index 2be7037e..411e8564 100644 --- a/ucloud-sdk-java-uphone/pom.xml +++ b/ucloud-sdk-java-uphone/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uphone - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uphost/pom.xml b/ucloud-sdk-java-uphost/pom.xml index 46a88655..9e1b03c9 100644 --- a/ucloud-sdk-java-uphost/pom.xml +++ b/ucloud-sdk-java-uphost/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uphost - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uslk/pom.xml b/ucloud-sdk-java-uslk/pom.xml index a4956f38..e3f31751 100644 --- a/ucloud-sdk-java-uslk/pom.xml +++ b/ucloud-sdk-java-uslk/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uslk - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-usms/pom.xml b/ucloud-sdk-java-usms/pom.xml index 25fe538b..3570fce0 100644 --- a/ucloud-sdk-java-usms/pom.xml +++ b/ucloud-sdk-java-usms/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-usms - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClient.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClient.java index e3efcbda..fffaee74 100644 --- a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClient.java +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClient.java @@ -19,10 +19,14 @@ import cn.ucloud.common.exception.UCloudException; import cn.ucloud.usms.models.AddBackfillRequest; import cn.ucloud.usms.models.AddBackfillResponse; +import cn.ucloud.usms.models.AddUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.AddUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.CreateUSMSSignatureRequest; import cn.ucloud.usms.models.CreateUSMSSignatureResponse; import cn.ucloud.usms.models.CreateUSMSTemplateRequest; import cn.ucloud.usms.models.CreateUSMSTemplateResponse; +import cn.ucloud.usms.models.DeleteUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.DeleteUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.DeleteUSMSSignatureRequest; import cn.ucloud.usms.models.DeleteUSMSSignatureResponse; import cn.ucloud.usms.models.DeleteUSMSTemplateRequest; @@ -31,6 +35,10 @@ import cn.ucloud.usms.models.GetUSMSSendReceiptResponse; import cn.ucloud.usms.models.GetUSMSSendStatisticsRequest; import cn.ucloud.usms.models.GetUSMSSendStatisticsResponse; +import cn.ucloud.usms.models.GetUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.GetUSMSSignatureQualificationResponse; +import cn.ucloud.usms.models.QueryUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.QueryUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.QueryUSMSSignatureRequest; import cn.ucloud.usms.models.QueryUSMSSignatureResponse; import cn.ucloud.usms.models.QueryUSMSTemplateRequest; @@ -39,10 +47,14 @@ import cn.ucloud.usms.models.SendBatchUSMSMessageResponse; import cn.ucloud.usms.models.SendUSMSMessageRequest; import cn.ucloud.usms.models.SendUSMSMessageResponse; +import cn.ucloud.usms.models.UpdateUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.UpdateUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.UpdateUSMSSignatureRequest; import cn.ucloud.usms.models.UpdateUSMSSignatureResponse; import cn.ucloud.usms.models.UpdateUSMSTemplateRequest; import cn.ucloud.usms.models.UpdateUSMSTemplateResponse; +import cn.ucloud.usms.models.UploadUSMSFileRequest; +import cn.ucloud.usms.models.UploadUSMSFileResponse; /** This client is used to call actions of **USMS** service */ public class USMSClient extends DefaultClient implements USMSClientInterface { @@ -61,6 +73,19 @@ public AddBackfillResponse addBackfill(AddBackfillRequest request) throws UCloud return (AddBackfillResponse) this.invoke(request, AddBackfillResponse.class); } + /** + * AddUSMSSignatureQualification - 添加短信签名资质申请记录 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUSMSSignatureQualificationResponse addUSMSSignatureQualification( + AddUSMSSignatureQualificationRequest request) throws UCloudException { + request.setAction("AddUSMSSignatureQualification"); + return (AddUSMSSignatureQualificationResponse) + this.invoke(request, AddUSMSSignatureQualificationResponse.class); + } + /** * CreateUSMSSignature - 申请短信签名 * @@ -99,6 +124,19 @@ public DeleteUSMSSignatureResponse deleteUSMSSignature(DeleteUSMSSignatureReques this.invoke(request, DeleteUSMSSignatureResponse.class); } + /** + * DeleteUSMSSignatureQualification - 删除短信签名资质申请记录 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteUSMSSignatureQualificationResponse deleteUSMSSignatureQualification( + DeleteUSMSSignatureQualificationRequest request) throws UCloudException { + request.setAction("DeleteUSMSSignatureQualification"); + return (DeleteUSMSSignatureQualificationResponse) + this.invoke(request, DeleteUSMSSignatureQualificationResponse.class); + } + /** * DeleteUSMSTemplate - 删除短信模板 * @@ -136,6 +174,19 @@ public GetUSMSSendStatisticsResponse getUSMSSendStatistics(GetUSMSSendStatistics this.invoke(request, GetUSMSSendStatisticsResponse.class); } + /** + * GetUSMSSignatureQualification - 获取短信签名资质申请记录列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUSMSSignatureQualificationResponse getUSMSSignatureQualification( + GetUSMSSignatureQualificationRequest request) throws UCloudException { + request.setAction("GetUSMSSignatureQualification"); + return (GetUSMSSignatureQualificationResponse) + this.invoke(request, GetUSMSSignatureQualificationResponse.class); + } + /** * QueryUSMSSignature - 查询短信签名申请状态 * @@ -148,6 +199,19 @@ public QueryUSMSSignatureResponse queryUSMSSignature(QueryUSMSSignatureRequest r return (QueryUSMSSignatureResponse) this.invoke(request, QueryUSMSSignatureResponse.class); } + /** + * QueryUSMSSignatureQualification - 获取短信签名资质申请记录详情 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryUSMSSignatureQualificationResponse queryUSMSSignatureQualification( + QueryUSMSSignatureQualificationRequest request) throws UCloudException { + request.setAction("QueryUSMSSignatureQualification"); + return (QueryUSMSSignatureQualificationResponse) + this.invoke(request, QueryUSMSSignatureQualificationResponse.class); + } + /** * QueryUSMSTemplate - 查询短信模板申请状态 * @@ -198,6 +262,19 @@ public UpdateUSMSSignatureResponse updateUSMSSignature(UpdateUSMSSignatureReques this.invoke(request, UpdateUSMSSignatureResponse.class); } + /** + * UpdateUSMSSignatureQualification - 修改短信签名资质申请记录 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateUSMSSignatureQualificationResponse updateUSMSSignatureQualification( + UpdateUSMSSignatureQualificationRequest request) throws UCloudException { + request.setAction("UpdateUSMSSignatureQualification"); + return (UpdateUSMSSignatureQualificationResponse) + this.invoke(request, UpdateUSMSSignatureQualificationResponse.class); + } + /** * UpdateUSMSTemplate - 修改短信模板 * @@ -209,4 +286,16 @@ public UpdateUSMSTemplateResponse updateUSMSTemplate(UpdateUSMSTemplateRequest r request.setAction("UpdateUSMSTemplate"); return (UpdateUSMSTemplateResponse) this.invoke(request, UpdateUSMSTemplateResponse.class); } + + /** + * UploadUSMSFile - 上传文件 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UploadUSMSFileResponse uploadUSMSFile(UploadUSMSFileRequest request) + throws UCloudException { + request.setAction("UploadUSMSFile"); + return (UploadUSMSFileResponse) this.invoke(request, UploadUSMSFileResponse.class); + } } diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClientInterface.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClientInterface.java index e195cc8a..f98719fe 100644 --- a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClientInterface.java +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/client/USMSClientInterface.java @@ -17,10 +17,14 @@ import cn.ucloud.common.exception.UCloudException; import cn.ucloud.usms.models.AddBackfillRequest; import cn.ucloud.usms.models.AddBackfillResponse; +import cn.ucloud.usms.models.AddUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.AddUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.CreateUSMSSignatureRequest; import cn.ucloud.usms.models.CreateUSMSSignatureResponse; import cn.ucloud.usms.models.CreateUSMSTemplateRequest; import cn.ucloud.usms.models.CreateUSMSTemplateResponse; +import cn.ucloud.usms.models.DeleteUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.DeleteUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.DeleteUSMSSignatureRequest; import cn.ucloud.usms.models.DeleteUSMSSignatureResponse; import cn.ucloud.usms.models.DeleteUSMSTemplateRequest; @@ -29,6 +33,10 @@ import cn.ucloud.usms.models.GetUSMSSendReceiptResponse; import cn.ucloud.usms.models.GetUSMSSendStatisticsRequest; import cn.ucloud.usms.models.GetUSMSSendStatisticsResponse; +import cn.ucloud.usms.models.GetUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.GetUSMSSignatureQualificationResponse; +import cn.ucloud.usms.models.QueryUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.QueryUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.QueryUSMSSignatureRequest; import cn.ucloud.usms.models.QueryUSMSSignatureResponse; import cn.ucloud.usms.models.QueryUSMSTemplateRequest; @@ -37,10 +45,14 @@ import cn.ucloud.usms.models.SendBatchUSMSMessageResponse; import cn.ucloud.usms.models.SendUSMSMessageRequest; import cn.ucloud.usms.models.SendUSMSMessageResponse; +import cn.ucloud.usms.models.UpdateUSMSSignatureQualificationRequest; +import cn.ucloud.usms.models.UpdateUSMSSignatureQualificationResponse; import cn.ucloud.usms.models.UpdateUSMSSignatureRequest; import cn.ucloud.usms.models.UpdateUSMSSignatureResponse; import cn.ucloud.usms.models.UpdateUSMSTemplateRequest; import cn.ucloud.usms.models.UpdateUSMSTemplateResponse; +import cn.ucloud.usms.models.UploadUSMSFileRequest; +import cn.ucloud.usms.models.UploadUSMSFileResponse; /** This client is used to call actions of **USMS** service */ public interface USMSClientInterface extends Client { @@ -53,6 +65,15 @@ public interface USMSClientInterface extends Client { */ public AddBackfillResponse addBackfill(AddBackfillRequest request) throws UCloudException; + /** + * AddUSMSSignatureQualification - 添加短信签名资质申请记录 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddUSMSSignatureQualificationResponse addUSMSSignatureQualification( + AddUSMSSignatureQualificationRequest request) throws UCloudException; + /** * CreateUSMSSignature - 申请短信签名 * @@ -80,6 +101,15 @@ public CreateUSMSTemplateResponse createUSMSTemplate(CreateUSMSTemplateRequest r public DeleteUSMSSignatureResponse deleteUSMSSignature(DeleteUSMSSignatureRequest request) throws UCloudException; + /** + * DeleteUSMSSignatureQualification - 删除短信签名资质申请记录 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteUSMSSignatureQualificationResponse deleteUSMSSignatureQualification( + DeleteUSMSSignatureQualificationRequest request) throws UCloudException; + /** * DeleteUSMSTemplate - 删除短信模板 * @@ -107,6 +137,15 @@ public GetUSMSSendReceiptResponse getUSMSSendReceipt(GetUSMSSendReceiptRequest r public GetUSMSSendStatisticsResponse getUSMSSendStatistics(GetUSMSSendStatisticsRequest request) throws UCloudException; + /** + * GetUSMSSignatureQualification - 获取短信签名资质申请记录列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUSMSSignatureQualificationResponse getUSMSSignatureQualification( + GetUSMSSignatureQualificationRequest request) throws UCloudException; + /** * QueryUSMSSignature - 查询短信签名申请状态 * @@ -116,6 +155,15 @@ public GetUSMSSendStatisticsResponse getUSMSSendStatistics(GetUSMSSendStatistics public QueryUSMSSignatureResponse queryUSMSSignature(QueryUSMSSignatureRequest request) throws UCloudException; + /** + * QueryUSMSSignatureQualification - 获取短信签名资质申请记录详情 + * + * @param request Request object + * @throws UCloudException Exception + */ + public QueryUSMSSignatureQualificationResponse queryUSMSSignatureQualification( + QueryUSMSSignatureQualificationRequest request) throws UCloudException; + /** * QueryUSMSTemplate - 查询短信模板申请状态 * @@ -152,6 +200,15 @@ public SendUSMSMessageResponse sendUSMSMessage(SendUSMSMessageRequest request) public UpdateUSMSSignatureResponse updateUSMSSignature(UpdateUSMSSignatureRequest request) throws UCloudException; + /** + * UpdateUSMSSignatureQualification - 修改短信签名资质申请记录 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateUSMSSignatureQualificationResponse updateUSMSSignatureQualification( + UpdateUSMSSignatureQualificationRequest request) throws UCloudException; + /** * UpdateUSMSTemplate - 修改短信模板 * @@ -160,4 +217,13 @@ public UpdateUSMSSignatureResponse updateUSMSSignature(UpdateUSMSSignatureReques */ public UpdateUSMSTemplateResponse updateUSMSTemplate(UpdateUSMSTemplateRequest request) throws UCloudException; + + /** + * UploadUSMSFile - 上传文件 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UploadUSMSFileResponse uploadUSMSFile(UploadUSMSFileRequest request) + throws UCloudException; } diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/AddUSMSSignatureQualificationRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/AddUSMSSignatureQualificationRequest.java new file mode 100644 index 00000000..8d0c4fa3 --- /dev/null +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/AddUSMSSignatureQualificationRequest.java @@ -0,0 +1,209 @@ +/** + * 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 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 qualificationIds; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public List getQualificationIds() { + return qualificationIds; + } + + public void setQualificationIds(List qualificationIds) { + this.qualificationIds = qualificationIds; + } +} diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/DeleteUSMSSignatureQualificationResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/DeleteUSMSSignatureQualificationResponse.java new file mode 100644 index 00000000..e2390ce2 --- /dev/null +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/DeleteUSMSSignatureQualificationResponse.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.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 inAccountIds; + + 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 Integer getQualificationAttr() { + return qualificationAttr; + } + + public void setQualificationAttr(Integer qualificationAttr) { + this.qualificationAttr = qualificationAttr; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public List getInAccountIds() { + return inAccountIds; + } + + public void setInAccountIds(List inAccountIds) { + this.inAccountIds = inAccountIds; + } +} diff --git a/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSignatureQualificationResponse.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSignatureQualificationResponse.java new file mode 100644 index 00000000..85cc79f8 --- /dev/null +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/GetUSMSSignatureQualificationResponse.java @@ -0,0 +1,218 @@ +/** + * 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 GetUSMSSignatureQualificationResponse extends Response { + + /** 签名资质总个数 */ + @SerializedName("Total") + private Integer total; + + /** 签名资质结果集合 */ + @SerializedName("Data") + private List data; + + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + public static class OutSignatureQualification extends Response { + + /** 资质Id */ + @SerializedName("QualificationId") + private String qualificationId; + + /** 项目Id */ + @SerializedName("AccountId") + private Integer accountId; + + /** 资质名称 */ + @SerializedName("Name") + private String name; + + /** 资质属性: 0-自用 1-他用 */ + @SerializedName("Attr") + private Integer attr; + + /** 公司名称 */ + @SerializedName("CompanyName") + private String companyName; + + /** 负责人姓名 */ + @SerializedName("ManagerName") + private String managerName; + + /** 经办人姓名 */ + @SerializedName("HandlerName") + private String handlerName; + + /** 状态: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 Integer getAccountId() { + return accountId; + } + + public void setAccountId(Integer accountId) { + this.accountId = accountId; + } + + 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 getManagerName() { + return managerName; + } + + public void setManagerName(String managerName) { + this.managerName = managerName; + } + + public String getHandlerName() { + return handlerName; + } + + public void setHandlerName(String handlerName) { + this.handlerName = handlerName; + } + + 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/QueryUSMSSignatureQualificationRequest.java b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/QueryUSMSSignatureQualificationRequest.java new file mode 100644 index 00000000..935a2997 --- /dev/null +++ b/ucloud-sdk-java-usms/src/main/java/cn/ucloud/usms/models/QueryUSMSSignatureQualificationRequest.java @@ -0,0 +1,51 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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

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

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.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 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-usnap - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-uvms/pom.xml b/ucloud-sdk-java-uvms/pom.xml index 7680a46b..c36453af 100644 --- a/ucloud-sdk-java-uvms/pom.xml +++ b/ucloud-sdk-java-uvms/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-uvms - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release diff --git a/ucloud-sdk-java-vpc/pom.xml b/ucloud-sdk-java-vpc/pom.xml index f24c7182..1b72d20b 100644 --- a/ucloud-sdk-java-vpc/pom.xml +++ b/ucloud-sdk-java-vpc/pom.xml @@ -6,18 +6,18 @@ ucloud-sdk-java cn.ucloud - 1.2.39-release + 1.2.40-release 4.0.0 ucloud-sdk-java-vpc - 1.2.39-release + 1.2.40-release cn.ucloud ucloud-sdk-java-common - 1.2.39-release + 1.2.40-release