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