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,953 @@
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 ShowTemplateResponse(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
+ 'id': 'str',
22
+ 'create_time': 'str',
23
+ 'update_time': 'str',
24
+ 'customer_id': 'str',
25
+ 'tenant': 'TenantBasic',
26
+ 'template_name': 'str',
27
+ 'template_id': 'str',
28
+ 'template_type': 'str',
29
+ 'app_name': 'str',
30
+ 'app_key': 'str',
31
+ 'sign_id': 'str',
32
+ 'template_content': 'str',
33
+ 'has_variable': 'str',
34
+ 'template_desc': 'str',
35
+ 'review_desc': 'str',
36
+ 'review_order': 'str',
37
+ 'flow_status': 'str',
38
+ 'universal_template': 'int',
39
+ 'status': 'str',
40
+ 'region': 'str',
41
+ 'brackets': 'str',
42
+ 'site': 'str',
43
+ 'urge_status': 'str',
44
+ 'urge_time': 'str',
45
+ 'urge_desc': 'str',
46
+ 'send_country1': 'int',
47
+ 'send_country2': 'int',
48
+ 'send_country3': 'int',
49
+ 'is_support_multiomp': 'bool',
50
+ 'country_name': 'str'
51
+ }
52
+
53
+ attribute_map = {
54
+ 'id': 'id',
55
+ 'create_time': 'create_time',
56
+ 'update_time': 'update_time',
57
+ 'customer_id': 'customer_id',
58
+ 'tenant': 'tenant',
59
+ 'template_name': 'template_name',
60
+ 'template_id': 'template_id',
61
+ 'template_type': 'template_type',
62
+ 'app_name': 'app_name',
63
+ 'app_key': 'app_key',
64
+ 'sign_id': 'sign_id',
65
+ 'template_content': 'template_content',
66
+ 'has_variable': 'has_variable',
67
+ 'template_desc': 'template_desc',
68
+ 'review_desc': 'review_desc',
69
+ 'review_order': 'review_order',
70
+ 'flow_status': 'flow_status',
71
+ 'universal_template': 'universal_template',
72
+ 'status': 'status',
73
+ 'region': 'region',
74
+ 'brackets': 'brackets',
75
+ 'site': 'site',
76
+ 'urge_status': 'urge_status',
77
+ 'urge_time': 'urge_time',
78
+ 'urge_desc': 'urge_desc',
79
+ 'send_country1': 'send_country1',
80
+ 'send_country2': 'send_country2',
81
+ 'send_country3': 'send_country3',
82
+ 'is_support_multiomp': 'is_support_multiomp',
83
+ 'country_name': 'country_name'
84
+ }
85
+
86
+ def __init__(self, id=None, create_time=None, update_time=None, customer_id=None, tenant=None, template_name=None, template_id=None, template_type=None, app_name=None, app_key=None, sign_id=None, template_content=None, has_variable=None, template_desc=None, review_desc=None, review_order=None, flow_status=None, universal_template=None, status=None, region=None, brackets=None, site=None, urge_status=None, urge_time=None, urge_desc=None, send_country1=None, send_country2=None, send_country3=None, is_support_multiomp=None, country_name=None):
87
+ r"""ShowTemplateResponse
88
+
89
+ The model defined in huaweicloud sdk
90
+
91
+ :param id: 模板主键ID,用于获取、修改、删除模板以及查询模板变量的唯一标识
92
+ :type id: str
93
+ :param create_time: 创建时间[yyyy-MM-dd HH:mm:ss]
94
+ :type create_time: str
95
+ :param update_time: 更新时间[yyyy-MM-dd HH:mm:ss]
96
+ :type update_time: str
97
+ :param customer_id: 租户customer id
98
+ :type customer_id: str
99
+ :param tenant:
100
+ :type tenant: :class:`huaweicloudsdkmsgsms.v2.TenantBasic`
101
+ :param template_name: 模板名称
102
+ :type template_name: str
103
+ :param template_id: 模板ID
104
+ :type template_id: str
105
+ :param template_type: 模板类型
106
+ :type template_type: str
107
+ :param app_name: 应用名称
108
+ :type app_name: str
109
+ :param app_key: 应用key
110
+ :type app_key: str
111
+ :param sign_id: 签名主键id
112
+ :type sign_id: str
113
+ :param template_content: 模板内容
114
+ :type template_content: str
115
+ :param has_variable: 是否有变量
116
+ :type has_variable: str
117
+ :param template_desc: 申请描述
118
+ :type template_desc: str
119
+ :param review_desc: 审核意见
120
+ :type review_desc: str
121
+ :param review_order: 审核人账号
122
+ :type review_order: str
123
+ :param flow_status: 流程状态
124
+ :type flow_status: str
125
+ :param universal_template: 是否是通用模板
126
+ :type universal_template: int
127
+ :param status: 模板状态
128
+ :type status: str
129
+ :param region: 地域 1. cn:国内 2. intl:国际
130
+ :type region: str
131
+ :param brackets: 中括号类型 支持枚举值: CN: 中文类型 GB: 英文类型
132
+ :type brackets: str
133
+ :param site: 站点
134
+ :type site: str
135
+ :param urge_status: 催审状态
136
+ :type urge_status: str
137
+ :param urge_time: 催审时间
138
+ :type urge_time: str
139
+ :param urge_desc: 催审描述
140
+ :type urge_desc: str
141
+ :param send_country1: 发送国家1
142
+ :type send_country1: int
143
+ :param send_country2: 发送国家2
144
+ :type send_country2: int
145
+ :param send_country3: 发送国家3
146
+ :type send_country3: int
147
+ :param is_support_multiomp: 是否支持多OMP
148
+ :type is_support_multiomp: bool
149
+ :param country_name: 国家名称列表,返回发送国家前三名的国家名称,国家名称间以\"~\"分隔
150
+ :type country_name: str
151
+ """
152
+
153
+ super(ShowTemplateResponse, self).__init__()
154
+
155
+ self._id = None
156
+ self._create_time = None
157
+ self._update_time = None
158
+ self._customer_id = None
159
+ self._tenant = None
160
+ self._template_name = None
161
+ self._template_id = None
162
+ self._template_type = None
163
+ self._app_name = None
164
+ self._app_key = None
165
+ self._sign_id = None
166
+ self._template_content = None
167
+ self._has_variable = None
168
+ self._template_desc = None
169
+ self._review_desc = None
170
+ self._review_order = None
171
+ self._flow_status = None
172
+ self._universal_template = None
173
+ self._status = None
174
+ self._region = None
175
+ self._brackets = None
176
+ self._site = None
177
+ self._urge_status = None
178
+ self._urge_time = None
179
+ self._urge_desc = None
180
+ self._send_country1 = None
181
+ self._send_country2 = None
182
+ self._send_country3 = None
183
+ self._is_support_multiomp = None
184
+ self._country_name = None
185
+ self.discriminator = None
186
+
187
+ if id is not None:
188
+ self.id = id
189
+ if create_time is not None:
190
+ self.create_time = create_time
191
+ if update_time is not None:
192
+ self.update_time = update_time
193
+ if customer_id is not None:
194
+ self.customer_id = customer_id
195
+ if tenant is not None:
196
+ self.tenant = tenant
197
+ if template_name is not None:
198
+ self.template_name = template_name
199
+ if template_id is not None:
200
+ self.template_id = template_id
201
+ if template_type is not None:
202
+ self.template_type = template_type
203
+ if app_name is not None:
204
+ self.app_name = app_name
205
+ if app_key is not None:
206
+ self.app_key = app_key
207
+ if sign_id is not None:
208
+ self.sign_id = sign_id
209
+ if template_content is not None:
210
+ self.template_content = template_content
211
+ if has_variable is not None:
212
+ self.has_variable = has_variable
213
+ if template_desc is not None:
214
+ self.template_desc = template_desc
215
+ if review_desc is not None:
216
+ self.review_desc = review_desc
217
+ if review_order is not None:
218
+ self.review_order = review_order
219
+ if flow_status is not None:
220
+ self.flow_status = flow_status
221
+ if universal_template is not None:
222
+ self.universal_template = universal_template
223
+ if status is not None:
224
+ self.status = status
225
+ if region is not None:
226
+ self.region = region
227
+ if brackets is not None:
228
+ self.brackets = brackets
229
+ if site is not None:
230
+ self.site = site
231
+ if urge_status is not None:
232
+ self.urge_status = urge_status
233
+ if urge_time is not None:
234
+ self.urge_time = urge_time
235
+ if urge_desc is not None:
236
+ self.urge_desc = urge_desc
237
+ if send_country1 is not None:
238
+ self.send_country1 = send_country1
239
+ if send_country2 is not None:
240
+ self.send_country2 = send_country2
241
+ if send_country3 is not None:
242
+ self.send_country3 = send_country3
243
+ if is_support_multiomp is not None:
244
+ self.is_support_multiomp = is_support_multiomp
245
+ if country_name is not None:
246
+ self.country_name = country_name
247
+
248
+ @property
249
+ def id(self):
250
+ r"""Gets the id of this ShowTemplateResponse.
251
+
252
+ 模板主键ID,用于获取、修改、删除模板以及查询模板变量的唯一标识
253
+
254
+ :return: The id of this ShowTemplateResponse.
255
+ :rtype: str
256
+ """
257
+ return self._id
258
+
259
+ @id.setter
260
+ def id(self, id):
261
+ r"""Sets the id of this ShowTemplateResponse.
262
+
263
+ 模板主键ID,用于获取、修改、删除模板以及查询模板变量的唯一标识
264
+
265
+ :param id: The id of this ShowTemplateResponse.
266
+ :type id: str
267
+ """
268
+ self._id = id
269
+
270
+ @property
271
+ def create_time(self):
272
+ r"""Gets the create_time of this ShowTemplateResponse.
273
+
274
+ 创建时间[yyyy-MM-dd HH:mm:ss]
275
+
276
+ :return: The create_time of this ShowTemplateResponse.
277
+ :rtype: str
278
+ """
279
+ return self._create_time
280
+
281
+ @create_time.setter
282
+ def create_time(self, create_time):
283
+ r"""Sets the create_time of this ShowTemplateResponse.
284
+
285
+ 创建时间[yyyy-MM-dd HH:mm:ss]
286
+
287
+ :param create_time: The create_time of this ShowTemplateResponse.
288
+ :type create_time: str
289
+ """
290
+ self._create_time = create_time
291
+
292
+ @property
293
+ def update_time(self):
294
+ r"""Gets the update_time of this ShowTemplateResponse.
295
+
296
+ 更新时间[yyyy-MM-dd HH:mm:ss]
297
+
298
+ :return: The update_time of this ShowTemplateResponse.
299
+ :rtype: str
300
+ """
301
+ return self._update_time
302
+
303
+ @update_time.setter
304
+ def update_time(self, update_time):
305
+ r"""Sets the update_time of this ShowTemplateResponse.
306
+
307
+ 更新时间[yyyy-MM-dd HH:mm:ss]
308
+
309
+ :param update_time: The update_time of this ShowTemplateResponse.
310
+ :type update_time: str
311
+ """
312
+ self._update_time = update_time
313
+
314
+ @property
315
+ def customer_id(self):
316
+ r"""Gets the customer_id of this ShowTemplateResponse.
317
+
318
+ 租户customer id
319
+
320
+ :return: The customer_id of this ShowTemplateResponse.
321
+ :rtype: str
322
+ """
323
+ return self._customer_id
324
+
325
+ @customer_id.setter
326
+ def customer_id(self, customer_id):
327
+ r"""Sets the customer_id of this ShowTemplateResponse.
328
+
329
+ 租户customer id
330
+
331
+ :param customer_id: The customer_id of this ShowTemplateResponse.
332
+ :type customer_id: str
333
+ """
334
+ self._customer_id = customer_id
335
+
336
+ @property
337
+ def tenant(self):
338
+ r"""Gets the tenant of this ShowTemplateResponse.
339
+
340
+ :return: The tenant of this ShowTemplateResponse.
341
+ :rtype: :class:`huaweicloudsdkmsgsms.v2.TenantBasic`
342
+ """
343
+ return self._tenant
344
+
345
+ @tenant.setter
346
+ def tenant(self, tenant):
347
+ r"""Sets the tenant of this ShowTemplateResponse.
348
+
349
+ :param tenant: The tenant of this ShowTemplateResponse.
350
+ :type tenant: :class:`huaweicloudsdkmsgsms.v2.TenantBasic`
351
+ """
352
+ self._tenant = tenant
353
+
354
+ @property
355
+ def template_name(self):
356
+ r"""Gets the template_name of this ShowTemplateResponse.
357
+
358
+ 模板名称
359
+
360
+ :return: The template_name of this ShowTemplateResponse.
361
+ :rtype: str
362
+ """
363
+ return self._template_name
364
+
365
+ @template_name.setter
366
+ def template_name(self, template_name):
367
+ r"""Sets the template_name of this ShowTemplateResponse.
368
+
369
+ 模板名称
370
+
371
+ :param template_name: The template_name of this ShowTemplateResponse.
372
+ :type template_name: str
373
+ """
374
+ self._template_name = template_name
375
+
376
+ @property
377
+ def template_id(self):
378
+ r"""Gets the template_id of this ShowTemplateResponse.
379
+
380
+ 模板ID
381
+
382
+ :return: The template_id of this ShowTemplateResponse.
383
+ :rtype: str
384
+ """
385
+ return self._template_id
386
+
387
+ @template_id.setter
388
+ def template_id(self, template_id):
389
+ r"""Sets the template_id of this ShowTemplateResponse.
390
+
391
+ 模板ID
392
+
393
+ :param template_id: The template_id of this ShowTemplateResponse.
394
+ :type template_id: str
395
+ """
396
+ self._template_id = template_id
397
+
398
+ @property
399
+ def template_type(self):
400
+ r"""Gets the template_type of this ShowTemplateResponse.
401
+
402
+ 模板类型
403
+
404
+ :return: The template_type of this ShowTemplateResponse.
405
+ :rtype: str
406
+ """
407
+ return self._template_type
408
+
409
+ @template_type.setter
410
+ def template_type(self, template_type):
411
+ r"""Sets the template_type of this ShowTemplateResponse.
412
+
413
+ 模板类型
414
+
415
+ :param template_type: The template_type of this ShowTemplateResponse.
416
+ :type template_type: str
417
+ """
418
+ self._template_type = template_type
419
+
420
+ @property
421
+ def app_name(self):
422
+ r"""Gets the app_name of this ShowTemplateResponse.
423
+
424
+ 应用名称
425
+
426
+ :return: The app_name of this ShowTemplateResponse.
427
+ :rtype: str
428
+ """
429
+ return self._app_name
430
+
431
+ @app_name.setter
432
+ def app_name(self, app_name):
433
+ r"""Sets the app_name of this ShowTemplateResponse.
434
+
435
+ 应用名称
436
+
437
+ :param app_name: The app_name of this ShowTemplateResponse.
438
+ :type app_name: str
439
+ """
440
+ self._app_name = app_name
441
+
442
+ @property
443
+ def app_key(self):
444
+ r"""Gets the app_key of this ShowTemplateResponse.
445
+
446
+ 应用key
447
+
448
+ :return: The app_key of this ShowTemplateResponse.
449
+ :rtype: str
450
+ """
451
+ return self._app_key
452
+
453
+ @app_key.setter
454
+ def app_key(self, app_key):
455
+ r"""Sets the app_key of this ShowTemplateResponse.
456
+
457
+ 应用key
458
+
459
+ :param app_key: The app_key of this ShowTemplateResponse.
460
+ :type app_key: str
461
+ """
462
+ self._app_key = app_key
463
+
464
+ @property
465
+ def sign_id(self):
466
+ r"""Gets the sign_id of this ShowTemplateResponse.
467
+
468
+ 签名主键id
469
+
470
+ :return: The sign_id of this ShowTemplateResponse.
471
+ :rtype: str
472
+ """
473
+ return self._sign_id
474
+
475
+ @sign_id.setter
476
+ def sign_id(self, sign_id):
477
+ r"""Sets the sign_id of this ShowTemplateResponse.
478
+
479
+ 签名主键id
480
+
481
+ :param sign_id: The sign_id of this ShowTemplateResponse.
482
+ :type sign_id: str
483
+ """
484
+ self._sign_id = sign_id
485
+
486
+ @property
487
+ def template_content(self):
488
+ r"""Gets the template_content of this ShowTemplateResponse.
489
+
490
+ 模板内容
491
+
492
+ :return: The template_content of this ShowTemplateResponse.
493
+ :rtype: str
494
+ """
495
+ return self._template_content
496
+
497
+ @template_content.setter
498
+ def template_content(self, template_content):
499
+ r"""Sets the template_content of this ShowTemplateResponse.
500
+
501
+ 模板内容
502
+
503
+ :param template_content: The template_content of this ShowTemplateResponse.
504
+ :type template_content: str
505
+ """
506
+ self._template_content = template_content
507
+
508
+ @property
509
+ def has_variable(self):
510
+ r"""Gets the has_variable of this ShowTemplateResponse.
511
+
512
+ 是否有变量
513
+
514
+ :return: The has_variable of this ShowTemplateResponse.
515
+ :rtype: str
516
+ """
517
+ return self._has_variable
518
+
519
+ @has_variable.setter
520
+ def has_variable(self, has_variable):
521
+ r"""Sets the has_variable of this ShowTemplateResponse.
522
+
523
+ 是否有变量
524
+
525
+ :param has_variable: The has_variable of this ShowTemplateResponse.
526
+ :type has_variable: str
527
+ """
528
+ self._has_variable = has_variable
529
+
530
+ @property
531
+ def template_desc(self):
532
+ r"""Gets the template_desc of this ShowTemplateResponse.
533
+
534
+ 申请描述
535
+
536
+ :return: The template_desc of this ShowTemplateResponse.
537
+ :rtype: str
538
+ """
539
+ return self._template_desc
540
+
541
+ @template_desc.setter
542
+ def template_desc(self, template_desc):
543
+ r"""Sets the template_desc of this ShowTemplateResponse.
544
+
545
+ 申请描述
546
+
547
+ :param template_desc: The template_desc of this ShowTemplateResponse.
548
+ :type template_desc: str
549
+ """
550
+ self._template_desc = template_desc
551
+
552
+ @property
553
+ def review_desc(self):
554
+ r"""Gets the review_desc of this ShowTemplateResponse.
555
+
556
+ 审核意见
557
+
558
+ :return: The review_desc of this ShowTemplateResponse.
559
+ :rtype: str
560
+ """
561
+ return self._review_desc
562
+
563
+ @review_desc.setter
564
+ def review_desc(self, review_desc):
565
+ r"""Sets the review_desc of this ShowTemplateResponse.
566
+
567
+ 审核意见
568
+
569
+ :param review_desc: The review_desc of this ShowTemplateResponse.
570
+ :type review_desc: str
571
+ """
572
+ self._review_desc = review_desc
573
+
574
+ @property
575
+ def review_order(self):
576
+ r"""Gets the review_order of this ShowTemplateResponse.
577
+
578
+ 审核人账号
579
+
580
+ :return: The review_order of this ShowTemplateResponse.
581
+ :rtype: str
582
+ """
583
+ return self._review_order
584
+
585
+ @review_order.setter
586
+ def review_order(self, review_order):
587
+ r"""Sets the review_order of this ShowTemplateResponse.
588
+
589
+ 审核人账号
590
+
591
+ :param review_order: The review_order of this ShowTemplateResponse.
592
+ :type review_order: str
593
+ """
594
+ self._review_order = review_order
595
+
596
+ @property
597
+ def flow_status(self):
598
+ r"""Gets the flow_status of this ShowTemplateResponse.
599
+
600
+ 流程状态
601
+
602
+ :return: The flow_status of this ShowTemplateResponse.
603
+ :rtype: str
604
+ """
605
+ return self._flow_status
606
+
607
+ @flow_status.setter
608
+ def flow_status(self, flow_status):
609
+ r"""Sets the flow_status of this ShowTemplateResponse.
610
+
611
+ 流程状态
612
+
613
+ :param flow_status: The flow_status of this ShowTemplateResponse.
614
+ :type flow_status: str
615
+ """
616
+ self._flow_status = flow_status
617
+
618
+ @property
619
+ def universal_template(self):
620
+ r"""Gets the universal_template of this ShowTemplateResponse.
621
+
622
+ 是否是通用模板
623
+
624
+ :return: The universal_template of this ShowTemplateResponse.
625
+ :rtype: int
626
+ """
627
+ return self._universal_template
628
+
629
+ @universal_template.setter
630
+ def universal_template(self, universal_template):
631
+ r"""Sets the universal_template of this ShowTemplateResponse.
632
+
633
+ 是否是通用模板
634
+
635
+ :param universal_template: The universal_template of this ShowTemplateResponse.
636
+ :type universal_template: int
637
+ """
638
+ self._universal_template = universal_template
639
+
640
+ @property
641
+ def status(self):
642
+ r"""Gets the status of this ShowTemplateResponse.
643
+
644
+ 模板状态
645
+
646
+ :return: The status of this ShowTemplateResponse.
647
+ :rtype: str
648
+ """
649
+ return self._status
650
+
651
+ @status.setter
652
+ def status(self, status):
653
+ r"""Sets the status of this ShowTemplateResponse.
654
+
655
+ 模板状态
656
+
657
+ :param status: The status of this ShowTemplateResponse.
658
+ :type status: str
659
+ """
660
+ self._status = status
661
+
662
+ @property
663
+ def region(self):
664
+ r"""Gets the region of this ShowTemplateResponse.
665
+
666
+ 地域 1. cn:国内 2. intl:国际
667
+
668
+ :return: The region of this ShowTemplateResponse.
669
+ :rtype: str
670
+ """
671
+ return self._region
672
+
673
+ @region.setter
674
+ def region(self, region):
675
+ r"""Sets the region of this ShowTemplateResponse.
676
+
677
+ 地域 1. cn:国内 2. intl:国际
678
+
679
+ :param region: The region of this ShowTemplateResponse.
680
+ :type region: str
681
+ """
682
+ self._region = region
683
+
684
+ @property
685
+ def brackets(self):
686
+ r"""Gets the brackets of this ShowTemplateResponse.
687
+
688
+ 中括号类型 支持枚举值: CN: 中文类型 GB: 英文类型
689
+
690
+ :return: The brackets of this ShowTemplateResponse.
691
+ :rtype: str
692
+ """
693
+ return self._brackets
694
+
695
+ @brackets.setter
696
+ def brackets(self, brackets):
697
+ r"""Sets the brackets of this ShowTemplateResponse.
698
+
699
+ 中括号类型 支持枚举值: CN: 中文类型 GB: 英文类型
700
+
701
+ :param brackets: The brackets of this ShowTemplateResponse.
702
+ :type brackets: str
703
+ """
704
+ self._brackets = brackets
705
+
706
+ @property
707
+ def site(self):
708
+ r"""Gets the site of this ShowTemplateResponse.
709
+
710
+ 站点
711
+
712
+ :return: The site of this ShowTemplateResponse.
713
+ :rtype: str
714
+ """
715
+ return self._site
716
+
717
+ @site.setter
718
+ def site(self, site):
719
+ r"""Sets the site of this ShowTemplateResponse.
720
+
721
+ 站点
722
+
723
+ :param site: The site of this ShowTemplateResponse.
724
+ :type site: str
725
+ """
726
+ self._site = site
727
+
728
+ @property
729
+ def urge_status(self):
730
+ r"""Gets the urge_status of this ShowTemplateResponse.
731
+
732
+ 催审状态
733
+
734
+ :return: The urge_status of this ShowTemplateResponse.
735
+ :rtype: str
736
+ """
737
+ return self._urge_status
738
+
739
+ @urge_status.setter
740
+ def urge_status(self, urge_status):
741
+ r"""Sets the urge_status of this ShowTemplateResponse.
742
+
743
+ 催审状态
744
+
745
+ :param urge_status: The urge_status of this ShowTemplateResponse.
746
+ :type urge_status: str
747
+ """
748
+ self._urge_status = urge_status
749
+
750
+ @property
751
+ def urge_time(self):
752
+ r"""Gets the urge_time of this ShowTemplateResponse.
753
+
754
+ 催审时间
755
+
756
+ :return: The urge_time of this ShowTemplateResponse.
757
+ :rtype: str
758
+ """
759
+ return self._urge_time
760
+
761
+ @urge_time.setter
762
+ def urge_time(self, urge_time):
763
+ r"""Sets the urge_time of this ShowTemplateResponse.
764
+
765
+ 催审时间
766
+
767
+ :param urge_time: The urge_time of this ShowTemplateResponse.
768
+ :type urge_time: str
769
+ """
770
+ self._urge_time = urge_time
771
+
772
+ @property
773
+ def urge_desc(self):
774
+ r"""Gets the urge_desc of this ShowTemplateResponse.
775
+
776
+ 催审描述
777
+
778
+ :return: The urge_desc of this ShowTemplateResponse.
779
+ :rtype: str
780
+ """
781
+ return self._urge_desc
782
+
783
+ @urge_desc.setter
784
+ def urge_desc(self, urge_desc):
785
+ r"""Sets the urge_desc of this ShowTemplateResponse.
786
+
787
+ 催审描述
788
+
789
+ :param urge_desc: The urge_desc of this ShowTemplateResponse.
790
+ :type urge_desc: str
791
+ """
792
+ self._urge_desc = urge_desc
793
+
794
+ @property
795
+ def send_country1(self):
796
+ r"""Gets the send_country1 of this ShowTemplateResponse.
797
+
798
+ 发送国家1
799
+
800
+ :return: The send_country1 of this ShowTemplateResponse.
801
+ :rtype: int
802
+ """
803
+ return self._send_country1
804
+
805
+ @send_country1.setter
806
+ def send_country1(self, send_country1):
807
+ r"""Sets the send_country1 of this ShowTemplateResponse.
808
+
809
+ 发送国家1
810
+
811
+ :param send_country1: The send_country1 of this ShowTemplateResponse.
812
+ :type send_country1: int
813
+ """
814
+ self._send_country1 = send_country1
815
+
816
+ @property
817
+ def send_country2(self):
818
+ r"""Gets the send_country2 of this ShowTemplateResponse.
819
+
820
+ 发送国家2
821
+
822
+ :return: The send_country2 of this ShowTemplateResponse.
823
+ :rtype: int
824
+ """
825
+ return self._send_country2
826
+
827
+ @send_country2.setter
828
+ def send_country2(self, send_country2):
829
+ r"""Sets the send_country2 of this ShowTemplateResponse.
830
+
831
+ 发送国家2
832
+
833
+ :param send_country2: The send_country2 of this ShowTemplateResponse.
834
+ :type send_country2: int
835
+ """
836
+ self._send_country2 = send_country2
837
+
838
+ @property
839
+ def send_country3(self):
840
+ r"""Gets the send_country3 of this ShowTemplateResponse.
841
+
842
+ 发送国家3
843
+
844
+ :return: The send_country3 of this ShowTemplateResponse.
845
+ :rtype: int
846
+ """
847
+ return self._send_country3
848
+
849
+ @send_country3.setter
850
+ def send_country3(self, send_country3):
851
+ r"""Sets the send_country3 of this ShowTemplateResponse.
852
+
853
+ 发送国家3
854
+
855
+ :param send_country3: The send_country3 of this ShowTemplateResponse.
856
+ :type send_country3: int
857
+ """
858
+ self._send_country3 = send_country3
859
+
860
+ @property
861
+ def is_support_multiomp(self):
862
+ r"""Gets the is_support_multiomp of this ShowTemplateResponse.
863
+
864
+ 是否支持多OMP
865
+
866
+ :return: The is_support_multiomp of this ShowTemplateResponse.
867
+ :rtype: bool
868
+ """
869
+ return self._is_support_multiomp
870
+
871
+ @is_support_multiomp.setter
872
+ def is_support_multiomp(self, is_support_multiomp):
873
+ r"""Sets the is_support_multiomp of this ShowTemplateResponse.
874
+
875
+ 是否支持多OMP
876
+
877
+ :param is_support_multiomp: The is_support_multiomp of this ShowTemplateResponse.
878
+ :type is_support_multiomp: bool
879
+ """
880
+ self._is_support_multiomp = is_support_multiomp
881
+
882
+ @property
883
+ def country_name(self):
884
+ r"""Gets the country_name of this ShowTemplateResponse.
885
+
886
+ 国家名称列表,返回发送国家前三名的国家名称,国家名称间以\"~\"分隔
887
+
888
+ :return: The country_name of this ShowTemplateResponse.
889
+ :rtype: str
890
+ """
891
+ return self._country_name
892
+
893
+ @country_name.setter
894
+ def country_name(self, country_name):
895
+ r"""Sets the country_name of this ShowTemplateResponse.
896
+
897
+ 国家名称列表,返回发送国家前三名的国家名称,国家名称间以\"~\"分隔
898
+
899
+ :param country_name: The country_name of this ShowTemplateResponse.
900
+ :type country_name: str
901
+ """
902
+ self._country_name = country_name
903
+
904
+ def to_dict(self):
905
+ """Returns the model properties as a dict"""
906
+ result = {}
907
+
908
+ for attr, _ in six.iteritems(self.openapi_types):
909
+ value = getattr(self, attr)
910
+ if isinstance(value, list):
911
+ result[attr] = list(map(
912
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
913
+ value
914
+ ))
915
+ elif hasattr(value, "to_dict"):
916
+ result[attr] = value.to_dict()
917
+ elif isinstance(value, dict):
918
+ result[attr] = dict(map(
919
+ lambda item: (item[0], item[1].to_dict())
920
+ if hasattr(item[1], "to_dict") else item,
921
+ value.items()
922
+ ))
923
+ else:
924
+ if attr in self.sensitive_list:
925
+ result[attr] = "****"
926
+ else:
927
+ result[attr] = value
928
+
929
+ return result
930
+
931
+ def to_str(self):
932
+ """Returns the string representation of the model"""
933
+ import simplejson as json
934
+ if six.PY2:
935
+ import sys
936
+ reload(sys)
937
+ sys.setdefaultencoding("utf-8")
938
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
939
+
940
+ def __repr__(self):
941
+ """For `print`"""
942
+ return self.to_str()
943
+
944
+ def __eq__(self, other):
945
+ """Returns true if both objects are equal"""
946
+ if not isinstance(other, ShowTemplateResponse):
947
+ return False
948
+
949
+ return self.__dict__ == other.__dict__
950
+
951
+ def __ne__(self, other):
952
+ """Returns true if both objects are not equal"""
953
+ return not self == other