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.
Files changed (64) hide show
  1. huaweicloudsdkmsgsms/__init__.py +0 -0
  2. huaweicloudsdkmsgsms/v2/__init__.py +60 -0
  3. huaweicloudsdkmsgsms/v2/model/__init__.py +57 -0
  4. huaweicloudsdkmsgsms/v2/model/api_template_variable.py +289 -0
  5. huaweicloudsdkmsgsms/v2/model/create_app_request.py +111 -0
  6. huaweicloudsdkmsgsms/v2/model/create_app_response.py +203 -0
  7. huaweicloudsdkmsgsms/v2/model/create_signature_request.py +111 -0
  8. huaweicloudsdkmsgsms/v2/model/create_signature_response.py +174 -0
  9. huaweicloudsdkmsgsms/v2/model/create_template_request.py +111 -0
  10. huaweicloudsdkmsgsms/v2/model/create_template_response.py +145 -0
  11. huaweicloudsdkmsgsms/v2/model/delete_signature_request.py +114 -0
  12. huaweicloudsdkmsgsms/v2/model/delete_signature_response.py +85 -0
  13. huaweicloudsdkmsgsms/v2/model/delete_template_request.py +114 -0
  14. huaweicloudsdkmsgsms/v2/model/delete_template_response.py +85 -0
  15. huaweicloudsdkmsgsms/v2/model/enable_signature_request.py +114 -0
  16. huaweicloudsdkmsgsms/v2/model/enable_signature_response.py +85 -0
  17. huaweicloudsdkmsgsms/v2/model/list_app_details_request.py +347 -0
  18. huaweicloudsdkmsgsms/v2/model/list_app_details_response.py +145 -0
  19. huaweicloudsdkmsgsms/v2/model/list_send_country_details_request.py +144 -0
  20. huaweicloudsdkmsgsms/v2/model/list_send_country_details_response.py +112 -0
  21. huaweicloudsdkmsgsms/v2/model/list_signature_details_request.py +434 -0
  22. huaweicloudsdkmsgsms/v2/model/list_signature_details_response.py +145 -0
  23. huaweicloudsdkmsgsms/v2/model/list_template_details_request.py +521 -0
  24. huaweicloudsdkmsgsms/v2/model/list_template_details_response.py +145 -0
  25. huaweicloudsdkmsgsms/v2/model/list_template_varilable_details_request.py +114 -0
  26. huaweicloudsdkmsgsms/v2/model/list_template_varilable_details_response.py +145 -0
  27. huaweicloudsdkmsgsms/v2/model/show_app_count_request.py +114 -0
  28. huaweicloudsdkmsgsms/v2/model/show_app_count_response.py +145 -0
  29. huaweicloudsdkmsgsms/v2/model/show_app_request.py +114 -0
  30. huaweicloudsdkmsgsms/v2/model/show_app_response.py +721 -0
  31. huaweicloudsdkmsgsms/v2/model/show_signature_file_request.py +114 -0
  32. huaweicloudsdkmsgsms/v2/model/show_signature_file_response.py +348 -0
  33. huaweicloudsdkmsgsms/v2/model/show_signature_request.py +114 -0
  34. huaweicloudsdkmsgsms/v2/model/show_signature_response.py +837 -0
  35. huaweicloudsdkmsgsms/v2/model/show_template_request.py +114 -0
  36. huaweicloudsdkmsgsms/v2/model/show_template_response.py +953 -0
  37. huaweicloudsdkmsgsms/v2/model/sms_app_add_req.py +287 -0
  38. huaweicloudsdkmsgsms/v2/model/sms_app_query_resp.py +720 -0
  39. huaweicloudsdkmsgsms/v2/model/sms_app_update_req.py +258 -0
  40. huaweicloudsdkmsgsms/v2/model/sms_country_resp.py +173 -0
  41. huaweicloudsdkmsgsms/v2/model/sms_signature_req.py +371 -0
  42. huaweicloudsdkmsgsms/v2/model/sms_signature_resp.py +836 -0
  43. huaweicloudsdkmsgsms/v2/model/sms_template_req.py +429 -0
  44. huaweicloudsdkmsgsms/v2/model/sms_template_resp.py +952 -0
  45. huaweicloudsdkmsgsms/v2/model/sms_template_variable_attr_req.py +171 -0
  46. huaweicloudsdkmsgsms/v2/model/tenant_basic.py +173 -0
  47. huaweicloudsdkmsgsms/v2/model/update_app_request.py +139 -0
  48. huaweicloudsdkmsgsms/v2/model/update_app_response.py +174 -0
  49. huaweicloudsdkmsgsms/v2/model/update_signature_request.py +139 -0
  50. huaweicloudsdkmsgsms/v2/model/update_signature_response.py +174 -0
  51. huaweicloudsdkmsgsms/v2/model/update_template_request.py +139 -0
  52. huaweicloudsdkmsgsms/v2/model/update_template_response.py +145 -0
  53. huaweicloudsdkmsgsms/v2/model/upload_signature_file_request.py +140 -0
  54. huaweicloudsdkmsgsms/v2/model/upload_signature_file_request_body.py +114 -0
  55. huaweicloudsdkmsgsms/v2/model/upload_signature_file_response.py +116 -0
  56. huaweicloudsdkmsgsms/v2/msgsms_async_client.py +1461 -0
  57. huaweicloudsdkmsgsms/v2/msgsms_client.py +1458 -0
  58. huaweicloudsdkmsgsms/v2/region/__init__.py +0 -0
  59. huaweicloudsdkmsgsms/v2/region/msgsms_region.py +34 -0
  60. huaweicloudsdkmsgsms-3.1.160.dist-info/LICENSE +13 -0
  61. huaweicloudsdkmsgsms-3.1.160.dist-info/METADATA +26 -0
  62. huaweicloudsdkmsgsms-3.1.160.dist-info/RECORD +64 -0
  63. huaweicloudsdkmsgsms-3.1.160.dist-info/WHEEL +5 -0
  64. huaweicloudsdkmsgsms-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,720 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class SmsAppQueryResp:
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
+ 'id': 'str',
21
+ 'create_time': 'str',
22
+ 'update_time': 'str',
23
+ 'customer_id': 'str',
24
+ 'resource_id': 'str',
25
+ 'developer_account': 'str',
26
+ 'app_name': 'str',
27
+ 'omp_app_name': 'str',
28
+ 'app_key': 'str',
29
+ 'up_link_addr': 'str',
30
+ 'status': 'str',
31
+ 'industry': 'int',
32
+ 'region': 'str',
33
+ 'intl_channel_num': 'str',
34
+ 'enterprise_project_id': 'str',
35
+ 'enterprise_project_name': 'str',
36
+ 'ip_white_list': 'str',
37
+ 'app_access_addr': 'str',
38
+ 'protocol': 'str',
39
+ 'platform': 'str',
40
+ 'is_support_multiomp': 'bool',
41
+ 'tenant': 'TenantBasic'
42
+ }
43
+
44
+ attribute_map = {
45
+ 'id': 'id',
46
+ 'create_time': 'create_time',
47
+ 'update_time': 'update_time',
48
+ 'customer_id': 'customer_id',
49
+ 'resource_id': 'resource_id',
50
+ 'developer_account': 'developer_account',
51
+ 'app_name': 'app_name',
52
+ 'omp_app_name': 'omp_app_name',
53
+ 'app_key': 'app_key',
54
+ 'up_link_addr': 'up_link_addr',
55
+ 'status': 'status',
56
+ 'industry': 'industry',
57
+ 'region': 'region',
58
+ 'intl_channel_num': 'intl_channel_num',
59
+ 'enterprise_project_id': 'enterprise_project_id',
60
+ 'enterprise_project_name': 'enterprise_project_name',
61
+ 'ip_white_list': 'ip_white_list',
62
+ 'app_access_addr': 'app_access_addr',
63
+ 'protocol': 'protocol',
64
+ 'platform': 'platform',
65
+ 'is_support_multiomp': 'is_support_multiomp',
66
+ 'tenant': 'tenant'
67
+ }
68
+
69
+ def __init__(self, id=None, create_time=None, update_time=None, customer_id=None, resource_id=None, developer_account=None, app_name=None, omp_app_name=None, app_key=None, up_link_addr=None, status=None, industry=None, region=None, intl_channel_num=None, enterprise_project_id=None, enterprise_project_name=None, ip_white_list=None, app_access_addr=None, protocol=None, platform=None, is_support_multiomp=None, tenant=None):
70
+ r"""SmsAppQueryResp
71
+
72
+ The model defined in huaweicloud sdk
73
+
74
+ :param id: 应用主键ID,用于获取、修改应用的唯一标识
75
+ :type id: str
76
+ :param create_time: 创建时间[yyyy-MM-dd HH:mm:ss]
77
+ :type create_time: str
78
+ :param update_time: 更新时间[yyyy-MM-dd HH:mm:ss]
79
+ :type update_time: str
80
+ :param customer_id: 租户customer id
81
+ :type customer_id: str
82
+ :param resource_id: 租户resource id
83
+ :type resource_id: str
84
+ :param developer_account: 租户开发者账号
85
+ :type developer_account: str
86
+ :param app_name: 应用名称
87
+ :type app_name: str
88
+ :param omp_app_name: omp应用名称
89
+ :type omp_app_name: str
90
+ :param app_key: 应用key
91
+ :type app_key: str
92
+ :param up_link_addr: 上行短信地址
93
+ :type up_link_addr: str
94
+ :param status: 应用状态 CREATED:待上线。应用暂未创建成功,请稍候。 SUSPENDED:暂停。无法发起业务请求。当客户所发短信内容触发业务违规,或客户申请退订短信业务时,运营经理会将客户短信应用暂停。 LAUNCHED:正常。应用添加成功,可以正常使用。 PROCESSING:资源待分配。请联系客户经理或通过工单系统申请配置资源。
95
+ :type status: str
96
+ :param industry: 行业类型
97
+ :type industry: int
98
+ :param region: 地域 1. cn:国内 2. intl:国际
99
+ :type region: str
100
+ :param intl_channel_num: 国际/港澳台短信通道号
101
+ :type intl_channel_num: str
102
+ :param enterprise_project_id: 企业项目ID
103
+ :type enterprise_project_id: str
104
+ :param enterprise_project_name: 企业项目名称
105
+ :type enterprise_project_name: str
106
+ :param ip_white_list: IP白名单
107
+ :type ip_white_list: str
108
+ :param app_access_addr: 接入地址
109
+ :type app_access_addr: str
110
+ :param protocol: 协议
111
+ :type protocol: str
112
+ :param platform: 平台
113
+ :type platform: str
114
+ :param is_support_multiomp: 是否支持多OMP
115
+ :type is_support_multiomp: bool
116
+ :param tenant:
117
+ :type tenant: :class:`huaweicloudsdkmsgsms.v2.TenantBasic`
118
+ """
119
+
120
+
121
+
122
+ self._id = None
123
+ self._create_time = None
124
+ self._update_time = None
125
+ self._customer_id = None
126
+ self._resource_id = None
127
+ self._developer_account = None
128
+ self._app_name = None
129
+ self._omp_app_name = None
130
+ self._app_key = None
131
+ self._up_link_addr = None
132
+ self._status = None
133
+ self._industry = None
134
+ self._region = None
135
+ self._intl_channel_num = None
136
+ self._enterprise_project_id = None
137
+ self._enterprise_project_name = None
138
+ self._ip_white_list = None
139
+ self._app_access_addr = None
140
+ self._protocol = None
141
+ self._platform = None
142
+ self._is_support_multiomp = None
143
+ self._tenant = None
144
+ self.discriminator = None
145
+
146
+ if id is not None:
147
+ self.id = id
148
+ if create_time is not None:
149
+ self.create_time = create_time
150
+ if update_time is not None:
151
+ self.update_time = update_time
152
+ if customer_id is not None:
153
+ self.customer_id = customer_id
154
+ if resource_id is not None:
155
+ self.resource_id = resource_id
156
+ if developer_account is not None:
157
+ self.developer_account = developer_account
158
+ if app_name is not None:
159
+ self.app_name = app_name
160
+ if omp_app_name is not None:
161
+ self.omp_app_name = omp_app_name
162
+ if app_key is not None:
163
+ self.app_key = app_key
164
+ if up_link_addr is not None:
165
+ self.up_link_addr = up_link_addr
166
+ if status is not None:
167
+ self.status = status
168
+ if industry is not None:
169
+ self.industry = industry
170
+ if region is not None:
171
+ self.region = region
172
+ if intl_channel_num is not None:
173
+ self.intl_channel_num = intl_channel_num
174
+ if enterprise_project_id is not None:
175
+ self.enterprise_project_id = enterprise_project_id
176
+ if enterprise_project_name is not None:
177
+ self.enterprise_project_name = enterprise_project_name
178
+ if ip_white_list is not None:
179
+ self.ip_white_list = ip_white_list
180
+ if app_access_addr is not None:
181
+ self.app_access_addr = app_access_addr
182
+ if protocol is not None:
183
+ self.protocol = protocol
184
+ if platform is not None:
185
+ self.platform = platform
186
+ if is_support_multiomp is not None:
187
+ self.is_support_multiomp = is_support_multiomp
188
+ if tenant is not None:
189
+ self.tenant = tenant
190
+
191
+ @property
192
+ def id(self):
193
+ r"""Gets the id of this SmsAppQueryResp.
194
+
195
+ 应用主键ID,用于获取、修改应用的唯一标识
196
+
197
+ :return: The id of this SmsAppQueryResp.
198
+ :rtype: str
199
+ """
200
+ return self._id
201
+
202
+ @id.setter
203
+ def id(self, id):
204
+ r"""Sets the id of this SmsAppQueryResp.
205
+
206
+ 应用主键ID,用于获取、修改应用的唯一标识
207
+
208
+ :param id: The id of this SmsAppQueryResp.
209
+ :type id: str
210
+ """
211
+ self._id = id
212
+
213
+ @property
214
+ def create_time(self):
215
+ r"""Gets the create_time of this SmsAppQueryResp.
216
+
217
+ 创建时间[yyyy-MM-dd HH:mm:ss]
218
+
219
+ :return: The create_time of this SmsAppQueryResp.
220
+ :rtype: str
221
+ """
222
+ return self._create_time
223
+
224
+ @create_time.setter
225
+ def create_time(self, create_time):
226
+ r"""Sets the create_time of this SmsAppQueryResp.
227
+
228
+ 创建时间[yyyy-MM-dd HH:mm:ss]
229
+
230
+ :param create_time: The create_time of this SmsAppQueryResp.
231
+ :type create_time: str
232
+ """
233
+ self._create_time = create_time
234
+
235
+ @property
236
+ def update_time(self):
237
+ r"""Gets the update_time of this SmsAppQueryResp.
238
+
239
+ 更新时间[yyyy-MM-dd HH:mm:ss]
240
+
241
+ :return: The update_time of this SmsAppQueryResp.
242
+ :rtype: str
243
+ """
244
+ return self._update_time
245
+
246
+ @update_time.setter
247
+ def update_time(self, update_time):
248
+ r"""Sets the update_time of this SmsAppQueryResp.
249
+
250
+ 更新时间[yyyy-MM-dd HH:mm:ss]
251
+
252
+ :param update_time: The update_time of this SmsAppQueryResp.
253
+ :type update_time: str
254
+ """
255
+ self._update_time = update_time
256
+
257
+ @property
258
+ def customer_id(self):
259
+ r"""Gets the customer_id of this SmsAppQueryResp.
260
+
261
+ 租户customer id
262
+
263
+ :return: The customer_id of this SmsAppQueryResp.
264
+ :rtype: str
265
+ """
266
+ return self._customer_id
267
+
268
+ @customer_id.setter
269
+ def customer_id(self, customer_id):
270
+ r"""Sets the customer_id of this SmsAppQueryResp.
271
+
272
+ 租户customer id
273
+
274
+ :param customer_id: The customer_id of this SmsAppQueryResp.
275
+ :type customer_id: str
276
+ """
277
+ self._customer_id = customer_id
278
+
279
+ @property
280
+ def resource_id(self):
281
+ r"""Gets the resource_id of this SmsAppQueryResp.
282
+
283
+ 租户resource id
284
+
285
+ :return: The resource_id of this SmsAppQueryResp.
286
+ :rtype: str
287
+ """
288
+ return self._resource_id
289
+
290
+ @resource_id.setter
291
+ def resource_id(self, resource_id):
292
+ r"""Sets the resource_id of this SmsAppQueryResp.
293
+
294
+ 租户resource id
295
+
296
+ :param resource_id: The resource_id of this SmsAppQueryResp.
297
+ :type resource_id: str
298
+ """
299
+ self._resource_id = resource_id
300
+
301
+ @property
302
+ def developer_account(self):
303
+ r"""Gets the developer_account of this SmsAppQueryResp.
304
+
305
+ 租户开发者账号
306
+
307
+ :return: The developer_account of this SmsAppQueryResp.
308
+ :rtype: str
309
+ """
310
+ return self._developer_account
311
+
312
+ @developer_account.setter
313
+ def developer_account(self, developer_account):
314
+ r"""Sets the developer_account of this SmsAppQueryResp.
315
+
316
+ 租户开发者账号
317
+
318
+ :param developer_account: The developer_account of this SmsAppQueryResp.
319
+ :type developer_account: str
320
+ """
321
+ self._developer_account = developer_account
322
+
323
+ @property
324
+ def app_name(self):
325
+ r"""Gets the app_name of this SmsAppQueryResp.
326
+
327
+ 应用名称
328
+
329
+ :return: The app_name of this SmsAppQueryResp.
330
+ :rtype: str
331
+ """
332
+ return self._app_name
333
+
334
+ @app_name.setter
335
+ def app_name(self, app_name):
336
+ r"""Sets the app_name of this SmsAppQueryResp.
337
+
338
+ 应用名称
339
+
340
+ :param app_name: The app_name of this SmsAppQueryResp.
341
+ :type app_name: str
342
+ """
343
+ self._app_name = app_name
344
+
345
+ @property
346
+ def omp_app_name(self):
347
+ r"""Gets the omp_app_name of this SmsAppQueryResp.
348
+
349
+ omp应用名称
350
+
351
+ :return: The omp_app_name of this SmsAppQueryResp.
352
+ :rtype: str
353
+ """
354
+ return self._omp_app_name
355
+
356
+ @omp_app_name.setter
357
+ def omp_app_name(self, omp_app_name):
358
+ r"""Sets the omp_app_name of this SmsAppQueryResp.
359
+
360
+ omp应用名称
361
+
362
+ :param omp_app_name: The omp_app_name of this SmsAppQueryResp.
363
+ :type omp_app_name: str
364
+ """
365
+ self._omp_app_name = omp_app_name
366
+
367
+ @property
368
+ def app_key(self):
369
+ r"""Gets the app_key of this SmsAppQueryResp.
370
+
371
+ 应用key
372
+
373
+ :return: The app_key of this SmsAppQueryResp.
374
+ :rtype: str
375
+ """
376
+ return self._app_key
377
+
378
+ @app_key.setter
379
+ def app_key(self, app_key):
380
+ r"""Sets the app_key of this SmsAppQueryResp.
381
+
382
+ 应用key
383
+
384
+ :param app_key: The app_key of this SmsAppQueryResp.
385
+ :type app_key: str
386
+ """
387
+ self._app_key = app_key
388
+
389
+ @property
390
+ def up_link_addr(self):
391
+ r"""Gets the up_link_addr of this SmsAppQueryResp.
392
+
393
+ 上行短信地址
394
+
395
+ :return: The up_link_addr of this SmsAppQueryResp.
396
+ :rtype: str
397
+ """
398
+ return self._up_link_addr
399
+
400
+ @up_link_addr.setter
401
+ def up_link_addr(self, up_link_addr):
402
+ r"""Sets the up_link_addr of this SmsAppQueryResp.
403
+
404
+ 上行短信地址
405
+
406
+ :param up_link_addr: The up_link_addr of this SmsAppQueryResp.
407
+ :type up_link_addr: str
408
+ """
409
+ self._up_link_addr = up_link_addr
410
+
411
+ @property
412
+ def status(self):
413
+ r"""Gets the status of this SmsAppQueryResp.
414
+
415
+ 应用状态 CREATED:待上线。应用暂未创建成功,请稍候。 SUSPENDED:暂停。无法发起业务请求。当客户所发短信内容触发业务违规,或客户申请退订短信业务时,运营经理会将客户短信应用暂停。 LAUNCHED:正常。应用添加成功,可以正常使用。 PROCESSING:资源待分配。请联系客户经理或通过工单系统申请配置资源。
416
+
417
+ :return: The status of this SmsAppQueryResp.
418
+ :rtype: str
419
+ """
420
+ return self._status
421
+
422
+ @status.setter
423
+ def status(self, status):
424
+ r"""Sets the status of this SmsAppQueryResp.
425
+
426
+ 应用状态 CREATED:待上线。应用暂未创建成功,请稍候。 SUSPENDED:暂停。无法发起业务请求。当客户所发短信内容触发业务违规,或客户申请退订短信业务时,运营经理会将客户短信应用暂停。 LAUNCHED:正常。应用添加成功,可以正常使用。 PROCESSING:资源待分配。请联系客户经理或通过工单系统申请配置资源。
427
+
428
+ :param status: The status of this SmsAppQueryResp.
429
+ :type status: str
430
+ """
431
+ self._status = status
432
+
433
+ @property
434
+ def industry(self):
435
+ r"""Gets the industry of this SmsAppQueryResp.
436
+
437
+ 行业类型
438
+
439
+ :return: The industry of this SmsAppQueryResp.
440
+ :rtype: int
441
+ """
442
+ return self._industry
443
+
444
+ @industry.setter
445
+ def industry(self, industry):
446
+ r"""Sets the industry of this SmsAppQueryResp.
447
+
448
+ 行业类型
449
+
450
+ :param industry: The industry of this SmsAppQueryResp.
451
+ :type industry: int
452
+ """
453
+ self._industry = industry
454
+
455
+ @property
456
+ def region(self):
457
+ r"""Gets the region of this SmsAppQueryResp.
458
+
459
+ 地域 1. cn:国内 2. intl:国际
460
+
461
+ :return: The region of this SmsAppQueryResp.
462
+ :rtype: str
463
+ """
464
+ return self._region
465
+
466
+ @region.setter
467
+ def region(self, region):
468
+ r"""Sets the region of this SmsAppQueryResp.
469
+
470
+ 地域 1. cn:国内 2. intl:国际
471
+
472
+ :param region: The region of this SmsAppQueryResp.
473
+ :type region: str
474
+ """
475
+ self._region = region
476
+
477
+ @property
478
+ def intl_channel_num(self):
479
+ r"""Gets the intl_channel_num of this SmsAppQueryResp.
480
+
481
+ 国际/港澳台短信通道号
482
+
483
+ :return: The intl_channel_num of this SmsAppQueryResp.
484
+ :rtype: str
485
+ """
486
+ return self._intl_channel_num
487
+
488
+ @intl_channel_num.setter
489
+ def intl_channel_num(self, intl_channel_num):
490
+ r"""Sets the intl_channel_num of this SmsAppQueryResp.
491
+
492
+ 国际/港澳台短信通道号
493
+
494
+ :param intl_channel_num: The intl_channel_num of this SmsAppQueryResp.
495
+ :type intl_channel_num: str
496
+ """
497
+ self._intl_channel_num = intl_channel_num
498
+
499
+ @property
500
+ def enterprise_project_id(self):
501
+ r"""Gets the enterprise_project_id of this SmsAppQueryResp.
502
+
503
+ 企业项目ID
504
+
505
+ :return: The enterprise_project_id of this SmsAppQueryResp.
506
+ :rtype: str
507
+ """
508
+ return self._enterprise_project_id
509
+
510
+ @enterprise_project_id.setter
511
+ def enterprise_project_id(self, enterprise_project_id):
512
+ r"""Sets the enterprise_project_id of this SmsAppQueryResp.
513
+
514
+ 企业项目ID
515
+
516
+ :param enterprise_project_id: The enterprise_project_id of this SmsAppQueryResp.
517
+ :type enterprise_project_id: str
518
+ """
519
+ self._enterprise_project_id = enterprise_project_id
520
+
521
+ @property
522
+ def enterprise_project_name(self):
523
+ r"""Gets the enterprise_project_name of this SmsAppQueryResp.
524
+
525
+ 企业项目名称
526
+
527
+ :return: The enterprise_project_name of this SmsAppQueryResp.
528
+ :rtype: str
529
+ """
530
+ return self._enterprise_project_name
531
+
532
+ @enterprise_project_name.setter
533
+ def enterprise_project_name(self, enterprise_project_name):
534
+ r"""Sets the enterprise_project_name of this SmsAppQueryResp.
535
+
536
+ 企业项目名称
537
+
538
+ :param enterprise_project_name: The enterprise_project_name of this SmsAppQueryResp.
539
+ :type enterprise_project_name: str
540
+ """
541
+ self._enterprise_project_name = enterprise_project_name
542
+
543
+ @property
544
+ def ip_white_list(self):
545
+ r"""Gets the ip_white_list of this SmsAppQueryResp.
546
+
547
+ IP白名单
548
+
549
+ :return: The ip_white_list of this SmsAppQueryResp.
550
+ :rtype: str
551
+ """
552
+ return self._ip_white_list
553
+
554
+ @ip_white_list.setter
555
+ def ip_white_list(self, ip_white_list):
556
+ r"""Sets the ip_white_list of this SmsAppQueryResp.
557
+
558
+ IP白名单
559
+
560
+ :param ip_white_list: The ip_white_list of this SmsAppQueryResp.
561
+ :type ip_white_list: str
562
+ """
563
+ self._ip_white_list = ip_white_list
564
+
565
+ @property
566
+ def app_access_addr(self):
567
+ r"""Gets the app_access_addr of this SmsAppQueryResp.
568
+
569
+ 接入地址
570
+
571
+ :return: The app_access_addr of this SmsAppQueryResp.
572
+ :rtype: str
573
+ """
574
+ return self._app_access_addr
575
+
576
+ @app_access_addr.setter
577
+ def app_access_addr(self, app_access_addr):
578
+ r"""Sets the app_access_addr of this SmsAppQueryResp.
579
+
580
+ 接入地址
581
+
582
+ :param app_access_addr: The app_access_addr of this SmsAppQueryResp.
583
+ :type app_access_addr: str
584
+ """
585
+ self._app_access_addr = app_access_addr
586
+
587
+ @property
588
+ def protocol(self):
589
+ r"""Gets the protocol of this SmsAppQueryResp.
590
+
591
+ 协议
592
+
593
+ :return: The protocol of this SmsAppQueryResp.
594
+ :rtype: str
595
+ """
596
+ return self._protocol
597
+
598
+ @protocol.setter
599
+ def protocol(self, protocol):
600
+ r"""Sets the protocol of this SmsAppQueryResp.
601
+
602
+ 协议
603
+
604
+ :param protocol: The protocol of this SmsAppQueryResp.
605
+ :type protocol: str
606
+ """
607
+ self._protocol = protocol
608
+
609
+ @property
610
+ def platform(self):
611
+ r"""Gets the platform of this SmsAppQueryResp.
612
+
613
+ 平台
614
+
615
+ :return: The platform of this SmsAppQueryResp.
616
+ :rtype: str
617
+ """
618
+ return self._platform
619
+
620
+ @platform.setter
621
+ def platform(self, platform):
622
+ r"""Sets the platform of this SmsAppQueryResp.
623
+
624
+ 平台
625
+
626
+ :param platform: The platform of this SmsAppQueryResp.
627
+ :type platform: str
628
+ """
629
+ self._platform = platform
630
+
631
+ @property
632
+ def is_support_multiomp(self):
633
+ r"""Gets the is_support_multiomp of this SmsAppQueryResp.
634
+
635
+ 是否支持多OMP
636
+
637
+ :return: The is_support_multiomp of this SmsAppQueryResp.
638
+ :rtype: bool
639
+ """
640
+ return self._is_support_multiomp
641
+
642
+ @is_support_multiomp.setter
643
+ def is_support_multiomp(self, is_support_multiomp):
644
+ r"""Sets the is_support_multiomp of this SmsAppQueryResp.
645
+
646
+ 是否支持多OMP
647
+
648
+ :param is_support_multiomp: The is_support_multiomp of this SmsAppQueryResp.
649
+ :type is_support_multiomp: bool
650
+ """
651
+ self._is_support_multiomp = is_support_multiomp
652
+
653
+ @property
654
+ def tenant(self):
655
+ r"""Gets the tenant of this SmsAppQueryResp.
656
+
657
+ :return: The tenant of this SmsAppQueryResp.
658
+ :rtype: :class:`huaweicloudsdkmsgsms.v2.TenantBasic`
659
+ """
660
+ return self._tenant
661
+
662
+ @tenant.setter
663
+ def tenant(self, tenant):
664
+ r"""Sets the tenant of this SmsAppQueryResp.
665
+
666
+ :param tenant: The tenant of this SmsAppQueryResp.
667
+ :type tenant: :class:`huaweicloudsdkmsgsms.v2.TenantBasic`
668
+ """
669
+ self._tenant = tenant
670
+
671
+ def to_dict(self):
672
+ """Returns the model properties as a dict"""
673
+ result = {}
674
+
675
+ for attr, _ in six.iteritems(self.openapi_types):
676
+ value = getattr(self, attr)
677
+ if isinstance(value, list):
678
+ result[attr] = list(map(
679
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
680
+ value
681
+ ))
682
+ elif hasattr(value, "to_dict"):
683
+ result[attr] = value.to_dict()
684
+ elif isinstance(value, dict):
685
+ result[attr] = dict(map(
686
+ lambda item: (item[0], item[1].to_dict())
687
+ if hasattr(item[1], "to_dict") else item,
688
+ value.items()
689
+ ))
690
+ else:
691
+ if attr in self.sensitive_list:
692
+ result[attr] = "****"
693
+ else:
694
+ result[attr] = value
695
+
696
+ return result
697
+
698
+ def to_str(self):
699
+ """Returns the string representation of the model"""
700
+ import simplejson as json
701
+ if six.PY2:
702
+ import sys
703
+ reload(sys)
704
+ sys.setdefaultencoding("utf-8")
705
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
706
+
707
+ def __repr__(self):
708
+ """For `print`"""
709
+ return self.to_str()
710
+
711
+ def __eq__(self, other):
712
+ """Returns true if both objects are equal"""
713
+ if not isinstance(other, SmsAppQueryResp):
714
+ return False
715
+
716
+ return self.__dict__ == other.__dict__
717
+
718
+ def __ne__(self, other):
719
+ """Returns true if both objects are not equal"""
720
+ return not self == other