huaweicloudsdkeihealth 3.1.150__py2.py3-none-any.whl → 3.1.151__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.151.dist-info}/METADATA +2 -2
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/RECORD +55 -9
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/LICENSE +0 -0
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.dist-info}/WHEEL +0 -0
- {huaweicloudsdkeihealth-3.1.150.dist-info → huaweicloudsdkeihealth-3.1.151.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 ListUserWorkflowRequest:
|
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
|
+
'is_creator': 'bool',
|
21
|
+
'id': 'str',
|
22
|
+
'name': 'str',
|
23
|
+
'summary': 'str',
|
24
|
+
'eihealth_project_names': 'list[str]',
|
25
|
+
'labels': 'list[str]',
|
26
|
+
'start_create_time': 'int',
|
27
|
+
'end_create_time': 'int',
|
28
|
+
'start_update_time': 'int',
|
29
|
+
'end_update_time': 'int',
|
30
|
+
'sort_dir': 'str',
|
31
|
+
'sort_key': 'str',
|
32
|
+
'limit': 'int',
|
33
|
+
'offset': 'int'
|
34
|
+
}
|
35
|
+
|
36
|
+
attribute_map = {
|
37
|
+
'is_creator': 'is_creator',
|
38
|
+
'id': 'id',
|
39
|
+
'name': 'name',
|
40
|
+
'summary': 'summary',
|
41
|
+
'eihealth_project_names': 'eihealth_project_names',
|
42
|
+
'labels': 'labels',
|
43
|
+
'start_create_time': 'start_create_time',
|
44
|
+
'end_create_time': 'end_create_time',
|
45
|
+
'start_update_time': 'start_update_time',
|
46
|
+
'end_update_time': 'end_update_time',
|
47
|
+
'sort_dir': 'sort_dir',
|
48
|
+
'sort_key': 'sort_key',
|
49
|
+
'limit': 'limit',
|
50
|
+
'offset': 'offset'
|
51
|
+
}
|
52
|
+
|
53
|
+
def __init__(self, is_creator=None, id=None, name=None, summary=None, eihealth_project_names=None, labels=None, start_create_time=None, end_create_time=None, start_update_time=None, end_update_time=None, sort_dir=None, sort_key=None, limit=None, offset=None):
|
54
|
+
r"""ListUserWorkflowRequest
|
55
|
+
|
56
|
+
The model defined in huaweicloud sdk
|
57
|
+
|
58
|
+
:param is_creator: 是否仅展示本人创建资源。
|
59
|
+
:type is_creator: bool
|
60
|
+
:param id: 流程ID,仅支持精确搜索。
|
61
|
+
:type id: str
|
62
|
+
:param name: 流程名称,支持模糊搜索。
|
63
|
+
:type name: str
|
64
|
+
:param summary: 短描述,支持模糊搜索。
|
65
|
+
:type summary: str
|
66
|
+
:param eihealth_project_names: 空间名称列表,多个值之间使用逗号分隔。
|
67
|
+
:type eihealth_project_names: list[str]
|
68
|
+
:param labels: 标签列表。
|
69
|
+
:type labels: list[str]
|
70
|
+
:param start_create_time: 开始创建时间。
|
71
|
+
:type start_create_time: int
|
72
|
+
:param end_create_time: 结束创建时间。
|
73
|
+
:type end_create_time: int
|
74
|
+
:param start_update_time: 开始更新时间。
|
75
|
+
:type start_update_time: int
|
76
|
+
:param end_update_time: 结束更新时间。
|
77
|
+
:type end_update_time: int
|
78
|
+
:param sort_dir: 排序规则。
|
79
|
+
:type sort_dir: str
|
80
|
+
:param sort_key: 排序规则,默认根据创建时间降序,支持根据create_time|update_time排序。
|
81
|
+
:type sort_key: str
|
82
|
+
:param limit: 限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]。
|
83
|
+
:type limit: int
|
84
|
+
:param offset: 偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]。
|
85
|
+
:type offset: int
|
86
|
+
"""
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
self._is_creator = None
|
91
|
+
self._id = None
|
92
|
+
self._name = None
|
93
|
+
self._summary = None
|
94
|
+
self._eihealth_project_names = None
|
95
|
+
self._labels = None
|
96
|
+
self._start_create_time = None
|
97
|
+
self._end_create_time = None
|
98
|
+
self._start_update_time = None
|
99
|
+
self._end_update_time = None
|
100
|
+
self._sort_dir = None
|
101
|
+
self._sort_key = None
|
102
|
+
self._limit = None
|
103
|
+
self._offset = None
|
104
|
+
self.discriminator = None
|
105
|
+
|
106
|
+
if is_creator is not None:
|
107
|
+
self.is_creator = is_creator
|
108
|
+
if id is not None:
|
109
|
+
self.id = id
|
110
|
+
if name is not None:
|
111
|
+
self.name = name
|
112
|
+
if summary is not None:
|
113
|
+
self.summary = summary
|
114
|
+
if eihealth_project_names is not None:
|
115
|
+
self.eihealth_project_names = eihealth_project_names
|
116
|
+
if labels is not None:
|
117
|
+
self.labels = labels
|
118
|
+
if start_create_time is not None:
|
119
|
+
self.start_create_time = start_create_time
|
120
|
+
if end_create_time is not None:
|
121
|
+
self.end_create_time = end_create_time
|
122
|
+
if start_update_time is not None:
|
123
|
+
self.start_update_time = start_update_time
|
124
|
+
if end_update_time is not None:
|
125
|
+
self.end_update_time = end_update_time
|
126
|
+
if sort_dir is not None:
|
127
|
+
self.sort_dir = sort_dir
|
128
|
+
if sort_key is not None:
|
129
|
+
self.sort_key = sort_key
|
130
|
+
if limit is not None:
|
131
|
+
self.limit = limit
|
132
|
+
if offset is not None:
|
133
|
+
self.offset = offset
|
134
|
+
|
135
|
+
@property
|
136
|
+
def is_creator(self):
|
137
|
+
r"""Gets the is_creator of this ListUserWorkflowRequest.
|
138
|
+
|
139
|
+
是否仅展示本人创建资源。
|
140
|
+
|
141
|
+
:return: The is_creator of this ListUserWorkflowRequest.
|
142
|
+
:rtype: bool
|
143
|
+
"""
|
144
|
+
return self._is_creator
|
145
|
+
|
146
|
+
@is_creator.setter
|
147
|
+
def is_creator(self, is_creator):
|
148
|
+
r"""Sets the is_creator of this ListUserWorkflowRequest.
|
149
|
+
|
150
|
+
是否仅展示本人创建资源。
|
151
|
+
|
152
|
+
:param is_creator: The is_creator of this ListUserWorkflowRequest.
|
153
|
+
:type is_creator: bool
|
154
|
+
"""
|
155
|
+
self._is_creator = is_creator
|
156
|
+
|
157
|
+
@property
|
158
|
+
def id(self):
|
159
|
+
r"""Gets the id of this ListUserWorkflowRequest.
|
160
|
+
|
161
|
+
流程ID,仅支持精确搜索。
|
162
|
+
|
163
|
+
:return: The id of this ListUserWorkflowRequest.
|
164
|
+
:rtype: str
|
165
|
+
"""
|
166
|
+
return self._id
|
167
|
+
|
168
|
+
@id.setter
|
169
|
+
def id(self, id):
|
170
|
+
r"""Sets the id of this ListUserWorkflowRequest.
|
171
|
+
|
172
|
+
流程ID,仅支持精确搜索。
|
173
|
+
|
174
|
+
:param id: The id of this ListUserWorkflowRequest.
|
175
|
+
:type id: str
|
176
|
+
"""
|
177
|
+
self._id = id
|
178
|
+
|
179
|
+
@property
|
180
|
+
def name(self):
|
181
|
+
r"""Gets the name of this ListUserWorkflowRequest.
|
182
|
+
|
183
|
+
流程名称,支持模糊搜索。
|
184
|
+
|
185
|
+
:return: The name of this ListUserWorkflowRequest.
|
186
|
+
:rtype: str
|
187
|
+
"""
|
188
|
+
return self._name
|
189
|
+
|
190
|
+
@name.setter
|
191
|
+
def name(self, name):
|
192
|
+
r"""Sets the name of this ListUserWorkflowRequest.
|
193
|
+
|
194
|
+
流程名称,支持模糊搜索。
|
195
|
+
|
196
|
+
:param name: The name of this ListUserWorkflowRequest.
|
197
|
+
:type name: str
|
198
|
+
"""
|
199
|
+
self._name = name
|
200
|
+
|
201
|
+
@property
|
202
|
+
def summary(self):
|
203
|
+
r"""Gets the summary of this ListUserWorkflowRequest.
|
204
|
+
|
205
|
+
短描述,支持模糊搜索。
|
206
|
+
|
207
|
+
:return: The summary of this ListUserWorkflowRequest.
|
208
|
+
:rtype: str
|
209
|
+
"""
|
210
|
+
return self._summary
|
211
|
+
|
212
|
+
@summary.setter
|
213
|
+
def summary(self, summary):
|
214
|
+
r"""Sets the summary of this ListUserWorkflowRequest.
|
215
|
+
|
216
|
+
短描述,支持模糊搜索。
|
217
|
+
|
218
|
+
:param summary: The summary of this ListUserWorkflowRequest.
|
219
|
+
:type summary: str
|
220
|
+
"""
|
221
|
+
self._summary = summary
|
222
|
+
|
223
|
+
@property
|
224
|
+
def eihealth_project_names(self):
|
225
|
+
r"""Gets the eihealth_project_names of this ListUserWorkflowRequest.
|
226
|
+
|
227
|
+
空间名称列表,多个值之间使用逗号分隔。
|
228
|
+
|
229
|
+
:return: The eihealth_project_names of this ListUserWorkflowRequest.
|
230
|
+
:rtype: list[str]
|
231
|
+
"""
|
232
|
+
return self._eihealth_project_names
|
233
|
+
|
234
|
+
@eihealth_project_names.setter
|
235
|
+
def eihealth_project_names(self, eihealth_project_names):
|
236
|
+
r"""Sets the eihealth_project_names of this ListUserWorkflowRequest.
|
237
|
+
|
238
|
+
空间名称列表,多个值之间使用逗号分隔。
|
239
|
+
|
240
|
+
:param eihealth_project_names: The eihealth_project_names of this ListUserWorkflowRequest.
|
241
|
+
:type eihealth_project_names: list[str]
|
242
|
+
"""
|
243
|
+
self._eihealth_project_names = eihealth_project_names
|
244
|
+
|
245
|
+
@property
|
246
|
+
def labels(self):
|
247
|
+
r"""Gets the labels of this ListUserWorkflowRequest.
|
248
|
+
|
249
|
+
标签列表。
|
250
|
+
|
251
|
+
:return: The labels of this ListUserWorkflowRequest.
|
252
|
+
:rtype: list[str]
|
253
|
+
"""
|
254
|
+
return self._labels
|
255
|
+
|
256
|
+
@labels.setter
|
257
|
+
def labels(self, labels):
|
258
|
+
r"""Sets the labels of this ListUserWorkflowRequest.
|
259
|
+
|
260
|
+
标签列表。
|
261
|
+
|
262
|
+
:param labels: The labels of this ListUserWorkflowRequest.
|
263
|
+
:type labels: list[str]
|
264
|
+
"""
|
265
|
+
self._labels = labels
|
266
|
+
|
267
|
+
@property
|
268
|
+
def start_create_time(self):
|
269
|
+
r"""Gets the start_create_time of this ListUserWorkflowRequest.
|
270
|
+
|
271
|
+
开始创建时间。
|
272
|
+
|
273
|
+
:return: The start_create_time of this ListUserWorkflowRequest.
|
274
|
+
:rtype: int
|
275
|
+
"""
|
276
|
+
return self._start_create_time
|
277
|
+
|
278
|
+
@start_create_time.setter
|
279
|
+
def start_create_time(self, start_create_time):
|
280
|
+
r"""Sets the start_create_time of this ListUserWorkflowRequest.
|
281
|
+
|
282
|
+
开始创建时间。
|
283
|
+
|
284
|
+
:param start_create_time: The start_create_time of this ListUserWorkflowRequest.
|
285
|
+
:type start_create_time: int
|
286
|
+
"""
|
287
|
+
self._start_create_time = start_create_time
|
288
|
+
|
289
|
+
@property
|
290
|
+
def end_create_time(self):
|
291
|
+
r"""Gets the end_create_time of this ListUserWorkflowRequest.
|
292
|
+
|
293
|
+
结束创建时间。
|
294
|
+
|
295
|
+
:return: The end_create_time of this ListUserWorkflowRequest.
|
296
|
+
:rtype: int
|
297
|
+
"""
|
298
|
+
return self._end_create_time
|
299
|
+
|
300
|
+
@end_create_time.setter
|
301
|
+
def end_create_time(self, end_create_time):
|
302
|
+
r"""Sets the end_create_time of this ListUserWorkflowRequest.
|
303
|
+
|
304
|
+
结束创建时间。
|
305
|
+
|
306
|
+
:param end_create_time: The end_create_time of this ListUserWorkflowRequest.
|
307
|
+
:type end_create_time: int
|
308
|
+
"""
|
309
|
+
self._end_create_time = end_create_time
|
310
|
+
|
311
|
+
@property
|
312
|
+
def start_update_time(self):
|
313
|
+
r"""Gets the start_update_time of this ListUserWorkflowRequest.
|
314
|
+
|
315
|
+
开始更新时间。
|
316
|
+
|
317
|
+
:return: The start_update_time of this ListUserWorkflowRequest.
|
318
|
+
:rtype: int
|
319
|
+
"""
|
320
|
+
return self._start_update_time
|
321
|
+
|
322
|
+
@start_update_time.setter
|
323
|
+
def start_update_time(self, start_update_time):
|
324
|
+
r"""Sets the start_update_time of this ListUserWorkflowRequest.
|
325
|
+
|
326
|
+
开始更新时间。
|
327
|
+
|
328
|
+
:param start_update_time: The start_update_time of this ListUserWorkflowRequest.
|
329
|
+
:type start_update_time: int
|
330
|
+
"""
|
331
|
+
self._start_update_time = start_update_time
|
332
|
+
|
333
|
+
@property
|
334
|
+
def end_update_time(self):
|
335
|
+
r"""Gets the end_update_time of this ListUserWorkflowRequest.
|
336
|
+
|
337
|
+
结束更新时间。
|
338
|
+
|
339
|
+
:return: The end_update_time of this ListUserWorkflowRequest.
|
340
|
+
:rtype: int
|
341
|
+
"""
|
342
|
+
return self._end_update_time
|
343
|
+
|
344
|
+
@end_update_time.setter
|
345
|
+
def end_update_time(self, end_update_time):
|
346
|
+
r"""Sets the end_update_time of this ListUserWorkflowRequest.
|
347
|
+
|
348
|
+
结束更新时间。
|
349
|
+
|
350
|
+
:param end_update_time: The end_update_time of this ListUserWorkflowRequest.
|
351
|
+
:type end_update_time: int
|
352
|
+
"""
|
353
|
+
self._end_update_time = end_update_time
|
354
|
+
|
355
|
+
@property
|
356
|
+
def sort_dir(self):
|
357
|
+
r"""Gets the sort_dir of this ListUserWorkflowRequest.
|
358
|
+
|
359
|
+
排序规则。
|
360
|
+
|
361
|
+
:return: The sort_dir of this ListUserWorkflowRequest.
|
362
|
+
:rtype: str
|
363
|
+
"""
|
364
|
+
return self._sort_dir
|
365
|
+
|
366
|
+
@sort_dir.setter
|
367
|
+
def sort_dir(self, sort_dir):
|
368
|
+
r"""Sets the sort_dir of this ListUserWorkflowRequest.
|
369
|
+
|
370
|
+
排序规则。
|
371
|
+
|
372
|
+
:param sort_dir: The sort_dir of this ListUserWorkflowRequest.
|
373
|
+
:type sort_dir: str
|
374
|
+
"""
|
375
|
+
self._sort_dir = sort_dir
|
376
|
+
|
377
|
+
@property
|
378
|
+
def sort_key(self):
|
379
|
+
r"""Gets the sort_key of this ListUserWorkflowRequest.
|
380
|
+
|
381
|
+
排序规则,默认根据创建时间降序,支持根据create_time|update_time排序。
|
382
|
+
|
383
|
+
:return: The sort_key of this ListUserWorkflowRequest.
|
384
|
+
:rtype: str
|
385
|
+
"""
|
386
|
+
return self._sort_key
|
387
|
+
|
388
|
+
@sort_key.setter
|
389
|
+
def sort_key(self, sort_key):
|
390
|
+
r"""Sets the sort_key of this ListUserWorkflowRequest.
|
391
|
+
|
392
|
+
排序规则,默认根据创建时间降序,支持根据create_time|update_time排序。
|
393
|
+
|
394
|
+
:param sort_key: The sort_key of this ListUserWorkflowRequest.
|
395
|
+
:type sort_key: str
|
396
|
+
"""
|
397
|
+
self._sort_key = sort_key
|
398
|
+
|
399
|
+
@property
|
400
|
+
def limit(self):
|
401
|
+
r"""Gets the limit of this ListUserWorkflowRequest.
|
402
|
+
|
403
|
+
限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]。
|
404
|
+
|
405
|
+
:return: The limit of this ListUserWorkflowRequest.
|
406
|
+
:rtype: int
|
407
|
+
"""
|
408
|
+
return self._limit
|
409
|
+
|
410
|
+
@limit.setter
|
411
|
+
def limit(self, limit):
|
412
|
+
r"""Sets the limit of this ListUserWorkflowRequest.
|
413
|
+
|
414
|
+
限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]。
|
415
|
+
|
416
|
+
:param limit: The limit of this ListUserWorkflowRequest.
|
417
|
+
:type limit: int
|
418
|
+
"""
|
419
|
+
self._limit = limit
|
420
|
+
|
421
|
+
@property
|
422
|
+
def offset(self):
|
423
|
+
r"""Gets the offset of this ListUserWorkflowRequest.
|
424
|
+
|
425
|
+
偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]。
|
426
|
+
|
427
|
+
:return: The offset of this ListUserWorkflowRequest.
|
428
|
+
:rtype: int
|
429
|
+
"""
|
430
|
+
return self._offset
|
431
|
+
|
432
|
+
@offset.setter
|
433
|
+
def offset(self, offset):
|
434
|
+
r"""Sets the offset of this ListUserWorkflowRequest.
|
435
|
+
|
436
|
+
偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]。
|
437
|
+
|
438
|
+
:param offset: The offset of this ListUserWorkflowRequest.
|
439
|
+
:type offset: int
|
440
|
+
"""
|
441
|
+
self._offset = offset
|
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, ListUserWorkflowRequest):
|
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
|
@@ -0,0 +1,145 @@
|
|
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 ListUserWorkflowResponse(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
|
+
'workflows': 'list[WorkflowListDto]',
|
22
|
+
'count': 'int'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'workflows': 'workflows',
|
27
|
+
'count': 'count'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, workflows=None, count=None):
|
31
|
+
r"""ListUserWorkflowResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param workflows: 所查询类型的流程总数
|
36
|
+
:type workflows: list[:class:`huaweicloudsdkeihealth.v1.WorkflowListDto`]
|
37
|
+
:param count: 当前页的流程列表
|
38
|
+
:type count: int
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListUserWorkflowResponse, self).__init__()
|
42
|
+
|
43
|
+
self._workflows = None
|
44
|
+
self._count = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if workflows is not None:
|
48
|
+
self.workflows = workflows
|
49
|
+
if count is not None:
|
50
|
+
self.count = count
|
51
|
+
|
52
|
+
@property
|
53
|
+
def workflows(self):
|
54
|
+
r"""Gets the workflows of this ListUserWorkflowResponse.
|
55
|
+
|
56
|
+
所查询类型的流程总数
|
57
|
+
|
58
|
+
:return: The workflows of this ListUserWorkflowResponse.
|
59
|
+
:rtype: list[:class:`huaweicloudsdkeihealth.v1.WorkflowListDto`]
|
60
|
+
"""
|
61
|
+
return self._workflows
|
62
|
+
|
63
|
+
@workflows.setter
|
64
|
+
def workflows(self, workflows):
|
65
|
+
r"""Sets the workflows of this ListUserWorkflowResponse.
|
66
|
+
|
67
|
+
所查询类型的流程总数
|
68
|
+
|
69
|
+
:param workflows: The workflows of this ListUserWorkflowResponse.
|
70
|
+
:type workflows: list[:class:`huaweicloudsdkeihealth.v1.WorkflowListDto`]
|
71
|
+
"""
|
72
|
+
self._workflows = workflows
|
73
|
+
|
74
|
+
@property
|
75
|
+
def count(self):
|
76
|
+
r"""Gets the count of this ListUserWorkflowResponse.
|
77
|
+
|
78
|
+
当前页的流程列表
|
79
|
+
|
80
|
+
:return: The count of this ListUserWorkflowResponse.
|
81
|
+
:rtype: int
|
82
|
+
"""
|
83
|
+
return self._count
|
84
|
+
|
85
|
+
@count.setter
|
86
|
+
def count(self, count):
|
87
|
+
r"""Sets the count of this ListUserWorkflowResponse.
|
88
|
+
|
89
|
+
当前页的流程列表
|
90
|
+
|
91
|
+
:param count: The count of this ListUserWorkflowResponse.
|
92
|
+
:type count: int
|
93
|
+
"""
|
94
|
+
self._count = count
|
95
|
+
|
96
|
+
def to_dict(self):
|
97
|
+
"""Returns the model properties as a dict"""
|
98
|
+
result = {}
|
99
|
+
|
100
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
101
|
+
value = getattr(self, attr)
|
102
|
+
if isinstance(value, list):
|
103
|
+
result[attr] = list(map(
|
104
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
105
|
+
value
|
106
|
+
))
|
107
|
+
elif hasattr(value, "to_dict"):
|
108
|
+
result[attr] = value.to_dict()
|
109
|
+
elif isinstance(value, dict):
|
110
|
+
result[attr] = dict(map(
|
111
|
+
lambda item: (item[0], item[1].to_dict())
|
112
|
+
if hasattr(item[1], "to_dict") else item,
|
113
|
+
value.items()
|
114
|
+
))
|
115
|
+
else:
|
116
|
+
if attr in self.sensitive_list:
|
117
|
+
result[attr] = "****"
|
118
|
+
else:
|
119
|
+
result[attr] = value
|
120
|
+
|
121
|
+
return result
|
122
|
+
|
123
|
+
def to_str(self):
|
124
|
+
"""Returns the string representation of the model"""
|
125
|
+
import simplejson as json
|
126
|
+
if six.PY2:
|
127
|
+
import sys
|
128
|
+
reload(sys)
|
129
|
+
sys.setdefaultencoding("utf-8")
|
130
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
"""For `print`"""
|
134
|
+
return self.to_str()
|
135
|
+
|
136
|
+
def __eq__(self, other):
|
137
|
+
"""Returns true if both objects are equal"""
|
138
|
+
if not isinstance(other, ListUserWorkflowResponse):
|
139
|
+
return False
|
140
|
+
|
141
|
+
return self.__dict__ == other.__dict__
|
142
|
+
|
143
|
+
def __ne__(self, other):
|
144
|
+
"""Returns true if both objects are not equal"""
|
145
|
+
return not self == other
|