huaweicloudsdkcodeartsbuild 3.1.164__py3-none-any.whl → 3.1.166__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.
Files changed (76) hide show
  1. huaweicloudsdkcodeartsbuild/v3/__init__.py +66 -0
  2. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1553 -172
  3. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1553 -172
  4. huaweicloudsdkcodeartsbuild/v3/model/__init__.py +66 -0
  5. huaweicloudsdkcodeartsbuild/v3/model/add_favourite_custom_template_request.py +114 -0
  6. huaweicloudsdkcodeartsbuild/v3/model/add_favourite_custom_template_response.py +116 -0
  7. huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_request_body.py +30 -1
  8. huaweicloudsdkcodeartsbuild/v3/model/apply_project_permission_request.py +111 -0
  9. huaweicloudsdkcodeartsbuild/v3/model/apply_project_permission_response.py +174 -0
  10. huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_request.py +111 -0
  11. huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_request_body.py +114 -0
  12. huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_response.py +170 -0
  13. huaweicloudsdkcodeartsbuild/v3/model/batch_update_job_role_permission_request.py +111 -0
  14. huaweicloudsdkcodeartsbuild/v3/model/batch_update_job_role_permission_response.py +174 -0
  15. huaweicloudsdkcodeartsbuild/v3/model/check_job_internal_request.py +84 -0
  16. huaweicloudsdkcodeartsbuild/v3/model/check_job_internal_response.py +174 -0
  17. huaweicloudsdkcodeartsbuild/v3/model/countdown_list.py +256 -0
  18. huaweicloudsdkcodeartsbuild/v3/model/countdown_list_tips.py +111 -0
  19. huaweicloudsdkcodeartsbuild/v3/model/countdown_request_body.py +170 -0
  20. huaweicloudsdkcodeartsbuild/v3/model/create_job_group_request.py +139 -0
  21. huaweicloudsdkcodeartsbuild/v3/model/create_job_group_response.py +174 -0
  22. huaweicloudsdkcodeartsbuild/v3/model/delete_group_request.py +142 -0
  23. huaweicloudsdkcodeartsbuild/v3/model/delete_group_response.py +174 -0
  24. huaweicloudsdkcodeartsbuild/v3/model/domain_statuses.py +521 -0
  25. huaweicloudsdkcodeartsbuild/v3/model/domains_statuses_request_body.py +115 -0
  26. huaweicloudsdkcodeartsbuild/v3/model/end_point_response.py +339 -0
  27. huaweicloudsdkcodeartsbuild/v3/model/end_point_response_authorization.py +144 -0
  28. huaweicloudsdkcodeartsbuild/v3/model/end_point_response_created_by.py +144 -0
  29. huaweicloudsdkcodeartsbuild/v3/model/job_group_request_body.py +231 -0
  30. huaweicloudsdkcodeartsbuild/v3/model/job_group_response_body_result.py +434 -0
  31. huaweicloudsdkcodeartsbuild/v3/model/job_group_tree_response_body.py +434 -0
  32. huaweicloudsdkcodeartsbuild/v3/model/job_role_permission.py +434 -0
  33. huaweicloudsdkcodeartsbuild/v3/model/job_status_result_response_body_result.py +173 -0
  34. huaweicloudsdkcodeartsbuild/v3/model/list_end_points_request.py +171 -0
  35. huaweicloudsdkcodeartsbuild/v3/model/list_end_points_response.py +170 -0
  36. huaweicloudsdkcodeartsbuild/v3/model/list_end_points_result_response_body_result.py +144 -0
  37. huaweicloudsdkcodeartsbuild/v3/model/list_group_tree_request.py +114 -0
  38. huaweicloudsdkcodeartsbuild/v3/model/list_group_tree_response.py +174 -0
  39. huaweicloudsdkcodeartsbuild/v3/model/move_group_request.py +139 -0
  40. huaweicloudsdkcodeartsbuild/v3/model/move_group_response.py +174 -0
  41. huaweicloudsdkcodeartsbuild/v3/model/move_job_group_request_body.py +144 -0
  42. huaweicloudsdkcodeartsbuild/v3/model/move_job_group_request_body_jobs.py +144 -0
  43. huaweicloudsdkcodeartsbuild/v3/model/move_job_group_response_body_result.py +144 -0
  44. huaweicloudsdkcodeartsbuild/v3/model/project_permission_request_body.py +173 -0
  45. huaweicloudsdkcodeartsbuild/v3/model/remover_favourite_custom_template_request.py +114 -0
  46. huaweicloudsdkcodeartsbuild/v3/model/remover_favourite_custom_template_response.py +116 -0
  47. huaweicloudsdkcodeartsbuild/v3/model/role_permissions_request_body.py +202 -0
  48. huaweicloudsdkcodeartsbuild/v3/model/show_available_inner_spec_request.py +142 -0
  49. huaweicloudsdkcodeartsbuild/v3/model/show_available_inner_spec_response.py +116 -0
  50. huaweicloudsdkcodeartsbuild/v3/model/show_build_details_request.py +142 -0
  51. huaweicloudsdkcodeartsbuild/v3/model/show_build_details_response.py +170 -0
  52. huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_request.py +84 -0
  53. huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_response.py +170 -0
  54. huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_result.py +173 -0
  55. huaweicloudsdkcodeartsbuild/v3/model/show_domains_statuses_request.py +111 -0
  56. huaweicloudsdkcodeartsbuild/v3/model/show_domains_statuses_response.py +174 -0
  57. huaweicloudsdkcodeartsbuild/v3/model/show_package_spec_count_down_request.py +111 -0
  58. huaweicloudsdkcodeartsbuild/v3/model/show_package_spec_count_down_response.py +174 -0
  59. huaweicloudsdkcodeartsbuild/v3/model/show_template_request.py +114 -0
  60. huaweicloudsdkcodeartsbuild/v3/model/show_template_response.py +170 -0
  61. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_request.py +84 -0
  62. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_response.py +170 -0
  63. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_result.py +173 -0
  64. huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_result_main_resource_list.py +202 -0
  65. huaweicloudsdkcodeartsbuild/v3/model/switched_packet_request.py +170 -0
  66. huaweicloudsdkcodeartsbuild/v3/model/switched_packet_response.py +174 -0
  67. huaweicloudsdkcodeartsbuild/v3/model/tips.py +202 -0
  68. huaweicloudsdkcodeartsbuild/v3/model/update_job_group_request.py +139 -0
  69. huaweicloudsdkcodeartsbuild/v3/model/update_job_group_response.py +174 -0
  70. huaweicloudsdkcodeartsbuild/v3/model/update_new_notice_new_request.py +139 -0
  71. huaweicloudsdkcodeartsbuild/v3/model/update_new_notice_new_response.py +174 -0
  72. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info}/METADATA +9 -10
  73. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info}/RECORD +75 -10
  74. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info}/WHEEL +1 -2
  75. huaweicloudsdkcodeartsbuild-3.1.164.dist-info/top_level.txt +0 -1
  76. {huaweicloudsdkcodeartsbuild-3.1.164.dist-info → huaweicloudsdkcodeartsbuild-3.1.166.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,434 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class JobRolePermission:
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': 'int',
21
+ 'role_id': 'int',
22
+ 'devuc_role_id': 'str',
23
+ 'role_name': 'str',
24
+ 'is_modify': 'bool',
25
+ 'is_delete': 'bool',
26
+ 'is_view': 'bool',
27
+ 'is_execute': 'bool',
28
+ 'is_copy': 'bool',
29
+ 'is_forbidden': 'bool',
30
+ 'is_manager': 'bool',
31
+ 'count': 'int'
32
+ }
33
+
34
+ attribute_map = {
35
+ 'id': 'id',
36
+ 'role_id': 'role_id',
37
+ 'devuc_role_id': 'devuc_role_id',
38
+ 'role_name': 'role_name',
39
+ 'is_modify': 'is_modify',
40
+ 'is_delete': 'is_delete',
41
+ 'is_view': 'is_view',
42
+ 'is_execute': 'is_execute',
43
+ 'is_copy': 'is_copy',
44
+ 'is_forbidden': 'is_forbidden',
45
+ 'is_manager': 'is_manager',
46
+ 'count': 'count'
47
+ }
48
+
49
+ def __init__(self, id=None, role_id=None, devuc_role_id=None, role_name=None, is_modify=None, is_delete=None, is_view=None, is_execute=None, is_copy=None, is_forbidden=None, is_manager=None, count=None):
50
+ r"""JobRolePermission
51
+
52
+ The model defined in huaweicloud sdk
53
+
54
+ :param id: 主键ID
55
+ :type id: int
56
+ :param role_id: 角色ID
57
+ :type role_id: int
58
+ :param devuc_role_id: devuc的角色ID
59
+ :type devuc_role_id: str
60
+ :param role_name: 角色名称
61
+ :type role_name: str
62
+ :param is_modify: 修改权限
63
+ :type is_modify: bool
64
+ :param is_delete: 删除权限
65
+ :type is_delete: bool
66
+ :param is_view: 查看权限
67
+ :type is_view: bool
68
+ :param is_execute: 执行权限
69
+ :type is_execute: bool
70
+ :param is_copy: 复制权限
71
+ :type is_copy: bool
72
+ :param is_forbidden: 禁用权限
73
+ :type is_forbidden: bool
74
+ :param is_manager: 管理权限
75
+ :type is_manager: bool
76
+ :param count: 数量
77
+ :type count: int
78
+ """
79
+
80
+
81
+
82
+ self._id = None
83
+ self._role_id = None
84
+ self._devuc_role_id = None
85
+ self._role_name = None
86
+ self._is_modify = None
87
+ self._is_delete = None
88
+ self._is_view = None
89
+ self._is_execute = None
90
+ self._is_copy = None
91
+ self._is_forbidden = None
92
+ self._is_manager = None
93
+ self._count = None
94
+ self.discriminator = None
95
+
96
+ if id is not None:
97
+ self.id = id
98
+ if role_id is not None:
99
+ self.role_id = role_id
100
+ if devuc_role_id is not None:
101
+ self.devuc_role_id = devuc_role_id
102
+ if role_name is not None:
103
+ self.role_name = role_name
104
+ if is_modify is not None:
105
+ self.is_modify = is_modify
106
+ if is_delete is not None:
107
+ self.is_delete = is_delete
108
+ if is_view is not None:
109
+ self.is_view = is_view
110
+ if is_execute is not None:
111
+ self.is_execute = is_execute
112
+ if is_copy is not None:
113
+ self.is_copy = is_copy
114
+ if is_forbidden is not None:
115
+ self.is_forbidden = is_forbidden
116
+ if is_manager is not None:
117
+ self.is_manager = is_manager
118
+ if count is not None:
119
+ self.count = count
120
+
121
+ @property
122
+ def id(self):
123
+ r"""Gets the id of this JobRolePermission.
124
+
125
+ 主键ID
126
+
127
+ :return: The id of this JobRolePermission.
128
+ :rtype: int
129
+ """
130
+ return self._id
131
+
132
+ @id.setter
133
+ def id(self, id):
134
+ r"""Sets the id of this JobRolePermission.
135
+
136
+ 主键ID
137
+
138
+ :param id: The id of this JobRolePermission.
139
+ :type id: int
140
+ """
141
+ self._id = id
142
+
143
+ @property
144
+ def role_id(self):
145
+ r"""Gets the role_id of this JobRolePermission.
146
+
147
+ 角色ID
148
+
149
+ :return: The role_id of this JobRolePermission.
150
+ :rtype: int
151
+ """
152
+ return self._role_id
153
+
154
+ @role_id.setter
155
+ def role_id(self, role_id):
156
+ r"""Sets the role_id of this JobRolePermission.
157
+
158
+ 角色ID
159
+
160
+ :param role_id: The role_id of this JobRolePermission.
161
+ :type role_id: int
162
+ """
163
+ self._role_id = role_id
164
+
165
+ @property
166
+ def devuc_role_id(self):
167
+ r"""Gets the devuc_role_id of this JobRolePermission.
168
+
169
+ devuc的角色ID
170
+
171
+ :return: The devuc_role_id of this JobRolePermission.
172
+ :rtype: str
173
+ """
174
+ return self._devuc_role_id
175
+
176
+ @devuc_role_id.setter
177
+ def devuc_role_id(self, devuc_role_id):
178
+ r"""Sets the devuc_role_id of this JobRolePermission.
179
+
180
+ devuc的角色ID
181
+
182
+ :param devuc_role_id: The devuc_role_id of this JobRolePermission.
183
+ :type devuc_role_id: str
184
+ """
185
+ self._devuc_role_id = devuc_role_id
186
+
187
+ @property
188
+ def role_name(self):
189
+ r"""Gets the role_name of this JobRolePermission.
190
+
191
+ 角色名称
192
+
193
+ :return: The role_name of this JobRolePermission.
194
+ :rtype: str
195
+ """
196
+ return self._role_name
197
+
198
+ @role_name.setter
199
+ def role_name(self, role_name):
200
+ r"""Sets the role_name of this JobRolePermission.
201
+
202
+ 角色名称
203
+
204
+ :param role_name: The role_name of this JobRolePermission.
205
+ :type role_name: str
206
+ """
207
+ self._role_name = role_name
208
+
209
+ @property
210
+ def is_modify(self):
211
+ r"""Gets the is_modify of this JobRolePermission.
212
+
213
+ 修改权限
214
+
215
+ :return: The is_modify of this JobRolePermission.
216
+ :rtype: bool
217
+ """
218
+ return self._is_modify
219
+
220
+ @is_modify.setter
221
+ def is_modify(self, is_modify):
222
+ r"""Sets the is_modify of this JobRolePermission.
223
+
224
+ 修改权限
225
+
226
+ :param is_modify: The is_modify of this JobRolePermission.
227
+ :type is_modify: bool
228
+ """
229
+ self._is_modify = is_modify
230
+
231
+ @property
232
+ def is_delete(self):
233
+ r"""Gets the is_delete of this JobRolePermission.
234
+
235
+ 删除权限
236
+
237
+ :return: The is_delete of this JobRolePermission.
238
+ :rtype: bool
239
+ """
240
+ return self._is_delete
241
+
242
+ @is_delete.setter
243
+ def is_delete(self, is_delete):
244
+ r"""Sets the is_delete of this JobRolePermission.
245
+
246
+ 删除权限
247
+
248
+ :param is_delete: The is_delete of this JobRolePermission.
249
+ :type is_delete: bool
250
+ """
251
+ self._is_delete = is_delete
252
+
253
+ @property
254
+ def is_view(self):
255
+ r"""Gets the is_view of this JobRolePermission.
256
+
257
+ 查看权限
258
+
259
+ :return: The is_view of this JobRolePermission.
260
+ :rtype: bool
261
+ """
262
+ return self._is_view
263
+
264
+ @is_view.setter
265
+ def is_view(self, is_view):
266
+ r"""Sets the is_view of this JobRolePermission.
267
+
268
+ 查看权限
269
+
270
+ :param is_view: The is_view of this JobRolePermission.
271
+ :type is_view: bool
272
+ """
273
+ self._is_view = is_view
274
+
275
+ @property
276
+ def is_execute(self):
277
+ r"""Gets the is_execute of this JobRolePermission.
278
+
279
+ 执行权限
280
+
281
+ :return: The is_execute of this JobRolePermission.
282
+ :rtype: bool
283
+ """
284
+ return self._is_execute
285
+
286
+ @is_execute.setter
287
+ def is_execute(self, is_execute):
288
+ r"""Sets the is_execute of this JobRolePermission.
289
+
290
+ 执行权限
291
+
292
+ :param is_execute: The is_execute of this JobRolePermission.
293
+ :type is_execute: bool
294
+ """
295
+ self._is_execute = is_execute
296
+
297
+ @property
298
+ def is_copy(self):
299
+ r"""Gets the is_copy of this JobRolePermission.
300
+
301
+ 复制权限
302
+
303
+ :return: The is_copy of this JobRolePermission.
304
+ :rtype: bool
305
+ """
306
+ return self._is_copy
307
+
308
+ @is_copy.setter
309
+ def is_copy(self, is_copy):
310
+ r"""Sets the is_copy of this JobRolePermission.
311
+
312
+ 复制权限
313
+
314
+ :param is_copy: The is_copy of this JobRolePermission.
315
+ :type is_copy: bool
316
+ """
317
+ self._is_copy = is_copy
318
+
319
+ @property
320
+ def is_forbidden(self):
321
+ r"""Gets the is_forbidden of this JobRolePermission.
322
+
323
+ 禁用权限
324
+
325
+ :return: The is_forbidden of this JobRolePermission.
326
+ :rtype: bool
327
+ """
328
+ return self._is_forbidden
329
+
330
+ @is_forbidden.setter
331
+ def is_forbidden(self, is_forbidden):
332
+ r"""Sets the is_forbidden of this JobRolePermission.
333
+
334
+ 禁用权限
335
+
336
+ :param is_forbidden: The is_forbidden of this JobRolePermission.
337
+ :type is_forbidden: bool
338
+ """
339
+ self._is_forbidden = is_forbidden
340
+
341
+ @property
342
+ def is_manager(self):
343
+ r"""Gets the is_manager of this JobRolePermission.
344
+
345
+ 管理权限
346
+
347
+ :return: The is_manager of this JobRolePermission.
348
+ :rtype: bool
349
+ """
350
+ return self._is_manager
351
+
352
+ @is_manager.setter
353
+ def is_manager(self, is_manager):
354
+ r"""Sets the is_manager of this JobRolePermission.
355
+
356
+ 管理权限
357
+
358
+ :param is_manager: The is_manager of this JobRolePermission.
359
+ :type is_manager: bool
360
+ """
361
+ self._is_manager = is_manager
362
+
363
+ @property
364
+ def count(self):
365
+ r"""Gets the count of this JobRolePermission.
366
+
367
+ 数量
368
+
369
+ :return: The count of this JobRolePermission.
370
+ :rtype: int
371
+ """
372
+ return self._count
373
+
374
+ @count.setter
375
+ def count(self, count):
376
+ r"""Sets the count of this JobRolePermission.
377
+
378
+ 数量
379
+
380
+ :param count: The count of this JobRolePermission.
381
+ :type count: int
382
+ """
383
+ self._count = count
384
+
385
+ def to_dict(self):
386
+ """Returns the model properties as a dict"""
387
+ result = {}
388
+
389
+ for attr, _ in six.iteritems(self.openapi_types):
390
+ value = getattr(self, attr)
391
+ if isinstance(value, list):
392
+ result[attr] = list(map(
393
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
394
+ value
395
+ ))
396
+ elif hasattr(value, "to_dict"):
397
+ result[attr] = value.to_dict()
398
+ elif isinstance(value, dict):
399
+ result[attr] = dict(map(
400
+ lambda item: (item[0], item[1].to_dict())
401
+ if hasattr(item[1], "to_dict") else item,
402
+ value.items()
403
+ ))
404
+ else:
405
+ if attr in self.sensitive_list:
406
+ result[attr] = "****"
407
+ else:
408
+ result[attr] = value
409
+
410
+ return result
411
+
412
+ def to_str(self):
413
+ """Returns the string representation of the model"""
414
+ import simplejson as json
415
+ if six.PY2:
416
+ import sys
417
+ reload(sys)
418
+ sys.setdefaultencoding("utf-8")
419
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
420
+
421
+ def __repr__(self):
422
+ """For `print`"""
423
+ return self.to_str()
424
+
425
+ def __eq__(self, other):
426
+ """Returns true if both objects are equal"""
427
+ if not isinstance(other, JobRolePermission):
428
+ return False
429
+
430
+ return self.__dict__ == other.__dict__
431
+
432
+ def __ne__(self, other):
433
+ """Returns true if both objects are not equal"""
434
+ return not self == other
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class JobStatusResultResponseBodyResult:
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
+ 'building': 'bool',
21
+ 'build_result': 'str',
22
+ 'region': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'building': 'building',
27
+ 'build_result': 'build_result',
28
+ 'region': 'region'
29
+ }
30
+
31
+ def __init__(self, building=None, build_result=None, region=None):
32
+ r"""JobStatusResultResponseBodyResult
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param building: 是否构建中
37
+ :type building: bool
38
+ :param build_result: 构建结果
39
+ :type build_result: str
40
+ :param region: region
41
+ :type region: str
42
+ """
43
+
44
+
45
+
46
+ self._building = None
47
+ self._build_result = None
48
+ self._region = None
49
+ self.discriminator = None
50
+
51
+ if building is not None:
52
+ self.building = building
53
+ if build_result is not None:
54
+ self.build_result = build_result
55
+ if region is not None:
56
+ self.region = region
57
+
58
+ @property
59
+ def building(self):
60
+ r"""Gets the building of this JobStatusResultResponseBodyResult.
61
+
62
+ 是否构建中
63
+
64
+ :return: The building of this JobStatusResultResponseBodyResult.
65
+ :rtype: bool
66
+ """
67
+ return self._building
68
+
69
+ @building.setter
70
+ def building(self, building):
71
+ r"""Sets the building of this JobStatusResultResponseBodyResult.
72
+
73
+ 是否构建中
74
+
75
+ :param building: The building of this JobStatusResultResponseBodyResult.
76
+ :type building: bool
77
+ """
78
+ self._building = building
79
+
80
+ @property
81
+ def build_result(self):
82
+ r"""Gets the build_result of this JobStatusResultResponseBodyResult.
83
+
84
+ 构建结果
85
+
86
+ :return: The build_result of this JobStatusResultResponseBodyResult.
87
+ :rtype: str
88
+ """
89
+ return self._build_result
90
+
91
+ @build_result.setter
92
+ def build_result(self, build_result):
93
+ r"""Sets the build_result of this JobStatusResultResponseBodyResult.
94
+
95
+ 构建结果
96
+
97
+ :param build_result: The build_result of this JobStatusResultResponseBodyResult.
98
+ :type build_result: str
99
+ """
100
+ self._build_result = build_result
101
+
102
+ @property
103
+ def region(self):
104
+ r"""Gets the region of this JobStatusResultResponseBodyResult.
105
+
106
+ region
107
+
108
+ :return: The region of this JobStatusResultResponseBodyResult.
109
+ :rtype: str
110
+ """
111
+ return self._region
112
+
113
+ @region.setter
114
+ def region(self, region):
115
+ r"""Sets the region of this JobStatusResultResponseBodyResult.
116
+
117
+ region
118
+
119
+ :param region: The region of this JobStatusResultResponseBodyResult.
120
+ :type region: str
121
+ """
122
+ self._region = region
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, JobStatusResultResponseBodyResult):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other