huaweicloudsdkmsgsms 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkmsgsms/__init__.py +0 -0
- huaweicloudsdkmsgsms/v2/__init__.py +60 -0
- huaweicloudsdkmsgsms/v2/model/__init__.py +57 -0
- huaweicloudsdkmsgsms/v2/model/api_template_variable.py +289 -0
- huaweicloudsdkmsgsms/v2/model/create_app_request.py +111 -0
- huaweicloudsdkmsgsms/v2/model/create_app_response.py +203 -0
- huaweicloudsdkmsgsms/v2/model/create_signature_request.py +111 -0
- huaweicloudsdkmsgsms/v2/model/create_signature_response.py +174 -0
- huaweicloudsdkmsgsms/v2/model/create_template_request.py +111 -0
- huaweicloudsdkmsgsms/v2/model/create_template_response.py +145 -0
- huaweicloudsdkmsgsms/v2/model/delete_signature_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/delete_signature_response.py +85 -0
- huaweicloudsdkmsgsms/v2/model/delete_template_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/delete_template_response.py +85 -0
- huaweicloudsdkmsgsms/v2/model/enable_signature_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/enable_signature_response.py +85 -0
- huaweicloudsdkmsgsms/v2/model/list_app_details_request.py +347 -0
- huaweicloudsdkmsgsms/v2/model/list_app_details_response.py +145 -0
- huaweicloudsdkmsgsms/v2/model/list_send_country_details_request.py +144 -0
- huaweicloudsdkmsgsms/v2/model/list_send_country_details_response.py +112 -0
- huaweicloudsdkmsgsms/v2/model/list_signature_details_request.py +434 -0
- huaweicloudsdkmsgsms/v2/model/list_signature_details_response.py +145 -0
- huaweicloudsdkmsgsms/v2/model/list_template_details_request.py +521 -0
- huaweicloudsdkmsgsms/v2/model/list_template_details_response.py +145 -0
- huaweicloudsdkmsgsms/v2/model/list_template_varilable_details_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/list_template_varilable_details_response.py +145 -0
- huaweicloudsdkmsgsms/v2/model/show_app_count_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/show_app_count_response.py +145 -0
- huaweicloudsdkmsgsms/v2/model/show_app_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/show_app_response.py +721 -0
- huaweicloudsdkmsgsms/v2/model/show_signature_file_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/show_signature_file_response.py +348 -0
- huaweicloudsdkmsgsms/v2/model/show_signature_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/show_signature_response.py +837 -0
- huaweicloudsdkmsgsms/v2/model/show_template_request.py +114 -0
- huaweicloudsdkmsgsms/v2/model/show_template_response.py +953 -0
- huaweicloudsdkmsgsms/v2/model/sms_app_add_req.py +287 -0
- huaweicloudsdkmsgsms/v2/model/sms_app_query_resp.py +720 -0
- huaweicloudsdkmsgsms/v2/model/sms_app_update_req.py +258 -0
- huaweicloudsdkmsgsms/v2/model/sms_country_resp.py +173 -0
- huaweicloudsdkmsgsms/v2/model/sms_signature_req.py +371 -0
- huaweicloudsdkmsgsms/v2/model/sms_signature_resp.py +836 -0
- huaweicloudsdkmsgsms/v2/model/sms_template_req.py +429 -0
- huaweicloudsdkmsgsms/v2/model/sms_template_resp.py +952 -0
- huaweicloudsdkmsgsms/v2/model/sms_template_variable_attr_req.py +171 -0
- huaweicloudsdkmsgsms/v2/model/tenant_basic.py +173 -0
- huaweicloudsdkmsgsms/v2/model/update_app_request.py +139 -0
- huaweicloudsdkmsgsms/v2/model/update_app_response.py +174 -0
- huaweicloudsdkmsgsms/v2/model/update_signature_request.py +139 -0
- huaweicloudsdkmsgsms/v2/model/update_signature_response.py +174 -0
- huaweicloudsdkmsgsms/v2/model/update_template_request.py +139 -0
- huaweicloudsdkmsgsms/v2/model/update_template_response.py +145 -0
- huaweicloudsdkmsgsms/v2/model/upload_signature_file_request.py +140 -0
- huaweicloudsdkmsgsms/v2/model/upload_signature_file_request_body.py +114 -0
- huaweicloudsdkmsgsms/v2/model/upload_signature_file_response.py +116 -0
- huaweicloudsdkmsgsms/v2/msgsms_async_client.py +1461 -0
- huaweicloudsdkmsgsms/v2/msgsms_client.py +1458 -0
- huaweicloudsdkmsgsms/v2/region/__init__.py +0 -0
- huaweicloudsdkmsgsms/v2/region/msgsms_region.py +34 -0
- huaweicloudsdkmsgsms-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkmsgsms-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkmsgsms-3.1.160.dist-info/RECORD +64 -0
- huaweicloudsdkmsgsms-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkmsgsms-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListSendCountryDetailsRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'country_name_en': 'str',
|
21
|
+
'country_name_zh': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'country_name_en': 'country_name_en',
|
26
|
+
'country_name_zh': 'country_name_zh'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, country_name_en=None, country_name_zh=None):
|
30
|
+
r"""ListSendCountryDetailsRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param country_name_en: 国家(英文)
|
35
|
+
:type country_name_en: str
|
36
|
+
:param country_name_zh: 国家(中文)
|
37
|
+
:type country_name_zh: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._country_name_en = None
|
43
|
+
self._country_name_zh = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if country_name_en is not None:
|
47
|
+
self.country_name_en = country_name_en
|
48
|
+
if country_name_zh is not None:
|
49
|
+
self.country_name_zh = country_name_zh
|
50
|
+
|
51
|
+
@property
|
52
|
+
def country_name_en(self):
|
53
|
+
r"""Gets the country_name_en of this ListSendCountryDetailsRequest.
|
54
|
+
|
55
|
+
国家(英文)
|
56
|
+
|
57
|
+
:return: The country_name_en of this ListSendCountryDetailsRequest.
|
58
|
+
:rtype: str
|
59
|
+
"""
|
60
|
+
return self._country_name_en
|
61
|
+
|
62
|
+
@country_name_en.setter
|
63
|
+
def country_name_en(self, country_name_en):
|
64
|
+
r"""Sets the country_name_en of this ListSendCountryDetailsRequest.
|
65
|
+
|
66
|
+
国家(英文)
|
67
|
+
|
68
|
+
:param country_name_en: The country_name_en of this ListSendCountryDetailsRequest.
|
69
|
+
:type country_name_en: str
|
70
|
+
"""
|
71
|
+
self._country_name_en = country_name_en
|
72
|
+
|
73
|
+
@property
|
74
|
+
def country_name_zh(self):
|
75
|
+
r"""Gets the country_name_zh of this ListSendCountryDetailsRequest.
|
76
|
+
|
77
|
+
国家(中文)
|
78
|
+
|
79
|
+
:return: The country_name_zh of this ListSendCountryDetailsRequest.
|
80
|
+
:rtype: str
|
81
|
+
"""
|
82
|
+
return self._country_name_zh
|
83
|
+
|
84
|
+
@country_name_zh.setter
|
85
|
+
def country_name_zh(self, country_name_zh):
|
86
|
+
r"""Sets the country_name_zh of this ListSendCountryDetailsRequest.
|
87
|
+
|
88
|
+
国家(中文)
|
89
|
+
|
90
|
+
:param country_name_zh: The country_name_zh of this ListSendCountryDetailsRequest.
|
91
|
+
:type country_name_zh: str
|
92
|
+
"""
|
93
|
+
self._country_name_zh = country_name_zh
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, ListSendCountryDetailsRequest):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListSendCountryDetailsResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'body': 'list[SmsCountryResp]'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'body': 'body'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, body=None):
|
29
|
+
r"""ListSendCountryDetailsResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param body:
|
34
|
+
:type body: list[:class:`huaweicloudsdkmsgsms.v2.SmsCountryResp`]
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(ListSendCountryDetailsResponse, self).__init__()
|
38
|
+
|
39
|
+
self._body = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if body is not None:
|
43
|
+
self.body = body
|
44
|
+
|
45
|
+
@property
|
46
|
+
def body(self):
|
47
|
+
r"""Gets the body of this ListSendCountryDetailsResponse.
|
48
|
+
|
49
|
+
:return: The body of this ListSendCountryDetailsResponse.
|
50
|
+
:rtype: list[:class:`huaweicloudsdkmsgsms.v2.SmsCountryResp`]
|
51
|
+
"""
|
52
|
+
return self._body
|
53
|
+
|
54
|
+
@body.setter
|
55
|
+
def body(self, body):
|
56
|
+
r"""Sets the body of this ListSendCountryDetailsResponse.
|
57
|
+
|
58
|
+
:param body: The body of this ListSendCountryDetailsResponse.
|
59
|
+
:type body: list[:class:`huaweicloudsdkmsgsms.v2.SmsCountryResp`]
|
60
|
+
"""
|
61
|
+
self._body = body
|
62
|
+
|
63
|
+
def to_dict(self):
|
64
|
+
"""Returns the model properties as a dict"""
|
65
|
+
result = {}
|
66
|
+
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
68
|
+
value = getattr(self, attr)
|
69
|
+
if isinstance(value, list):
|
70
|
+
result[attr] = list(map(
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
72
|
+
value
|
73
|
+
))
|
74
|
+
elif hasattr(value, "to_dict"):
|
75
|
+
result[attr] = value.to_dict()
|
76
|
+
elif isinstance(value, dict):
|
77
|
+
result[attr] = dict(map(
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
80
|
+
value.items()
|
81
|
+
))
|
82
|
+
else:
|
83
|
+
if attr in self.sensitive_list:
|
84
|
+
result[attr] = "****"
|
85
|
+
else:
|
86
|
+
result[attr] = value
|
87
|
+
|
88
|
+
return result
|
89
|
+
|
90
|
+
def to_str(self):
|
91
|
+
"""Returns the string representation of the model"""
|
92
|
+
import simplejson as json
|
93
|
+
if six.PY2:
|
94
|
+
import sys
|
95
|
+
reload(sys)
|
96
|
+
sys.setdefaultencoding("utf-8")
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
98
|
+
|
99
|
+
def __repr__(self):
|
100
|
+
"""For `print`"""
|
101
|
+
return self.to_str()
|
102
|
+
|
103
|
+
def __eq__(self, other):
|
104
|
+
"""Returns true if both objects are equal"""
|
105
|
+
if not isinstance(other, ListSendCountryDetailsResponse):
|
106
|
+
return False
|
107
|
+
|
108
|
+
return self.__dict__ == other.__dict__
|
109
|
+
|
110
|
+
def __ne__(self, other):
|
111
|
+
"""Returns true if both objects are not equal"""
|
112
|
+
return not self == other
|
@@ -0,0 +1,434 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListSignatureDetailsRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'app_name': 'str',
|
21
|
+
'start_time': 'str',
|
22
|
+
'end_time': 'str',
|
23
|
+
'limit': 'int',
|
24
|
+
'offset': 'int',
|
25
|
+
'signature_id': 'str',
|
26
|
+
'signature_name': 'str',
|
27
|
+
'signature_type': 'str',
|
28
|
+
'site': 'str',
|
29
|
+
'sort_dir': 'str',
|
30
|
+
'sort_key': 'str',
|
31
|
+
'status': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
attribute_map = {
|
35
|
+
'app_name': 'app_name',
|
36
|
+
'start_time': 'start_time',
|
37
|
+
'end_time': 'end_time',
|
38
|
+
'limit': 'limit',
|
39
|
+
'offset': 'offset',
|
40
|
+
'signature_id': 'signature_id',
|
41
|
+
'signature_name': 'signature_name',
|
42
|
+
'signature_type': 'signature_type',
|
43
|
+
'site': 'site',
|
44
|
+
'sort_dir': 'sort_dir',
|
45
|
+
'sort_key': 'sort_key',
|
46
|
+
'status': 'status'
|
47
|
+
}
|
48
|
+
|
49
|
+
def __init__(self, app_name=None, start_time=None, end_time=None, limit=None, offset=None, signature_id=None, signature_name=None, signature_type=None, site=None, sort_dir=None, sort_key=None, status=None):
|
50
|
+
r"""ListSignatureDetailsRequest
|
51
|
+
|
52
|
+
The model defined in huaweicloud sdk
|
53
|
+
|
54
|
+
:param app_name: 应用名称
|
55
|
+
:type app_name: str
|
56
|
+
:param start_time: 开始时间
|
57
|
+
:type start_time: str
|
58
|
+
:param end_time: 结束时间
|
59
|
+
:type end_time: str
|
60
|
+
:param limit: 数量
|
61
|
+
:type limit: int
|
62
|
+
:param offset: 偏移量
|
63
|
+
:type offset: int
|
64
|
+
:param signature_id: 签名ID
|
65
|
+
:type signature_id: str
|
66
|
+
:param signature_name: 签名名称
|
67
|
+
:type signature_name: str
|
68
|
+
:param signature_type: 签名类型。支持枚举值: 1. VERIFY_CODE_TYPE: 验证码类 2. PROMOTION_TYPE: 推广类 3. NOTIFY_TYPE: 通知类
|
69
|
+
:type signature_type: str
|
70
|
+
:param site: 地域
|
71
|
+
:type site: str
|
72
|
+
:param sort_dir: 排序方式 1. desc:降序 2. asc:升序
|
73
|
+
:type sort_dir: str
|
74
|
+
:param sort_key: 排序字段
|
75
|
+
:type sort_key: str
|
76
|
+
:param status: 状态 1. PENDING_REVIEW:待签名审核 2. PROCESSING:内容审核通过,签名处理中 3. REVIEW_PASSED:处理完毕(待补充资质),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 4. REVIEW_NOT_PASS:审核不通过 5. TO_BE_ACTIVATED:待激活 6. PENDING_ACTIVATE:激活审核中 7. PENDING_QUALIFICATION_REVIEW:待资质审核,该状态下,用户不可发送短信 8. REAL_NAME_REGISTRATING:实名报备中,该状态下,用户不可发送短信 9. REVIEW_PASSED_QUALIFICATION_PROCESSING:处理完毕(资质审核中),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 10. REVIEW_PASSED_REAL_NAME_REGISTRATING:处理完毕(实名报备中),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 11. REVIEW_PASSED_REAL_NAME_REGISTRATE_FAIL:处理完毕(实名报备失败),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 12. REVIEW_PROCESSING_COMPLETED:处理完毕
|
77
|
+
:type status: str
|
78
|
+
"""
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
self._app_name = None
|
83
|
+
self._start_time = None
|
84
|
+
self._end_time = None
|
85
|
+
self._limit = None
|
86
|
+
self._offset = None
|
87
|
+
self._signature_id = None
|
88
|
+
self._signature_name = None
|
89
|
+
self._signature_type = None
|
90
|
+
self._site = None
|
91
|
+
self._sort_dir = None
|
92
|
+
self._sort_key = None
|
93
|
+
self._status = None
|
94
|
+
self.discriminator = None
|
95
|
+
|
96
|
+
if app_name is not None:
|
97
|
+
self.app_name = app_name
|
98
|
+
if start_time is not None:
|
99
|
+
self.start_time = start_time
|
100
|
+
if end_time is not None:
|
101
|
+
self.end_time = end_time
|
102
|
+
if limit is not None:
|
103
|
+
self.limit = limit
|
104
|
+
if offset is not None:
|
105
|
+
self.offset = offset
|
106
|
+
if signature_id is not None:
|
107
|
+
self.signature_id = signature_id
|
108
|
+
if signature_name is not None:
|
109
|
+
self.signature_name = signature_name
|
110
|
+
if signature_type is not None:
|
111
|
+
self.signature_type = signature_type
|
112
|
+
if site is not None:
|
113
|
+
self.site = site
|
114
|
+
if sort_dir is not None:
|
115
|
+
self.sort_dir = sort_dir
|
116
|
+
if sort_key is not None:
|
117
|
+
self.sort_key = sort_key
|
118
|
+
if status is not None:
|
119
|
+
self.status = status
|
120
|
+
|
121
|
+
@property
|
122
|
+
def app_name(self):
|
123
|
+
r"""Gets the app_name of this ListSignatureDetailsRequest.
|
124
|
+
|
125
|
+
应用名称
|
126
|
+
|
127
|
+
:return: The app_name of this ListSignatureDetailsRequest.
|
128
|
+
:rtype: str
|
129
|
+
"""
|
130
|
+
return self._app_name
|
131
|
+
|
132
|
+
@app_name.setter
|
133
|
+
def app_name(self, app_name):
|
134
|
+
r"""Sets the app_name of this ListSignatureDetailsRequest.
|
135
|
+
|
136
|
+
应用名称
|
137
|
+
|
138
|
+
:param app_name: The app_name of this ListSignatureDetailsRequest.
|
139
|
+
:type app_name: str
|
140
|
+
"""
|
141
|
+
self._app_name = app_name
|
142
|
+
|
143
|
+
@property
|
144
|
+
def start_time(self):
|
145
|
+
r"""Gets the start_time of this ListSignatureDetailsRequest.
|
146
|
+
|
147
|
+
开始时间
|
148
|
+
|
149
|
+
:return: The start_time of this ListSignatureDetailsRequest.
|
150
|
+
:rtype: str
|
151
|
+
"""
|
152
|
+
return self._start_time
|
153
|
+
|
154
|
+
@start_time.setter
|
155
|
+
def start_time(self, start_time):
|
156
|
+
r"""Sets the start_time of this ListSignatureDetailsRequest.
|
157
|
+
|
158
|
+
开始时间
|
159
|
+
|
160
|
+
:param start_time: The start_time of this ListSignatureDetailsRequest.
|
161
|
+
:type start_time: str
|
162
|
+
"""
|
163
|
+
self._start_time = start_time
|
164
|
+
|
165
|
+
@property
|
166
|
+
def end_time(self):
|
167
|
+
r"""Gets the end_time of this ListSignatureDetailsRequest.
|
168
|
+
|
169
|
+
结束时间
|
170
|
+
|
171
|
+
:return: The end_time of this ListSignatureDetailsRequest.
|
172
|
+
:rtype: str
|
173
|
+
"""
|
174
|
+
return self._end_time
|
175
|
+
|
176
|
+
@end_time.setter
|
177
|
+
def end_time(self, end_time):
|
178
|
+
r"""Sets the end_time of this ListSignatureDetailsRequest.
|
179
|
+
|
180
|
+
结束时间
|
181
|
+
|
182
|
+
:param end_time: The end_time of this ListSignatureDetailsRequest.
|
183
|
+
:type end_time: str
|
184
|
+
"""
|
185
|
+
self._end_time = end_time
|
186
|
+
|
187
|
+
@property
|
188
|
+
def limit(self):
|
189
|
+
r"""Gets the limit of this ListSignatureDetailsRequest.
|
190
|
+
|
191
|
+
数量
|
192
|
+
|
193
|
+
:return: The limit of this ListSignatureDetailsRequest.
|
194
|
+
:rtype: int
|
195
|
+
"""
|
196
|
+
return self._limit
|
197
|
+
|
198
|
+
@limit.setter
|
199
|
+
def limit(self, limit):
|
200
|
+
r"""Sets the limit of this ListSignatureDetailsRequest.
|
201
|
+
|
202
|
+
数量
|
203
|
+
|
204
|
+
:param limit: The limit of this ListSignatureDetailsRequest.
|
205
|
+
:type limit: int
|
206
|
+
"""
|
207
|
+
self._limit = limit
|
208
|
+
|
209
|
+
@property
|
210
|
+
def offset(self):
|
211
|
+
r"""Gets the offset of this ListSignatureDetailsRequest.
|
212
|
+
|
213
|
+
偏移量
|
214
|
+
|
215
|
+
:return: The offset of this ListSignatureDetailsRequest.
|
216
|
+
:rtype: int
|
217
|
+
"""
|
218
|
+
return self._offset
|
219
|
+
|
220
|
+
@offset.setter
|
221
|
+
def offset(self, offset):
|
222
|
+
r"""Sets the offset of this ListSignatureDetailsRequest.
|
223
|
+
|
224
|
+
偏移量
|
225
|
+
|
226
|
+
:param offset: The offset of this ListSignatureDetailsRequest.
|
227
|
+
:type offset: int
|
228
|
+
"""
|
229
|
+
self._offset = offset
|
230
|
+
|
231
|
+
@property
|
232
|
+
def signature_id(self):
|
233
|
+
r"""Gets the signature_id of this ListSignatureDetailsRequest.
|
234
|
+
|
235
|
+
签名ID
|
236
|
+
|
237
|
+
:return: The signature_id of this ListSignatureDetailsRequest.
|
238
|
+
:rtype: str
|
239
|
+
"""
|
240
|
+
return self._signature_id
|
241
|
+
|
242
|
+
@signature_id.setter
|
243
|
+
def signature_id(self, signature_id):
|
244
|
+
r"""Sets the signature_id of this ListSignatureDetailsRequest.
|
245
|
+
|
246
|
+
签名ID
|
247
|
+
|
248
|
+
:param signature_id: The signature_id of this ListSignatureDetailsRequest.
|
249
|
+
:type signature_id: str
|
250
|
+
"""
|
251
|
+
self._signature_id = signature_id
|
252
|
+
|
253
|
+
@property
|
254
|
+
def signature_name(self):
|
255
|
+
r"""Gets the signature_name of this ListSignatureDetailsRequest.
|
256
|
+
|
257
|
+
签名名称
|
258
|
+
|
259
|
+
:return: The signature_name of this ListSignatureDetailsRequest.
|
260
|
+
:rtype: str
|
261
|
+
"""
|
262
|
+
return self._signature_name
|
263
|
+
|
264
|
+
@signature_name.setter
|
265
|
+
def signature_name(self, signature_name):
|
266
|
+
r"""Sets the signature_name of this ListSignatureDetailsRequest.
|
267
|
+
|
268
|
+
签名名称
|
269
|
+
|
270
|
+
:param signature_name: The signature_name of this ListSignatureDetailsRequest.
|
271
|
+
:type signature_name: str
|
272
|
+
"""
|
273
|
+
self._signature_name = signature_name
|
274
|
+
|
275
|
+
@property
|
276
|
+
def signature_type(self):
|
277
|
+
r"""Gets the signature_type of this ListSignatureDetailsRequest.
|
278
|
+
|
279
|
+
签名类型。支持枚举值: 1. VERIFY_CODE_TYPE: 验证码类 2. PROMOTION_TYPE: 推广类 3. NOTIFY_TYPE: 通知类
|
280
|
+
|
281
|
+
:return: The signature_type of this ListSignatureDetailsRequest.
|
282
|
+
:rtype: str
|
283
|
+
"""
|
284
|
+
return self._signature_type
|
285
|
+
|
286
|
+
@signature_type.setter
|
287
|
+
def signature_type(self, signature_type):
|
288
|
+
r"""Sets the signature_type of this ListSignatureDetailsRequest.
|
289
|
+
|
290
|
+
签名类型。支持枚举值: 1. VERIFY_CODE_TYPE: 验证码类 2. PROMOTION_TYPE: 推广类 3. NOTIFY_TYPE: 通知类
|
291
|
+
|
292
|
+
:param signature_type: The signature_type of this ListSignatureDetailsRequest.
|
293
|
+
:type signature_type: str
|
294
|
+
"""
|
295
|
+
self._signature_type = signature_type
|
296
|
+
|
297
|
+
@property
|
298
|
+
def site(self):
|
299
|
+
r"""Gets the site of this ListSignatureDetailsRequest.
|
300
|
+
|
301
|
+
地域
|
302
|
+
|
303
|
+
:return: The site of this ListSignatureDetailsRequest.
|
304
|
+
:rtype: str
|
305
|
+
"""
|
306
|
+
return self._site
|
307
|
+
|
308
|
+
@site.setter
|
309
|
+
def site(self, site):
|
310
|
+
r"""Sets the site of this ListSignatureDetailsRequest.
|
311
|
+
|
312
|
+
地域
|
313
|
+
|
314
|
+
:param site: The site of this ListSignatureDetailsRequest.
|
315
|
+
:type site: str
|
316
|
+
"""
|
317
|
+
self._site = site
|
318
|
+
|
319
|
+
@property
|
320
|
+
def sort_dir(self):
|
321
|
+
r"""Gets the sort_dir of this ListSignatureDetailsRequest.
|
322
|
+
|
323
|
+
排序方式 1. desc:降序 2. asc:升序
|
324
|
+
|
325
|
+
:return: The sort_dir of this ListSignatureDetailsRequest.
|
326
|
+
:rtype: str
|
327
|
+
"""
|
328
|
+
return self._sort_dir
|
329
|
+
|
330
|
+
@sort_dir.setter
|
331
|
+
def sort_dir(self, sort_dir):
|
332
|
+
r"""Sets the sort_dir of this ListSignatureDetailsRequest.
|
333
|
+
|
334
|
+
排序方式 1. desc:降序 2. asc:升序
|
335
|
+
|
336
|
+
:param sort_dir: The sort_dir of this ListSignatureDetailsRequest.
|
337
|
+
:type sort_dir: str
|
338
|
+
"""
|
339
|
+
self._sort_dir = sort_dir
|
340
|
+
|
341
|
+
@property
|
342
|
+
def sort_key(self):
|
343
|
+
r"""Gets the sort_key of this ListSignatureDetailsRequest.
|
344
|
+
|
345
|
+
排序字段
|
346
|
+
|
347
|
+
:return: The sort_key of this ListSignatureDetailsRequest.
|
348
|
+
:rtype: str
|
349
|
+
"""
|
350
|
+
return self._sort_key
|
351
|
+
|
352
|
+
@sort_key.setter
|
353
|
+
def sort_key(self, sort_key):
|
354
|
+
r"""Sets the sort_key of this ListSignatureDetailsRequest.
|
355
|
+
|
356
|
+
排序字段
|
357
|
+
|
358
|
+
:param sort_key: The sort_key of this ListSignatureDetailsRequest.
|
359
|
+
:type sort_key: str
|
360
|
+
"""
|
361
|
+
self._sort_key = sort_key
|
362
|
+
|
363
|
+
@property
|
364
|
+
def status(self):
|
365
|
+
r"""Gets the status of this ListSignatureDetailsRequest.
|
366
|
+
|
367
|
+
状态 1. PENDING_REVIEW:待签名审核 2. PROCESSING:内容审核通过,签名处理中 3. REVIEW_PASSED:处理完毕(待补充资质),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 4. REVIEW_NOT_PASS:审核不通过 5. TO_BE_ACTIVATED:待激活 6. PENDING_ACTIVATE:激活审核中 7. PENDING_QUALIFICATION_REVIEW:待资质审核,该状态下,用户不可发送短信 8. REAL_NAME_REGISTRATING:实名报备中,该状态下,用户不可发送短信 9. REVIEW_PASSED_QUALIFICATION_PROCESSING:处理完毕(资质审核中),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 10. REVIEW_PASSED_REAL_NAME_REGISTRATING:处理完毕(实名报备中),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 11. REVIEW_PASSED_REAL_NAME_REGISTRATE_FAIL:处理完毕(实名报备失败),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 12. REVIEW_PROCESSING_COMPLETED:处理完毕
|
368
|
+
|
369
|
+
:return: The status of this ListSignatureDetailsRequest.
|
370
|
+
:rtype: str
|
371
|
+
"""
|
372
|
+
return self._status
|
373
|
+
|
374
|
+
@status.setter
|
375
|
+
def status(self, status):
|
376
|
+
r"""Sets the status of this ListSignatureDetailsRequest.
|
377
|
+
|
378
|
+
状态 1. PENDING_REVIEW:待签名审核 2. PROCESSING:内容审核通过,签名处理中 3. REVIEW_PASSED:处理完毕(待补充资质),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 4. REVIEW_NOT_PASS:审核不通过 5. TO_BE_ACTIVATED:待激活 6. PENDING_ACTIVATE:激活审核中 7. PENDING_QUALIFICATION_REVIEW:待资质审核,该状态下,用户不可发送短信 8. REAL_NAME_REGISTRATING:实名报备中,该状态下,用户不可发送短信 9. REVIEW_PASSED_QUALIFICATION_PROCESSING:处理完毕(资质审核中),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 10. REVIEW_PASSED_REAL_NAME_REGISTRATING:处理完毕(实名报备中),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 11. REVIEW_PASSED_REAL_NAME_REGISTRATE_FAIL:处理完毕(实名报备失败),该状态仅针对存量签名补充资质有效。在该状态下,用户可发送短信,但发送短信可能会由于运营商资质管控而失败 12. REVIEW_PROCESSING_COMPLETED:处理完毕
|
379
|
+
|
380
|
+
:param status: The status of this ListSignatureDetailsRequest.
|
381
|
+
:type status: str
|
382
|
+
"""
|
383
|
+
self._status = status
|
384
|
+
|
385
|
+
def to_dict(self):
|
386
|
+
"""Returns the model properties as a dict"""
|
387
|
+
result = {}
|
388
|
+
|
389
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
390
|
+
value = getattr(self, attr)
|
391
|
+
if isinstance(value, list):
|
392
|
+
result[attr] = list(map(
|
393
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
394
|
+
value
|
395
|
+
))
|
396
|
+
elif hasattr(value, "to_dict"):
|
397
|
+
result[attr] = value.to_dict()
|
398
|
+
elif isinstance(value, dict):
|
399
|
+
result[attr] = dict(map(
|
400
|
+
lambda item: (item[0], item[1].to_dict())
|
401
|
+
if hasattr(item[1], "to_dict") else item,
|
402
|
+
value.items()
|
403
|
+
))
|
404
|
+
else:
|
405
|
+
if attr in self.sensitive_list:
|
406
|
+
result[attr] = "****"
|
407
|
+
else:
|
408
|
+
result[attr] = value
|
409
|
+
|
410
|
+
return result
|
411
|
+
|
412
|
+
def to_str(self):
|
413
|
+
"""Returns the string representation of the model"""
|
414
|
+
import simplejson as json
|
415
|
+
if six.PY2:
|
416
|
+
import sys
|
417
|
+
reload(sys)
|
418
|
+
sys.setdefaultencoding("utf-8")
|
419
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
420
|
+
|
421
|
+
def __repr__(self):
|
422
|
+
"""For `print`"""
|
423
|
+
return self.to_str()
|
424
|
+
|
425
|
+
def __eq__(self, other):
|
426
|
+
"""Returns true if both objects are equal"""
|
427
|
+
if not isinstance(other, ListSignatureDetailsRequest):
|
428
|
+
return False
|
429
|
+
|
430
|
+
return self.__dict__ == other.__dict__
|
431
|
+
|
432
|
+
def __ne__(self, other):
|
433
|
+
"""Returns true if both objects are not equal"""
|
434
|
+
return not self == other
|