huaweicloudsdkcodeartsbuild 3.1.151__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.
Files changed (66) hide show
  1. huaweicloudsdkcodeartsbuild/v3/__init__.py +57 -0
  2. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +2171 -906
  3. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +2171 -906
  4. huaweicloudsdkcodeartsbuild/v3/model/__init__.py +57 -0
  5. huaweicloudsdkcodeartsbuild/v3/model/build_parameter.py +144 -0
  6. huaweicloudsdkcodeartsbuild/v3/model/check_job_count_is_top_limit_request.py +84 -0
  7. huaweicloudsdkcodeartsbuild/v3/model/check_job_count_is_top_limit_response.py +174 -0
  8. huaweicloudsdkcodeartsbuild/v3/model/download_junit_coverage_zip_request.py +170 -0
  9. huaweicloudsdkcodeartsbuild/v3/model/download_junit_coverage_zip_response.py +85 -0
  10. huaweicloudsdkcodeartsbuild/v3/model/is_disable_result.py +260 -0
  11. huaweicloudsdkcodeartsbuild/v3/model/job_status_body.py +173 -0
  12. huaweicloudsdkcodeartsbuild/v3/model/job_summary.py +202 -0
  13. huaweicloudsdkcodeartsbuild/v3/model/job_summary_body_result.py +111 -0
  14. huaweicloudsdkcodeartsbuild/v3/model/job_update_record_list_vo_result.py +144 -0
  15. huaweicloudsdkcodeartsbuild/v3/model/job_update_record_list_vo_result_job_update_records.py +289 -0
  16. huaweicloudsdkcodeartsbuild/v3/model/list_build_parameter_request.py +142 -0
  17. huaweicloudsdkcodeartsbuild/v3/model/list_build_parameter_response.py +174 -0
  18. huaweicloudsdkcodeartsbuild/v3/model/list_custom_template_request.py +231 -0
  19. huaweicloudsdkcodeartsbuild/v3/model/list_custom_template_response.py +170 -0
  20. huaweicloudsdkcodeartsbuild/v3/model/list_job_request.py +84 -0
  21. huaweicloudsdkcodeartsbuild/v3/model/list_job_response.py +141 -0
  22. huaweicloudsdkcodeartsbuild/v3/model/list_job_result.py +144 -0
  23. huaweicloudsdkcodeartsbuild/v3/model/list_job_result_job_list.py +1217 -0
  24. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_request.py +142 -0
  25. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_response.py +170 -0
  26. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_result.py +115 -0
  27. huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_result_unit_summary_list.py +231 -0
  28. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_request.py +173 -0
  29. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response.py +170 -0
  30. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result.py +144 -0
  31. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result_keystore_list.py +517 -0
  32. huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result_permission.py +231 -0
  33. huaweicloudsdkcodeartsbuild/v3/model/list_repo_branch_request.py +142 -0
  34. huaweicloudsdkcodeartsbuild/v3/model/list_repo_branch_response.py +145 -0
  35. huaweicloudsdkcodeartsbuild/v3/model/list_repository_request.py +114 -0
  36. huaweicloudsdkcodeartsbuild/v3/model/list_repository_response.py +170 -0
  37. huaweicloudsdkcodeartsbuild/v3/model/list_update_job_history_request.py +172 -0
  38. huaweicloudsdkcodeartsbuild/v3/model/list_update_job_history_response.py +170 -0
  39. huaweicloudsdkcodeartsbuild/v3/model/query_custom_templates_result.py +144 -0
  40. huaweicloudsdkcodeartsbuild/v3/model/repositories_result.py +144 -0
  41. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_flow_graph_request.py +114 -0
  42. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_flow_graph_response.py +170 -0
  43. huaweicloudsdkcodeartsbuild/v3/model/show_copy_name_request.py +114 -0
  44. huaweicloudsdkcodeartsbuild/v3/model/show_copy_name_response.py +174 -0
  45. huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_request.py +142 -0
  46. huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_response.py +174 -0
  47. huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_response_body_result.py +347 -0
  48. huaweicloudsdkcodeartsbuild/v3/model/show_disable_request.py +114 -0
  49. huaweicloudsdkcodeartsbuild/v3/model/show_disable_response.py +170 -0
  50. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_record_detail_request.py +142 -0
  51. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_record_detail_response.py +170 -0
  52. huaweicloudsdkcodeartsbuild/v3/model/show_job_step_status_request.py +143 -0
  53. huaweicloudsdkcodeartsbuild/v3/model/show_job_step_status_response.py +170 -0
  54. huaweicloudsdkcodeartsbuild/v3/model/show_job_total_request.py +172 -0
  55. huaweicloudsdkcodeartsbuild/v3/model/show_job_total_response.py +170 -0
  56. huaweicloudsdkcodeartsbuild/v3/model/show_summary_build_job_info_request.py +84 -0
  57. huaweicloudsdkcodeartsbuild/v3/model/show_summary_build_job_info_response.py +170 -0
  58. huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_request.py +114 -0
  59. huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_response.py +170 -0
  60. huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_result.py +173 -0
  61. huaweicloudsdkcodeartsbuild/v3/model/total_response_body_result.py +115 -0
  62. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/METADATA +2 -2
  63. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/RECORD +66 -9
  64. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/LICENSE +0 -0
  65. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/WHEEL +0 -0
  66. {huaweicloudsdkcodeartsbuild-3.1.151.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1217 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListJobResultJobList:
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
+ 'job_name': 'str',
22
+ 'job_creator': 'str',
23
+ 'user_id': 'str',
24
+ 'user_name': 'str',
25
+ 'nick_name': 'str',
26
+ 'project_id': 'str',
27
+ 'project_name': 'str',
28
+ 'last_build_time': 'float',
29
+ 'health_score': 'int',
30
+ 'source_code': 'str',
31
+ 'last_build_status': 'str',
32
+ 'last_job_running_status': 'str',
33
+ 'last_build_user': 'str',
34
+ 'last_build_user_id': 'str',
35
+ 'is_finished': 'bool',
36
+ 'disabled': 'bool',
37
+ 'favorite': 'bool',
38
+ 'is_modify': 'bool',
39
+ 'is_delete': 'bool',
40
+ 'is_view': 'bool',
41
+ 'is_execute': 'bool',
42
+ 'is_copy': 'bool',
43
+ 'is_forbidden': 'bool',
44
+ 'task_id': 'str',
45
+ 'code_branch': 'str',
46
+ 'commit_id': 'str',
47
+ 'trigger_type': 'str',
48
+ 'build_time': 'float',
49
+ 'scm_web_url': 'str',
50
+ 'scm_type': 'str',
51
+ 'repo_id': 'str',
52
+ 'commit_detail_url': 'str',
53
+ 'build_number': 'str',
54
+ 'forbidden_msg': 'str',
55
+ 'build_project_id': 'str',
56
+ 'build_type': 'str',
57
+ 'tag': 'str',
58
+ 'project_permission_switch': 'bool'
59
+ }
60
+
61
+ attribute_map = {
62
+ 'id': 'id',
63
+ 'job_name': 'job_name',
64
+ 'job_creator': 'job_creator',
65
+ 'user_id': 'user_id',
66
+ 'user_name': 'user_name',
67
+ 'nick_name': 'nick_name',
68
+ 'project_id': 'project_id',
69
+ 'project_name': 'project_name',
70
+ 'last_build_time': 'last_build_time',
71
+ 'health_score': 'health_score',
72
+ 'source_code': 'source_code',
73
+ 'last_build_status': 'last_build_status',
74
+ 'last_job_running_status': 'last_job_running_status',
75
+ 'last_build_user': 'last_build_user',
76
+ 'last_build_user_id': 'last_build_user_id',
77
+ 'is_finished': 'is_finished',
78
+ 'disabled': 'disabled',
79
+ 'favorite': 'favorite',
80
+ 'is_modify': 'is_modify',
81
+ 'is_delete': 'is_delete',
82
+ 'is_view': 'is_view',
83
+ 'is_execute': 'is_execute',
84
+ 'is_copy': 'is_copy',
85
+ 'is_forbidden': 'is_forbidden',
86
+ 'task_id': 'task_id',
87
+ 'code_branch': 'code_branch',
88
+ 'commit_id': 'commit_id',
89
+ 'trigger_type': 'trigger_type',
90
+ 'build_time': 'build_time',
91
+ 'scm_web_url': 'scm_web_url',
92
+ 'scm_type': 'scm_type',
93
+ 'repo_id': 'repo_id',
94
+ 'commit_detail_url': 'commit_detail_url',
95
+ 'build_number': 'build_number',
96
+ 'forbidden_msg': 'forbidden_msg',
97
+ 'build_project_id': 'build_project_id',
98
+ 'build_type': 'build_type',
99
+ 'tag': 'tag',
100
+ 'project_permission_switch': 'project_permission_switch'
101
+ }
102
+
103
+ def __init__(self, id=None, job_name=None, job_creator=None, user_id=None, user_name=None, nick_name=None, project_id=None, project_name=None, last_build_time=None, health_score=None, source_code=None, last_build_status=None, last_job_running_status=None, last_build_user=None, last_build_user_id=None, is_finished=None, disabled=None, favorite=None, is_modify=None, is_delete=None, is_view=None, is_execute=None, is_copy=None, is_forbidden=None, task_id=None, code_branch=None, commit_id=None, trigger_type=None, build_time=None, scm_web_url=None, scm_type=None, repo_id=None, commit_detail_url=None, build_number=None, forbidden_msg=None, build_project_id=None, build_type=None, tag=None, project_permission_switch=None):
104
+ r"""ListJobResultJobList
105
+
106
+ The model defined in huaweicloud sdk
107
+
108
+ :param id: 任务ID
109
+ :type id: str
110
+ :param job_name: 任务名称
111
+ :type job_name: str
112
+ :param job_creator: 任务创建者
113
+ :type job_creator: str
114
+ :param user_id: 用户id
115
+ :type user_id: str
116
+ :param user_name: 用户名
117
+ :type user_name: str
118
+ :param nick_name: 用户昵称
119
+ :type nick_name: str
120
+ :param project_id: 构建任务所在项目的ID
121
+ :type project_id: str
122
+ :param project_name: 构建任务所在项目的名称
123
+ :type project_name: str
124
+ :param last_build_time: 最新执行时间
125
+ :type last_build_time: float
126
+ :param health_score: 健康分值
127
+ :type health_score: int
128
+ :param source_code: 代码来源
129
+ :type source_code: str
130
+ :param last_build_status: 最新构建状态
131
+ :type last_build_status: str
132
+ :param last_job_running_status: 最新运行状态
133
+ :type last_job_running_status: str
134
+ :param last_build_user: 执行用户
135
+ :type last_build_user: str
136
+ :param last_build_user_id: 执行用户ID
137
+ :type last_build_user_id: str
138
+ :param is_finished: 是否已结束
139
+ :type is_finished: bool
140
+ :param disabled: 是否已禁用
141
+ :type disabled: bool
142
+ :param favorite: 是否已收藏
143
+ :type favorite: bool
144
+ :param is_modify: 是否有修改任务权限
145
+ :type is_modify: bool
146
+ :param is_delete: 是否有删除任务权限
147
+ :type is_delete: bool
148
+ :param is_view: 是否有查看任务权限
149
+ :type is_view: bool
150
+ :param is_execute: 是否有执行任务权限
151
+ :type is_execute: bool
152
+ :param is_copy: 是否有复制任务权限
153
+ :type is_copy: bool
154
+ :param is_forbidden: 是否有禁用任务权限
155
+ :type is_forbidden: bool
156
+ :param task_id: 任务记录编号
157
+ :type task_id: str
158
+ :param code_branch: 代码分支
159
+ :type code_branch: str
160
+ :param commit_id: 代码提交ID
161
+ :type commit_id: str
162
+ :param trigger_type: 触发类型
163
+ :type trigger_type: str
164
+ :param build_time: 执行时间
165
+ :type build_time: float
166
+ :param scm_web_url: 代码源地址
167
+ :type scm_web_url: str
168
+ :param scm_type: 仓库类别,Repo、Github等
169
+ :type scm_type: str
170
+ :param repo_id: repo的id
171
+ :type repo_id: str
172
+ :param commit_detail_url: 代码提交记录信息地址(代码源为Repo)
173
+ :type commit_detail_url: str
174
+ :param build_number: 构建编号
175
+ :type build_number: str
176
+ :param forbidden_msg: 禁用消息
177
+ :type forbidden_msg: str
178
+ :param build_project_id: 构建工程ID,唯一对应codeci_job_id
179
+ :type build_project_id: str
180
+ :param build_type: 构建类别
181
+ :type build_type: str
182
+ :param tag: 仓库tag
183
+ :type tag: str
184
+ :param project_permission_switch: 使用项目权限
185
+ :type project_permission_switch: bool
186
+ """
187
+
188
+
189
+
190
+ self._id = None
191
+ self._job_name = None
192
+ self._job_creator = None
193
+ self._user_id = None
194
+ self._user_name = None
195
+ self._nick_name = None
196
+ self._project_id = None
197
+ self._project_name = None
198
+ self._last_build_time = None
199
+ self._health_score = None
200
+ self._source_code = None
201
+ self._last_build_status = None
202
+ self._last_job_running_status = None
203
+ self._last_build_user = None
204
+ self._last_build_user_id = None
205
+ self._is_finished = None
206
+ self._disabled = None
207
+ self._favorite = None
208
+ self._is_modify = None
209
+ self._is_delete = None
210
+ self._is_view = None
211
+ self._is_execute = None
212
+ self._is_copy = None
213
+ self._is_forbidden = None
214
+ self._task_id = None
215
+ self._code_branch = None
216
+ self._commit_id = None
217
+ self._trigger_type = None
218
+ self._build_time = None
219
+ self._scm_web_url = None
220
+ self._scm_type = None
221
+ self._repo_id = None
222
+ self._commit_detail_url = None
223
+ self._build_number = None
224
+ self._forbidden_msg = None
225
+ self._build_project_id = None
226
+ self._build_type = None
227
+ self._tag = None
228
+ self._project_permission_switch = None
229
+ self.discriminator = None
230
+
231
+ if id is not None:
232
+ self.id = id
233
+ if job_name is not None:
234
+ self.job_name = job_name
235
+ if job_creator is not None:
236
+ self.job_creator = job_creator
237
+ if user_id is not None:
238
+ self.user_id = user_id
239
+ if user_name is not None:
240
+ self.user_name = user_name
241
+ if nick_name is not None:
242
+ self.nick_name = nick_name
243
+ if project_id is not None:
244
+ self.project_id = project_id
245
+ if project_name is not None:
246
+ self.project_name = project_name
247
+ if last_build_time is not None:
248
+ self.last_build_time = last_build_time
249
+ if health_score is not None:
250
+ self.health_score = health_score
251
+ if source_code is not None:
252
+ self.source_code = source_code
253
+ if last_build_status is not None:
254
+ self.last_build_status = last_build_status
255
+ if last_job_running_status is not None:
256
+ self.last_job_running_status = last_job_running_status
257
+ if last_build_user is not None:
258
+ self.last_build_user = last_build_user
259
+ if last_build_user_id is not None:
260
+ self.last_build_user_id = last_build_user_id
261
+ if is_finished is not None:
262
+ self.is_finished = is_finished
263
+ if disabled is not None:
264
+ self.disabled = disabled
265
+ if favorite is not None:
266
+ self.favorite = favorite
267
+ if is_modify is not None:
268
+ self.is_modify = is_modify
269
+ if is_delete is not None:
270
+ self.is_delete = is_delete
271
+ if is_view is not None:
272
+ self.is_view = is_view
273
+ if is_execute is not None:
274
+ self.is_execute = is_execute
275
+ if is_copy is not None:
276
+ self.is_copy = is_copy
277
+ if is_forbidden is not None:
278
+ self.is_forbidden = is_forbidden
279
+ if task_id is not None:
280
+ self.task_id = task_id
281
+ if code_branch is not None:
282
+ self.code_branch = code_branch
283
+ if commit_id is not None:
284
+ self.commit_id = commit_id
285
+ if trigger_type is not None:
286
+ self.trigger_type = trigger_type
287
+ if build_time is not None:
288
+ self.build_time = build_time
289
+ if scm_web_url is not None:
290
+ self.scm_web_url = scm_web_url
291
+ if scm_type is not None:
292
+ self.scm_type = scm_type
293
+ if repo_id is not None:
294
+ self.repo_id = repo_id
295
+ if commit_detail_url is not None:
296
+ self.commit_detail_url = commit_detail_url
297
+ if build_number is not None:
298
+ self.build_number = build_number
299
+ if forbidden_msg is not None:
300
+ self.forbidden_msg = forbidden_msg
301
+ if build_project_id is not None:
302
+ self.build_project_id = build_project_id
303
+ if build_type is not None:
304
+ self.build_type = build_type
305
+ if tag is not None:
306
+ self.tag = tag
307
+ if project_permission_switch is not None:
308
+ self.project_permission_switch = project_permission_switch
309
+
310
+ @property
311
+ def id(self):
312
+ r"""Gets the id of this ListJobResultJobList.
313
+
314
+ 任务ID
315
+
316
+ :return: The id of this ListJobResultJobList.
317
+ :rtype: str
318
+ """
319
+ return self._id
320
+
321
+ @id.setter
322
+ def id(self, id):
323
+ r"""Sets the id of this ListJobResultJobList.
324
+
325
+ 任务ID
326
+
327
+ :param id: The id of this ListJobResultJobList.
328
+ :type id: str
329
+ """
330
+ self._id = id
331
+
332
+ @property
333
+ def job_name(self):
334
+ r"""Gets the job_name of this ListJobResultJobList.
335
+
336
+ 任务名称
337
+
338
+ :return: The job_name of this ListJobResultJobList.
339
+ :rtype: str
340
+ """
341
+ return self._job_name
342
+
343
+ @job_name.setter
344
+ def job_name(self, job_name):
345
+ r"""Sets the job_name of this ListJobResultJobList.
346
+
347
+ 任务名称
348
+
349
+ :param job_name: The job_name of this ListJobResultJobList.
350
+ :type job_name: str
351
+ """
352
+ self._job_name = job_name
353
+
354
+ @property
355
+ def job_creator(self):
356
+ r"""Gets the job_creator of this ListJobResultJobList.
357
+
358
+ 任务创建者
359
+
360
+ :return: The job_creator of this ListJobResultJobList.
361
+ :rtype: str
362
+ """
363
+ return self._job_creator
364
+
365
+ @job_creator.setter
366
+ def job_creator(self, job_creator):
367
+ r"""Sets the job_creator of this ListJobResultJobList.
368
+
369
+ 任务创建者
370
+
371
+ :param job_creator: The job_creator of this ListJobResultJobList.
372
+ :type job_creator: str
373
+ """
374
+ self._job_creator = job_creator
375
+
376
+ @property
377
+ def user_id(self):
378
+ r"""Gets the user_id of this ListJobResultJobList.
379
+
380
+ 用户id
381
+
382
+ :return: The user_id of this ListJobResultJobList.
383
+ :rtype: str
384
+ """
385
+ return self._user_id
386
+
387
+ @user_id.setter
388
+ def user_id(self, user_id):
389
+ r"""Sets the user_id of this ListJobResultJobList.
390
+
391
+ 用户id
392
+
393
+ :param user_id: The user_id of this ListJobResultJobList.
394
+ :type user_id: str
395
+ """
396
+ self._user_id = user_id
397
+
398
+ @property
399
+ def user_name(self):
400
+ r"""Gets the user_name of this ListJobResultJobList.
401
+
402
+ 用户名
403
+
404
+ :return: The user_name of this ListJobResultJobList.
405
+ :rtype: str
406
+ """
407
+ return self._user_name
408
+
409
+ @user_name.setter
410
+ def user_name(self, user_name):
411
+ r"""Sets the user_name of this ListJobResultJobList.
412
+
413
+ 用户名
414
+
415
+ :param user_name: The user_name of this ListJobResultJobList.
416
+ :type user_name: str
417
+ """
418
+ self._user_name = user_name
419
+
420
+ @property
421
+ def nick_name(self):
422
+ r"""Gets the nick_name of this ListJobResultJobList.
423
+
424
+ 用户昵称
425
+
426
+ :return: The nick_name of this ListJobResultJobList.
427
+ :rtype: str
428
+ """
429
+ return self._nick_name
430
+
431
+ @nick_name.setter
432
+ def nick_name(self, nick_name):
433
+ r"""Sets the nick_name of this ListJobResultJobList.
434
+
435
+ 用户昵称
436
+
437
+ :param nick_name: The nick_name of this ListJobResultJobList.
438
+ :type nick_name: str
439
+ """
440
+ self._nick_name = nick_name
441
+
442
+ @property
443
+ def project_id(self):
444
+ r"""Gets the project_id of this ListJobResultJobList.
445
+
446
+ 构建任务所在项目的ID
447
+
448
+ :return: The project_id of this ListJobResultJobList.
449
+ :rtype: str
450
+ """
451
+ return self._project_id
452
+
453
+ @project_id.setter
454
+ def project_id(self, project_id):
455
+ r"""Sets the project_id of this ListJobResultJobList.
456
+
457
+ 构建任务所在项目的ID
458
+
459
+ :param project_id: The project_id of this ListJobResultJobList.
460
+ :type project_id: str
461
+ """
462
+ self._project_id = project_id
463
+
464
+ @property
465
+ def project_name(self):
466
+ r"""Gets the project_name of this ListJobResultJobList.
467
+
468
+ 构建任务所在项目的名称
469
+
470
+ :return: The project_name of this ListJobResultJobList.
471
+ :rtype: str
472
+ """
473
+ return self._project_name
474
+
475
+ @project_name.setter
476
+ def project_name(self, project_name):
477
+ r"""Sets the project_name of this ListJobResultJobList.
478
+
479
+ 构建任务所在项目的名称
480
+
481
+ :param project_name: The project_name of this ListJobResultJobList.
482
+ :type project_name: str
483
+ """
484
+ self._project_name = project_name
485
+
486
+ @property
487
+ def last_build_time(self):
488
+ r"""Gets the last_build_time of this ListJobResultJobList.
489
+
490
+ 最新执行时间
491
+
492
+ :return: The last_build_time of this ListJobResultJobList.
493
+ :rtype: float
494
+ """
495
+ return self._last_build_time
496
+
497
+ @last_build_time.setter
498
+ def last_build_time(self, last_build_time):
499
+ r"""Sets the last_build_time of this ListJobResultJobList.
500
+
501
+ 最新执行时间
502
+
503
+ :param last_build_time: The last_build_time of this ListJobResultJobList.
504
+ :type last_build_time: float
505
+ """
506
+ self._last_build_time = last_build_time
507
+
508
+ @property
509
+ def health_score(self):
510
+ r"""Gets the health_score of this ListJobResultJobList.
511
+
512
+ 健康分值
513
+
514
+ :return: The health_score of this ListJobResultJobList.
515
+ :rtype: int
516
+ """
517
+ return self._health_score
518
+
519
+ @health_score.setter
520
+ def health_score(self, health_score):
521
+ r"""Sets the health_score of this ListJobResultJobList.
522
+
523
+ 健康分值
524
+
525
+ :param health_score: The health_score of this ListJobResultJobList.
526
+ :type health_score: int
527
+ """
528
+ self._health_score = health_score
529
+
530
+ @property
531
+ def source_code(self):
532
+ r"""Gets the source_code of this ListJobResultJobList.
533
+
534
+ 代码来源
535
+
536
+ :return: The source_code of this ListJobResultJobList.
537
+ :rtype: str
538
+ """
539
+ return self._source_code
540
+
541
+ @source_code.setter
542
+ def source_code(self, source_code):
543
+ r"""Sets the source_code of this ListJobResultJobList.
544
+
545
+ 代码来源
546
+
547
+ :param source_code: The source_code of this ListJobResultJobList.
548
+ :type source_code: str
549
+ """
550
+ self._source_code = source_code
551
+
552
+ @property
553
+ def last_build_status(self):
554
+ r"""Gets the last_build_status of this ListJobResultJobList.
555
+
556
+ 最新构建状态
557
+
558
+ :return: The last_build_status of this ListJobResultJobList.
559
+ :rtype: str
560
+ """
561
+ return self._last_build_status
562
+
563
+ @last_build_status.setter
564
+ def last_build_status(self, last_build_status):
565
+ r"""Sets the last_build_status of this ListJobResultJobList.
566
+
567
+ 最新构建状态
568
+
569
+ :param last_build_status: The last_build_status of this ListJobResultJobList.
570
+ :type last_build_status: str
571
+ """
572
+ self._last_build_status = last_build_status
573
+
574
+ @property
575
+ def last_job_running_status(self):
576
+ r"""Gets the last_job_running_status of this ListJobResultJobList.
577
+
578
+ 最新运行状态
579
+
580
+ :return: The last_job_running_status of this ListJobResultJobList.
581
+ :rtype: str
582
+ """
583
+ return self._last_job_running_status
584
+
585
+ @last_job_running_status.setter
586
+ def last_job_running_status(self, last_job_running_status):
587
+ r"""Sets the last_job_running_status of this ListJobResultJobList.
588
+
589
+ 最新运行状态
590
+
591
+ :param last_job_running_status: The last_job_running_status of this ListJobResultJobList.
592
+ :type last_job_running_status: str
593
+ """
594
+ self._last_job_running_status = last_job_running_status
595
+
596
+ @property
597
+ def last_build_user(self):
598
+ r"""Gets the last_build_user of this ListJobResultJobList.
599
+
600
+ 执行用户
601
+
602
+ :return: The last_build_user of this ListJobResultJobList.
603
+ :rtype: str
604
+ """
605
+ return self._last_build_user
606
+
607
+ @last_build_user.setter
608
+ def last_build_user(self, last_build_user):
609
+ r"""Sets the last_build_user of this ListJobResultJobList.
610
+
611
+ 执行用户
612
+
613
+ :param last_build_user: The last_build_user of this ListJobResultJobList.
614
+ :type last_build_user: str
615
+ """
616
+ self._last_build_user = last_build_user
617
+
618
+ @property
619
+ def last_build_user_id(self):
620
+ r"""Gets the last_build_user_id of this ListJobResultJobList.
621
+
622
+ 执行用户ID
623
+
624
+ :return: The last_build_user_id of this ListJobResultJobList.
625
+ :rtype: str
626
+ """
627
+ return self._last_build_user_id
628
+
629
+ @last_build_user_id.setter
630
+ def last_build_user_id(self, last_build_user_id):
631
+ r"""Sets the last_build_user_id of this ListJobResultJobList.
632
+
633
+ 执行用户ID
634
+
635
+ :param last_build_user_id: The last_build_user_id of this ListJobResultJobList.
636
+ :type last_build_user_id: str
637
+ """
638
+ self._last_build_user_id = last_build_user_id
639
+
640
+ @property
641
+ def is_finished(self):
642
+ r"""Gets the is_finished of this ListJobResultJobList.
643
+
644
+ 是否已结束
645
+
646
+ :return: The is_finished of this ListJobResultJobList.
647
+ :rtype: bool
648
+ """
649
+ return self._is_finished
650
+
651
+ @is_finished.setter
652
+ def is_finished(self, is_finished):
653
+ r"""Sets the is_finished of this ListJobResultJobList.
654
+
655
+ 是否已结束
656
+
657
+ :param is_finished: The is_finished of this ListJobResultJobList.
658
+ :type is_finished: bool
659
+ """
660
+ self._is_finished = is_finished
661
+
662
+ @property
663
+ def disabled(self):
664
+ r"""Gets the disabled of this ListJobResultJobList.
665
+
666
+ 是否已禁用
667
+
668
+ :return: The disabled of this ListJobResultJobList.
669
+ :rtype: bool
670
+ """
671
+ return self._disabled
672
+
673
+ @disabled.setter
674
+ def disabled(self, disabled):
675
+ r"""Sets the disabled of this ListJobResultJobList.
676
+
677
+ 是否已禁用
678
+
679
+ :param disabled: The disabled of this ListJobResultJobList.
680
+ :type disabled: bool
681
+ """
682
+ self._disabled = disabled
683
+
684
+ @property
685
+ def favorite(self):
686
+ r"""Gets the favorite of this ListJobResultJobList.
687
+
688
+ 是否已收藏
689
+
690
+ :return: The favorite of this ListJobResultJobList.
691
+ :rtype: bool
692
+ """
693
+ return self._favorite
694
+
695
+ @favorite.setter
696
+ def favorite(self, favorite):
697
+ r"""Sets the favorite of this ListJobResultJobList.
698
+
699
+ 是否已收藏
700
+
701
+ :param favorite: The favorite of this ListJobResultJobList.
702
+ :type favorite: bool
703
+ """
704
+ self._favorite = favorite
705
+
706
+ @property
707
+ def is_modify(self):
708
+ r"""Gets the is_modify of this ListJobResultJobList.
709
+
710
+ 是否有修改任务权限
711
+
712
+ :return: The is_modify of this ListJobResultJobList.
713
+ :rtype: bool
714
+ """
715
+ return self._is_modify
716
+
717
+ @is_modify.setter
718
+ def is_modify(self, is_modify):
719
+ r"""Sets the is_modify of this ListJobResultJobList.
720
+
721
+ 是否有修改任务权限
722
+
723
+ :param is_modify: The is_modify of this ListJobResultJobList.
724
+ :type is_modify: bool
725
+ """
726
+ self._is_modify = is_modify
727
+
728
+ @property
729
+ def is_delete(self):
730
+ r"""Gets the is_delete of this ListJobResultJobList.
731
+
732
+ 是否有删除任务权限
733
+
734
+ :return: The is_delete of this ListJobResultJobList.
735
+ :rtype: bool
736
+ """
737
+ return self._is_delete
738
+
739
+ @is_delete.setter
740
+ def is_delete(self, is_delete):
741
+ r"""Sets the is_delete of this ListJobResultJobList.
742
+
743
+ 是否有删除任务权限
744
+
745
+ :param is_delete: The is_delete of this ListJobResultJobList.
746
+ :type is_delete: bool
747
+ """
748
+ self._is_delete = is_delete
749
+
750
+ @property
751
+ def is_view(self):
752
+ r"""Gets the is_view of this ListJobResultJobList.
753
+
754
+ 是否有查看任务权限
755
+
756
+ :return: The is_view of this ListJobResultJobList.
757
+ :rtype: bool
758
+ """
759
+ return self._is_view
760
+
761
+ @is_view.setter
762
+ def is_view(self, is_view):
763
+ r"""Sets the is_view of this ListJobResultJobList.
764
+
765
+ 是否有查看任务权限
766
+
767
+ :param is_view: The is_view of this ListJobResultJobList.
768
+ :type is_view: bool
769
+ """
770
+ self._is_view = is_view
771
+
772
+ @property
773
+ def is_execute(self):
774
+ r"""Gets the is_execute of this ListJobResultJobList.
775
+
776
+ 是否有执行任务权限
777
+
778
+ :return: The is_execute of this ListJobResultJobList.
779
+ :rtype: bool
780
+ """
781
+ return self._is_execute
782
+
783
+ @is_execute.setter
784
+ def is_execute(self, is_execute):
785
+ r"""Sets the is_execute of this ListJobResultJobList.
786
+
787
+ 是否有执行任务权限
788
+
789
+ :param is_execute: The is_execute of this ListJobResultJobList.
790
+ :type is_execute: bool
791
+ """
792
+ self._is_execute = is_execute
793
+
794
+ @property
795
+ def is_copy(self):
796
+ r"""Gets the is_copy of this ListJobResultJobList.
797
+
798
+ 是否有复制任务权限
799
+
800
+ :return: The is_copy of this ListJobResultJobList.
801
+ :rtype: bool
802
+ """
803
+ return self._is_copy
804
+
805
+ @is_copy.setter
806
+ def is_copy(self, is_copy):
807
+ r"""Sets the is_copy of this ListJobResultJobList.
808
+
809
+ 是否有复制任务权限
810
+
811
+ :param is_copy: The is_copy of this ListJobResultJobList.
812
+ :type is_copy: bool
813
+ """
814
+ self._is_copy = is_copy
815
+
816
+ @property
817
+ def is_forbidden(self):
818
+ r"""Gets the is_forbidden of this ListJobResultJobList.
819
+
820
+ 是否有禁用任务权限
821
+
822
+ :return: The is_forbidden of this ListJobResultJobList.
823
+ :rtype: bool
824
+ """
825
+ return self._is_forbidden
826
+
827
+ @is_forbidden.setter
828
+ def is_forbidden(self, is_forbidden):
829
+ r"""Sets the is_forbidden of this ListJobResultJobList.
830
+
831
+ 是否有禁用任务权限
832
+
833
+ :param is_forbidden: The is_forbidden of this ListJobResultJobList.
834
+ :type is_forbidden: bool
835
+ """
836
+ self._is_forbidden = is_forbidden
837
+
838
+ @property
839
+ def task_id(self):
840
+ r"""Gets the task_id of this ListJobResultJobList.
841
+
842
+ 任务记录编号
843
+
844
+ :return: The task_id of this ListJobResultJobList.
845
+ :rtype: str
846
+ """
847
+ return self._task_id
848
+
849
+ @task_id.setter
850
+ def task_id(self, task_id):
851
+ r"""Sets the task_id of this ListJobResultJobList.
852
+
853
+ 任务记录编号
854
+
855
+ :param task_id: The task_id of this ListJobResultJobList.
856
+ :type task_id: str
857
+ """
858
+ self._task_id = task_id
859
+
860
+ @property
861
+ def code_branch(self):
862
+ r"""Gets the code_branch of this ListJobResultJobList.
863
+
864
+ 代码分支
865
+
866
+ :return: The code_branch of this ListJobResultJobList.
867
+ :rtype: str
868
+ """
869
+ return self._code_branch
870
+
871
+ @code_branch.setter
872
+ def code_branch(self, code_branch):
873
+ r"""Sets the code_branch of this ListJobResultJobList.
874
+
875
+ 代码分支
876
+
877
+ :param code_branch: The code_branch of this ListJobResultJobList.
878
+ :type code_branch: str
879
+ """
880
+ self._code_branch = code_branch
881
+
882
+ @property
883
+ def commit_id(self):
884
+ r"""Gets the commit_id of this ListJobResultJobList.
885
+
886
+ 代码提交ID
887
+
888
+ :return: The commit_id of this ListJobResultJobList.
889
+ :rtype: str
890
+ """
891
+ return self._commit_id
892
+
893
+ @commit_id.setter
894
+ def commit_id(self, commit_id):
895
+ r"""Sets the commit_id of this ListJobResultJobList.
896
+
897
+ 代码提交ID
898
+
899
+ :param commit_id: The commit_id of this ListJobResultJobList.
900
+ :type commit_id: str
901
+ """
902
+ self._commit_id = commit_id
903
+
904
+ @property
905
+ def trigger_type(self):
906
+ r"""Gets the trigger_type of this ListJobResultJobList.
907
+
908
+ 触发类型
909
+
910
+ :return: The trigger_type of this ListJobResultJobList.
911
+ :rtype: str
912
+ """
913
+ return self._trigger_type
914
+
915
+ @trigger_type.setter
916
+ def trigger_type(self, trigger_type):
917
+ r"""Sets the trigger_type of this ListJobResultJobList.
918
+
919
+ 触发类型
920
+
921
+ :param trigger_type: The trigger_type of this ListJobResultJobList.
922
+ :type trigger_type: str
923
+ """
924
+ self._trigger_type = trigger_type
925
+
926
+ @property
927
+ def build_time(self):
928
+ r"""Gets the build_time of this ListJobResultJobList.
929
+
930
+ 执行时间
931
+
932
+ :return: The build_time of this ListJobResultJobList.
933
+ :rtype: float
934
+ """
935
+ return self._build_time
936
+
937
+ @build_time.setter
938
+ def build_time(self, build_time):
939
+ r"""Sets the build_time of this ListJobResultJobList.
940
+
941
+ 执行时间
942
+
943
+ :param build_time: The build_time of this ListJobResultJobList.
944
+ :type build_time: float
945
+ """
946
+ self._build_time = build_time
947
+
948
+ @property
949
+ def scm_web_url(self):
950
+ r"""Gets the scm_web_url of this ListJobResultJobList.
951
+
952
+ 代码源地址
953
+
954
+ :return: The scm_web_url of this ListJobResultJobList.
955
+ :rtype: str
956
+ """
957
+ return self._scm_web_url
958
+
959
+ @scm_web_url.setter
960
+ def scm_web_url(self, scm_web_url):
961
+ r"""Sets the scm_web_url of this ListJobResultJobList.
962
+
963
+ 代码源地址
964
+
965
+ :param scm_web_url: The scm_web_url of this ListJobResultJobList.
966
+ :type scm_web_url: str
967
+ """
968
+ self._scm_web_url = scm_web_url
969
+
970
+ @property
971
+ def scm_type(self):
972
+ r"""Gets the scm_type of this ListJobResultJobList.
973
+
974
+ 仓库类别,Repo、Github等
975
+
976
+ :return: The scm_type of this ListJobResultJobList.
977
+ :rtype: str
978
+ """
979
+ return self._scm_type
980
+
981
+ @scm_type.setter
982
+ def scm_type(self, scm_type):
983
+ r"""Sets the scm_type of this ListJobResultJobList.
984
+
985
+ 仓库类别,Repo、Github等
986
+
987
+ :param scm_type: The scm_type of this ListJobResultJobList.
988
+ :type scm_type: str
989
+ """
990
+ self._scm_type = scm_type
991
+
992
+ @property
993
+ def repo_id(self):
994
+ r"""Gets the repo_id of this ListJobResultJobList.
995
+
996
+ repo的id
997
+
998
+ :return: The repo_id of this ListJobResultJobList.
999
+ :rtype: str
1000
+ """
1001
+ return self._repo_id
1002
+
1003
+ @repo_id.setter
1004
+ def repo_id(self, repo_id):
1005
+ r"""Sets the repo_id of this ListJobResultJobList.
1006
+
1007
+ repo的id
1008
+
1009
+ :param repo_id: The repo_id of this ListJobResultJobList.
1010
+ :type repo_id: str
1011
+ """
1012
+ self._repo_id = repo_id
1013
+
1014
+ @property
1015
+ def commit_detail_url(self):
1016
+ r"""Gets the commit_detail_url of this ListJobResultJobList.
1017
+
1018
+ 代码提交记录信息地址(代码源为Repo)
1019
+
1020
+ :return: The commit_detail_url of this ListJobResultJobList.
1021
+ :rtype: str
1022
+ """
1023
+ return self._commit_detail_url
1024
+
1025
+ @commit_detail_url.setter
1026
+ def commit_detail_url(self, commit_detail_url):
1027
+ r"""Sets the commit_detail_url of this ListJobResultJobList.
1028
+
1029
+ 代码提交记录信息地址(代码源为Repo)
1030
+
1031
+ :param commit_detail_url: The commit_detail_url of this ListJobResultJobList.
1032
+ :type commit_detail_url: str
1033
+ """
1034
+ self._commit_detail_url = commit_detail_url
1035
+
1036
+ @property
1037
+ def build_number(self):
1038
+ r"""Gets the build_number of this ListJobResultJobList.
1039
+
1040
+ 构建编号
1041
+
1042
+ :return: The build_number of this ListJobResultJobList.
1043
+ :rtype: str
1044
+ """
1045
+ return self._build_number
1046
+
1047
+ @build_number.setter
1048
+ def build_number(self, build_number):
1049
+ r"""Sets the build_number of this ListJobResultJobList.
1050
+
1051
+ 构建编号
1052
+
1053
+ :param build_number: The build_number of this ListJobResultJobList.
1054
+ :type build_number: str
1055
+ """
1056
+ self._build_number = build_number
1057
+
1058
+ @property
1059
+ def forbidden_msg(self):
1060
+ r"""Gets the forbidden_msg of this ListJobResultJobList.
1061
+
1062
+ 禁用消息
1063
+
1064
+ :return: The forbidden_msg of this ListJobResultJobList.
1065
+ :rtype: str
1066
+ """
1067
+ return self._forbidden_msg
1068
+
1069
+ @forbidden_msg.setter
1070
+ def forbidden_msg(self, forbidden_msg):
1071
+ r"""Sets the forbidden_msg of this ListJobResultJobList.
1072
+
1073
+ 禁用消息
1074
+
1075
+ :param forbidden_msg: The forbidden_msg of this ListJobResultJobList.
1076
+ :type forbidden_msg: str
1077
+ """
1078
+ self._forbidden_msg = forbidden_msg
1079
+
1080
+ @property
1081
+ def build_project_id(self):
1082
+ r"""Gets the build_project_id of this ListJobResultJobList.
1083
+
1084
+ 构建工程ID,唯一对应codeci_job_id
1085
+
1086
+ :return: The build_project_id of this ListJobResultJobList.
1087
+ :rtype: str
1088
+ """
1089
+ return self._build_project_id
1090
+
1091
+ @build_project_id.setter
1092
+ def build_project_id(self, build_project_id):
1093
+ r"""Sets the build_project_id of this ListJobResultJobList.
1094
+
1095
+ 构建工程ID,唯一对应codeci_job_id
1096
+
1097
+ :param build_project_id: The build_project_id of this ListJobResultJobList.
1098
+ :type build_project_id: str
1099
+ """
1100
+ self._build_project_id = build_project_id
1101
+
1102
+ @property
1103
+ def build_type(self):
1104
+ r"""Gets the build_type of this ListJobResultJobList.
1105
+
1106
+ 构建类别
1107
+
1108
+ :return: The build_type of this ListJobResultJobList.
1109
+ :rtype: str
1110
+ """
1111
+ return self._build_type
1112
+
1113
+ @build_type.setter
1114
+ def build_type(self, build_type):
1115
+ r"""Sets the build_type of this ListJobResultJobList.
1116
+
1117
+ 构建类别
1118
+
1119
+ :param build_type: The build_type of this ListJobResultJobList.
1120
+ :type build_type: str
1121
+ """
1122
+ self._build_type = build_type
1123
+
1124
+ @property
1125
+ def tag(self):
1126
+ r"""Gets the tag of this ListJobResultJobList.
1127
+
1128
+ 仓库tag
1129
+
1130
+ :return: The tag of this ListJobResultJobList.
1131
+ :rtype: str
1132
+ """
1133
+ return self._tag
1134
+
1135
+ @tag.setter
1136
+ def tag(self, tag):
1137
+ r"""Sets the tag of this ListJobResultJobList.
1138
+
1139
+ 仓库tag
1140
+
1141
+ :param tag: The tag of this ListJobResultJobList.
1142
+ :type tag: str
1143
+ """
1144
+ self._tag = tag
1145
+
1146
+ @property
1147
+ def project_permission_switch(self):
1148
+ r"""Gets the project_permission_switch of this ListJobResultJobList.
1149
+
1150
+ 使用项目权限
1151
+
1152
+ :return: The project_permission_switch of this ListJobResultJobList.
1153
+ :rtype: bool
1154
+ """
1155
+ return self._project_permission_switch
1156
+
1157
+ @project_permission_switch.setter
1158
+ def project_permission_switch(self, project_permission_switch):
1159
+ r"""Sets the project_permission_switch of this ListJobResultJobList.
1160
+
1161
+ 使用项目权限
1162
+
1163
+ :param project_permission_switch: The project_permission_switch of this ListJobResultJobList.
1164
+ :type project_permission_switch: bool
1165
+ """
1166
+ self._project_permission_switch = project_permission_switch
1167
+
1168
+ def to_dict(self):
1169
+ """Returns the model properties as a dict"""
1170
+ result = {}
1171
+
1172
+ for attr, _ in six.iteritems(self.openapi_types):
1173
+ value = getattr(self, attr)
1174
+ if isinstance(value, list):
1175
+ result[attr] = list(map(
1176
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
1177
+ value
1178
+ ))
1179
+ elif hasattr(value, "to_dict"):
1180
+ result[attr] = value.to_dict()
1181
+ elif isinstance(value, dict):
1182
+ result[attr] = dict(map(
1183
+ lambda item: (item[0], item[1].to_dict())
1184
+ if hasattr(item[1], "to_dict") else item,
1185
+ value.items()
1186
+ ))
1187
+ else:
1188
+ if attr in self.sensitive_list:
1189
+ result[attr] = "****"
1190
+ else:
1191
+ result[attr] = value
1192
+
1193
+ return result
1194
+
1195
+ def to_str(self):
1196
+ """Returns the string representation of the model"""
1197
+ import simplejson as json
1198
+ if six.PY2:
1199
+ import sys
1200
+ reload(sys)
1201
+ sys.setdefaultencoding("utf-8")
1202
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
1203
+
1204
+ def __repr__(self):
1205
+ """For `print`"""
1206
+ return self.to_str()
1207
+
1208
+ def __eq__(self, other):
1209
+ """Returns true if both objects are equal"""
1210
+ if not isinstance(other, ListJobResultJobList):
1211
+ return False
1212
+
1213
+ return self.__dict__ == other.__dict__
1214
+
1215
+ def __ne__(self, other):
1216
+ """Returns true if both objects are not equal"""
1217
+ return not self == other