huaweicloudsdkeihealth 3.1.150__py2.py3-none-any.whl → 3.1.152__py2.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.
- huaweicloudsdkeihealth/v1/__init__.py +46 -0
- huaweicloudsdkeihealth/v1/eihealth_async_client.py +1323 -48
- huaweicloudsdkeihealth/v1/eihealth_client.py +1323 -48
- huaweicloudsdkeihealth/v1/model/__init__.py +46 -0
- huaweicloudsdkeihealth/v1/model/agency_dto.py +231 -0
- huaweicloudsdkeihealth/v1/model/app_dto.py +492 -0
- huaweicloudsdkeihealth/v1/model/cce_cluster_rsp.py +260 -0
- huaweicloudsdkeihealth/v1/model/computing_cluster_rsp.py +463 -0
- huaweicloudsdkeihealth/v1/model/create_computing_cluster_req.py +114 -0
- huaweicloudsdkeihealth/v1/model/create_computing_cluster_request.py +111 -0
- huaweicloudsdkeihealth/v1/model/create_computing_cluster_response.py +116 -0
- huaweicloudsdkeihealth/v1/model/delete_computing_cluster_request.py +114 -0
- huaweicloudsdkeihealth/v1/model/delete_computing_cluster_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/iam_role_dto.py +231 -0
- huaweicloudsdkeihealth/v1/model/initialize_platform_request.py +84 -0
- huaweicloudsdkeihealth/v1/model/initialize_platform_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/install_step.py +169 -0
- huaweicloudsdkeihealth/v1/model/list_cce_cluster_request.py +84 -0
- huaweicloudsdkeihealth/v1/model/list_cce_cluster_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_cluster_install_step_request.py +114 -0
- huaweicloudsdkeihealth/v1/model/list_cluster_install_step_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_computing_cluster_request.py +144 -0
- huaweicloudsdkeihealth/v1/model/list_computing_cluster_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_project_statistics_request.py +84 -0
- huaweicloudsdkeihealth/v1/model/list_project_statistics_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_sfs_turbos_request.py +144 -0
- huaweicloudsdkeihealth/v1/model/list_sfs_turbos_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_user_app_request.py +492 -0
- huaweicloudsdkeihealth/v1/model/list_user_app_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_user_drug_job_request.py +492 -0
- huaweicloudsdkeihealth/v1/model/list_user_drug_job_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_user_image_request.py +521 -0
- huaweicloudsdkeihealth/v1/model/list_user_image_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_user_job_request.py +492 -0
- huaweicloudsdkeihealth/v1/model/list_user_job_response.py +203 -0
- huaweicloudsdkeihealth/v1/model/list_user_notebook_request.py +492 -0
- huaweicloudsdkeihealth/v1/model/list_user_notebook_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/list_user_workflow_request.py +492 -0
- huaweicloudsdkeihealth/v1/model/list_user_workflow_response.py +145 -0
- huaweicloudsdkeihealth/v1/model/project_statistic.py +347 -0
- huaweicloudsdkeihealth/v1/model/sfs_turbo_rsp.py +231 -0
- huaweicloudsdkeihealth/v1/model/show_agency_request.py +84 -0
- huaweicloudsdkeihealth/v1/model/show_agency_response.py +174 -0
- huaweicloudsdkeihealth/v1/model/statistic_dto.py +144 -0
- huaweicloudsdkeihealth/v1/model/step_status.py +89 -0
- huaweicloudsdkeihealth/v1/model/update_agency_request.py +84 -0
- huaweicloudsdkeihealth/v1/model/update_agency_response.py +85 -0
- huaweicloudsdkeihealth/v1/model/update_top_project_req.py +114 -0
- huaweicloudsdkeihealth/v1/model/update_top_project_request.py +139 -0
- huaweicloudsdkeihealth/v1/model/update_top_project_response.py +85 -0
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.152.dist-info}/METADATA +2 -2
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.152.dist-info}/RECORD +55 -9
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.152.dist-info}/LICENSE +0 -0
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.152.dist-info}/WHEEL +0 -0
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.152.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,492 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class AppDto:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'id': 'str',
|
21
|
+
'name': 'str',
|
22
|
+
'eihealth_project_id': 'str',
|
23
|
+
'eihealth_project_name': 'str',
|
24
|
+
'version': 'str',
|
25
|
+
'summary': 'str',
|
26
|
+
'description': 'str',
|
27
|
+
'labels': 'list[str]',
|
28
|
+
'create_time': 'str',
|
29
|
+
'update_time': 'str',
|
30
|
+
'user_name': 'str',
|
31
|
+
'source_project_name': 'str',
|
32
|
+
'source_resource_id': 'str',
|
33
|
+
'icon': 'str'
|
34
|
+
}
|
35
|
+
|
36
|
+
attribute_map = {
|
37
|
+
'id': 'id',
|
38
|
+
'name': 'name',
|
39
|
+
'eihealth_project_id': 'eihealth_project_id',
|
40
|
+
'eihealth_project_name': 'eihealth_project_name',
|
41
|
+
'version': 'version',
|
42
|
+
'summary': 'summary',
|
43
|
+
'description': 'description',
|
44
|
+
'labels': 'labels',
|
45
|
+
'create_time': 'create_time',
|
46
|
+
'update_time': 'update_time',
|
47
|
+
'user_name': 'user_name',
|
48
|
+
'source_project_name': 'source_project_name',
|
49
|
+
'source_resource_id': 'source_resource_id',
|
50
|
+
'icon': 'icon'
|
51
|
+
}
|
52
|
+
|
53
|
+
def __init__(self, id=None, name=None, eihealth_project_id=None, eihealth_project_name=None, version=None, summary=None, description=None, labels=None, create_time=None, update_time=None, user_name=None, source_project_name=None, source_resource_id=None, icon=None):
|
54
|
+
r"""AppDto
|
55
|
+
|
56
|
+
The model defined in huaweicloud sdk
|
57
|
+
|
58
|
+
:param id: 应用ID。
|
59
|
+
:type id: str
|
60
|
+
:param name: 应用名称。
|
61
|
+
:type name: str
|
62
|
+
:param eihealth_project_id: 应用所属空间ID。
|
63
|
+
:type eihealth_project_id: str
|
64
|
+
:param eihealth_project_name: 应用所属空间名称。
|
65
|
+
:type eihealth_project_name: str
|
66
|
+
:param version: 应用版本。
|
67
|
+
:type version: str
|
68
|
+
:param summary: 应用简述。
|
69
|
+
:type summary: str
|
70
|
+
:param description: 应用描述。
|
71
|
+
:type description: str
|
72
|
+
:param labels: 应用标签。
|
73
|
+
:type labels: list[str]
|
74
|
+
:param create_time: 创建应用时间。
|
75
|
+
:type create_time: str
|
76
|
+
:param update_time: 更新应用时间。
|
77
|
+
:type update_time: str
|
78
|
+
:param user_name: 创建应用的用户名。
|
79
|
+
:type user_name: str
|
80
|
+
:param source_project_name: 源项目名称。
|
81
|
+
:type source_project_name: str
|
82
|
+
:param source_resource_id: 源资源ID。
|
83
|
+
:type source_resource_id: str
|
84
|
+
:param icon: 图标base64编码。
|
85
|
+
:type icon: str
|
86
|
+
"""
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
self._id = None
|
91
|
+
self._name = None
|
92
|
+
self._eihealth_project_id = None
|
93
|
+
self._eihealth_project_name = None
|
94
|
+
self._version = None
|
95
|
+
self._summary = None
|
96
|
+
self._description = None
|
97
|
+
self._labels = None
|
98
|
+
self._create_time = None
|
99
|
+
self._update_time = None
|
100
|
+
self._user_name = None
|
101
|
+
self._source_project_name = None
|
102
|
+
self._source_resource_id = None
|
103
|
+
self._icon = None
|
104
|
+
self.discriminator = None
|
105
|
+
|
106
|
+
if id is not None:
|
107
|
+
self.id = id
|
108
|
+
if name is not None:
|
109
|
+
self.name = name
|
110
|
+
if eihealth_project_id is not None:
|
111
|
+
self.eihealth_project_id = eihealth_project_id
|
112
|
+
if eihealth_project_name is not None:
|
113
|
+
self.eihealth_project_name = eihealth_project_name
|
114
|
+
if version is not None:
|
115
|
+
self.version = version
|
116
|
+
if summary is not None:
|
117
|
+
self.summary = summary
|
118
|
+
if description is not None:
|
119
|
+
self.description = description
|
120
|
+
if labels is not None:
|
121
|
+
self.labels = labels
|
122
|
+
if create_time is not None:
|
123
|
+
self.create_time = create_time
|
124
|
+
if update_time is not None:
|
125
|
+
self.update_time = update_time
|
126
|
+
if user_name is not None:
|
127
|
+
self.user_name = user_name
|
128
|
+
if source_project_name is not None:
|
129
|
+
self.source_project_name = source_project_name
|
130
|
+
if source_resource_id is not None:
|
131
|
+
self.source_resource_id = source_resource_id
|
132
|
+
if icon is not None:
|
133
|
+
self.icon = icon
|
134
|
+
|
135
|
+
@property
|
136
|
+
def id(self):
|
137
|
+
r"""Gets the id of this AppDto.
|
138
|
+
|
139
|
+
应用ID。
|
140
|
+
|
141
|
+
:return: The id of this AppDto.
|
142
|
+
:rtype: str
|
143
|
+
"""
|
144
|
+
return self._id
|
145
|
+
|
146
|
+
@id.setter
|
147
|
+
def id(self, id):
|
148
|
+
r"""Sets the id of this AppDto.
|
149
|
+
|
150
|
+
应用ID。
|
151
|
+
|
152
|
+
:param id: The id of this AppDto.
|
153
|
+
:type id: str
|
154
|
+
"""
|
155
|
+
self._id = id
|
156
|
+
|
157
|
+
@property
|
158
|
+
def name(self):
|
159
|
+
r"""Gets the name of this AppDto.
|
160
|
+
|
161
|
+
应用名称。
|
162
|
+
|
163
|
+
:return: The name of this AppDto.
|
164
|
+
:rtype: str
|
165
|
+
"""
|
166
|
+
return self._name
|
167
|
+
|
168
|
+
@name.setter
|
169
|
+
def name(self, name):
|
170
|
+
r"""Sets the name of this AppDto.
|
171
|
+
|
172
|
+
应用名称。
|
173
|
+
|
174
|
+
:param name: The name of this AppDto.
|
175
|
+
:type name: str
|
176
|
+
"""
|
177
|
+
self._name = name
|
178
|
+
|
179
|
+
@property
|
180
|
+
def eihealth_project_id(self):
|
181
|
+
r"""Gets the eihealth_project_id of this AppDto.
|
182
|
+
|
183
|
+
应用所属空间ID。
|
184
|
+
|
185
|
+
:return: The eihealth_project_id of this AppDto.
|
186
|
+
:rtype: str
|
187
|
+
"""
|
188
|
+
return self._eihealth_project_id
|
189
|
+
|
190
|
+
@eihealth_project_id.setter
|
191
|
+
def eihealth_project_id(self, eihealth_project_id):
|
192
|
+
r"""Sets the eihealth_project_id of this AppDto.
|
193
|
+
|
194
|
+
应用所属空间ID。
|
195
|
+
|
196
|
+
:param eihealth_project_id: The eihealth_project_id of this AppDto.
|
197
|
+
:type eihealth_project_id: str
|
198
|
+
"""
|
199
|
+
self._eihealth_project_id = eihealth_project_id
|
200
|
+
|
201
|
+
@property
|
202
|
+
def eihealth_project_name(self):
|
203
|
+
r"""Gets the eihealth_project_name of this AppDto.
|
204
|
+
|
205
|
+
应用所属空间名称。
|
206
|
+
|
207
|
+
:return: The eihealth_project_name of this AppDto.
|
208
|
+
:rtype: str
|
209
|
+
"""
|
210
|
+
return self._eihealth_project_name
|
211
|
+
|
212
|
+
@eihealth_project_name.setter
|
213
|
+
def eihealth_project_name(self, eihealth_project_name):
|
214
|
+
r"""Sets the eihealth_project_name of this AppDto.
|
215
|
+
|
216
|
+
应用所属空间名称。
|
217
|
+
|
218
|
+
:param eihealth_project_name: The eihealth_project_name of this AppDto.
|
219
|
+
:type eihealth_project_name: str
|
220
|
+
"""
|
221
|
+
self._eihealth_project_name = eihealth_project_name
|
222
|
+
|
223
|
+
@property
|
224
|
+
def version(self):
|
225
|
+
r"""Gets the version of this AppDto.
|
226
|
+
|
227
|
+
应用版本。
|
228
|
+
|
229
|
+
:return: The version of this AppDto.
|
230
|
+
:rtype: str
|
231
|
+
"""
|
232
|
+
return self._version
|
233
|
+
|
234
|
+
@version.setter
|
235
|
+
def version(self, version):
|
236
|
+
r"""Sets the version of this AppDto.
|
237
|
+
|
238
|
+
应用版本。
|
239
|
+
|
240
|
+
:param version: The version of this AppDto.
|
241
|
+
:type version: str
|
242
|
+
"""
|
243
|
+
self._version = version
|
244
|
+
|
245
|
+
@property
|
246
|
+
def summary(self):
|
247
|
+
r"""Gets the summary of this AppDto.
|
248
|
+
|
249
|
+
应用简述。
|
250
|
+
|
251
|
+
:return: The summary of this AppDto.
|
252
|
+
:rtype: str
|
253
|
+
"""
|
254
|
+
return self._summary
|
255
|
+
|
256
|
+
@summary.setter
|
257
|
+
def summary(self, summary):
|
258
|
+
r"""Sets the summary of this AppDto.
|
259
|
+
|
260
|
+
应用简述。
|
261
|
+
|
262
|
+
:param summary: The summary of this AppDto.
|
263
|
+
:type summary: str
|
264
|
+
"""
|
265
|
+
self._summary = summary
|
266
|
+
|
267
|
+
@property
|
268
|
+
def description(self):
|
269
|
+
r"""Gets the description of this AppDto.
|
270
|
+
|
271
|
+
应用描述。
|
272
|
+
|
273
|
+
:return: The description of this AppDto.
|
274
|
+
:rtype: str
|
275
|
+
"""
|
276
|
+
return self._description
|
277
|
+
|
278
|
+
@description.setter
|
279
|
+
def description(self, description):
|
280
|
+
r"""Sets the description of this AppDto.
|
281
|
+
|
282
|
+
应用描述。
|
283
|
+
|
284
|
+
:param description: The description of this AppDto.
|
285
|
+
:type description: str
|
286
|
+
"""
|
287
|
+
self._description = description
|
288
|
+
|
289
|
+
@property
|
290
|
+
def labels(self):
|
291
|
+
r"""Gets the labels of this AppDto.
|
292
|
+
|
293
|
+
应用标签。
|
294
|
+
|
295
|
+
:return: The labels of this AppDto.
|
296
|
+
:rtype: list[str]
|
297
|
+
"""
|
298
|
+
return self._labels
|
299
|
+
|
300
|
+
@labels.setter
|
301
|
+
def labels(self, labels):
|
302
|
+
r"""Sets the labels of this AppDto.
|
303
|
+
|
304
|
+
应用标签。
|
305
|
+
|
306
|
+
:param labels: The labels of this AppDto.
|
307
|
+
:type labels: list[str]
|
308
|
+
"""
|
309
|
+
self._labels = labels
|
310
|
+
|
311
|
+
@property
|
312
|
+
def create_time(self):
|
313
|
+
r"""Gets the create_time of this AppDto.
|
314
|
+
|
315
|
+
创建应用时间。
|
316
|
+
|
317
|
+
:return: The create_time of this AppDto.
|
318
|
+
:rtype: str
|
319
|
+
"""
|
320
|
+
return self._create_time
|
321
|
+
|
322
|
+
@create_time.setter
|
323
|
+
def create_time(self, create_time):
|
324
|
+
r"""Sets the create_time of this AppDto.
|
325
|
+
|
326
|
+
创建应用时间。
|
327
|
+
|
328
|
+
:param create_time: The create_time of this AppDto.
|
329
|
+
:type create_time: str
|
330
|
+
"""
|
331
|
+
self._create_time = create_time
|
332
|
+
|
333
|
+
@property
|
334
|
+
def update_time(self):
|
335
|
+
r"""Gets the update_time of this AppDto.
|
336
|
+
|
337
|
+
更新应用时间。
|
338
|
+
|
339
|
+
:return: The update_time of this AppDto.
|
340
|
+
:rtype: str
|
341
|
+
"""
|
342
|
+
return self._update_time
|
343
|
+
|
344
|
+
@update_time.setter
|
345
|
+
def update_time(self, update_time):
|
346
|
+
r"""Sets the update_time of this AppDto.
|
347
|
+
|
348
|
+
更新应用时间。
|
349
|
+
|
350
|
+
:param update_time: The update_time of this AppDto.
|
351
|
+
:type update_time: str
|
352
|
+
"""
|
353
|
+
self._update_time = update_time
|
354
|
+
|
355
|
+
@property
|
356
|
+
def user_name(self):
|
357
|
+
r"""Gets the user_name of this AppDto.
|
358
|
+
|
359
|
+
创建应用的用户名。
|
360
|
+
|
361
|
+
:return: The user_name of this AppDto.
|
362
|
+
:rtype: str
|
363
|
+
"""
|
364
|
+
return self._user_name
|
365
|
+
|
366
|
+
@user_name.setter
|
367
|
+
def user_name(self, user_name):
|
368
|
+
r"""Sets the user_name of this AppDto.
|
369
|
+
|
370
|
+
创建应用的用户名。
|
371
|
+
|
372
|
+
:param user_name: The user_name of this AppDto.
|
373
|
+
:type user_name: str
|
374
|
+
"""
|
375
|
+
self._user_name = user_name
|
376
|
+
|
377
|
+
@property
|
378
|
+
def source_project_name(self):
|
379
|
+
r"""Gets the source_project_name of this AppDto.
|
380
|
+
|
381
|
+
源项目名称。
|
382
|
+
|
383
|
+
:return: The source_project_name of this AppDto.
|
384
|
+
:rtype: str
|
385
|
+
"""
|
386
|
+
return self._source_project_name
|
387
|
+
|
388
|
+
@source_project_name.setter
|
389
|
+
def source_project_name(self, source_project_name):
|
390
|
+
r"""Sets the source_project_name of this AppDto.
|
391
|
+
|
392
|
+
源项目名称。
|
393
|
+
|
394
|
+
:param source_project_name: The source_project_name of this AppDto.
|
395
|
+
:type source_project_name: str
|
396
|
+
"""
|
397
|
+
self._source_project_name = source_project_name
|
398
|
+
|
399
|
+
@property
|
400
|
+
def source_resource_id(self):
|
401
|
+
r"""Gets the source_resource_id of this AppDto.
|
402
|
+
|
403
|
+
源资源ID。
|
404
|
+
|
405
|
+
:return: The source_resource_id of this AppDto.
|
406
|
+
:rtype: str
|
407
|
+
"""
|
408
|
+
return self._source_resource_id
|
409
|
+
|
410
|
+
@source_resource_id.setter
|
411
|
+
def source_resource_id(self, source_resource_id):
|
412
|
+
r"""Sets the source_resource_id of this AppDto.
|
413
|
+
|
414
|
+
源资源ID。
|
415
|
+
|
416
|
+
:param source_resource_id: The source_resource_id of this AppDto.
|
417
|
+
:type source_resource_id: str
|
418
|
+
"""
|
419
|
+
self._source_resource_id = source_resource_id
|
420
|
+
|
421
|
+
@property
|
422
|
+
def icon(self):
|
423
|
+
r"""Gets the icon of this AppDto.
|
424
|
+
|
425
|
+
图标base64编码。
|
426
|
+
|
427
|
+
:return: The icon of this AppDto.
|
428
|
+
:rtype: str
|
429
|
+
"""
|
430
|
+
return self._icon
|
431
|
+
|
432
|
+
@icon.setter
|
433
|
+
def icon(self, icon):
|
434
|
+
r"""Sets the icon of this AppDto.
|
435
|
+
|
436
|
+
图标base64编码。
|
437
|
+
|
438
|
+
:param icon: The icon of this AppDto.
|
439
|
+
:type icon: str
|
440
|
+
"""
|
441
|
+
self._icon = icon
|
442
|
+
|
443
|
+
def to_dict(self):
|
444
|
+
"""Returns the model properties as a dict"""
|
445
|
+
result = {}
|
446
|
+
|
447
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
448
|
+
value = getattr(self, attr)
|
449
|
+
if isinstance(value, list):
|
450
|
+
result[attr] = list(map(
|
451
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
452
|
+
value
|
453
|
+
))
|
454
|
+
elif hasattr(value, "to_dict"):
|
455
|
+
result[attr] = value.to_dict()
|
456
|
+
elif isinstance(value, dict):
|
457
|
+
result[attr] = dict(map(
|
458
|
+
lambda item: (item[0], item[1].to_dict())
|
459
|
+
if hasattr(item[1], "to_dict") else item,
|
460
|
+
value.items()
|
461
|
+
))
|
462
|
+
else:
|
463
|
+
if attr in self.sensitive_list:
|
464
|
+
result[attr] = "****"
|
465
|
+
else:
|
466
|
+
result[attr] = value
|
467
|
+
|
468
|
+
return result
|
469
|
+
|
470
|
+
def to_str(self):
|
471
|
+
"""Returns the string representation of the model"""
|
472
|
+
import simplejson as json
|
473
|
+
if six.PY2:
|
474
|
+
import sys
|
475
|
+
reload(sys)
|
476
|
+
sys.setdefaultencoding("utf-8")
|
477
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
478
|
+
|
479
|
+
def __repr__(self):
|
480
|
+
"""For `print`"""
|
481
|
+
return self.to_str()
|
482
|
+
|
483
|
+
def __eq__(self, other):
|
484
|
+
"""Returns true if both objects are equal"""
|
485
|
+
if not isinstance(other, AppDto):
|
486
|
+
return False
|
487
|
+
|
488
|
+
return self.__dict__ == other.__dict__
|
489
|
+
|
490
|
+
def __ne__(self, other):
|
491
|
+
"""Returns true if both objects are not equal"""
|
492
|
+
return not self == other
|