huaweicloudsdktics 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.

Potentially problematic release.


This version of huaweicloudsdktics might be problematic. Click here for more details.

Files changed (78) hide show
  1. huaweicloudsdktics/__init__.py +0 -0
  2. huaweicloudsdktics/v1/__init__.py +74 -0
  3. huaweicloudsdktics/v1/model/__init__.py +71 -0
  4. huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
  5. huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
  6. huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
  7. huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
  8. huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
  9. huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
  10. huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
  11. huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
  12. huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
  13. huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
  14. huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
  15. huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
  16. huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
  17. huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
  18. huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
  19. huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
  20. huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
  21. huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
  22. huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
  23. huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
  24. huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
  25. huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
  26. huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
  27. huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
  28. huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
  29. huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
  30. huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
  31. huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
  32. huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
  33. huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
  34. huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
  35. huaweicloudsdktics/v1/model/processor_vo.py +374 -0
  36. huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
  37. huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
  38. huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
  39. huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
  40. huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
  41. huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
  42. huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
  43. huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
  44. huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
  45. huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
  46. huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
  47. huaweicloudsdktics/v1/model/show_league_request.py +114 -0
  48. huaweicloudsdktics/v1/model/show_league_response.py +725 -0
  49. huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
  50. huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
  51. huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
  52. huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
  53. huaweicloudsdktics/v1/model/stage_vo.py +201 -0
  54. huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
  55. huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
  56. huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +463 -0
  57. huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
  58. huaweicloudsdktics/v1/model/tics_agent_node_info.py +492 -0
  59. huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
  60. huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
  61. huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
  62. huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
  63. huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
  64. huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
  65. huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
  66. huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
  67. huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
  68. huaweicloudsdktics/v1/model/update_league_request.py +139 -0
  69. huaweicloudsdktics/v1/model/update_league_response.py +112 -0
  70. huaweicloudsdktics/v1/region/__init__.py +0 -0
  71. huaweicloudsdktics/v1/region/tics_region.py +34 -0
  72. huaweicloudsdktics/v1/tics_async_client.py +1382 -0
  73. huaweicloudsdktics/v1/tics_client.py +1379 -0
  74. huaweicloudsdktics-3.1.160.dist-info/LICENSE +13 -0
  75. huaweicloudsdktics-3.1.160.dist-info/METADATA +26 -0
  76. huaweicloudsdktics-3.1.160.dist-info/RECORD +78 -0
  77. huaweicloudsdktics-3.1.160.dist-info/WHEEL +5 -0
  78. huaweicloudsdktics-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,725 @@
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 ShowLeagueResponse(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
+ 'bcs_channel_name': 'str',
22
+ 'bcs_ip': 'str',
23
+ 'bcs_org_name': 'str',
24
+ 'block_chain_id': 'str',
25
+ 'block_chain_name': 'str',
26
+ 'create_date': 'datetime',
27
+ 'create_time': 'int',
28
+ 'creator_id': 'str',
29
+ 'creator_name': 'str',
30
+ 'description': 'str',
31
+ 'dp_enabled': 'bool',
32
+ 'expire_time': 'int',
33
+ 'id': 'str',
34
+ 'is_access_control': 'bool',
35
+ 'is_need_approval': 'bool',
36
+ 'league_status': 'str',
37
+ 'name': 'str',
38
+ 'partners': 'int',
39
+ 'privacy_protection_type': 'str',
40
+ 'resource_spec_code': 'str',
41
+ 'type': 'str',
42
+ 'version': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'bcs_channel_name': 'bcs_channel_name',
47
+ 'bcs_ip': 'bcs_ip',
48
+ 'bcs_org_name': 'bcs_org_name',
49
+ 'block_chain_id': 'block_chain_id',
50
+ 'block_chain_name': 'block_chain_name',
51
+ 'create_date': 'create_date',
52
+ 'create_time': 'create_time',
53
+ 'creator_id': 'creator_id',
54
+ 'creator_name': 'creator_name',
55
+ 'description': 'description',
56
+ 'dp_enabled': 'dp_enabled',
57
+ 'expire_time': 'expire_time',
58
+ 'id': 'id',
59
+ 'is_access_control': 'is_access_control',
60
+ 'is_need_approval': 'is_need_approval',
61
+ 'league_status': 'league_status',
62
+ 'name': 'name',
63
+ 'partners': 'partners',
64
+ 'privacy_protection_type': 'privacy_protection_type',
65
+ 'resource_spec_code': 'resource_spec_code',
66
+ 'type': 'type',
67
+ 'version': 'version'
68
+ }
69
+
70
+ def __init__(self, bcs_channel_name=None, bcs_ip=None, bcs_org_name=None, block_chain_id=None, block_chain_name=None, create_date=None, create_time=None, creator_id=None, creator_name=None, description=None, dp_enabled=None, expire_time=None, id=None, is_access_control=None, is_need_approval=None, league_status=None, name=None, partners=None, privacy_protection_type=None, resource_spec_code=None, type=None, version=None):
71
+ r"""ShowLeagueResponse
72
+
73
+ The model defined in huaweicloud sdk
74
+
75
+ :param bcs_channel_name: BCS通道名称
76
+ :type bcs_channel_name: str
77
+ :param bcs_ip: BCS浏览器ip
78
+ :type bcs_ip: str
79
+ :param bcs_org_name: BCS组织名称
80
+ :type bcs_org_name: str
81
+ :param block_chain_id: BCS服务实例ID
82
+ :type block_chain_id: str
83
+ :param block_chain_name: BCS服务实例名称
84
+ :type block_chain_name: str
85
+ :param create_date: 创建日期
86
+ :type create_date: datetime
87
+ :param create_time: 创建时间
88
+ :type create_time: int
89
+ :param creator_id: 创建人id
90
+ :type creator_id: str
91
+ :param creator_name: 创建人名称
92
+ :type creator_name: str
93
+ :param description: 描述信息
94
+ :type description: str
95
+ :param dp_enabled: 是否开启差分隐私
96
+ :type dp_enabled: bool
97
+ :param expire_time: 过期时间
98
+ :type expire_time: int
99
+ :param id: 联盟id
100
+ :type id: str
101
+ :param is_access_control: 是否开启访问控制
102
+ :type is_access_control: bool
103
+ :param is_need_approval: 是否开启审批
104
+ :type is_need_approval: bool
105
+ :param league_status: 联盟状态,CREATING.创建中,CREATE_FAILED.创建失败,NORMAL.正常,UPDATING.升级中,UPDATE_FAILED.升级失败,ROLLING.回滚中,ROLL_FAILED.回滚失败,DELETING.删除中,DELETE_FAILED.删除失败,DELETED.已删除
106
+ :type league_status: str
107
+ :param name: 联盟名称
108
+ :type name: str
109
+ :param partners: 联盟成员数
110
+ :type partners: int
111
+ :param privacy_protection_type: 隐私保护级别,STANDARD.标准,HIGH.高
112
+ :type privacy_protection_type: str
113
+ :param resource_spec_code: 资源规格
114
+ :type resource_spec_code: str
115
+ :param type: 参与类型,OWNER.所有者,PARTNER.参与者
116
+ :type type: str
117
+ :param version: 联盟版本
118
+ :type version: str
119
+ """
120
+
121
+ super(ShowLeagueResponse, self).__init__()
122
+
123
+ self._bcs_channel_name = None
124
+ self._bcs_ip = None
125
+ self._bcs_org_name = None
126
+ self._block_chain_id = None
127
+ self._block_chain_name = None
128
+ self._create_date = None
129
+ self._create_time = None
130
+ self._creator_id = None
131
+ self._creator_name = None
132
+ self._description = None
133
+ self._dp_enabled = None
134
+ self._expire_time = None
135
+ self._id = None
136
+ self._is_access_control = None
137
+ self._is_need_approval = None
138
+ self._league_status = None
139
+ self._name = None
140
+ self._partners = None
141
+ self._privacy_protection_type = None
142
+ self._resource_spec_code = None
143
+ self._type = None
144
+ self._version = None
145
+ self.discriminator = None
146
+
147
+ if bcs_channel_name is not None:
148
+ self.bcs_channel_name = bcs_channel_name
149
+ if bcs_ip is not None:
150
+ self.bcs_ip = bcs_ip
151
+ if bcs_org_name is not None:
152
+ self.bcs_org_name = bcs_org_name
153
+ if block_chain_id is not None:
154
+ self.block_chain_id = block_chain_id
155
+ if block_chain_name is not None:
156
+ self.block_chain_name = block_chain_name
157
+ if create_date is not None:
158
+ self.create_date = create_date
159
+ if create_time is not None:
160
+ self.create_time = create_time
161
+ if creator_id is not None:
162
+ self.creator_id = creator_id
163
+ if creator_name is not None:
164
+ self.creator_name = creator_name
165
+ if description is not None:
166
+ self.description = description
167
+ if dp_enabled is not None:
168
+ self.dp_enabled = dp_enabled
169
+ if expire_time is not None:
170
+ self.expire_time = expire_time
171
+ if id is not None:
172
+ self.id = id
173
+ if is_access_control is not None:
174
+ self.is_access_control = is_access_control
175
+ if is_need_approval is not None:
176
+ self.is_need_approval = is_need_approval
177
+ if league_status is not None:
178
+ self.league_status = league_status
179
+ if name is not None:
180
+ self.name = name
181
+ if partners is not None:
182
+ self.partners = partners
183
+ if privacy_protection_type is not None:
184
+ self.privacy_protection_type = privacy_protection_type
185
+ if resource_spec_code is not None:
186
+ self.resource_spec_code = resource_spec_code
187
+ if type is not None:
188
+ self.type = type
189
+ if version is not None:
190
+ self.version = version
191
+
192
+ @property
193
+ def bcs_channel_name(self):
194
+ r"""Gets the bcs_channel_name of this ShowLeagueResponse.
195
+
196
+ BCS通道名称
197
+
198
+ :return: The bcs_channel_name of this ShowLeagueResponse.
199
+ :rtype: str
200
+ """
201
+ return self._bcs_channel_name
202
+
203
+ @bcs_channel_name.setter
204
+ def bcs_channel_name(self, bcs_channel_name):
205
+ r"""Sets the bcs_channel_name of this ShowLeagueResponse.
206
+
207
+ BCS通道名称
208
+
209
+ :param bcs_channel_name: The bcs_channel_name of this ShowLeagueResponse.
210
+ :type bcs_channel_name: str
211
+ """
212
+ self._bcs_channel_name = bcs_channel_name
213
+
214
+ @property
215
+ def bcs_ip(self):
216
+ r"""Gets the bcs_ip of this ShowLeagueResponse.
217
+
218
+ BCS浏览器ip
219
+
220
+ :return: The bcs_ip of this ShowLeagueResponse.
221
+ :rtype: str
222
+ """
223
+ return self._bcs_ip
224
+
225
+ @bcs_ip.setter
226
+ def bcs_ip(self, bcs_ip):
227
+ r"""Sets the bcs_ip of this ShowLeagueResponse.
228
+
229
+ BCS浏览器ip
230
+
231
+ :param bcs_ip: The bcs_ip of this ShowLeagueResponse.
232
+ :type bcs_ip: str
233
+ """
234
+ self._bcs_ip = bcs_ip
235
+
236
+ @property
237
+ def bcs_org_name(self):
238
+ r"""Gets the bcs_org_name of this ShowLeagueResponse.
239
+
240
+ BCS组织名称
241
+
242
+ :return: The bcs_org_name of this ShowLeagueResponse.
243
+ :rtype: str
244
+ """
245
+ return self._bcs_org_name
246
+
247
+ @bcs_org_name.setter
248
+ def bcs_org_name(self, bcs_org_name):
249
+ r"""Sets the bcs_org_name of this ShowLeagueResponse.
250
+
251
+ BCS组织名称
252
+
253
+ :param bcs_org_name: The bcs_org_name of this ShowLeagueResponse.
254
+ :type bcs_org_name: str
255
+ """
256
+ self._bcs_org_name = bcs_org_name
257
+
258
+ @property
259
+ def block_chain_id(self):
260
+ r"""Gets the block_chain_id of this ShowLeagueResponse.
261
+
262
+ BCS服务实例ID
263
+
264
+ :return: The block_chain_id of this ShowLeagueResponse.
265
+ :rtype: str
266
+ """
267
+ return self._block_chain_id
268
+
269
+ @block_chain_id.setter
270
+ def block_chain_id(self, block_chain_id):
271
+ r"""Sets the block_chain_id of this ShowLeagueResponse.
272
+
273
+ BCS服务实例ID
274
+
275
+ :param block_chain_id: The block_chain_id of this ShowLeagueResponse.
276
+ :type block_chain_id: str
277
+ """
278
+ self._block_chain_id = block_chain_id
279
+
280
+ @property
281
+ def block_chain_name(self):
282
+ r"""Gets the block_chain_name of this ShowLeagueResponse.
283
+
284
+ BCS服务实例名称
285
+
286
+ :return: The block_chain_name of this ShowLeagueResponse.
287
+ :rtype: str
288
+ """
289
+ return self._block_chain_name
290
+
291
+ @block_chain_name.setter
292
+ def block_chain_name(self, block_chain_name):
293
+ r"""Sets the block_chain_name of this ShowLeagueResponse.
294
+
295
+ BCS服务实例名称
296
+
297
+ :param block_chain_name: The block_chain_name of this ShowLeagueResponse.
298
+ :type block_chain_name: str
299
+ """
300
+ self._block_chain_name = block_chain_name
301
+
302
+ @property
303
+ def create_date(self):
304
+ r"""Gets the create_date of this ShowLeagueResponse.
305
+
306
+ 创建日期
307
+
308
+ :return: The create_date of this ShowLeagueResponse.
309
+ :rtype: datetime
310
+ """
311
+ return self._create_date
312
+
313
+ @create_date.setter
314
+ def create_date(self, create_date):
315
+ r"""Sets the create_date of this ShowLeagueResponse.
316
+
317
+ 创建日期
318
+
319
+ :param create_date: The create_date of this ShowLeagueResponse.
320
+ :type create_date: datetime
321
+ """
322
+ self._create_date = create_date
323
+
324
+ @property
325
+ def create_time(self):
326
+ r"""Gets the create_time of this ShowLeagueResponse.
327
+
328
+ 创建时间
329
+
330
+ :return: The create_time of this ShowLeagueResponse.
331
+ :rtype: int
332
+ """
333
+ return self._create_time
334
+
335
+ @create_time.setter
336
+ def create_time(self, create_time):
337
+ r"""Sets the create_time of this ShowLeagueResponse.
338
+
339
+ 创建时间
340
+
341
+ :param create_time: The create_time of this ShowLeagueResponse.
342
+ :type create_time: int
343
+ """
344
+ self._create_time = create_time
345
+
346
+ @property
347
+ def creator_id(self):
348
+ r"""Gets the creator_id of this ShowLeagueResponse.
349
+
350
+ 创建人id
351
+
352
+ :return: The creator_id of this ShowLeagueResponse.
353
+ :rtype: str
354
+ """
355
+ return self._creator_id
356
+
357
+ @creator_id.setter
358
+ def creator_id(self, creator_id):
359
+ r"""Sets the creator_id of this ShowLeagueResponse.
360
+
361
+ 创建人id
362
+
363
+ :param creator_id: The creator_id of this ShowLeagueResponse.
364
+ :type creator_id: str
365
+ """
366
+ self._creator_id = creator_id
367
+
368
+ @property
369
+ def creator_name(self):
370
+ r"""Gets the creator_name of this ShowLeagueResponse.
371
+
372
+ 创建人名称
373
+
374
+ :return: The creator_name of this ShowLeagueResponse.
375
+ :rtype: str
376
+ """
377
+ return self._creator_name
378
+
379
+ @creator_name.setter
380
+ def creator_name(self, creator_name):
381
+ r"""Sets the creator_name of this ShowLeagueResponse.
382
+
383
+ 创建人名称
384
+
385
+ :param creator_name: The creator_name of this ShowLeagueResponse.
386
+ :type creator_name: str
387
+ """
388
+ self._creator_name = creator_name
389
+
390
+ @property
391
+ def description(self):
392
+ r"""Gets the description of this ShowLeagueResponse.
393
+
394
+ 描述信息
395
+
396
+ :return: The description of this ShowLeagueResponse.
397
+ :rtype: str
398
+ """
399
+ return self._description
400
+
401
+ @description.setter
402
+ def description(self, description):
403
+ r"""Sets the description of this ShowLeagueResponse.
404
+
405
+ 描述信息
406
+
407
+ :param description: The description of this ShowLeagueResponse.
408
+ :type description: str
409
+ """
410
+ self._description = description
411
+
412
+ @property
413
+ def dp_enabled(self):
414
+ r"""Gets the dp_enabled of this ShowLeagueResponse.
415
+
416
+ 是否开启差分隐私
417
+
418
+ :return: The dp_enabled of this ShowLeagueResponse.
419
+ :rtype: bool
420
+ """
421
+ return self._dp_enabled
422
+
423
+ @dp_enabled.setter
424
+ def dp_enabled(self, dp_enabled):
425
+ r"""Sets the dp_enabled of this ShowLeagueResponse.
426
+
427
+ 是否开启差分隐私
428
+
429
+ :param dp_enabled: The dp_enabled of this ShowLeagueResponse.
430
+ :type dp_enabled: bool
431
+ """
432
+ self._dp_enabled = dp_enabled
433
+
434
+ @property
435
+ def expire_time(self):
436
+ r"""Gets the expire_time of this ShowLeagueResponse.
437
+
438
+ 过期时间
439
+
440
+ :return: The expire_time of this ShowLeagueResponse.
441
+ :rtype: int
442
+ """
443
+ return self._expire_time
444
+
445
+ @expire_time.setter
446
+ def expire_time(self, expire_time):
447
+ r"""Sets the expire_time of this ShowLeagueResponse.
448
+
449
+ 过期时间
450
+
451
+ :param expire_time: The expire_time of this ShowLeagueResponse.
452
+ :type expire_time: int
453
+ """
454
+ self._expire_time = expire_time
455
+
456
+ @property
457
+ def id(self):
458
+ r"""Gets the id of this ShowLeagueResponse.
459
+
460
+ 联盟id
461
+
462
+ :return: The id of this ShowLeagueResponse.
463
+ :rtype: str
464
+ """
465
+ return self._id
466
+
467
+ @id.setter
468
+ def id(self, id):
469
+ r"""Sets the id of this ShowLeagueResponse.
470
+
471
+ 联盟id
472
+
473
+ :param id: The id of this ShowLeagueResponse.
474
+ :type id: str
475
+ """
476
+ self._id = id
477
+
478
+ @property
479
+ def is_access_control(self):
480
+ r"""Gets the is_access_control of this ShowLeagueResponse.
481
+
482
+ 是否开启访问控制
483
+
484
+ :return: The is_access_control of this ShowLeagueResponse.
485
+ :rtype: bool
486
+ """
487
+ return self._is_access_control
488
+
489
+ @is_access_control.setter
490
+ def is_access_control(self, is_access_control):
491
+ r"""Sets the is_access_control of this ShowLeagueResponse.
492
+
493
+ 是否开启访问控制
494
+
495
+ :param is_access_control: The is_access_control of this ShowLeagueResponse.
496
+ :type is_access_control: bool
497
+ """
498
+ self._is_access_control = is_access_control
499
+
500
+ @property
501
+ def is_need_approval(self):
502
+ r"""Gets the is_need_approval of this ShowLeagueResponse.
503
+
504
+ 是否开启审批
505
+
506
+ :return: The is_need_approval of this ShowLeagueResponse.
507
+ :rtype: bool
508
+ """
509
+ return self._is_need_approval
510
+
511
+ @is_need_approval.setter
512
+ def is_need_approval(self, is_need_approval):
513
+ r"""Sets the is_need_approval of this ShowLeagueResponse.
514
+
515
+ 是否开启审批
516
+
517
+ :param is_need_approval: The is_need_approval of this ShowLeagueResponse.
518
+ :type is_need_approval: bool
519
+ """
520
+ self._is_need_approval = is_need_approval
521
+
522
+ @property
523
+ def league_status(self):
524
+ r"""Gets the league_status of this ShowLeagueResponse.
525
+
526
+ 联盟状态,CREATING.创建中,CREATE_FAILED.创建失败,NORMAL.正常,UPDATING.升级中,UPDATE_FAILED.升级失败,ROLLING.回滚中,ROLL_FAILED.回滚失败,DELETING.删除中,DELETE_FAILED.删除失败,DELETED.已删除
527
+
528
+ :return: The league_status of this ShowLeagueResponse.
529
+ :rtype: str
530
+ """
531
+ return self._league_status
532
+
533
+ @league_status.setter
534
+ def league_status(self, league_status):
535
+ r"""Sets the league_status of this ShowLeagueResponse.
536
+
537
+ 联盟状态,CREATING.创建中,CREATE_FAILED.创建失败,NORMAL.正常,UPDATING.升级中,UPDATE_FAILED.升级失败,ROLLING.回滚中,ROLL_FAILED.回滚失败,DELETING.删除中,DELETE_FAILED.删除失败,DELETED.已删除
538
+
539
+ :param league_status: The league_status of this ShowLeagueResponse.
540
+ :type league_status: str
541
+ """
542
+ self._league_status = league_status
543
+
544
+ @property
545
+ def name(self):
546
+ r"""Gets the name of this ShowLeagueResponse.
547
+
548
+ 联盟名称
549
+
550
+ :return: The name of this ShowLeagueResponse.
551
+ :rtype: str
552
+ """
553
+ return self._name
554
+
555
+ @name.setter
556
+ def name(self, name):
557
+ r"""Sets the name of this ShowLeagueResponse.
558
+
559
+ 联盟名称
560
+
561
+ :param name: The name of this ShowLeagueResponse.
562
+ :type name: str
563
+ """
564
+ self._name = name
565
+
566
+ @property
567
+ def partners(self):
568
+ r"""Gets the partners of this ShowLeagueResponse.
569
+
570
+ 联盟成员数
571
+
572
+ :return: The partners of this ShowLeagueResponse.
573
+ :rtype: int
574
+ """
575
+ return self._partners
576
+
577
+ @partners.setter
578
+ def partners(self, partners):
579
+ r"""Sets the partners of this ShowLeagueResponse.
580
+
581
+ 联盟成员数
582
+
583
+ :param partners: The partners of this ShowLeagueResponse.
584
+ :type partners: int
585
+ """
586
+ self._partners = partners
587
+
588
+ @property
589
+ def privacy_protection_type(self):
590
+ r"""Gets the privacy_protection_type of this ShowLeagueResponse.
591
+
592
+ 隐私保护级别,STANDARD.标准,HIGH.高
593
+
594
+ :return: The privacy_protection_type of this ShowLeagueResponse.
595
+ :rtype: str
596
+ """
597
+ return self._privacy_protection_type
598
+
599
+ @privacy_protection_type.setter
600
+ def privacy_protection_type(self, privacy_protection_type):
601
+ r"""Sets the privacy_protection_type of this ShowLeagueResponse.
602
+
603
+ 隐私保护级别,STANDARD.标准,HIGH.高
604
+
605
+ :param privacy_protection_type: The privacy_protection_type of this ShowLeagueResponse.
606
+ :type privacy_protection_type: str
607
+ """
608
+ self._privacy_protection_type = privacy_protection_type
609
+
610
+ @property
611
+ def resource_spec_code(self):
612
+ r"""Gets the resource_spec_code of this ShowLeagueResponse.
613
+
614
+ 资源规格
615
+
616
+ :return: The resource_spec_code of this ShowLeagueResponse.
617
+ :rtype: str
618
+ """
619
+ return self._resource_spec_code
620
+
621
+ @resource_spec_code.setter
622
+ def resource_spec_code(self, resource_spec_code):
623
+ r"""Sets the resource_spec_code of this ShowLeagueResponse.
624
+
625
+ 资源规格
626
+
627
+ :param resource_spec_code: The resource_spec_code of this ShowLeagueResponse.
628
+ :type resource_spec_code: str
629
+ """
630
+ self._resource_spec_code = resource_spec_code
631
+
632
+ @property
633
+ def type(self):
634
+ r"""Gets the type of this ShowLeagueResponse.
635
+
636
+ 参与类型,OWNER.所有者,PARTNER.参与者
637
+
638
+ :return: The type of this ShowLeagueResponse.
639
+ :rtype: str
640
+ """
641
+ return self._type
642
+
643
+ @type.setter
644
+ def type(self, type):
645
+ r"""Sets the type of this ShowLeagueResponse.
646
+
647
+ 参与类型,OWNER.所有者,PARTNER.参与者
648
+
649
+ :param type: The type of this ShowLeagueResponse.
650
+ :type type: str
651
+ """
652
+ self._type = type
653
+
654
+ @property
655
+ def version(self):
656
+ r"""Gets the version of this ShowLeagueResponse.
657
+
658
+ 联盟版本
659
+
660
+ :return: The version of this ShowLeagueResponse.
661
+ :rtype: str
662
+ """
663
+ return self._version
664
+
665
+ @version.setter
666
+ def version(self, version):
667
+ r"""Sets the version of this ShowLeagueResponse.
668
+
669
+ 联盟版本
670
+
671
+ :param version: The version of this ShowLeagueResponse.
672
+ :type version: str
673
+ """
674
+ self._version = version
675
+
676
+ def to_dict(self):
677
+ """Returns the model properties as a dict"""
678
+ result = {}
679
+
680
+ for attr, _ in six.iteritems(self.openapi_types):
681
+ value = getattr(self, attr)
682
+ if isinstance(value, list):
683
+ result[attr] = list(map(
684
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
685
+ value
686
+ ))
687
+ elif hasattr(value, "to_dict"):
688
+ result[attr] = value.to_dict()
689
+ elif isinstance(value, dict):
690
+ result[attr] = dict(map(
691
+ lambda item: (item[0], item[1].to_dict())
692
+ if hasattr(item[1], "to_dict") else item,
693
+ value.items()
694
+ ))
695
+ else:
696
+ if attr in self.sensitive_list:
697
+ result[attr] = "****"
698
+ else:
699
+ result[attr] = value
700
+
701
+ return result
702
+
703
+ def to_str(self):
704
+ """Returns the string representation of the model"""
705
+ import simplejson as json
706
+ if six.PY2:
707
+ import sys
708
+ reload(sys)
709
+ sys.setdefaultencoding("utf-8")
710
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
711
+
712
+ def __repr__(self):
713
+ """For `print`"""
714
+ return self.to_str()
715
+
716
+ def __eq__(self, other):
717
+ """Returns true if both objects are equal"""
718
+ if not isinstance(other, ShowLeagueResponse):
719
+ return False
720
+
721
+ return self.__dict__ == other.__dict__
722
+
723
+ def __ne__(self, other):
724
+ """Returns true if both objects are not equal"""
725
+ return not self == other