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.
- huaweicloudsdkcodeartsbuild/v3/__init__.py +77 -2
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1619 -123
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1619 -123
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +77 -2
- huaweicloudsdkcodeartsbuild/v3/model/build_info_record.py +604 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_info_record_commit_info.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_params.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_params_body_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record.py +981 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record_build_record_type.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_record_parameters.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_stage_record.py +608 -0
- huaweicloudsdkcodeartsbuild/v3/model/constraints.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_real_time_log_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result.py → flow_graph2_result.py} +15 -15
- huaweicloudsdkcodeartsbuild/v3/model/{flow_graph_result_edges.py → flow_graph2_result_edges.py} +11 -11
- huaweicloudsdkcodeartsbuild/v3/model/full_stages_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_body_result.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_request.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_request.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_official_template_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_request.py +373 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_response.py +228 -0
- huaweicloudsdkcodeartsbuild/v3/model/parameter.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/params.py +289 -0
- huaweicloudsdkcodeartsbuild/v3/model/real_time_log_response_body_result.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/recycling_job.py +347 -0
- huaweicloudsdkcodeartsbuild/v3/model/recycling_jobs_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_full_stages_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_flow_graph_response.py +4 -4
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result_image_templates.py +318 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_success_ratio_result_every_day_report.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_request.py +199 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result_chart.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_config_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_info_result.py +724 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_result.py +492 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary.py +463 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_body_result.py +140 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_report_summary_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_running_status_result.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/system_parameters_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/template_list.py +459 -0
- huaweicloudsdkcodeartsbuild/v3/region/codeartsbuild_region.py +6 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/RECORD +88 -13
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.148.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,608 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class BuildStageRecord:
|
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
|
+
'status': 'str',
|
22
|
+
'status_code': 'int',
|
23
|
+
'log_status': 'str',
|
24
|
+
'create_time': 'str',
|
25
|
+
'schedule_time': 'str',
|
26
|
+
'queued_time': 'str',
|
27
|
+
'start_time': 'str',
|
28
|
+
'finish_time': 'str',
|
29
|
+
'duration': 'int',
|
30
|
+
'build_duration': 'int',
|
31
|
+
'pending_duration': 'int',
|
32
|
+
'build_record_id': 'str',
|
33
|
+
'execution_id': 'str',
|
34
|
+
'execution_stage_name': 'str',
|
35
|
+
'display_name': 'str',
|
36
|
+
'node_id': 'int',
|
37
|
+
'sequence': 'int'
|
38
|
+
}
|
39
|
+
|
40
|
+
attribute_map = {
|
41
|
+
'id': 'id',
|
42
|
+
'status': 'status',
|
43
|
+
'status_code': 'status_code',
|
44
|
+
'log_status': 'log_status',
|
45
|
+
'create_time': 'create_time',
|
46
|
+
'schedule_time': 'schedule_time',
|
47
|
+
'queued_time': 'queued_time',
|
48
|
+
'start_time': 'start_time',
|
49
|
+
'finish_time': 'finish_time',
|
50
|
+
'duration': 'duration',
|
51
|
+
'build_duration': 'build_duration',
|
52
|
+
'pending_duration': 'pending_duration',
|
53
|
+
'build_record_id': 'build_record_id',
|
54
|
+
'execution_id': 'execution_id',
|
55
|
+
'execution_stage_name': 'execution_stage_name',
|
56
|
+
'display_name': 'display_name',
|
57
|
+
'node_id': 'node_id',
|
58
|
+
'sequence': 'sequence'
|
59
|
+
}
|
60
|
+
|
61
|
+
def __init__(self, id=None, status=None, status_code=None, log_status=None, create_time=None, schedule_time=None, queued_time=None, start_time=None, finish_time=None, duration=None, build_duration=None, pending_duration=None, build_record_id=None, execution_id=None, execution_stage_name=None, display_name=None, node_id=None, sequence=None):
|
62
|
+
r"""BuildStageRecord
|
63
|
+
|
64
|
+
The model defined in huaweicloud sdk
|
65
|
+
|
66
|
+
:param id: 步骤编号
|
67
|
+
:type id: str
|
68
|
+
:param status: 步骤状态
|
69
|
+
:type status: str
|
70
|
+
:param status_code: 状态码
|
71
|
+
:type status_code: int
|
72
|
+
:param log_status: 日志状态
|
73
|
+
:type log_status: str
|
74
|
+
:param create_time: 创建时间
|
75
|
+
:type create_time: str
|
76
|
+
:param schedule_time: 构建下发时间
|
77
|
+
:type schedule_time: str
|
78
|
+
:param queued_time: 构建排队耗时
|
79
|
+
:type queued_time: str
|
80
|
+
:param start_time: 开始时间
|
81
|
+
:type start_time: str
|
82
|
+
:param finish_time: 结束时间
|
83
|
+
:type finish_time: str
|
84
|
+
:param duration: 构建时长
|
85
|
+
:type duration: int
|
86
|
+
:param build_duration: 子任务构建耗时
|
87
|
+
:type build_duration: int
|
88
|
+
:param pending_duration: 等待时间
|
89
|
+
:type pending_duration: int
|
90
|
+
:param build_record_id: 构建记录ID
|
91
|
+
:type build_record_id: str
|
92
|
+
:param execution_id: 八爪鱼任务ID
|
93
|
+
:type execution_id: str
|
94
|
+
:param execution_stage_name: 步骤名称
|
95
|
+
:type execution_stage_name: str
|
96
|
+
:param display_name: 步骤名称
|
97
|
+
:type display_name: str
|
98
|
+
:param node_id: 节点ID
|
99
|
+
:type node_id: int
|
100
|
+
:param sequence: 序号
|
101
|
+
:type sequence: int
|
102
|
+
"""
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
self._id = None
|
107
|
+
self._status = None
|
108
|
+
self._status_code = None
|
109
|
+
self._log_status = None
|
110
|
+
self._create_time = None
|
111
|
+
self._schedule_time = None
|
112
|
+
self._queued_time = None
|
113
|
+
self._start_time = None
|
114
|
+
self._finish_time = None
|
115
|
+
self._duration = None
|
116
|
+
self._build_duration = None
|
117
|
+
self._pending_duration = None
|
118
|
+
self._build_record_id = None
|
119
|
+
self._execution_id = None
|
120
|
+
self._execution_stage_name = None
|
121
|
+
self._display_name = None
|
122
|
+
self._node_id = None
|
123
|
+
self._sequence = None
|
124
|
+
self.discriminator = None
|
125
|
+
|
126
|
+
if id is not None:
|
127
|
+
self.id = id
|
128
|
+
if status is not None:
|
129
|
+
self.status = status
|
130
|
+
if status_code is not None:
|
131
|
+
self.status_code = status_code
|
132
|
+
if log_status is not None:
|
133
|
+
self.log_status = log_status
|
134
|
+
if create_time is not None:
|
135
|
+
self.create_time = create_time
|
136
|
+
if schedule_time is not None:
|
137
|
+
self.schedule_time = schedule_time
|
138
|
+
if queued_time is not None:
|
139
|
+
self.queued_time = queued_time
|
140
|
+
if start_time is not None:
|
141
|
+
self.start_time = start_time
|
142
|
+
if finish_time is not None:
|
143
|
+
self.finish_time = finish_time
|
144
|
+
if duration is not None:
|
145
|
+
self.duration = duration
|
146
|
+
if build_duration is not None:
|
147
|
+
self.build_duration = build_duration
|
148
|
+
if pending_duration is not None:
|
149
|
+
self.pending_duration = pending_duration
|
150
|
+
if build_record_id is not None:
|
151
|
+
self.build_record_id = build_record_id
|
152
|
+
if execution_id is not None:
|
153
|
+
self.execution_id = execution_id
|
154
|
+
if execution_stage_name is not None:
|
155
|
+
self.execution_stage_name = execution_stage_name
|
156
|
+
if display_name is not None:
|
157
|
+
self.display_name = display_name
|
158
|
+
if node_id is not None:
|
159
|
+
self.node_id = node_id
|
160
|
+
if sequence is not None:
|
161
|
+
self.sequence = sequence
|
162
|
+
|
163
|
+
@property
|
164
|
+
def id(self):
|
165
|
+
r"""Gets the id of this BuildStageRecord.
|
166
|
+
|
167
|
+
步骤编号
|
168
|
+
|
169
|
+
:return: The id of this BuildStageRecord.
|
170
|
+
:rtype: str
|
171
|
+
"""
|
172
|
+
return self._id
|
173
|
+
|
174
|
+
@id.setter
|
175
|
+
def id(self, id):
|
176
|
+
r"""Sets the id of this BuildStageRecord.
|
177
|
+
|
178
|
+
步骤编号
|
179
|
+
|
180
|
+
:param id: The id of this BuildStageRecord.
|
181
|
+
:type id: str
|
182
|
+
"""
|
183
|
+
self._id = id
|
184
|
+
|
185
|
+
@property
|
186
|
+
def status(self):
|
187
|
+
r"""Gets the status of this BuildStageRecord.
|
188
|
+
|
189
|
+
步骤状态
|
190
|
+
|
191
|
+
:return: The status of this BuildStageRecord.
|
192
|
+
:rtype: str
|
193
|
+
"""
|
194
|
+
return self._status
|
195
|
+
|
196
|
+
@status.setter
|
197
|
+
def status(self, status):
|
198
|
+
r"""Sets the status of this BuildStageRecord.
|
199
|
+
|
200
|
+
步骤状态
|
201
|
+
|
202
|
+
:param status: The status of this BuildStageRecord.
|
203
|
+
:type status: str
|
204
|
+
"""
|
205
|
+
self._status = status
|
206
|
+
|
207
|
+
@property
|
208
|
+
def status_code(self):
|
209
|
+
r"""Gets the status_code of this BuildStageRecord.
|
210
|
+
|
211
|
+
状态码
|
212
|
+
|
213
|
+
:return: The status_code of this BuildStageRecord.
|
214
|
+
:rtype: int
|
215
|
+
"""
|
216
|
+
return self._status_code
|
217
|
+
|
218
|
+
@status_code.setter
|
219
|
+
def status_code(self, status_code):
|
220
|
+
r"""Sets the status_code of this BuildStageRecord.
|
221
|
+
|
222
|
+
状态码
|
223
|
+
|
224
|
+
:param status_code: The status_code of this BuildStageRecord.
|
225
|
+
:type status_code: int
|
226
|
+
"""
|
227
|
+
self._status_code = status_code
|
228
|
+
|
229
|
+
@property
|
230
|
+
def log_status(self):
|
231
|
+
r"""Gets the log_status of this BuildStageRecord.
|
232
|
+
|
233
|
+
日志状态
|
234
|
+
|
235
|
+
:return: The log_status of this BuildStageRecord.
|
236
|
+
:rtype: str
|
237
|
+
"""
|
238
|
+
return self._log_status
|
239
|
+
|
240
|
+
@log_status.setter
|
241
|
+
def log_status(self, log_status):
|
242
|
+
r"""Sets the log_status of this BuildStageRecord.
|
243
|
+
|
244
|
+
日志状态
|
245
|
+
|
246
|
+
:param log_status: The log_status of this BuildStageRecord.
|
247
|
+
:type log_status: str
|
248
|
+
"""
|
249
|
+
self._log_status = log_status
|
250
|
+
|
251
|
+
@property
|
252
|
+
def create_time(self):
|
253
|
+
r"""Gets the create_time of this BuildStageRecord.
|
254
|
+
|
255
|
+
创建时间
|
256
|
+
|
257
|
+
:return: The create_time of this BuildStageRecord.
|
258
|
+
:rtype: str
|
259
|
+
"""
|
260
|
+
return self._create_time
|
261
|
+
|
262
|
+
@create_time.setter
|
263
|
+
def create_time(self, create_time):
|
264
|
+
r"""Sets the create_time of this BuildStageRecord.
|
265
|
+
|
266
|
+
创建时间
|
267
|
+
|
268
|
+
:param create_time: The create_time of this BuildStageRecord.
|
269
|
+
:type create_time: str
|
270
|
+
"""
|
271
|
+
self._create_time = create_time
|
272
|
+
|
273
|
+
@property
|
274
|
+
def schedule_time(self):
|
275
|
+
r"""Gets the schedule_time of this BuildStageRecord.
|
276
|
+
|
277
|
+
构建下发时间
|
278
|
+
|
279
|
+
:return: The schedule_time of this BuildStageRecord.
|
280
|
+
:rtype: str
|
281
|
+
"""
|
282
|
+
return self._schedule_time
|
283
|
+
|
284
|
+
@schedule_time.setter
|
285
|
+
def schedule_time(self, schedule_time):
|
286
|
+
r"""Sets the schedule_time of this BuildStageRecord.
|
287
|
+
|
288
|
+
构建下发时间
|
289
|
+
|
290
|
+
:param schedule_time: The schedule_time of this BuildStageRecord.
|
291
|
+
:type schedule_time: str
|
292
|
+
"""
|
293
|
+
self._schedule_time = schedule_time
|
294
|
+
|
295
|
+
@property
|
296
|
+
def queued_time(self):
|
297
|
+
r"""Gets the queued_time of this BuildStageRecord.
|
298
|
+
|
299
|
+
构建排队耗时
|
300
|
+
|
301
|
+
:return: The queued_time of this BuildStageRecord.
|
302
|
+
:rtype: str
|
303
|
+
"""
|
304
|
+
return self._queued_time
|
305
|
+
|
306
|
+
@queued_time.setter
|
307
|
+
def queued_time(self, queued_time):
|
308
|
+
r"""Sets the queued_time of this BuildStageRecord.
|
309
|
+
|
310
|
+
构建排队耗时
|
311
|
+
|
312
|
+
:param queued_time: The queued_time of this BuildStageRecord.
|
313
|
+
:type queued_time: str
|
314
|
+
"""
|
315
|
+
self._queued_time = queued_time
|
316
|
+
|
317
|
+
@property
|
318
|
+
def start_time(self):
|
319
|
+
r"""Gets the start_time of this BuildStageRecord.
|
320
|
+
|
321
|
+
开始时间
|
322
|
+
|
323
|
+
:return: The start_time of this BuildStageRecord.
|
324
|
+
:rtype: str
|
325
|
+
"""
|
326
|
+
return self._start_time
|
327
|
+
|
328
|
+
@start_time.setter
|
329
|
+
def start_time(self, start_time):
|
330
|
+
r"""Sets the start_time of this BuildStageRecord.
|
331
|
+
|
332
|
+
开始时间
|
333
|
+
|
334
|
+
:param start_time: The start_time of this BuildStageRecord.
|
335
|
+
:type start_time: str
|
336
|
+
"""
|
337
|
+
self._start_time = start_time
|
338
|
+
|
339
|
+
@property
|
340
|
+
def finish_time(self):
|
341
|
+
r"""Gets the finish_time of this BuildStageRecord.
|
342
|
+
|
343
|
+
结束时间
|
344
|
+
|
345
|
+
:return: The finish_time of this BuildStageRecord.
|
346
|
+
:rtype: str
|
347
|
+
"""
|
348
|
+
return self._finish_time
|
349
|
+
|
350
|
+
@finish_time.setter
|
351
|
+
def finish_time(self, finish_time):
|
352
|
+
r"""Sets the finish_time of this BuildStageRecord.
|
353
|
+
|
354
|
+
结束时间
|
355
|
+
|
356
|
+
:param finish_time: The finish_time of this BuildStageRecord.
|
357
|
+
:type finish_time: str
|
358
|
+
"""
|
359
|
+
self._finish_time = finish_time
|
360
|
+
|
361
|
+
@property
|
362
|
+
def duration(self):
|
363
|
+
r"""Gets the duration of this BuildStageRecord.
|
364
|
+
|
365
|
+
构建时长
|
366
|
+
|
367
|
+
:return: The duration of this BuildStageRecord.
|
368
|
+
:rtype: int
|
369
|
+
"""
|
370
|
+
return self._duration
|
371
|
+
|
372
|
+
@duration.setter
|
373
|
+
def duration(self, duration):
|
374
|
+
r"""Sets the duration of this BuildStageRecord.
|
375
|
+
|
376
|
+
构建时长
|
377
|
+
|
378
|
+
:param duration: The duration of this BuildStageRecord.
|
379
|
+
:type duration: int
|
380
|
+
"""
|
381
|
+
self._duration = duration
|
382
|
+
|
383
|
+
@property
|
384
|
+
def build_duration(self):
|
385
|
+
r"""Gets the build_duration of this BuildStageRecord.
|
386
|
+
|
387
|
+
子任务构建耗时
|
388
|
+
|
389
|
+
:return: The build_duration of this BuildStageRecord.
|
390
|
+
:rtype: int
|
391
|
+
"""
|
392
|
+
return self._build_duration
|
393
|
+
|
394
|
+
@build_duration.setter
|
395
|
+
def build_duration(self, build_duration):
|
396
|
+
r"""Sets the build_duration of this BuildStageRecord.
|
397
|
+
|
398
|
+
子任务构建耗时
|
399
|
+
|
400
|
+
:param build_duration: The build_duration of this BuildStageRecord.
|
401
|
+
:type build_duration: int
|
402
|
+
"""
|
403
|
+
self._build_duration = build_duration
|
404
|
+
|
405
|
+
@property
|
406
|
+
def pending_duration(self):
|
407
|
+
r"""Gets the pending_duration of this BuildStageRecord.
|
408
|
+
|
409
|
+
等待时间
|
410
|
+
|
411
|
+
:return: The pending_duration of this BuildStageRecord.
|
412
|
+
:rtype: int
|
413
|
+
"""
|
414
|
+
return self._pending_duration
|
415
|
+
|
416
|
+
@pending_duration.setter
|
417
|
+
def pending_duration(self, pending_duration):
|
418
|
+
r"""Sets the pending_duration of this BuildStageRecord.
|
419
|
+
|
420
|
+
等待时间
|
421
|
+
|
422
|
+
:param pending_duration: The pending_duration of this BuildStageRecord.
|
423
|
+
:type pending_duration: int
|
424
|
+
"""
|
425
|
+
self._pending_duration = pending_duration
|
426
|
+
|
427
|
+
@property
|
428
|
+
def build_record_id(self):
|
429
|
+
r"""Gets the build_record_id of this BuildStageRecord.
|
430
|
+
|
431
|
+
构建记录ID
|
432
|
+
|
433
|
+
:return: The build_record_id of this BuildStageRecord.
|
434
|
+
:rtype: str
|
435
|
+
"""
|
436
|
+
return self._build_record_id
|
437
|
+
|
438
|
+
@build_record_id.setter
|
439
|
+
def build_record_id(self, build_record_id):
|
440
|
+
r"""Sets the build_record_id of this BuildStageRecord.
|
441
|
+
|
442
|
+
构建记录ID
|
443
|
+
|
444
|
+
:param build_record_id: The build_record_id of this BuildStageRecord.
|
445
|
+
:type build_record_id: str
|
446
|
+
"""
|
447
|
+
self._build_record_id = build_record_id
|
448
|
+
|
449
|
+
@property
|
450
|
+
def execution_id(self):
|
451
|
+
r"""Gets the execution_id of this BuildStageRecord.
|
452
|
+
|
453
|
+
八爪鱼任务ID
|
454
|
+
|
455
|
+
:return: The execution_id of this BuildStageRecord.
|
456
|
+
:rtype: str
|
457
|
+
"""
|
458
|
+
return self._execution_id
|
459
|
+
|
460
|
+
@execution_id.setter
|
461
|
+
def execution_id(self, execution_id):
|
462
|
+
r"""Sets the execution_id of this BuildStageRecord.
|
463
|
+
|
464
|
+
八爪鱼任务ID
|
465
|
+
|
466
|
+
:param execution_id: The execution_id of this BuildStageRecord.
|
467
|
+
:type execution_id: str
|
468
|
+
"""
|
469
|
+
self._execution_id = execution_id
|
470
|
+
|
471
|
+
@property
|
472
|
+
def execution_stage_name(self):
|
473
|
+
r"""Gets the execution_stage_name of this BuildStageRecord.
|
474
|
+
|
475
|
+
步骤名称
|
476
|
+
|
477
|
+
:return: The execution_stage_name of this BuildStageRecord.
|
478
|
+
:rtype: str
|
479
|
+
"""
|
480
|
+
return self._execution_stage_name
|
481
|
+
|
482
|
+
@execution_stage_name.setter
|
483
|
+
def execution_stage_name(self, execution_stage_name):
|
484
|
+
r"""Sets the execution_stage_name of this BuildStageRecord.
|
485
|
+
|
486
|
+
步骤名称
|
487
|
+
|
488
|
+
:param execution_stage_name: The execution_stage_name of this BuildStageRecord.
|
489
|
+
:type execution_stage_name: str
|
490
|
+
"""
|
491
|
+
self._execution_stage_name = execution_stage_name
|
492
|
+
|
493
|
+
@property
|
494
|
+
def display_name(self):
|
495
|
+
r"""Gets the display_name of this BuildStageRecord.
|
496
|
+
|
497
|
+
步骤名称
|
498
|
+
|
499
|
+
:return: The display_name of this BuildStageRecord.
|
500
|
+
:rtype: str
|
501
|
+
"""
|
502
|
+
return self._display_name
|
503
|
+
|
504
|
+
@display_name.setter
|
505
|
+
def display_name(self, display_name):
|
506
|
+
r"""Sets the display_name of this BuildStageRecord.
|
507
|
+
|
508
|
+
步骤名称
|
509
|
+
|
510
|
+
:param display_name: The display_name of this BuildStageRecord.
|
511
|
+
:type display_name: str
|
512
|
+
"""
|
513
|
+
self._display_name = display_name
|
514
|
+
|
515
|
+
@property
|
516
|
+
def node_id(self):
|
517
|
+
r"""Gets the node_id of this BuildStageRecord.
|
518
|
+
|
519
|
+
节点ID
|
520
|
+
|
521
|
+
:return: The node_id of this BuildStageRecord.
|
522
|
+
:rtype: int
|
523
|
+
"""
|
524
|
+
return self._node_id
|
525
|
+
|
526
|
+
@node_id.setter
|
527
|
+
def node_id(self, node_id):
|
528
|
+
r"""Sets the node_id of this BuildStageRecord.
|
529
|
+
|
530
|
+
节点ID
|
531
|
+
|
532
|
+
:param node_id: The node_id of this BuildStageRecord.
|
533
|
+
:type node_id: int
|
534
|
+
"""
|
535
|
+
self._node_id = node_id
|
536
|
+
|
537
|
+
@property
|
538
|
+
def sequence(self):
|
539
|
+
r"""Gets the sequence of this BuildStageRecord.
|
540
|
+
|
541
|
+
序号
|
542
|
+
|
543
|
+
:return: The sequence of this BuildStageRecord.
|
544
|
+
:rtype: int
|
545
|
+
"""
|
546
|
+
return self._sequence
|
547
|
+
|
548
|
+
@sequence.setter
|
549
|
+
def sequence(self, sequence):
|
550
|
+
r"""Sets the sequence of this BuildStageRecord.
|
551
|
+
|
552
|
+
序号
|
553
|
+
|
554
|
+
:param sequence: The sequence of this BuildStageRecord.
|
555
|
+
:type sequence: int
|
556
|
+
"""
|
557
|
+
self._sequence = sequence
|
558
|
+
|
559
|
+
def to_dict(self):
|
560
|
+
"""Returns the model properties as a dict"""
|
561
|
+
result = {}
|
562
|
+
|
563
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
564
|
+
value = getattr(self, attr)
|
565
|
+
if isinstance(value, list):
|
566
|
+
result[attr] = list(map(
|
567
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
568
|
+
value
|
569
|
+
))
|
570
|
+
elif hasattr(value, "to_dict"):
|
571
|
+
result[attr] = value.to_dict()
|
572
|
+
elif isinstance(value, dict):
|
573
|
+
result[attr] = dict(map(
|
574
|
+
lambda item: (item[0], item[1].to_dict())
|
575
|
+
if hasattr(item[1], "to_dict") else item,
|
576
|
+
value.items()
|
577
|
+
))
|
578
|
+
else:
|
579
|
+
if attr in self.sensitive_list:
|
580
|
+
result[attr] = "****"
|
581
|
+
else:
|
582
|
+
result[attr] = value
|
583
|
+
|
584
|
+
return result
|
585
|
+
|
586
|
+
def to_str(self):
|
587
|
+
"""Returns the string representation of the model"""
|
588
|
+
import simplejson as json
|
589
|
+
if six.PY2:
|
590
|
+
import sys
|
591
|
+
reload(sys)
|
592
|
+
sys.setdefaultencoding("utf-8")
|
593
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
594
|
+
|
595
|
+
def __repr__(self):
|
596
|
+
"""For `print`"""
|
597
|
+
return self.to_str()
|
598
|
+
|
599
|
+
def __eq__(self, other):
|
600
|
+
"""Returns true if both objects are equal"""
|
601
|
+
if not isinstance(other, BuildStageRecord):
|
602
|
+
return False
|
603
|
+
|
604
|
+
return self.__dict__ == other.__dict__
|
605
|
+
|
606
|
+
def __ne__(self, other):
|
607
|
+
"""Returns true if both objects are not equal"""
|
608
|
+
return not self == other
|