huaweicloudsdkmsgsms 3.1.77__py2.py3-none-any.whl → 3.1.79__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdkmsgsms/v2/model/sms_template_variable_attr_req.py +3 -3
- huaweicloudsdkmsgsms/v2/region/msgsms_region.py +4 -8
- {huaweicloudsdkmsgsms-3.1.77.dist-info → huaweicloudsdkmsgsms-3.1.79.dist-info}/METADATA +2 -2
- {huaweicloudsdkmsgsms-3.1.77.dist-info → huaweicloudsdkmsgsms-3.1.79.dist-info}/RECORD +7 -7
- {huaweicloudsdkmsgsms-3.1.77.dist-info → huaweicloudsdkmsgsms-3.1.79.dist-info}/LICENSE +0 -0
- {huaweicloudsdkmsgsms-3.1.77.dist-info → huaweicloudsdkmsgsms-3.1.79.dist-info}/WHEEL +0 -0
- {huaweicloudsdkmsgsms-3.1.77.dist-info → huaweicloudsdkmsgsms-3.1.79.dist-info}/top_level.txt +0 -0
@@ -37,7 +37,7 @@ class SmsTemplateVariableAttrReq:
|
|
37
37
|
:type variable_desc: str
|
38
38
|
:param variable_index: 变量索引,对应模板内容变量索引
|
39
39
|
:type variable_index: int
|
40
|
-
:param variable_type: 变量类型,目前支持:PHONE|CHARDIGIT|DATETIME|MONEY|TEXT|NEWTEXT
|
40
|
+
:param variable_type: 变量类型,目前支持:PHONE|CHARDIGIT|DATETIME|MONEY|TEXT|NEWTEXT|LONGTEXT
|
41
41
|
:type variable_type: str
|
42
42
|
"""
|
43
43
|
|
@@ -101,7 +101,7 @@ class SmsTemplateVariableAttrReq:
|
|
101
101
|
def variable_type(self):
|
102
102
|
"""Gets the variable_type of this SmsTemplateVariableAttrReq.
|
103
103
|
|
104
|
-
变量类型,目前支持:PHONE|CHARDIGIT|DATETIME|MONEY|TEXT|NEWTEXT
|
104
|
+
变量类型,目前支持:PHONE|CHARDIGIT|DATETIME|MONEY|TEXT|NEWTEXT|LONGTEXT
|
105
105
|
|
106
106
|
:return: The variable_type of this SmsTemplateVariableAttrReq.
|
107
107
|
:rtype: str
|
@@ -112,7 +112,7 @@ class SmsTemplateVariableAttrReq:
|
|
112
112
|
def variable_type(self, variable_type):
|
113
113
|
"""Sets the variable_type of this SmsTemplateVariableAttrReq.
|
114
114
|
|
115
|
-
变量类型,目前支持:PHONE|CHARDIGIT|DATETIME|MONEY|TEXT|NEWTEXT
|
115
|
+
变量类型,目前支持:PHONE|CHARDIGIT|DATETIME|MONEY|TEXT|NEWTEXT|LONGTEXT
|
116
116
|
|
117
117
|
:param variable_type: The variable_type of this SmsTemplateVariableAttrReq.
|
118
118
|
:type variable_type: str
|
@@ -1,8 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
import types
|
4
|
-
import six
|
5
|
-
|
6
3
|
from huaweicloudsdkcore.region.region import Region
|
7
4
|
from huaweicloudsdkcore.region.provider import RegionProviderChain
|
8
5
|
|
@@ -22,9 +19,9 @@ class MsgsmsRegion:
|
|
22
19
|
@classmethod
|
23
20
|
def value_of(cls, region_id, static_fields=None):
|
24
21
|
if not region_id:
|
25
|
-
raise KeyError("Unexpected empty parameter: region_id
|
22
|
+
raise KeyError("Unexpected empty parameter: region_id")
|
26
23
|
|
27
|
-
fields = static_fields
|
24
|
+
fields = static_fields or cls.static_fields
|
28
25
|
|
29
26
|
region = cls._PROVIDER.get_region(region_id)
|
30
27
|
if region:
|
@@ -33,6 +30,5 @@ class MsgsmsRegion:
|
|
33
30
|
if region_id in fields:
|
34
31
|
return fields.get(region_id)
|
35
32
|
|
36
|
-
raise KeyError("
|
37
|
-
|
38
|
-
|
33
|
+
raise KeyError("region_id '%s' is not in the following supported regions of service 'Msgsms': [%s]" % (
|
34
|
+
region_id, ", ".join(sorted(fields.keys()))))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkmsgsms
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.79
|
4
4
|
Summary: MSGSMS
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore >=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore >=3.1.79
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -44,7 +44,7 @@ huaweicloudsdkmsgsms/v2/model/sms_signature_req.py,sha256=udTtY0I49DGyYzNN5fT3bU
|
|
44
44
|
huaweicloudsdkmsgsms/v2/model/sms_signature_resp.py,sha256=Xh2CpIw4VnywReKPlZL3Ra7J5OA41dX8BORbDndOlkk,22571
|
45
45
|
huaweicloudsdkmsgsms/v2/model/sms_template_req.py,sha256=vCkVNmMTJLo4JTwtQhkC0QxvZhaN8hXI2uIvLx240Kg,12631
|
46
46
|
huaweicloudsdkmsgsms/v2/model/sms_template_resp.py,sha256=MS85V0p8bmZI9cNRceGOXDXAMuJ9mzNS0XSZ-kNiLIA,27351
|
47
|
-
huaweicloudsdkmsgsms/v2/model/sms_template_variable_attr_req.py,sha256=
|
47
|
+
huaweicloudsdkmsgsms/v2/model/sms_template_variable_attr_req.py,sha256=RQP60tSjFB-jsgbypsD479Ya9M1mApxZ2i6CMuIwROA,5400
|
48
48
|
huaweicloudsdkmsgsms/v2/model/tenant_basic.py,sha256=LovsuhvnRjcoV5SgEmrdFB7nRN0WoSV9dsR8hFjS7_Q,4859
|
49
49
|
huaweicloudsdkmsgsms/v2/model/update_app_request.py,sha256=t4cVI7k3SVpYHJ1rEDTAFnLw-AecuQNJ8nw-4F10qsY,3664
|
50
50
|
huaweicloudsdkmsgsms/v2/model/update_app_response.py,sha256=MNTnt4fpLFuNRfMgYe9en0CaGHWiIdLUYVgl1GqdU_g,4508
|
@@ -56,9 +56,9 @@ huaweicloudsdkmsgsms/v2/model/upload_signature_file_request.py,sha256=6I_pL7gqVR
|
|
56
56
|
huaweicloudsdkmsgsms/v2/model/upload_signature_file_request_body.py,sha256=MWmYXe2C61B1MmmX3O3-y0b7qF4nmhlBl0ijXdQIoAc,3186
|
57
57
|
huaweicloudsdkmsgsms/v2/model/upload_signature_file_response.py,sha256=n-oTbNEkbBan_98ITGpOmFYA_M13Ndii154nCHBfayU,3215
|
58
58
|
huaweicloudsdkmsgsms/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
59
|
-
huaweicloudsdkmsgsms/v2/region/msgsms_region.py,sha256=
|
60
|
-
huaweicloudsdkmsgsms-3.1.
|
61
|
-
huaweicloudsdkmsgsms-3.1.
|
62
|
-
huaweicloudsdkmsgsms-3.1.
|
63
|
-
huaweicloudsdkmsgsms-3.1.
|
64
|
-
huaweicloudsdkmsgsms-3.1.
|
59
|
+
huaweicloudsdkmsgsms/v2/region/msgsms_region.py,sha256=bj1uInVueY-pXAY47L7Tj6g84uTYVvgnCdUPKnrYLkA,1116
|
60
|
+
huaweicloudsdkmsgsms-3.1.79.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
61
|
+
huaweicloudsdkmsgsms-3.1.79.dist-info/METADATA,sha256=ht_rTOZD3877RtQgp3ISTn6TKD6SMhTVhRcJI2e8F9g,1143
|
62
|
+
huaweicloudsdkmsgsms-3.1.79.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
|
63
|
+
huaweicloudsdkmsgsms-3.1.79.dist-info/top_level.txt,sha256=I9NpgmPwn52WdP8Sh3mkwiFieEOWez7kV_FoQd_4IeE,21
|
64
|
+
huaweicloudsdkmsgsms-3.1.79.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{huaweicloudsdkmsgsms-3.1.77.dist-info → huaweicloudsdkmsgsms-3.1.79.dist-info}/top_level.txt
RENAMED
File without changes
|