huaweicloudsdkcodeartsbuild 3.1.148__py2.py3-none-any.whl → 3.1.150__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.
Files changed (88) hide show
  1. huaweicloudsdkcodeartsbuild/v3/__init__.py +77 -2
  2. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1619 -123
  3. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1619 -123
  4. huaweicloudsdkcodeartsbuild/v3/model/__init__.py +77 -2
  5. huaweicloudsdkcodeartsbuild/v3/model/build_info_record.py +604 -0
  6. huaweicloudsdkcodeartsbuild/v3/model/build_info_record_commit_info.py +144 -0
  7. huaweicloudsdkcodeartsbuild/v3/model/build_params.py +173 -0
  8. huaweicloudsdkcodeartsbuild/v3/model/build_params_body_result.py +115 -0
  9. huaweicloudsdkcodeartsbuild/v3/model/build_record.py +981 -0
  10. huaweicloudsdkcodeartsbuild/v3/model/build_record_build_record_type.py +202 -0
  11. huaweicloudsdkcodeartsbuild/v3/model/build_record_parameters.py +202 -0
  12. huaweicloudsdkcodeartsbuild/v3/model/build_stage_record.py +608 -0
  13. huaweicloudsdkcodeartsbuild/v3/model/constraints.py +173 -0
  14. huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_request.py +199 -0
  15. huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_response.py +170 -0
  16. huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result.py → flow_graph2_result.py} +15 -15
  17. huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result_edges.py → flow_graph2_result_edges.py} +11 -11
  18. huaweicloudsdkcodeartsbuild/v3/model/full_stages_result.py +115 -0
  19. huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_body_result.py +231 -0
  20. huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_request.py +228 -0
  21. huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_response.py +170 -0
  22. huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_request.py +228 -0
  23. huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_response.py +170 -0
  24. huaweicloudsdkcodeartsbuild/v3/model/list_official_template_request.py +173 -0
  25. huaweicloudsdkcodeartsbuild/v3/model/list_official_template_response.py +170 -0
  26. huaweicloudsdkcodeartsbuild/v3/model/list_official_template_result.py +144 -0
  27. huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_request.py +373 -0
  28. huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_response.py +145 -0
  29. huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_request.py +173 -0
  30. huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_response.py +228 -0
  31. huaweicloudsdkcodeartsbuild/v3/model/parameter.py +144 -0
  32. huaweicloudsdkcodeartsbuild/v3/model/params.py +289 -0
  33. huaweicloudsdkcodeartsbuild/v3/model/real_time_log_response_body_result.py +202 -0
  34. huaweicloudsdkcodeartsbuild/v3/model/recycling_job.py +347 -0
  35. huaweicloudsdkcodeartsbuild/v3/model/recycling_jobs_result.py +173 -0
  36. huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_request.py +84 -0
  37. huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_response.py +170 -0
  38. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_request.py +114 -0
  39. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_response.py +174 -0
  40. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_request.py +143 -0
  41. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_response.py +170 -0
  42. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_request.py +114 -0
  43. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_response.py +170 -0
  44. huaweicloudsdkcodeartsbuild/v3/model/show_flow_graph_response.py +4 -4
  45. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_request.py +84 -0
  46. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response.py +170 -0
  47. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result.py +115 -0
  48. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result_image_templates.py +318 -0
  49. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_request.py +199 -0
  50. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_response.py +141 -0
  51. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result.py +260 -0
  52. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result_every_day_report.py +144 -0
  53. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_request.py +199 -0
  54. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_response.py +141 -0
  55. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result.py +231 -0
  56. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result_chart.py +202 -0
  57. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_request.py +170 -0
  58. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_response.py +145 -0
  59. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_request.py +143 -0
  60. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_response.py +170 -0
  61. huaweicloudsdkcodeartsbuild/v3/model/show_job_info_request.py +114 -0
  62. huaweicloudsdkcodeartsbuild/v3/model/show_job_info_response.py +170 -0
  63. huaweicloudsdkcodeartsbuild/v3/model/show_job_info_result.py +724 -0
  64. huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_request.py +114 -0
  65. huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_response.py +145 -0
  66. huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_result.py +492 -0
  67. huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_request.py +84 -0
  68. huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_response.py +174 -0
  69. huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_request.py +114 -0
  70. huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_response.py +170 -0
  71. huaweicloudsdkcodeartsbuild/v3/model/show_report_summary.py +463 -0
  72. huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_body_result.py +140 -0
  73. huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_request.py +142 -0
  74. huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_response.py +170 -0
  75. huaweicloudsdkcodeartsbuild/v3/model/show_running_status_request.py +114 -0
  76. huaweicloudsdkcodeartsbuild/v3/model/show_running_status_response.py +170 -0
  77. huaweicloudsdkcodeartsbuild/v3/model/show_running_status_result.py +202 -0
  78. huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py +260 -0
  79. huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_request.py +143 -0
  80. huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_response.py +174 -0
  81. huaweicloudsdkcodeartsbuild/v3/model/system_parameters_result.py +173 -0
  82. huaweicloudsdkcodeartsbuild/v3/model/template_list.py +459 -0
  83. huaweicloudsdkcodeartsbuild/v3/region/codeartsbuild_region.py +6 -0
  84. {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/METADATA +2 -2
  85. {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/RECORD +88 -13
  86. {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/LICENSE +0 -0
  87. {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/WHEEL +0 -0
  88. {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,724 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowJobInfoResult:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'id': 'str',
21
+ 'project_id': 'str',
22
+ 'project_permission_switch': 'bool',
23
+ 'build_time': 'str',
24
+ 'charge_time': 'str',
25
+ 'create_time': 'int',
26
+ 'disabled': 'bool',
27
+ 'favorite': 'bool',
28
+ 'source_code': 'str',
29
+ 'running_status': 'str',
30
+ 'new_build': 'bool',
31
+ 'job_name': 'str',
32
+ 'is_copy': 'bool',
33
+ 'is_delete': 'bool',
34
+ 'is_execute': 'bool',
35
+ 'is_forbidden': 'bool',
36
+ 'is_manager': 'bool',
37
+ 'is_modify': 'bool',
38
+ 'is_view': 'bool',
39
+ 'last_build_status': 'str',
40
+ 'last_build_time': 'int',
41
+ 'health_score': 'int'
42
+ }
43
+
44
+ attribute_map = {
45
+ 'id': 'id',
46
+ 'project_id': 'project_id',
47
+ 'project_permission_switch': 'project_permission_switch',
48
+ 'build_time': 'build_time',
49
+ 'charge_time': 'charge_time',
50
+ 'create_time': 'create_time',
51
+ 'disabled': 'disabled',
52
+ 'favorite': 'favorite',
53
+ 'source_code': 'source_code',
54
+ 'running_status': 'running_status',
55
+ 'new_build': 'new_build',
56
+ 'job_name': 'job_name',
57
+ 'is_copy': 'is_copy',
58
+ 'is_delete': 'is_delete',
59
+ 'is_execute': 'is_execute',
60
+ 'is_forbidden': 'is_forbidden',
61
+ 'is_manager': 'is_manager',
62
+ 'is_modify': 'is_modify',
63
+ 'is_view': 'is_view',
64
+ 'last_build_status': 'last_build_status',
65
+ 'last_build_time': 'last_build_time',
66
+ 'health_score': 'health_score'
67
+ }
68
+
69
+ def __init__(self, id=None, project_id=None, project_permission_switch=None, build_time=None, charge_time=None, create_time=None, disabled=None, favorite=None, source_code=None, running_status=None, new_build=None, job_name=None, is_copy=None, is_delete=None, is_execute=None, is_forbidden=None, is_manager=None, is_modify=None, is_view=None, last_build_status=None, last_build_time=None, health_score=None):
70
+ r"""ShowJobInfoResult
71
+
72
+ The model defined in huaweicloud sdk
73
+
74
+ :param id: 构建任务ID
75
+ :type id: str
76
+ :param project_id: 构建工程ID,唯一对应codeci_job_id
77
+ :type project_id: str
78
+ :param project_permission_switch: 使用项目权限
79
+ :type project_permission_switch: bool
80
+ :param build_time: 执行时间
81
+ :type build_time: str
82
+ :param charge_time: 收费时间
83
+ :type charge_time: str
84
+ :param create_time: 任务创建时间
85
+ :type create_time: int
86
+ :param disabled: 是否已禁用
87
+ :type disabled: bool
88
+ :param favorite: 是否已收藏
89
+ :type favorite: bool
90
+ :param source_code: 代码来源
91
+ :type source_code: str
92
+ :param running_status: 运行状态
93
+ :type running_status: str
94
+ :param new_build: 重新运行
95
+ :type new_build: bool
96
+ :param job_name: 任务名称
97
+ :type job_name: str
98
+ :param is_copy: 是否有复制任务权限
99
+ :type is_copy: bool
100
+ :param is_delete: 是否有删除任务权限
101
+ :type is_delete: bool
102
+ :param is_execute: 是否有执行任务权限
103
+ :type is_execute: bool
104
+ :param is_forbidden: 是否有禁用任务权限
105
+ :type is_forbidden: bool
106
+ :param is_manager: 是否有管理任务权限
107
+ :type is_manager: bool
108
+ :param is_modify: 是否有修改任务权限
109
+ :type is_modify: bool
110
+ :param is_view: 是否有查看任务权限
111
+ :type is_view: bool
112
+ :param last_build_status: 最终构建状态
113
+ :type last_build_status: str
114
+ :param last_build_time: 最后构建时间
115
+ :type last_build_time: int
116
+ :param health_score: 健康度
117
+ :type health_score: int
118
+ """
119
+
120
+
121
+
122
+ self._id = None
123
+ self._project_id = None
124
+ self._project_permission_switch = None
125
+ self._build_time = None
126
+ self._charge_time = None
127
+ self._create_time = None
128
+ self._disabled = None
129
+ self._favorite = None
130
+ self._source_code = None
131
+ self._running_status = None
132
+ self._new_build = None
133
+ self._job_name = None
134
+ self._is_copy = None
135
+ self._is_delete = None
136
+ self._is_execute = None
137
+ self._is_forbidden = None
138
+ self._is_manager = None
139
+ self._is_modify = None
140
+ self._is_view = None
141
+ self._last_build_status = None
142
+ self._last_build_time = None
143
+ self._health_score = None
144
+ self.discriminator = None
145
+
146
+ if id is not None:
147
+ self.id = id
148
+ if project_id is not None:
149
+ self.project_id = project_id
150
+ if project_permission_switch is not None:
151
+ self.project_permission_switch = project_permission_switch
152
+ if build_time is not None:
153
+ self.build_time = build_time
154
+ if charge_time is not None:
155
+ self.charge_time = charge_time
156
+ if create_time is not None:
157
+ self.create_time = create_time
158
+ if disabled is not None:
159
+ self.disabled = disabled
160
+ if favorite is not None:
161
+ self.favorite = favorite
162
+ if source_code is not None:
163
+ self.source_code = source_code
164
+ if running_status is not None:
165
+ self.running_status = running_status
166
+ if new_build is not None:
167
+ self.new_build = new_build
168
+ if job_name is not None:
169
+ self.job_name = job_name
170
+ if is_copy is not None:
171
+ self.is_copy = is_copy
172
+ if is_delete is not None:
173
+ self.is_delete = is_delete
174
+ if is_execute is not None:
175
+ self.is_execute = is_execute
176
+ if is_forbidden is not None:
177
+ self.is_forbidden = is_forbidden
178
+ if is_manager is not None:
179
+ self.is_manager = is_manager
180
+ if is_modify is not None:
181
+ self.is_modify = is_modify
182
+ if is_view is not None:
183
+ self.is_view = is_view
184
+ if last_build_status is not None:
185
+ self.last_build_status = last_build_status
186
+ if last_build_time is not None:
187
+ self.last_build_time = last_build_time
188
+ if health_score is not None:
189
+ self.health_score = health_score
190
+
191
+ @property
192
+ def id(self):
193
+ r"""Gets the id of this ShowJobInfoResult.
194
+
195
+ 构建任务ID
196
+
197
+ :return: The id of this ShowJobInfoResult.
198
+ :rtype: str
199
+ """
200
+ return self._id
201
+
202
+ @id.setter
203
+ def id(self, id):
204
+ r"""Sets the id of this ShowJobInfoResult.
205
+
206
+ 构建任务ID
207
+
208
+ :param id: The id of this ShowJobInfoResult.
209
+ :type id: str
210
+ """
211
+ self._id = id
212
+
213
+ @property
214
+ def project_id(self):
215
+ r"""Gets the project_id of this ShowJobInfoResult.
216
+
217
+ 构建工程ID,唯一对应codeci_job_id
218
+
219
+ :return: The project_id of this ShowJobInfoResult.
220
+ :rtype: str
221
+ """
222
+ return self._project_id
223
+
224
+ @project_id.setter
225
+ def project_id(self, project_id):
226
+ r"""Sets the project_id of this ShowJobInfoResult.
227
+
228
+ 构建工程ID,唯一对应codeci_job_id
229
+
230
+ :param project_id: The project_id of this ShowJobInfoResult.
231
+ :type project_id: str
232
+ """
233
+ self._project_id = project_id
234
+
235
+ @property
236
+ def project_permission_switch(self):
237
+ r"""Gets the project_permission_switch of this ShowJobInfoResult.
238
+
239
+ 使用项目权限
240
+
241
+ :return: The project_permission_switch of this ShowJobInfoResult.
242
+ :rtype: bool
243
+ """
244
+ return self._project_permission_switch
245
+
246
+ @project_permission_switch.setter
247
+ def project_permission_switch(self, project_permission_switch):
248
+ r"""Sets the project_permission_switch of this ShowJobInfoResult.
249
+
250
+ 使用项目权限
251
+
252
+ :param project_permission_switch: The project_permission_switch of this ShowJobInfoResult.
253
+ :type project_permission_switch: bool
254
+ """
255
+ self._project_permission_switch = project_permission_switch
256
+
257
+ @property
258
+ def build_time(self):
259
+ r"""Gets the build_time of this ShowJobInfoResult.
260
+
261
+ 执行时间
262
+
263
+ :return: The build_time of this ShowJobInfoResult.
264
+ :rtype: str
265
+ """
266
+ return self._build_time
267
+
268
+ @build_time.setter
269
+ def build_time(self, build_time):
270
+ r"""Sets the build_time of this ShowJobInfoResult.
271
+
272
+ 执行时间
273
+
274
+ :param build_time: The build_time of this ShowJobInfoResult.
275
+ :type build_time: str
276
+ """
277
+ self._build_time = build_time
278
+
279
+ @property
280
+ def charge_time(self):
281
+ r"""Gets the charge_time of this ShowJobInfoResult.
282
+
283
+ 收费时间
284
+
285
+ :return: The charge_time of this ShowJobInfoResult.
286
+ :rtype: str
287
+ """
288
+ return self._charge_time
289
+
290
+ @charge_time.setter
291
+ def charge_time(self, charge_time):
292
+ r"""Sets the charge_time of this ShowJobInfoResult.
293
+
294
+ 收费时间
295
+
296
+ :param charge_time: The charge_time of this ShowJobInfoResult.
297
+ :type charge_time: str
298
+ """
299
+ self._charge_time = charge_time
300
+
301
+ @property
302
+ def create_time(self):
303
+ r"""Gets the create_time of this ShowJobInfoResult.
304
+
305
+ 任务创建时间
306
+
307
+ :return: The create_time of this ShowJobInfoResult.
308
+ :rtype: int
309
+ """
310
+ return self._create_time
311
+
312
+ @create_time.setter
313
+ def create_time(self, create_time):
314
+ r"""Sets the create_time of this ShowJobInfoResult.
315
+
316
+ 任务创建时间
317
+
318
+ :param create_time: The create_time of this ShowJobInfoResult.
319
+ :type create_time: int
320
+ """
321
+ self._create_time = create_time
322
+
323
+ @property
324
+ def disabled(self):
325
+ r"""Gets the disabled of this ShowJobInfoResult.
326
+
327
+ 是否已禁用
328
+
329
+ :return: The disabled of this ShowJobInfoResult.
330
+ :rtype: bool
331
+ """
332
+ return self._disabled
333
+
334
+ @disabled.setter
335
+ def disabled(self, disabled):
336
+ r"""Sets the disabled of this ShowJobInfoResult.
337
+
338
+ 是否已禁用
339
+
340
+ :param disabled: The disabled of this ShowJobInfoResult.
341
+ :type disabled: bool
342
+ """
343
+ self._disabled = disabled
344
+
345
+ @property
346
+ def favorite(self):
347
+ r"""Gets the favorite of this ShowJobInfoResult.
348
+
349
+ 是否已收藏
350
+
351
+ :return: The favorite of this ShowJobInfoResult.
352
+ :rtype: bool
353
+ """
354
+ return self._favorite
355
+
356
+ @favorite.setter
357
+ def favorite(self, favorite):
358
+ r"""Sets the favorite of this ShowJobInfoResult.
359
+
360
+ 是否已收藏
361
+
362
+ :param favorite: The favorite of this ShowJobInfoResult.
363
+ :type favorite: bool
364
+ """
365
+ self._favorite = favorite
366
+
367
+ @property
368
+ def source_code(self):
369
+ r"""Gets the source_code of this ShowJobInfoResult.
370
+
371
+ 代码来源
372
+
373
+ :return: The source_code of this ShowJobInfoResult.
374
+ :rtype: str
375
+ """
376
+ return self._source_code
377
+
378
+ @source_code.setter
379
+ def source_code(self, source_code):
380
+ r"""Sets the source_code of this ShowJobInfoResult.
381
+
382
+ 代码来源
383
+
384
+ :param source_code: The source_code of this ShowJobInfoResult.
385
+ :type source_code: str
386
+ """
387
+ self._source_code = source_code
388
+
389
+ @property
390
+ def running_status(self):
391
+ r"""Gets the running_status of this ShowJobInfoResult.
392
+
393
+ 运行状态
394
+
395
+ :return: The running_status of this ShowJobInfoResult.
396
+ :rtype: str
397
+ """
398
+ return self._running_status
399
+
400
+ @running_status.setter
401
+ def running_status(self, running_status):
402
+ r"""Sets the running_status of this ShowJobInfoResult.
403
+
404
+ 运行状态
405
+
406
+ :param running_status: The running_status of this ShowJobInfoResult.
407
+ :type running_status: str
408
+ """
409
+ self._running_status = running_status
410
+
411
+ @property
412
+ def new_build(self):
413
+ r"""Gets the new_build of this ShowJobInfoResult.
414
+
415
+ 重新运行
416
+
417
+ :return: The new_build of this ShowJobInfoResult.
418
+ :rtype: bool
419
+ """
420
+ return self._new_build
421
+
422
+ @new_build.setter
423
+ def new_build(self, new_build):
424
+ r"""Sets the new_build of this ShowJobInfoResult.
425
+
426
+ 重新运行
427
+
428
+ :param new_build: The new_build of this ShowJobInfoResult.
429
+ :type new_build: bool
430
+ """
431
+ self._new_build = new_build
432
+
433
+ @property
434
+ def job_name(self):
435
+ r"""Gets the job_name of this ShowJobInfoResult.
436
+
437
+ 任务名称
438
+
439
+ :return: The job_name of this ShowJobInfoResult.
440
+ :rtype: str
441
+ """
442
+ return self._job_name
443
+
444
+ @job_name.setter
445
+ def job_name(self, job_name):
446
+ r"""Sets the job_name of this ShowJobInfoResult.
447
+
448
+ 任务名称
449
+
450
+ :param job_name: The job_name of this ShowJobInfoResult.
451
+ :type job_name: str
452
+ """
453
+ self._job_name = job_name
454
+
455
+ @property
456
+ def is_copy(self):
457
+ r"""Gets the is_copy of this ShowJobInfoResult.
458
+
459
+ 是否有复制任务权限
460
+
461
+ :return: The is_copy of this ShowJobInfoResult.
462
+ :rtype: bool
463
+ """
464
+ return self._is_copy
465
+
466
+ @is_copy.setter
467
+ def is_copy(self, is_copy):
468
+ r"""Sets the is_copy of this ShowJobInfoResult.
469
+
470
+ 是否有复制任务权限
471
+
472
+ :param is_copy: The is_copy of this ShowJobInfoResult.
473
+ :type is_copy: bool
474
+ """
475
+ self._is_copy = is_copy
476
+
477
+ @property
478
+ def is_delete(self):
479
+ r"""Gets the is_delete of this ShowJobInfoResult.
480
+
481
+ 是否有删除任务权限
482
+
483
+ :return: The is_delete of this ShowJobInfoResult.
484
+ :rtype: bool
485
+ """
486
+ return self._is_delete
487
+
488
+ @is_delete.setter
489
+ def is_delete(self, is_delete):
490
+ r"""Sets the is_delete of this ShowJobInfoResult.
491
+
492
+ 是否有删除任务权限
493
+
494
+ :param is_delete: The is_delete of this ShowJobInfoResult.
495
+ :type is_delete: bool
496
+ """
497
+ self._is_delete = is_delete
498
+
499
+ @property
500
+ def is_execute(self):
501
+ r"""Gets the is_execute of this ShowJobInfoResult.
502
+
503
+ 是否有执行任务权限
504
+
505
+ :return: The is_execute of this ShowJobInfoResult.
506
+ :rtype: bool
507
+ """
508
+ return self._is_execute
509
+
510
+ @is_execute.setter
511
+ def is_execute(self, is_execute):
512
+ r"""Sets the is_execute of this ShowJobInfoResult.
513
+
514
+ 是否有执行任务权限
515
+
516
+ :param is_execute: The is_execute of this ShowJobInfoResult.
517
+ :type is_execute: bool
518
+ """
519
+ self._is_execute = is_execute
520
+
521
+ @property
522
+ def is_forbidden(self):
523
+ r"""Gets the is_forbidden of this ShowJobInfoResult.
524
+
525
+ 是否有禁用任务权限
526
+
527
+ :return: The is_forbidden of this ShowJobInfoResult.
528
+ :rtype: bool
529
+ """
530
+ return self._is_forbidden
531
+
532
+ @is_forbidden.setter
533
+ def is_forbidden(self, is_forbidden):
534
+ r"""Sets the is_forbidden of this ShowJobInfoResult.
535
+
536
+ 是否有禁用任务权限
537
+
538
+ :param is_forbidden: The is_forbidden of this ShowJobInfoResult.
539
+ :type is_forbidden: bool
540
+ """
541
+ self._is_forbidden = is_forbidden
542
+
543
+ @property
544
+ def is_manager(self):
545
+ r"""Gets the is_manager of this ShowJobInfoResult.
546
+
547
+ 是否有管理任务权限
548
+
549
+ :return: The is_manager of this ShowJobInfoResult.
550
+ :rtype: bool
551
+ """
552
+ return self._is_manager
553
+
554
+ @is_manager.setter
555
+ def is_manager(self, is_manager):
556
+ r"""Sets the is_manager of this ShowJobInfoResult.
557
+
558
+ 是否有管理任务权限
559
+
560
+ :param is_manager: The is_manager of this ShowJobInfoResult.
561
+ :type is_manager: bool
562
+ """
563
+ self._is_manager = is_manager
564
+
565
+ @property
566
+ def is_modify(self):
567
+ r"""Gets the is_modify of this ShowJobInfoResult.
568
+
569
+ 是否有修改任务权限
570
+
571
+ :return: The is_modify of this ShowJobInfoResult.
572
+ :rtype: bool
573
+ """
574
+ return self._is_modify
575
+
576
+ @is_modify.setter
577
+ def is_modify(self, is_modify):
578
+ r"""Sets the is_modify of this ShowJobInfoResult.
579
+
580
+ 是否有修改任务权限
581
+
582
+ :param is_modify: The is_modify of this ShowJobInfoResult.
583
+ :type is_modify: bool
584
+ """
585
+ self._is_modify = is_modify
586
+
587
+ @property
588
+ def is_view(self):
589
+ r"""Gets the is_view of this ShowJobInfoResult.
590
+
591
+ 是否有查看任务权限
592
+
593
+ :return: The is_view of this ShowJobInfoResult.
594
+ :rtype: bool
595
+ """
596
+ return self._is_view
597
+
598
+ @is_view.setter
599
+ def is_view(self, is_view):
600
+ r"""Sets the is_view of this ShowJobInfoResult.
601
+
602
+ 是否有查看任务权限
603
+
604
+ :param is_view: The is_view of this ShowJobInfoResult.
605
+ :type is_view: bool
606
+ """
607
+ self._is_view = is_view
608
+
609
+ @property
610
+ def last_build_status(self):
611
+ r"""Gets the last_build_status of this ShowJobInfoResult.
612
+
613
+ 最终构建状态
614
+
615
+ :return: The last_build_status of this ShowJobInfoResult.
616
+ :rtype: str
617
+ """
618
+ return self._last_build_status
619
+
620
+ @last_build_status.setter
621
+ def last_build_status(self, last_build_status):
622
+ r"""Sets the last_build_status of this ShowJobInfoResult.
623
+
624
+ 最终构建状态
625
+
626
+ :param last_build_status: The last_build_status of this ShowJobInfoResult.
627
+ :type last_build_status: str
628
+ """
629
+ self._last_build_status = last_build_status
630
+
631
+ @property
632
+ def last_build_time(self):
633
+ r"""Gets the last_build_time of this ShowJobInfoResult.
634
+
635
+ 最后构建时间
636
+
637
+ :return: The last_build_time of this ShowJobInfoResult.
638
+ :rtype: int
639
+ """
640
+ return self._last_build_time
641
+
642
+ @last_build_time.setter
643
+ def last_build_time(self, last_build_time):
644
+ r"""Sets the last_build_time of this ShowJobInfoResult.
645
+
646
+ 最后构建时间
647
+
648
+ :param last_build_time: The last_build_time of this ShowJobInfoResult.
649
+ :type last_build_time: int
650
+ """
651
+ self._last_build_time = last_build_time
652
+
653
+ @property
654
+ def health_score(self):
655
+ r"""Gets the health_score of this ShowJobInfoResult.
656
+
657
+ 健康度
658
+
659
+ :return: The health_score of this ShowJobInfoResult.
660
+ :rtype: int
661
+ """
662
+ return self._health_score
663
+
664
+ @health_score.setter
665
+ def health_score(self, health_score):
666
+ r"""Sets the health_score of this ShowJobInfoResult.
667
+
668
+ 健康度
669
+
670
+ :param health_score: The health_score of this ShowJobInfoResult.
671
+ :type health_score: int
672
+ """
673
+ self._health_score = health_score
674
+
675
+ def to_dict(self):
676
+ """Returns the model properties as a dict"""
677
+ result = {}
678
+
679
+ for attr, _ in six.iteritems(self.openapi_types):
680
+ value = getattr(self, attr)
681
+ if isinstance(value, list):
682
+ result[attr] = list(map(
683
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
684
+ value
685
+ ))
686
+ elif hasattr(value, "to_dict"):
687
+ result[attr] = value.to_dict()
688
+ elif isinstance(value, dict):
689
+ result[attr] = dict(map(
690
+ lambda item: (item[0], item[1].to_dict())
691
+ if hasattr(item[1], "to_dict") else item,
692
+ value.items()
693
+ ))
694
+ else:
695
+ if attr in self.sensitive_list:
696
+ result[attr] = "****"
697
+ else:
698
+ result[attr] = value
699
+
700
+ return result
701
+
702
+ def to_str(self):
703
+ """Returns the string representation of the model"""
704
+ import simplejson as json
705
+ if six.PY2:
706
+ import sys
707
+ reload(sys)
708
+ sys.setdefaultencoding("utf-8")
709
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
710
+
711
+ def __repr__(self):
712
+ """For `print`"""
713
+ return self.to_str()
714
+
715
+ def __eq__(self, other):
716
+ """Returns true if both objects are equal"""
717
+ if not isinstance(other, ShowJobInfoResult):
718
+ return False
719
+
720
+ return self.__dict__ == other.__dict__
721
+
722
+ def __ne__(self, other):
723
+ """Returns true if both objects are not equal"""
724
+ return not self == other