huaweicloudsdkcodeartsbuild 3.1.165__py3-none-any.whl → 3.1.167__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.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info}/METADATA +9 -10
  73. {huaweicloudsdkcodeartsbuild-3.1.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info}/RECORD +75 -10
  74. {huaweicloudsdkcodeartsbuild-3.1.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info}/WHEEL +1 -2
  75. huaweicloudsdkcodeartsbuild-3.1.165.dist-info/top_level.txt +0 -1
  76. {huaweicloudsdkcodeartsbuild-3.1.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info/licenses}/LICENSE +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 DomainStatuses:
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
+ 'service_name': 'str',
21
+ 'domain_id': 'str',
22
+ 'domain_name': 'str',
23
+ 'free_quota': 'bool',
24
+ 'free_package_quota': 'bool',
25
+ 'status': 'int',
26
+ 'is_federation': 'int',
27
+ 'is_whitelist': 'int',
28
+ 'region': 'str',
29
+ 'package_type': 'str',
30
+ 'domain_type': 'int',
31
+ 'domain_business_type': 'str',
32
+ 'domain_malicious_docker_args': 'str',
33
+ 'allow_custom_env': 'int',
34
+ 'spec_threshold': 'str'
35
+ }
36
+
37
+ attribute_map = {
38
+ 'service_name': 'service_name',
39
+ 'domain_id': 'domain_id',
40
+ 'domain_name': 'domain_name',
41
+ 'free_quota': 'free_quota',
42
+ 'free_package_quota': 'free_package_quota',
43
+ 'status': 'status',
44
+ 'is_federation': 'is_federation',
45
+ 'is_whitelist': 'is_whitelist',
46
+ 'region': 'region',
47
+ 'package_type': 'package_type',
48
+ 'domain_type': 'domain_type',
49
+ 'domain_business_type': 'domain_business_type',
50
+ 'domain_malicious_docker_args': 'domain_malicious_docker_args',
51
+ 'allow_custom_env': 'allow_custom_env',
52
+ 'spec_threshold': 'spec_threshold'
53
+ }
54
+
55
+ def __init__(self, service_name=None, domain_id=None, domain_name=None, free_quota=None, free_package_quota=None, status=None, is_federation=None, is_whitelist=None, region=None, package_type=None, domain_type=None, domain_business_type=None, domain_malicious_docker_args=None, allow_custom_env=None, spec_threshold=None):
56
+ r"""DomainStatuses
57
+
58
+ The model defined in huaweicloud sdk
59
+
60
+ :param service_name: **参数解释**: 服务名。 **约束限制**: 不涉及。 **取值范围**: 默认CodeCI。
61
+ :type service_name: str
62
+ :param domain_id: **参数解释**: 租户id。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
63
+ :type domain_id: str
64
+ :param domain_name: **参数解释**: 租户名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
65
+ :type domain_name: str
66
+ :param free_quota: **参数解释**: freeQuota。 **约束限制**: 不涉及。 **取值范围**: true或false。
67
+ :type free_quota: bool
68
+ :param free_package_quota: **参数解释**: freePackageQuota。 **约束限制**: 不涉及。 **取值范围**: true或false。
69
+ :type free_package_quota: bool
70
+ :param status: **参数解释**: 状态。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
71
+ :type status: int
72
+ :param is_federation: **参数解释**: isFederation。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
73
+ :type is_federation: int
74
+ :param is_whitelist: **参数解释**: 白名单标识。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
75
+ :type is_whitelist: int
76
+ :param region: **参数解释**: 地区。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
77
+ :type region: str
78
+ :param package_type: **参数解释**: 包类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
79
+ :type package_type: str
80
+ :param domain_type: **参数解释**: 租户类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
81
+ :type domain_type: int
82
+ :param domain_business_type: **参数解释**: 租户业务类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
83
+ :type domain_business_type: str
84
+ :param domain_malicious_docker_args: **参数解释**: domainMaliciousDockerArgs。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
85
+ :type domain_malicious_docker_args: str
86
+ :param allow_custom_env: **参数解释**: 允许自定义环境数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
87
+ :type allow_custom_env: int
88
+ :param spec_threshold: **参数解释**: 默认的加速阈值注入。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
89
+ :type spec_threshold: str
90
+ """
91
+
92
+
93
+
94
+ self._service_name = None
95
+ self._domain_id = None
96
+ self._domain_name = None
97
+ self._free_quota = None
98
+ self._free_package_quota = None
99
+ self._status = None
100
+ self._is_federation = None
101
+ self._is_whitelist = None
102
+ self._region = None
103
+ self._package_type = None
104
+ self._domain_type = None
105
+ self._domain_business_type = None
106
+ self._domain_malicious_docker_args = None
107
+ self._allow_custom_env = None
108
+ self._spec_threshold = None
109
+ self.discriminator = None
110
+
111
+ if service_name is not None:
112
+ self.service_name = service_name
113
+ if domain_id is not None:
114
+ self.domain_id = domain_id
115
+ if domain_name is not None:
116
+ self.domain_name = domain_name
117
+ if free_quota is not None:
118
+ self.free_quota = free_quota
119
+ if free_package_quota is not None:
120
+ self.free_package_quota = free_package_quota
121
+ if status is not None:
122
+ self.status = status
123
+ if is_federation is not None:
124
+ self.is_federation = is_federation
125
+ if is_whitelist is not None:
126
+ self.is_whitelist = is_whitelist
127
+ if region is not None:
128
+ self.region = region
129
+ if package_type is not None:
130
+ self.package_type = package_type
131
+ if domain_type is not None:
132
+ self.domain_type = domain_type
133
+ if domain_business_type is not None:
134
+ self.domain_business_type = domain_business_type
135
+ if domain_malicious_docker_args is not None:
136
+ self.domain_malicious_docker_args = domain_malicious_docker_args
137
+ if allow_custom_env is not None:
138
+ self.allow_custom_env = allow_custom_env
139
+ if spec_threshold is not None:
140
+ self.spec_threshold = spec_threshold
141
+
142
+ @property
143
+ def service_name(self):
144
+ r"""Gets the service_name of this DomainStatuses.
145
+
146
+ **参数解释**: 服务名。 **约束限制**: 不涉及。 **取值范围**: 默认CodeCI。
147
+
148
+ :return: The service_name of this DomainStatuses.
149
+ :rtype: str
150
+ """
151
+ return self._service_name
152
+
153
+ @service_name.setter
154
+ def service_name(self, service_name):
155
+ r"""Sets the service_name of this DomainStatuses.
156
+
157
+ **参数解释**: 服务名。 **约束限制**: 不涉及。 **取值范围**: 默认CodeCI。
158
+
159
+ :param service_name: The service_name of this DomainStatuses.
160
+ :type service_name: str
161
+ """
162
+ self._service_name = service_name
163
+
164
+ @property
165
+ def domain_id(self):
166
+ r"""Gets the domain_id of this DomainStatuses.
167
+
168
+ **参数解释**: 租户id。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
169
+
170
+ :return: The domain_id of this DomainStatuses.
171
+ :rtype: str
172
+ """
173
+ return self._domain_id
174
+
175
+ @domain_id.setter
176
+ def domain_id(self, domain_id):
177
+ r"""Sets the domain_id of this DomainStatuses.
178
+
179
+ **参数解释**: 租户id。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
180
+
181
+ :param domain_id: The domain_id of this DomainStatuses.
182
+ :type domain_id: str
183
+ """
184
+ self._domain_id = domain_id
185
+
186
+ @property
187
+ def domain_name(self):
188
+ r"""Gets the domain_name of this DomainStatuses.
189
+
190
+ **参数解释**: 租户名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
191
+
192
+ :return: The domain_name of this DomainStatuses.
193
+ :rtype: str
194
+ """
195
+ return self._domain_name
196
+
197
+ @domain_name.setter
198
+ def domain_name(self, domain_name):
199
+ r"""Sets the domain_name of this DomainStatuses.
200
+
201
+ **参数解释**: 租户名称。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
202
+
203
+ :param domain_name: The domain_name of this DomainStatuses.
204
+ :type domain_name: str
205
+ """
206
+ self._domain_name = domain_name
207
+
208
+ @property
209
+ def free_quota(self):
210
+ r"""Gets the free_quota of this DomainStatuses.
211
+
212
+ **参数解释**: freeQuota。 **约束限制**: 不涉及。 **取值范围**: true或false。
213
+
214
+ :return: The free_quota of this DomainStatuses.
215
+ :rtype: bool
216
+ """
217
+ return self._free_quota
218
+
219
+ @free_quota.setter
220
+ def free_quota(self, free_quota):
221
+ r"""Sets the free_quota of this DomainStatuses.
222
+
223
+ **参数解释**: freeQuota。 **约束限制**: 不涉及。 **取值范围**: true或false。
224
+
225
+ :param free_quota: The free_quota of this DomainStatuses.
226
+ :type free_quota: bool
227
+ """
228
+ self._free_quota = free_quota
229
+
230
+ @property
231
+ def free_package_quota(self):
232
+ r"""Gets the free_package_quota of this DomainStatuses.
233
+
234
+ **参数解释**: freePackageQuota。 **约束限制**: 不涉及。 **取值范围**: true或false。
235
+
236
+ :return: The free_package_quota of this DomainStatuses.
237
+ :rtype: bool
238
+ """
239
+ return self._free_package_quota
240
+
241
+ @free_package_quota.setter
242
+ def free_package_quota(self, free_package_quota):
243
+ r"""Sets the free_package_quota of this DomainStatuses.
244
+
245
+ **参数解释**: freePackageQuota。 **约束限制**: 不涉及。 **取值范围**: true或false。
246
+
247
+ :param free_package_quota: The free_package_quota of this DomainStatuses.
248
+ :type free_package_quota: bool
249
+ """
250
+ self._free_package_quota = free_package_quota
251
+
252
+ @property
253
+ def status(self):
254
+ r"""Gets the status of this DomainStatuses.
255
+
256
+ **参数解释**: 状态。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
257
+
258
+ :return: The status of this DomainStatuses.
259
+ :rtype: int
260
+ """
261
+ return self._status
262
+
263
+ @status.setter
264
+ def status(self, status):
265
+ r"""Sets the status of this DomainStatuses.
266
+
267
+ **参数解释**: 状态。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
268
+
269
+ :param status: The status of this DomainStatuses.
270
+ :type status: int
271
+ """
272
+ self._status = status
273
+
274
+ @property
275
+ def is_federation(self):
276
+ r"""Gets the is_federation of this DomainStatuses.
277
+
278
+ **参数解释**: isFederation。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
279
+
280
+ :return: The is_federation of this DomainStatuses.
281
+ :rtype: int
282
+ """
283
+ return self._is_federation
284
+
285
+ @is_federation.setter
286
+ def is_federation(self, is_federation):
287
+ r"""Sets the is_federation of this DomainStatuses.
288
+
289
+ **参数解释**: isFederation。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
290
+
291
+ :param is_federation: The is_federation of this DomainStatuses.
292
+ :type is_federation: int
293
+ """
294
+ self._is_federation = is_federation
295
+
296
+ @property
297
+ def is_whitelist(self):
298
+ r"""Gets the is_whitelist of this DomainStatuses.
299
+
300
+ **参数解释**: 白名单标识。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
301
+
302
+ :return: The is_whitelist of this DomainStatuses.
303
+ :rtype: int
304
+ """
305
+ return self._is_whitelist
306
+
307
+ @is_whitelist.setter
308
+ def is_whitelist(self, is_whitelist):
309
+ r"""Sets the is_whitelist of this DomainStatuses.
310
+
311
+ **参数解释**: 白名单标识。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
312
+
313
+ :param is_whitelist: The is_whitelist of this DomainStatuses.
314
+ :type is_whitelist: int
315
+ """
316
+ self._is_whitelist = is_whitelist
317
+
318
+ @property
319
+ def region(self):
320
+ r"""Gets the region of this DomainStatuses.
321
+
322
+ **参数解释**: 地区。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
323
+
324
+ :return: The region of this DomainStatuses.
325
+ :rtype: str
326
+ """
327
+ return self._region
328
+
329
+ @region.setter
330
+ def region(self, region):
331
+ r"""Sets the region of this DomainStatuses.
332
+
333
+ **参数解释**: 地区。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
334
+
335
+ :param region: The region of this DomainStatuses.
336
+ :type region: str
337
+ """
338
+ self._region = region
339
+
340
+ @property
341
+ def package_type(self):
342
+ r"""Gets the package_type of this DomainStatuses.
343
+
344
+ **参数解释**: 包类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
345
+
346
+ :return: The package_type of this DomainStatuses.
347
+ :rtype: str
348
+ """
349
+ return self._package_type
350
+
351
+ @package_type.setter
352
+ def package_type(self, package_type):
353
+ r"""Sets the package_type of this DomainStatuses.
354
+
355
+ **参数解释**: 包类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
356
+
357
+ :param package_type: The package_type of this DomainStatuses.
358
+ :type package_type: str
359
+ """
360
+ self._package_type = package_type
361
+
362
+ @property
363
+ def domain_type(self):
364
+ r"""Gets the domain_type of this DomainStatuses.
365
+
366
+ **参数解释**: 租户类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
367
+
368
+ :return: The domain_type of this DomainStatuses.
369
+ :rtype: int
370
+ """
371
+ return self._domain_type
372
+
373
+ @domain_type.setter
374
+ def domain_type(self, domain_type):
375
+ r"""Sets the domain_type of this DomainStatuses.
376
+
377
+ **参数解释**: 租户类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
378
+
379
+ :param domain_type: The domain_type of this DomainStatuses.
380
+ :type domain_type: int
381
+ """
382
+ self._domain_type = domain_type
383
+
384
+ @property
385
+ def domain_business_type(self):
386
+ r"""Gets the domain_business_type of this DomainStatuses.
387
+
388
+ **参数解释**: 租户业务类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
389
+
390
+ :return: The domain_business_type of this DomainStatuses.
391
+ :rtype: str
392
+ """
393
+ return self._domain_business_type
394
+
395
+ @domain_business_type.setter
396
+ def domain_business_type(self, domain_business_type):
397
+ r"""Sets the domain_business_type of this DomainStatuses.
398
+
399
+ **参数解释**: 租户业务类型。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
400
+
401
+ :param domain_business_type: The domain_business_type of this DomainStatuses.
402
+ :type domain_business_type: str
403
+ """
404
+ self._domain_business_type = domain_business_type
405
+
406
+ @property
407
+ def domain_malicious_docker_args(self):
408
+ r"""Gets the domain_malicious_docker_args of this DomainStatuses.
409
+
410
+ **参数解释**: domainMaliciousDockerArgs。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
411
+
412
+ :return: The domain_malicious_docker_args of this DomainStatuses.
413
+ :rtype: str
414
+ """
415
+ return self._domain_malicious_docker_args
416
+
417
+ @domain_malicious_docker_args.setter
418
+ def domain_malicious_docker_args(self, domain_malicious_docker_args):
419
+ r"""Sets the domain_malicious_docker_args of this DomainStatuses.
420
+
421
+ **参数解释**: domainMaliciousDockerArgs。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
422
+
423
+ :param domain_malicious_docker_args: The domain_malicious_docker_args of this DomainStatuses.
424
+ :type domain_malicious_docker_args: str
425
+ """
426
+ self._domain_malicious_docker_args = domain_malicious_docker_args
427
+
428
+ @property
429
+ def allow_custom_env(self):
430
+ r"""Gets the allow_custom_env of this DomainStatuses.
431
+
432
+ **参数解释**: 允许自定义环境数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
433
+
434
+ :return: The allow_custom_env of this DomainStatuses.
435
+ :rtype: int
436
+ """
437
+ return self._allow_custom_env
438
+
439
+ @allow_custom_env.setter
440
+ def allow_custom_env(self, allow_custom_env):
441
+ r"""Sets the allow_custom_env of this DomainStatuses.
442
+
443
+ **参数解释**: 允许自定义环境数。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
444
+
445
+ :param allow_custom_env: The allow_custom_env of this DomainStatuses.
446
+ :type allow_custom_env: int
447
+ """
448
+ self._allow_custom_env = allow_custom_env
449
+
450
+ @property
451
+ def spec_threshold(self):
452
+ r"""Gets the spec_threshold of this DomainStatuses.
453
+
454
+ **参数解释**: 默认的加速阈值注入。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
455
+
456
+ :return: The spec_threshold of this DomainStatuses.
457
+ :rtype: str
458
+ """
459
+ return self._spec_threshold
460
+
461
+ @spec_threshold.setter
462
+ def spec_threshold(self, spec_threshold):
463
+ r"""Sets the spec_threshold of this DomainStatuses.
464
+
465
+ **参数解释**: 默认的加速阈值注入。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
466
+
467
+ :param spec_threshold: The spec_threshold of this DomainStatuses.
468
+ :type spec_threshold: str
469
+ """
470
+ self._spec_threshold = spec_threshold
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, DomainStatuses):
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,115 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class DomainsStatusesRequestBody:
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
+ 'domain_ids': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'domain_ids': 'domain_ids'
25
+ }
26
+
27
+ def __init__(self, domain_ids=None):
28
+ r"""DomainsStatusesRequestBody
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param domain_ids: **参数解释**: 租户id集合。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
33
+ :type domain_ids: str
34
+ """
35
+
36
+
37
+
38
+ self._domain_ids = None
39
+ self.discriminator = None
40
+
41
+ if domain_ids is not None:
42
+ self.domain_ids = domain_ids
43
+
44
+ @property
45
+ def domain_ids(self):
46
+ r"""Gets the domain_ids of this DomainsStatusesRequestBody.
47
+
48
+ **参数解释**: 租户id集合。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
49
+
50
+ :return: The domain_ids of this DomainsStatusesRequestBody.
51
+ :rtype: str
52
+ """
53
+ return self._domain_ids
54
+
55
+ @domain_ids.setter
56
+ def domain_ids(self, domain_ids):
57
+ r"""Sets the domain_ids of this DomainsStatusesRequestBody.
58
+
59
+ **参数解释**: 租户id集合。 **约束限制**: 不涉及。 **取值范围**: 不涉及。
60
+
61
+ :param domain_ids: The domain_ids of this DomainsStatusesRequestBody.
62
+ :type domain_ids: str
63
+ """
64
+ self._domain_ids = domain_ids
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.openapi_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ if attr in self.sensitive_list:
87
+ result[attr] = "****"
88
+ else:
89
+ result[attr] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ import simplejson as json
96
+ if six.PY2:
97
+ import sys
98
+ reload(sys)
99
+ sys.setdefaultencoding("utf-8")
100
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
101
+
102
+ def __repr__(self):
103
+ """For `print`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, DomainsStatusesRequestBody):
109
+ return False
110
+
111
+ return self.__dict__ == other.__dict__
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ return not self == other