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,521 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListUserImageRequest:
|
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
|
+
'image_id': 'str',
|
22
|
+
'image_name': 'str',
|
23
|
+
'description': 'str',
|
24
|
+
'eihealth_project_names': 'list[str]',
|
25
|
+
'source_project_name': 'str',
|
26
|
+
'types': 'list[str]',
|
27
|
+
'start_create_time': 'int',
|
28
|
+
'end_create_time': 'int',
|
29
|
+
'start_update_time': 'int',
|
30
|
+
'end_update_time': 'int',
|
31
|
+
'sort_by': 'str',
|
32
|
+
'sort_dir': 'str',
|
33
|
+
'limit': 'int',
|
34
|
+
'offset': 'int'
|
35
|
+
}
|
36
|
+
|
37
|
+
attribute_map = {
|
38
|
+
'is_creator': 'is_creator',
|
39
|
+
'image_id': 'image_id',
|
40
|
+
'image_name': 'image_name',
|
41
|
+
'description': 'description',
|
42
|
+
'eihealth_project_names': 'eihealth_project_names',
|
43
|
+
'source_project_name': 'source_project_name',
|
44
|
+
'types': 'types',
|
45
|
+
'start_create_time': 'start_create_time',
|
46
|
+
'end_create_time': 'end_create_time',
|
47
|
+
'start_update_time': 'start_update_time',
|
48
|
+
'end_update_time': 'end_update_time',
|
49
|
+
'sort_by': 'sort_by',
|
50
|
+
'sort_dir': 'sort_dir',
|
51
|
+
'limit': 'limit',
|
52
|
+
'offset': 'offset'
|
53
|
+
}
|
54
|
+
|
55
|
+
def __init__(self, is_creator=None, image_id=None, image_name=None, description=None, eihealth_project_names=None, source_project_name=None, types=None, start_create_time=None, end_create_time=None, start_update_time=None, end_update_time=None, sort_by=None, sort_dir=None, limit=None, offset=None):
|
56
|
+
r"""ListUserImageRequest
|
57
|
+
|
58
|
+
The model defined in huaweicloud sdk
|
59
|
+
|
60
|
+
:param is_creator: 是否仅展示本人创建资源。
|
61
|
+
:type is_creator: bool
|
62
|
+
:param image_id: 镜像ID,支持精确搜索。
|
63
|
+
:type image_id: str
|
64
|
+
:param image_name: 镜像名称,支持模糊搜索。
|
65
|
+
:type image_name: str
|
66
|
+
:param description: 镜像描述,支持模糊搜索。
|
67
|
+
:type description: str
|
68
|
+
:param eihealth_project_names: 空间名称列表,支持查询多个空间下的镜像。
|
69
|
+
:type eihealth_project_names: list[str]
|
70
|
+
:param source_project_name: 源空间名称,支持模糊搜索。
|
71
|
+
:type source_project_name: str
|
72
|
+
:param types: 镜像类型列表。
|
73
|
+
:type types: list[str]
|
74
|
+
:param start_create_time: 最小创建时间。
|
75
|
+
:type start_create_time: int
|
76
|
+
:param end_create_time: 最大创建时间。
|
77
|
+
:type end_create_time: int
|
78
|
+
:param start_update_time: 最小更新时间。
|
79
|
+
:type start_update_time: int
|
80
|
+
:param end_update_time: 最大更新时间。
|
81
|
+
:type end_update_time: int
|
82
|
+
:param sort_by: 排序规则,目前默认时间降序,支持根据create_time|update_time排序。
|
83
|
+
:type sort_by: str
|
84
|
+
:param sort_dir: 排序规则,目前默认时间降序。
|
85
|
+
:type sort_dir: str
|
86
|
+
:param limit: 限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]。
|
87
|
+
:type limit: int
|
88
|
+
:param offset: 偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]。
|
89
|
+
:type offset: int
|
90
|
+
"""
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
self._is_creator = None
|
95
|
+
self._image_id = None
|
96
|
+
self._image_name = None
|
97
|
+
self._description = None
|
98
|
+
self._eihealth_project_names = None
|
99
|
+
self._source_project_name = None
|
100
|
+
self._types = None
|
101
|
+
self._start_create_time = None
|
102
|
+
self._end_create_time = None
|
103
|
+
self._start_update_time = None
|
104
|
+
self._end_update_time = None
|
105
|
+
self._sort_by = None
|
106
|
+
self._sort_dir = None
|
107
|
+
self._limit = None
|
108
|
+
self._offset = None
|
109
|
+
self.discriminator = None
|
110
|
+
|
111
|
+
if is_creator is not None:
|
112
|
+
self.is_creator = is_creator
|
113
|
+
if image_id is not None:
|
114
|
+
self.image_id = image_id
|
115
|
+
if image_name is not None:
|
116
|
+
self.image_name = image_name
|
117
|
+
if description is not None:
|
118
|
+
self.description = description
|
119
|
+
if eihealth_project_names is not None:
|
120
|
+
self.eihealth_project_names = eihealth_project_names
|
121
|
+
if source_project_name is not None:
|
122
|
+
self.source_project_name = source_project_name
|
123
|
+
if types is not None:
|
124
|
+
self.types = types
|
125
|
+
if start_create_time is not None:
|
126
|
+
self.start_create_time = start_create_time
|
127
|
+
if end_create_time is not None:
|
128
|
+
self.end_create_time = end_create_time
|
129
|
+
if start_update_time is not None:
|
130
|
+
self.start_update_time = start_update_time
|
131
|
+
if end_update_time is not None:
|
132
|
+
self.end_update_time = end_update_time
|
133
|
+
if sort_by is not None:
|
134
|
+
self.sort_by = sort_by
|
135
|
+
if sort_dir is not None:
|
136
|
+
self.sort_dir = sort_dir
|
137
|
+
if limit is not None:
|
138
|
+
self.limit = limit
|
139
|
+
if offset is not None:
|
140
|
+
self.offset = offset
|
141
|
+
|
142
|
+
@property
|
143
|
+
def is_creator(self):
|
144
|
+
r"""Gets the is_creator of this ListUserImageRequest.
|
145
|
+
|
146
|
+
是否仅展示本人创建资源。
|
147
|
+
|
148
|
+
:return: The is_creator of this ListUserImageRequest.
|
149
|
+
:rtype: bool
|
150
|
+
"""
|
151
|
+
return self._is_creator
|
152
|
+
|
153
|
+
@is_creator.setter
|
154
|
+
def is_creator(self, is_creator):
|
155
|
+
r"""Sets the is_creator of this ListUserImageRequest.
|
156
|
+
|
157
|
+
是否仅展示本人创建资源。
|
158
|
+
|
159
|
+
:param is_creator: The is_creator of this ListUserImageRequest.
|
160
|
+
:type is_creator: bool
|
161
|
+
"""
|
162
|
+
self._is_creator = is_creator
|
163
|
+
|
164
|
+
@property
|
165
|
+
def image_id(self):
|
166
|
+
r"""Gets the image_id of this ListUserImageRequest.
|
167
|
+
|
168
|
+
镜像ID,支持精确搜索。
|
169
|
+
|
170
|
+
:return: The image_id of this ListUserImageRequest.
|
171
|
+
:rtype: str
|
172
|
+
"""
|
173
|
+
return self._image_id
|
174
|
+
|
175
|
+
@image_id.setter
|
176
|
+
def image_id(self, image_id):
|
177
|
+
r"""Sets the image_id of this ListUserImageRequest.
|
178
|
+
|
179
|
+
镜像ID,支持精确搜索。
|
180
|
+
|
181
|
+
:param image_id: The image_id of this ListUserImageRequest.
|
182
|
+
:type image_id: str
|
183
|
+
"""
|
184
|
+
self._image_id = image_id
|
185
|
+
|
186
|
+
@property
|
187
|
+
def image_name(self):
|
188
|
+
r"""Gets the image_name of this ListUserImageRequest.
|
189
|
+
|
190
|
+
镜像名称,支持模糊搜索。
|
191
|
+
|
192
|
+
:return: The image_name of this ListUserImageRequest.
|
193
|
+
:rtype: str
|
194
|
+
"""
|
195
|
+
return self._image_name
|
196
|
+
|
197
|
+
@image_name.setter
|
198
|
+
def image_name(self, image_name):
|
199
|
+
r"""Sets the image_name of this ListUserImageRequest.
|
200
|
+
|
201
|
+
镜像名称,支持模糊搜索。
|
202
|
+
|
203
|
+
:param image_name: The image_name of this ListUserImageRequest.
|
204
|
+
:type image_name: str
|
205
|
+
"""
|
206
|
+
self._image_name = image_name
|
207
|
+
|
208
|
+
@property
|
209
|
+
def description(self):
|
210
|
+
r"""Gets the description of this ListUserImageRequest.
|
211
|
+
|
212
|
+
镜像描述,支持模糊搜索。
|
213
|
+
|
214
|
+
:return: The description of this ListUserImageRequest.
|
215
|
+
:rtype: str
|
216
|
+
"""
|
217
|
+
return self._description
|
218
|
+
|
219
|
+
@description.setter
|
220
|
+
def description(self, description):
|
221
|
+
r"""Sets the description of this ListUserImageRequest.
|
222
|
+
|
223
|
+
镜像描述,支持模糊搜索。
|
224
|
+
|
225
|
+
:param description: The description of this ListUserImageRequest.
|
226
|
+
:type description: str
|
227
|
+
"""
|
228
|
+
self._description = description
|
229
|
+
|
230
|
+
@property
|
231
|
+
def eihealth_project_names(self):
|
232
|
+
r"""Gets the eihealth_project_names of this ListUserImageRequest.
|
233
|
+
|
234
|
+
空间名称列表,支持查询多个空间下的镜像。
|
235
|
+
|
236
|
+
:return: The eihealth_project_names of this ListUserImageRequest.
|
237
|
+
:rtype: list[str]
|
238
|
+
"""
|
239
|
+
return self._eihealth_project_names
|
240
|
+
|
241
|
+
@eihealth_project_names.setter
|
242
|
+
def eihealth_project_names(self, eihealth_project_names):
|
243
|
+
r"""Sets the eihealth_project_names of this ListUserImageRequest.
|
244
|
+
|
245
|
+
空间名称列表,支持查询多个空间下的镜像。
|
246
|
+
|
247
|
+
:param eihealth_project_names: The eihealth_project_names of this ListUserImageRequest.
|
248
|
+
:type eihealth_project_names: list[str]
|
249
|
+
"""
|
250
|
+
self._eihealth_project_names = eihealth_project_names
|
251
|
+
|
252
|
+
@property
|
253
|
+
def source_project_name(self):
|
254
|
+
r"""Gets the source_project_name of this ListUserImageRequest.
|
255
|
+
|
256
|
+
源空间名称,支持模糊搜索。
|
257
|
+
|
258
|
+
:return: The source_project_name of this ListUserImageRequest.
|
259
|
+
:rtype: str
|
260
|
+
"""
|
261
|
+
return self._source_project_name
|
262
|
+
|
263
|
+
@source_project_name.setter
|
264
|
+
def source_project_name(self, source_project_name):
|
265
|
+
r"""Sets the source_project_name of this ListUserImageRequest.
|
266
|
+
|
267
|
+
源空间名称,支持模糊搜索。
|
268
|
+
|
269
|
+
:param source_project_name: The source_project_name of this ListUserImageRequest.
|
270
|
+
:type source_project_name: str
|
271
|
+
"""
|
272
|
+
self._source_project_name = source_project_name
|
273
|
+
|
274
|
+
@property
|
275
|
+
def types(self):
|
276
|
+
r"""Gets the types of this ListUserImageRequest.
|
277
|
+
|
278
|
+
镜像类型列表。
|
279
|
+
|
280
|
+
:return: The types of this ListUserImageRequest.
|
281
|
+
:rtype: list[str]
|
282
|
+
"""
|
283
|
+
return self._types
|
284
|
+
|
285
|
+
@types.setter
|
286
|
+
def types(self, types):
|
287
|
+
r"""Sets the types of this ListUserImageRequest.
|
288
|
+
|
289
|
+
镜像类型列表。
|
290
|
+
|
291
|
+
:param types: The types of this ListUserImageRequest.
|
292
|
+
:type types: list[str]
|
293
|
+
"""
|
294
|
+
self._types = types
|
295
|
+
|
296
|
+
@property
|
297
|
+
def start_create_time(self):
|
298
|
+
r"""Gets the start_create_time of this ListUserImageRequest.
|
299
|
+
|
300
|
+
最小创建时间。
|
301
|
+
|
302
|
+
:return: The start_create_time of this ListUserImageRequest.
|
303
|
+
:rtype: int
|
304
|
+
"""
|
305
|
+
return self._start_create_time
|
306
|
+
|
307
|
+
@start_create_time.setter
|
308
|
+
def start_create_time(self, start_create_time):
|
309
|
+
r"""Sets the start_create_time of this ListUserImageRequest.
|
310
|
+
|
311
|
+
最小创建时间。
|
312
|
+
|
313
|
+
:param start_create_time: The start_create_time of this ListUserImageRequest.
|
314
|
+
:type start_create_time: int
|
315
|
+
"""
|
316
|
+
self._start_create_time = start_create_time
|
317
|
+
|
318
|
+
@property
|
319
|
+
def end_create_time(self):
|
320
|
+
r"""Gets the end_create_time of this ListUserImageRequest.
|
321
|
+
|
322
|
+
最大创建时间。
|
323
|
+
|
324
|
+
:return: The end_create_time of this ListUserImageRequest.
|
325
|
+
:rtype: int
|
326
|
+
"""
|
327
|
+
return self._end_create_time
|
328
|
+
|
329
|
+
@end_create_time.setter
|
330
|
+
def end_create_time(self, end_create_time):
|
331
|
+
r"""Sets the end_create_time of this ListUserImageRequest.
|
332
|
+
|
333
|
+
最大创建时间。
|
334
|
+
|
335
|
+
:param end_create_time: The end_create_time of this ListUserImageRequest.
|
336
|
+
:type end_create_time: int
|
337
|
+
"""
|
338
|
+
self._end_create_time = end_create_time
|
339
|
+
|
340
|
+
@property
|
341
|
+
def start_update_time(self):
|
342
|
+
r"""Gets the start_update_time of this ListUserImageRequest.
|
343
|
+
|
344
|
+
最小更新时间。
|
345
|
+
|
346
|
+
:return: The start_update_time of this ListUserImageRequest.
|
347
|
+
:rtype: int
|
348
|
+
"""
|
349
|
+
return self._start_update_time
|
350
|
+
|
351
|
+
@start_update_time.setter
|
352
|
+
def start_update_time(self, start_update_time):
|
353
|
+
r"""Sets the start_update_time of this ListUserImageRequest.
|
354
|
+
|
355
|
+
最小更新时间。
|
356
|
+
|
357
|
+
:param start_update_time: The start_update_time of this ListUserImageRequest.
|
358
|
+
:type start_update_time: int
|
359
|
+
"""
|
360
|
+
self._start_update_time = start_update_time
|
361
|
+
|
362
|
+
@property
|
363
|
+
def end_update_time(self):
|
364
|
+
r"""Gets the end_update_time of this ListUserImageRequest.
|
365
|
+
|
366
|
+
最大更新时间。
|
367
|
+
|
368
|
+
:return: The end_update_time of this ListUserImageRequest.
|
369
|
+
:rtype: int
|
370
|
+
"""
|
371
|
+
return self._end_update_time
|
372
|
+
|
373
|
+
@end_update_time.setter
|
374
|
+
def end_update_time(self, end_update_time):
|
375
|
+
r"""Sets the end_update_time of this ListUserImageRequest.
|
376
|
+
|
377
|
+
最大更新时间。
|
378
|
+
|
379
|
+
:param end_update_time: The end_update_time of this ListUserImageRequest.
|
380
|
+
:type end_update_time: int
|
381
|
+
"""
|
382
|
+
self._end_update_time = end_update_time
|
383
|
+
|
384
|
+
@property
|
385
|
+
def sort_by(self):
|
386
|
+
r"""Gets the sort_by of this ListUserImageRequest.
|
387
|
+
|
388
|
+
排序规则,目前默认时间降序,支持根据create_time|update_time排序。
|
389
|
+
|
390
|
+
:return: The sort_by of this ListUserImageRequest.
|
391
|
+
:rtype: str
|
392
|
+
"""
|
393
|
+
return self._sort_by
|
394
|
+
|
395
|
+
@sort_by.setter
|
396
|
+
def sort_by(self, sort_by):
|
397
|
+
r"""Sets the sort_by of this ListUserImageRequest.
|
398
|
+
|
399
|
+
排序规则,目前默认时间降序,支持根据create_time|update_time排序。
|
400
|
+
|
401
|
+
:param sort_by: The sort_by of this ListUserImageRequest.
|
402
|
+
:type sort_by: str
|
403
|
+
"""
|
404
|
+
self._sort_by = sort_by
|
405
|
+
|
406
|
+
@property
|
407
|
+
def sort_dir(self):
|
408
|
+
r"""Gets the sort_dir of this ListUserImageRequest.
|
409
|
+
|
410
|
+
排序规则,目前默认时间降序。
|
411
|
+
|
412
|
+
:return: The sort_dir of this ListUserImageRequest.
|
413
|
+
:rtype: str
|
414
|
+
"""
|
415
|
+
return self._sort_dir
|
416
|
+
|
417
|
+
@sort_dir.setter
|
418
|
+
def sort_dir(self, sort_dir):
|
419
|
+
r"""Sets the sort_dir of this ListUserImageRequest.
|
420
|
+
|
421
|
+
排序规则,目前默认时间降序。
|
422
|
+
|
423
|
+
:param sort_dir: The sort_dir of this ListUserImageRequest.
|
424
|
+
:type sort_dir: str
|
425
|
+
"""
|
426
|
+
self._sort_dir = sort_dir
|
427
|
+
|
428
|
+
@property
|
429
|
+
def limit(self):
|
430
|
+
r"""Gets the limit of this ListUserImageRequest.
|
431
|
+
|
432
|
+
限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]。
|
433
|
+
|
434
|
+
:return: The limit of this ListUserImageRequest.
|
435
|
+
:rtype: int
|
436
|
+
"""
|
437
|
+
return self._limit
|
438
|
+
|
439
|
+
@limit.setter
|
440
|
+
def limit(self, limit):
|
441
|
+
r"""Sets the limit of this ListUserImageRequest.
|
442
|
+
|
443
|
+
限制量,单次查询总量,必须由数字组成,默认为100,取值范围[1,1000]。
|
444
|
+
|
445
|
+
:param limit: The limit of this ListUserImageRequest.
|
446
|
+
:type limit: int
|
447
|
+
"""
|
448
|
+
self._limit = limit
|
449
|
+
|
450
|
+
@property
|
451
|
+
def offset(self):
|
452
|
+
r"""Gets the offset of this ListUserImageRequest.
|
453
|
+
|
454
|
+
偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]。
|
455
|
+
|
456
|
+
:return: The offset of this ListUserImageRequest.
|
457
|
+
:rtype: int
|
458
|
+
"""
|
459
|
+
return self._offset
|
460
|
+
|
461
|
+
@offset.setter
|
462
|
+
def offset(self, offset):
|
463
|
+
r"""Sets the offset of this ListUserImageRequest.
|
464
|
+
|
465
|
+
偏移量,查询起始偏移,必须由数字组成,默认为0,取值范围[0,100000000]。
|
466
|
+
|
467
|
+
:param offset: The offset of this ListUserImageRequest.
|
468
|
+
:type offset: int
|
469
|
+
"""
|
470
|
+
self._offset = offset
|
471
|
+
|
472
|
+
def to_dict(self):
|
473
|
+
"""Returns the model properties as a dict"""
|
474
|
+
result = {}
|
475
|
+
|
476
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
477
|
+
value = getattr(self, attr)
|
478
|
+
if isinstance(value, list):
|
479
|
+
result[attr] = list(map(
|
480
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
481
|
+
value
|
482
|
+
))
|
483
|
+
elif hasattr(value, "to_dict"):
|
484
|
+
result[attr] = value.to_dict()
|
485
|
+
elif isinstance(value, dict):
|
486
|
+
result[attr] = dict(map(
|
487
|
+
lambda item: (item[0], item[1].to_dict())
|
488
|
+
if hasattr(item[1], "to_dict") else item,
|
489
|
+
value.items()
|
490
|
+
))
|
491
|
+
else:
|
492
|
+
if attr in self.sensitive_list:
|
493
|
+
result[attr] = "****"
|
494
|
+
else:
|
495
|
+
result[attr] = value
|
496
|
+
|
497
|
+
return result
|
498
|
+
|
499
|
+
def to_str(self):
|
500
|
+
"""Returns the string representation of the model"""
|
501
|
+
import simplejson as json
|
502
|
+
if six.PY2:
|
503
|
+
import sys
|
504
|
+
reload(sys)
|
505
|
+
sys.setdefaultencoding("utf-8")
|
506
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
507
|
+
|
508
|
+
def __repr__(self):
|
509
|
+
"""For `print`"""
|
510
|
+
return self.to_str()
|
511
|
+
|
512
|
+
def __eq__(self, other):
|
513
|
+
"""Returns true if both objects are equal"""
|
514
|
+
if not isinstance(other, ListUserImageRequest):
|
515
|
+
return False
|
516
|
+
|
517
|
+
return self.__dict__ == other.__dict__
|
518
|
+
|
519
|
+
def __ne__(self, other):
|
520
|
+
"""Returns true if both objects are not equal"""
|
521
|
+
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 ListUserImageResponse(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
|
+
'count': 'int',
|
22
|
+
'images': 'list[ImageDetailRsp]'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'count': 'count',
|
27
|
+
'images': 'images'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, count=None, images=None):
|
31
|
+
r"""ListUserImageResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param count: 镜像总数
|
36
|
+
:type count: int
|
37
|
+
:param images: 镜像详情列表
|
38
|
+
:type images: list[:class:`huaweicloudsdkeihealth.v1.ImageDetailRsp`]
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListUserImageResponse, self).__init__()
|
42
|
+
|
43
|
+
self._count = None
|
44
|
+
self._images = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if count is not None:
|
48
|
+
self.count = count
|
49
|
+
if images is not None:
|
50
|
+
self.images = images
|
51
|
+
|
52
|
+
@property
|
53
|
+
def count(self):
|
54
|
+
r"""Gets the count of this ListUserImageResponse.
|
55
|
+
|
56
|
+
镜像总数
|
57
|
+
|
58
|
+
:return: The count of this ListUserImageResponse.
|
59
|
+
:rtype: int
|
60
|
+
"""
|
61
|
+
return self._count
|
62
|
+
|
63
|
+
@count.setter
|
64
|
+
def count(self, count):
|
65
|
+
r"""Sets the count of this ListUserImageResponse.
|
66
|
+
|
67
|
+
镜像总数
|
68
|
+
|
69
|
+
:param count: The count of this ListUserImageResponse.
|
70
|
+
:type count: int
|
71
|
+
"""
|
72
|
+
self._count = count
|
73
|
+
|
74
|
+
@property
|
75
|
+
def images(self):
|
76
|
+
r"""Gets the images of this ListUserImageResponse.
|
77
|
+
|
78
|
+
镜像详情列表
|
79
|
+
|
80
|
+
:return: The images of this ListUserImageResponse.
|
81
|
+
:rtype: list[:class:`huaweicloudsdkeihealth.v1.ImageDetailRsp`]
|
82
|
+
"""
|
83
|
+
return self._images
|
84
|
+
|
85
|
+
@images.setter
|
86
|
+
def images(self, images):
|
87
|
+
r"""Sets the images of this ListUserImageResponse.
|
88
|
+
|
89
|
+
镜像详情列表
|
90
|
+
|
91
|
+
:param images: The images of this ListUserImageResponse.
|
92
|
+
:type images: list[:class:`huaweicloudsdkeihealth.v1.ImageDetailRsp`]
|
93
|
+
"""
|
94
|
+
self._images = images
|
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, ListUserImageResponse):
|
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
|