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