huaweicloudsdkcodeartsbuild 3.1.165__py3-none-any.whl → 3.1.167__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkcodeartsbuild/v3/__init__.py +66 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1553 -172
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1553 -172
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +66 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_favourite_custom_template_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_favourite_custom_template_response.py +116 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_request_body.py +30 -1
- huaweicloudsdkcodeartsbuild/v3/model/apply_project_permission_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/apply_project_permission_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_request_body.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/batch_delete_build_jobs_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/batch_update_job_role_permission_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/batch_update_job_role_permission_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/check_job_internal_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/check_job_internal_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/countdown_list.py +256 -0
- huaweicloudsdkcodeartsbuild/v3/model/countdown_list_tips.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/countdown_request_body.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_job_group_request.py +139 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_job_group_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/delete_group_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/delete_group_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/domain_statuses.py +521 -0
- huaweicloudsdkcodeartsbuild/v3/model/domains_statuses_request_body.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/end_point_response.py +339 -0
- huaweicloudsdkcodeartsbuild/v3/model/end_point_response_authorization.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/end_point_response_created_by.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_group_request_body.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_group_response_body_result.py +434 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_group_tree_response_body.py +434 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_role_permission.py +434 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_status_result_response_body_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_end_points_request.py +171 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_end_points_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_end_points_result_response_body_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_group_tree_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_group_tree_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/move_group_request.py +139 -0
- huaweicloudsdkcodeartsbuild/v3/model/move_group_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/move_job_group_request_body.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/move_job_group_request_body_jobs.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/move_job_group_response_body_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/project_permission_request_body.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/remover_favourite_custom_template_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/remover_favourite_custom_template_response.py +116 -0
- huaweicloudsdkcodeartsbuild/v3/model/role_permissions_request_body.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_available_inner_spec_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_available_inner_spec_response.py +116 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_details_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_details_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_domain_status_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_domains_statuses_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_domains_statuses_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_package_spec_count_down_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_package_spec_count_down_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_template_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_template_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_charge_type_result_main_resource_list.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/switched_packet_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/switched_packet_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/tips.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_job_group_request.py +139 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_job_group_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_new_notice_new_request.py +139 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_new_notice_new_response.py +174 -0
- {huaweicloudsdkcodeartsbuild-3.1.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info}/METADATA +9 -10
- {huaweicloudsdkcodeartsbuild-3.1.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info}/RECORD +75 -10
- {huaweicloudsdkcodeartsbuild-3.1.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info}/WHEEL +1 -2
- huaweicloudsdkcodeartsbuild-3.1.165.dist-info/top_level.txt +0 -1
- {huaweicloudsdkcodeartsbuild-3.1.165.dist-info → huaweicloudsdkcodeartsbuild-3.1.167.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,231 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class JobGroupRequestBody:
|
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
|
+
'name': 'str',
|
22
|
+
'project_id': 'str',
|
23
|
+
'parent_id': 'str',
|
24
|
+
'group_id': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'id': 'id',
|
29
|
+
'name': 'name',
|
30
|
+
'project_id': 'project_id',
|
31
|
+
'parent_id': 'parent_id',
|
32
|
+
'group_id': 'group_id'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, id=None, name=None, project_id=None, parent_id=None, group_id=None):
|
36
|
+
r"""JobGroupRequestBody
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param id: 主键id
|
41
|
+
:type id: str
|
42
|
+
:param name: 分组名称
|
43
|
+
:type name: str
|
44
|
+
:param project_id: CodeArts项目ID。获取方式请参考[获取CodeArts项目ID](https://support.huaweicloud.com/api-codeci/cloudbuild_03_0022.html)。
|
45
|
+
:type project_id: str
|
46
|
+
:param parent_id: 父分组id
|
47
|
+
:type parent_id: str
|
48
|
+
:param group_id: 任务分组id
|
49
|
+
:type group_id: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._id = None
|
55
|
+
self._name = None
|
56
|
+
self._project_id = None
|
57
|
+
self._parent_id = None
|
58
|
+
self._group_id = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if id is not None:
|
62
|
+
self.id = id
|
63
|
+
if name is not None:
|
64
|
+
self.name = name
|
65
|
+
if project_id is not None:
|
66
|
+
self.project_id = project_id
|
67
|
+
if parent_id is not None:
|
68
|
+
self.parent_id = parent_id
|
69
|
+
if group_id is not None:
|
70
|
+
self.group_id = group_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def id(self):
|
74
|
+
r"""Gets the id of this JobGroupRequestBody.
|
75
|
+
|
76
|
+
主键id
|
77
|
+
|
78
|
+
:return: The id of this JobGroupRequestBody.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._id
|
82
|
+
|
83
|
+
@id.setter
|
84
|
+
def id(self, id):
|
85
|
+
r"""Sets the id of this JobGroupRequestBody.
|
86
|
+
|
87
|
+
主键id
|
88
|
+
|
89
|
+
:param id: The id of this JobGroupRequestBody.
|
90
|
+
:type id: str
|
91
|
+
"""
|
92
|
+
self._id = id
|
93
|
+
|
94
|
+
@property
|
95
|
+
def name(self):
|
96
|
+
r"""Gets the name of this JobGroupRequestBody.
|
97
|
+
|
98
|
+
分组名称
|
99
|
+
|
100
|
+
:return: The name of this JobGroupRequestBody.
|
101
|
+
:rtype: str
|
102
|
+
"""
|
103
|
+
return self._name
|
104
|
+
|
105
|
+
@name.setter
|
106
|
+
def name(self, name):
|
107
|
+
r"""Sets the name of this JobGroupRequestBody.
|
108
|
+
|
109
|
+
分组名称
|
110
|
+
|
111
|
+
:param name: The name of this JobGroupRequestBody.
|
112
|
+
:type name: str
|
113
|
+
"""
|
114
|
+
self._name = name
|
115
|
+
|
116
|
+
@property
|
117
|
+
def project_id(self):
|
118
|
+
r"""Gets the project_id of this JobGroupRequestBody.
|
119
|
+
|
120
|
+
CodeArts项目ID。获取方式请参考[获取CodeArts项目ID](https://support.huaweicloud.com/api-codeci/cloudbuild_03_0022.html)。
|
121
|
+
|
122
|
+
:return: The project_id of this JobGroupRequestBody.
|
123
|
+
:rtype: str
|
124
|
+
"""
|
125
|
+
return self._project_id
|
126
|
+
|
127
|
+
@project_id.setter
|
128
|
+
def project_id(self, project_id):
|
129
|
+
r"""Sets the project_id of this JobGroupRequestBody.
|
130
|
+
|
131
|
+
CodeArts项目ID。获取方式请参考[获取CodeArts项目ID](https://support.huaweicloud.com/api-codeci/cloudbuild_03_0022.html)。
|
132
|
+
|
133
|
+
:param project_id: The project_id of this JobGroupRequestBody.
|
134
|
+
:type project_id: str
|
135
|
+
"""
|
136
|
+
self._project_id = project_id
|
137
|
+
|
138
|
+
@property
|
139
|
+
def parent_id(self):
|
140
|
+
r"""Gets the parent_id of this JobGroupRequestBody.
|
141
|
+
|
142
|
+
父分组id
|
143
|
+
|
144
|
+
:return: The parent_id of this JobGroupRequestBody.
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._parent_id
|
148
|
+
|
149
|
+
@parent_id.setter
|
150
|
+
def parent_id(self, parent_id):
|
151
|
+
r"""Sets the parent_id of this JobGroupRequestBody.
|
152
|
+
|
153
|
+
父分组id
|
154
|
+
|
155
|
+
:param parent_id: The parent_id of this JobGroupRequestBody.
|
156
|
+
:type parent_id: str
|
157
|
+
"""
|
158
|
+
self._parent_id = parent_id
|
159
|
+
|
160
|
+
@property
|
161
|
+
def group_id(self):
|
162
|
+
r"""Gets the group_id of this JobGroupRequestBody.
|
163
|
+
|
164
|
+
任务分组id
|
165
|
+
|
166
|
+
:return: The group_id of this JobGroupRequestBody.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._group_id
|
170
|
+
|
171
|
+
@group_id.setter
|
172
|
+
def group_id(self, group_id):
|
173
|
+
r"""Sets the group_id of this JobGroupRequestBody.
|
174
|
+
|
175
|
+
任务分组id
|
176
|
+
|
177
|
+
:param group_id: The group_id of this JobGroupRequestBody.
|
178
|
+
:type group_id: str
|
179
|
+
"""
|
180
|
+
self._group_id = group_id
|
181
|
+
|
182
|
+
def to_dict(self):
|
183
|
+
"""Returns the model properties as a dict"""
|
184
|
+
result = {}
|
185
|
+
|
186
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
187
|
+
value = getattr(self, attr)
|
188
|
+
if isinstance(value, list):
|
189
|
+
result[attr] = list(map(
|
190
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
191
|
+
value
|
192
|
+
))
|
193
|
+
elif hasattr(value, "to_dict"):
|
194
|
+
result[attr] = value.to_dict()
|
195
|
+
elif isinstance(value, dict):
|
196
|
+
result[attr] = dict(map(
|
197
|
+
lambda item: (item[0], item[1].to_dict())
|
198
|
+
if hasattr(item[1], "to_dict") else item,
|
199
|
+
value.items()
|
200
|
+
))
|
201
|
+
else:
|
202
|
+
if attr in self.sensitive_list:
|
203
|
+
result[attr] = "****"
|
204
|
+
else:
|
205
|
+
result[attr] = value
|
206
|
+
|
207
|
+
return result
|
208
|
+
|
209
|
+
def to_str(self):
|
210
|
+
"""Returns the string representation of the model"""
|
211
|
+
import simplejson as json
|
212
|
+
if six.PY2:
|
213
|
+
import sys
|
214
|
+
reload(sys)
|
215
|
+
sys.setdefaultencoding("utf-8")
|
216
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
217
|
+
|
218
|
+
def __repr__(self):
|
219
|
+
"""For `print`"""
|
220
|
+
return self.to_str()
|
221
|
+
|
222
|
+
def __eq__(self, other):
|
223
|
+
"""Returns true if both objects are equal"""
|
224
|
+
if not isinstance(other, JobGroupRequestBody):
|
225
|
+
return False
|
226
|
+
|
227
|
+
return self.__dict__ == other.__dict__
|
228
|
+
|
229
|
+
def __ne__(self, other):
|
230
|
+
"""Returns true if both objects are not equal"""
|
231
|
+
return not self == other
|
@@ -0,0 +1,434 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class JobGroupResponseBodyResult:
|
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
|
+
'name': 'str',
|
22
|
+
'project_id': 'str',
|
23
|
+
'parent_id': 'str',
|
24
|
+
'group_id': 'str',
|
25
|
+
'domain_id': 'str',
|
26
|
+
'ordinal': 'str',
|
27
|
+
'create_user': 'str',
|
28
|
+
'update_user': 'str',
|
29
|
+
'create_time': 'str',
|
30
|
+
'update_time': 'str',
|
31
|
+
'path_id': 'str'
|
32
|
+
}
|
33
|
+
|
34
|
+
attribute_map = {
|
35
|
+
'id': 'id',
|
36
|
+
'name': 'name',
|
37
|
+
'project_id': 'project_id',
|
38
|
+
'parent_id': 'parent_id',
|
39
|
+
'group_id': 'group_id',
|
40
|
+
'domain_id': 'domain_id',
|
41
|
+
'ordinal': 'ordinal',
|
42
|
+
'create_user': 'create_user',
|
43
|
+
'update_user': 'update_user',
|
44
|
+
'create_time': 'create_time',
|
45
|
+
'update_time': 'update_time',
|
46
|
+
'path_id': 'path_id'
|
47
|
+
}
|
48
|
+
|
49
|
+
def __init__(self, id=None, name=None, project_id=None, parent_id=None, group_id=None, domain_id=None, ordinal=None, create_user=None, update_user=None, create_time=None, update_time=None, path_id=None):
|
50
|
+
r"""JobGroupResponseBodyResult
|
51
|
+
|
52
|
+
The model defined in huaweicloud sdk
|
53
|
+
|
54
|
+
:param id: 主键id
|
55
|
+
:type id: str
|
56
|
+
:param name: 分组名称
|
57
|
+
:type name: str
|
58
|
+
:param project_id: CodeArts项目ID。构建任务所在项目的ID。
|
59
|
+
:type project_id: str
|
60
|
+
:param parent_id: 父分组id
|
61
|
+
:type parent_id: str
|
62
|
+
:param group_id: 任务分组id
|
63
|
+
:type group_id: str
|
64
|
+
:param domain_id: 租户id
|
65
|
+
:type domain_id: str
|
66
|
+
:param ordinal: 分组的index
|
67
|
+
:type ordinal: str
|
68
|
+
:param create_user: 创建者
|
69
|
+
:type create_user: str
|
70
|
+
:param update_user: 修改者
|
71
|
+
:type update_user: str
|
72
|
+
:param create_time: 创建时间
|
73
|
+
:type create_time: str
|
74
|
+
:param update_time: 修改时间
|
75
|
+
:type update_time: str
|
76
|
+
:param path_id: 分组地址id
|
77
|
+
:type path_id: str
|
78
|
+
"""
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
self._id = None
|
83
|
+
self._name = None
|
84
|
+
self._project_id = None
|
85
|
+
self._parent_id = None
|
86
|
+
self._group_id = None
|
87
|
+
self._domain_id = None
|
88
|
+
self._ordinal = None
|
89
|
+
self._create_user = None
|
90
|
+
self._update_user = None
|
91
|
+
self._create_time = None
|
92
|
+
self._update_time = None
|
93
|
+
self._path_id = None
|
94
|
+
self.discriminator = None
|
95
|
+
|
96
|
+
if id is not None:
|
97
|
+
self.id = id
|
98
|
+
if name is not None:
|
99
|
+
self.name = name
|
100
|
+
if project_id is not None:
|
101
|
+
self.project_id = project_id
|
102
|
+
if parent_id is not None:
|
103
|
+
self.parent_id = parent_id
|
104
|
+
if group_id is not None:
|
105
|
+
self.group_id = group_id
|
106
|
+
if domain_id is not None:
|
107
|
+
self.domain_id = domain_id
|
108
|
+
if ordinal is not None:
|
109
|
+
self.ordinal = ordinal
|
110
|
+
if create_user is not None:
|
111
|
+
self.create_user = create_user
|
112
|
+
if update_user is not None:
|
113
|
+
self.update_user = update_user
|
114
|
+
if create_time is not None:
|
115
|
+
self.create_time = create_time
|
116
|
+
if update_time is not None:
|
117
|
+
self.update_time = update_time
|
118
|
+
if path_id is not None:
|
119
|
+
self.path_id = path_id
|
120
|
+
|
121
|
+
@property
|
122
|
+
def id(self):
|
123
|
+
r"""Gets the id of this JobGroupResponseBodyResult.
|
124
|
+
|
125
|
+
主键id
|
126
|
+
|
127
|
+
:return: The id of this JobGroupResponseBodyResult.
|
128
|
+
:rtype: str
|
129
|
+
"""
|
130
|
+
return self._id
|
131
|
+
|
132
|
+
@id.setter
|
133
|
+
def id(self, id):
|
134
|
+
r"""Sets the id of this JobGroupResponseBodyResult.
|
135
|
+
|
136
|
+
主键id
|
137
|
+
|
138
|
+
:param id: The id of this JobGroupResponseBodyResult.
|
139
|
+
:type id: str
|
140
|
+
"""
|
141
|
+
self._id = id
|
142
|
+
|
143
|
+
@property
|
144
|
+
def name(self):
|
145
|
+
r"""Gets the name of this JobGroupResponseBodyResult.
|
146
|
+
|
147
|
+
分组名称
|
148
|
+
|
149
|
+
:return: The name of this JobGroupResponseBodyResult.
|
150
|
+
:rtype: str
|
151
|
+
"""
|
152
|
+
return self._name
|
153
|
+
|
154
|
+
@name.setter
|
155
|
+
def name(self, name):
|
156
|
+
r"""Sets the name of this JobGroupResponseBodyResult.
|
157
|
+
|
158
|
+
分组名称
|
159
|
+
|
160
|
+
:param name: The name of this JobGroupResponseBodyResult.
|
161
|
+
:type name: str
|
162
|
+
"""
|
163
|
+
self._name = name
|
164
|
+
|
165
|
+
@property
|
166
|
+
def project_id(self):
|
167
|
+
r"""Gets the project_id of this JobGroupResponseBodyResult.
|
168
|
+
|
169
|
+
CodeArts项目ID。构建任务所在项目的ID。
|
170
|
+
|
171
|
+
:return: The project_id of this JobGroupResponseBodyResult.
|
172
|
+
:rtype: str
|
173
|
+
"""
|
174
|
+
return self._project_id
|
175
|
+
|
176
|
+
@project_id.setter
|
177
|
+
def project_id(self, project_id):
|
178
|
+
r"""Sets the project_id of this JobGroupResponseBodyResult.
|
179
|
+
|
180
|
+
CodeArts项目ID。构建任务所在项目的ID。
|
181
|
+
|
182
|
+
:param project_id: The project_id of this JobGroupResponseBodyResult.
|
183
|
+
:type project_id: str
|
184
|
+
"""
|
185
|
+
self._project_id = project_id
|
186
|
+
|
187
|
+
@property
|
188
|
+
def parent_id(self):
|
189
|
+
r"""Gets the parent_id of this JobGroupResponseBodyResult.
|
190
|
+
|
191
|
+
父分组id
|
192
|
+
|
193
|
+
:return: The parent_id of this JobGroupResponseBodyResult.
|
194
|
+
:rtype: str
|
195
|
+
"""
|
196
|
+
return self._parent_id
|
197
|
+
|
198
|
+
@parent_id.setter
|
199
|
+
def parent_id(self, parent_id):
|
200
|
+
r"""Sets the parent_id of this JobGroupResponseBodyResult.
|
201
|
+
|
202
|
+
父分组id
|
203
|
+
|
204
|
+
:param parent_id: The parent_id of this JobGroupResponseBodyResult.
|
205
|
+
:type parent_id: str
|
206
|
+
"""
|
207
|
+
self._parent_id = parent_id
|
208
|
+
|
209
|
+
@property
|
210
|
+
def group_id(self):
|
211
|
+
r"""Gets the group_id of this JobGroupResponseBodyResult.
|
212
|
+
|
213
|
+
任务分组id
|
214
|
+
|
215
|
+
:return: The group_id of this JobGroupResponseBodyResult.
|
216
|
+
:rtype: str
|
217
|
+
"""
|
218
|
+
return self._group_id
|
219
|
+
|
220
|
+
@group_id.setter
|
221
|
+
def group_id(self, group_id):
|
222
|
+
r"""Sets the group_id of this JobGroupResponseBodyResult.
|
223
|
+
|
224
|
+
任务分组id
|
225
|
+
|
226
|
+
:param group_id: The group_id of this JobGroupResponseBodyResult.
|
227
|
+
:type group_id: str
|
228
|
+
"""
|
229
|
+
self._group_id = group_id
|
230
|
+
|
231
|
+
@property
|
232
|
+
def domain_id(self):
|
233
|
+
r"""Gets the domain_id of this JobGroupResponseBodyResult.
|
234
|
+
|
235
|
+
租户id
|
236
|
+
|
237
|
+
:return: The domain_id of this JobGroupResponseBodyResult.
|
238
|
+
:rtype: str
|
239
|
+
"""
|
240
|
+
return self._domain_id
|
241
|
+
|
242
|
+
@domain_id.setter
|
243
|
+
def domain_id(self, domain_id):
|
244
|
+
r"""Sets the domain_id of this JobGroupResponseBodyResult.
|
245
|
+
|
246
|
+
租户id
|
247
|
+
|
248
|
+
:param domain_id: The domain_id of this JobGroupResponseBodyResult.
|
249
|
+
:type domain_id: str
|
250
|
+
"""
|
251
|
+
self._domain_id = domain_id
|
252
|
+
|
253
|
+
@property
|
254
|
+
def ordinal(self):
|
255
|
+
r"""Gets the ordinal of this JobGroupResponseBodyResult.
|
256
|
+
|
257
|
+
分组的index
|
258
|
+
|
259
|
+
:return: The ordinal of this JobGroupResponseBodyResult.
|
260
|
+
:rtype: str
|
261
|
+
"""
|
262
|
+
return self._ordinal
|
263
|
+
|
264
|
+
@ordinal.setter
|
265
|
+
def ordinal(self, ordinal):
|
266
|
+
r"""Sets the ordinal of this JobGroupResponseBodyResult.
|
267
|
+
|
268
|
+
分组的index
|
269
|
+
|
270
|
+
:param ordinal: The ordinal of this JobGroupResponseBodyResult.
|
271
|
+
:type ordinal: str
|
272
|
+
"""
|
273
|
+
self._ordinal = ordinal
|
274
|
+
|
275
|
+
@property
|
276
|
+
def create_user(self):
|
277
|
+
r"""Gets the create_user of this JobGroupResponseBodyResult.
|
278
|
+
|
279
|
+
创建者
|
280
|
+
|
281
|
+
:return: The create_user of this JobGroupResponseBodyResult.
|
282
|
+
:rtype: str
|
283
|
+
"""
|
284
|
+
return self._create_user
|
285
|
+
|
286
|
+
@create_user.setter
|
287
|
+
def create_user(self, create_user):
|
288
|
+
r"""Sets the create_user of this JobGroupResponseBodyResult.
|
289
|
+
|
290
|
+
创建者
|
291
|
+
|
292
|
+
:param create_user: The create_user of this JobGroupResponseBodyResult.
|
293
|
+
:type create_user: str
|
294
|
+
"""
|
295
|
+
self._create_user = create_user
|
296
|
+
|
297
|
+
@property
|
298
|
+
def update_user(self):
|
299
|
+
r"""Gets the update_user of this JobGroupResponseBodyResult.
|
300
|
+
|
301
|
+
修改者
|
302
|
+
|
303
|
+
:return: The update_user of this JobGroupResponseBodyResult.
|
304
|
+
:rtype: str
|
305
|
+
"""
|
306
|
+
return self._update_user
|
307
|
+
|
308
|
+
@update_user.setter
|
309
|
+
def update_user(self, update_user):
|
310
|
+
r"""Sets the update_user of this JobGroupResponseBodyResult.
|
311
|
+
|
312
|
+
修改者
|
313
|
+
|
314
|
+
:param update_user: The update_user of this JobGroupResponseBodyResult.
|
315
|
+
:type update_user: str
|
316
|
+
"""
|
317
|
+
self._update_user = update_user
|
318
|
+
|
319
|
+
@property
|
320
|
+
def create_time(self):
|
321
|
+
r"""Gets the create_time of this JobGroupResponseBodyResult.
|
322
|
+
|
323
|
+
创建时间
|
324
|
+
|
325
|
+
:return: The create_time of this JobGroupResponseBodyResult.
|
326
|
+
:rtype: str
|
327
|
+
"""
|
328
|
+
return self._create_time
|
329
|
+
|
330
|
+
@create_time.setter
|
331
|
+
def create_time(self, create_time):
|
332
|
+
r"""Sets the create_time of this JobGroupResponseBodyResult.
|
333
|
+
|
334
|
+
创建时间
|
335
|
+
|
336
|
+
:param create_time: The create_time of this JobGroupResponseBodyResult.
|
337
|
+
:type create_time: str
|
338
|
+
"""
|
339
|
+
self._create_time = create_time
|
340
|
+
|
341
|
+
@property
|
342
|
+
def update_time(self):
|
343
|
+
r"""Gets the update_time of this JobGroupResponseBodyResult.
|
344
|
+
|
345
|
+
修改时间
|
346
|
+
|
347
|
+
:return: The update_time of this JobGroupResponseBodyResult.
|
348
|
+
:rtype: str
|
349
|
+
"""
|
350
|
+
return self._update_time
|
351
|
+
|
352
|
+
@update_time.setter
|
353
|
+
def update_time(self, update_time):
|
354
|
+
r"""Sets the update_time of this JobGroupResponseBodyResult.
|
355
|
+
|
356
|
+
修改时间
|
357
|
+
|
358
|
+
:param update_time: The update_time of this JobGroupResponseBodyResult.
|
359
|
+
:type update_time: str
|
360
|
+
"""
|
361
|
+
self._update_time = update_time
|
362
|
+
|
363
|
+
@property
|
364
|
+
def path_id(self):
|
365
|
+
r"""Gets the path_id of this JobGroupResponseBodyResult.
|
366
|
+
|
367
|
+
分组地址id
|
368
|
+
|
369
|
+
:return: The path_id of this JobGroupResponseBodyResult.
|
370
|
+
:rtype: str
|
371
|
+
"""
|
372
|
+
return self._path_id
|
373
|
+
|
374
|
+
@path_id.setter
|
375
|
+
def path_id(self, path_id):
|
376
|
+
r"""Sets the path_id of this JobGroupResponseBodyResult.
|
377
|
+
|
378
|
+
分组地址id
|
379
|
+
|
380
|
+
:param path_id: The path_id of this JobGroupResponseBodyResult.
|
381
|
+
:type path_id: str
|
382
|
+
"""
|
383
|
+
self._path_id = path_id
|
384
|
+
|
385
|
+
def to_dict(self):
|
386
|
+
"""Returns the model properties as a dict"""
|
387
|
+
result = {}
|
388
|
+
|
389
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
390
|
+
value = getattr(self, attr)
|
391
|
+
if isinstance(value, list):
|
392
|
+
result[attr] = list(map(
|
393
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
394
|
+
value
|
395
|
+
))
|
396
|
+
elif hasattr(value, "to_dict"):
|
397
|
+
result[attr] = value.to_dict()
|
398
|
+
elif isinstance(value, dict):
|
399
|
+
result[attr] = dict(map(
|
400
|
+
lambda item: (item[0], item[1].to_dict())
|
401
|
+
if hasattr(item[1], "to_dict") else item,
|
402
|
+
value.items()
|
403
|
+
))
|
404
|
+
else:
|
405
|
+
if attr in self.sensitive_list:
|
406
|
+
result[attr] = "****"
|
407
|
+
else:
|
408
|
+
result[attr] = value
|
409
|
+
|
410
|
+
return result
|
411
|
+
|
412
|
+
def to_str(self):
|
413
|
+
"""Returns the string representation of the model"""
|
414
|
+
import simplejson as json
|
415
|
+
if six.PY2:
|
416
|
+
import sys
|
417
|
+
reload(sys)
|
418
|
+
sys.setdefaultencoding("utf-8")
|
419
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
420
|
+
|
421
|
+
def __repr__(self):
|
422
|
+
"""For `print`"""
|
423
|
+
return self.to_str()
|
424
|
+
|
425
|
+
def __eq__(self, other):
|
426
|
+
"""Returns true if both objects are equal"""
|
427
|
+
if not isinstance(other, JobGroupResponseBodyResult):
|
428
|
+
return False
|
429
|
+
|
430
|
+
return self.__dict__ == other.__dict__
|
431
|
+
|
432
|
+
def __ne__(self, other):
|
433
|
+
"""Returns true if both objects are not equal"""
|
434
|
+
return not self == other
|