huaweicloudsdkcodeartsbuild 3.1.149__py2.py3-none-any.whl → 3.1.150__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. huaweicloudsdkcodeartsbuild/v3/__init__.py +50 -0
  2. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +1120 -105
  3. huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +1120 -105
  4. huaweicloudsdkcodeartsbuild/v3/model/__init__.py +50 -0
  5. huaweicloudsdkcodeartsbuild/v3/model/build_params.py +173 -0
  6. huaweicloudsdkcodeartsbuild/v3/model/build_params_body_result.py +115 -0
  7. huaweicloudsdkcodeartsbuild/v3/model/build_record.py +981 -0
  8. huaweicloudsdkcodeartsbuild/v3/model/build_record_build_record_type.py +202 -0
  9. huaweicloudsdkcodeartsbuild/v3/model/build_record_parameters.py +202 -0
  10. huaweicloudsdkcodeartsbuild/v3/model/constraints.py +173 -0
  11. huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_request.py +228 -0
  12. huaweicloudsdkcodeartsbuild/v3/model/list_build_info_record_by_job_id_response.py +170 -0
  13. huaweicloudsdkcodeartsbuild/v3/model/list_official_template_request.py +173 -0
  14. huaweicloudsdkcodeartsbuild/v3/model/list_official_template_response.py +170 -0
  15. huaweicloudsdkcodeartsbuild/v3/model/list_official_template_result.py +144 -0
  16. huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_request.py +373 -0
  17. huaweicloudsdkcodeartsbuild/v3/model/list_project_jobs_response.py +145 -0
  18. huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_request.py +173 -0
  19. huaweicloudsdkcodeartsbuild/v3/model/list_recycling_job_response.py +228 -0
  20. huaweicloudsdkcodeartsbuild/v3/model/parameter.py +144 -0
  21. huaweicloudsdkcodeartsbuild/v3/model/params.py +289 -0
  22. huaweicloudsdkcodeartsbuild/v3/model/recycling_job.py +347 -0
  23. huaweicloudsdkcodeartsbuild/v3/model/recycling_jobs_result.py +173 -0
  24. huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_request.py +84 -0
  25. huaweicloudsdkcodeartsbuild/v3/model/show_build_params_list_response.py +170 -0
  26. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_request.py +114 -0
  27. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_build_script_response.py +174 -0
  28. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_request.py +114 -0
  29. huaweicloudsdkcodeartsbuild/v3/model/show_build_record_response.py +170 -0
  30. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_request.py +84 -0
  31. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response.py +170 -0
  32. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result.py +115 -0
  33. huaweicloudsdkcodeartsbuild/v3/model/show_image_template_list_response_body_result_image_templates.py +318 -0
  34. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_request.py +199 -0
  35. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_response.py +141 -0
  36. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result.py +231 -0
  37. huaweicloudsdkcodeartsbuild/v3/model/show_job_build_time_result_chart.py +202 -0
  38. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_request.py +170 -0
  39. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_diff_response.py +145 -0
  40. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_request.py +143 -0
  41. huaweicloudsdkcodeartsbuild/v3/model/show_job_config_response.py +170 -0
  42. huaweicloudsdkcodeartsbuild/v3/model/show_job_info_request.py +114 -0
  43. huaweicloudsdkcodeartsbuild/v3/model/show_job_info_response.py +170 -0
  44. huaweicloudsdkcodeartsbuild/v3/model/show_job_info_result.py +724 -0
  45. huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_request.py +114 -0
  46. huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_response.py +145 -0
  47. huaweicloudsdkcodeartsbuild/v3/model/show_job_role_permission_result.py +492 -0
  48. huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_request.py +84 -0
  49. huaweicloudsdkcodeartsbuild/v3/model/show_job_system_parameters_response.py +174 -0
  50. huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_request.py +114 -0
  51. huaweicloudsdkcodeartsbuild/v3/model/show_project_permission_response.py +170 -0
  52. huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py +260 -0
  53. huaweicloudsdkcodeartsbuild/v3/model/system_parameters_result.py +173 -0
  54. huaweicloudsdkcodeartsbuild/v3/model/template_list.py +459 -0
  55. {huaweicloudsdkcodeartsbuild-3.1.149.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/METADATA +2 -2
  56. {huaweicloudsdkcodeartsbuild-3.1.149.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/RECORD +59 -9
  57. {huaweicloudsdkcodeartsbuild-3.1.149.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/LICENSE +0 -0
  58. {huaweicloudsdkcodeartsbuild-3.1.149.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/WHEEL +0 -0
  59. {huaweicloudsdkcodeartsbuild-3.1.149.dist-info → huaweicloudsdkcodeartsbuild-3.1.150.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,260 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowUserProjectPermissionResult:
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
+ 'project_id': 'str',
21
+ 'create_permission': 'bool',
22
+ 'modify_permission': 'bool',
23
+ 'group_permission': 'bool',
24
+ 'role_id': 'str',
25
+ 'role_name': 'str'
26
+ }
27
+
28
+ attribute_map = {
29
+ 'project_id': 'project_id',
30
+ 'create_permission': 'create_permission',
31
+ 'modify_permission': 'modify_permission',
32
+ 'group_permission': 'group_permission',
33
+ 'role_id': 'role_id',
34
+ 'role_name': 'role_name'
35
+ }
36
+
37
+ def __init__(self, project_id=None, create_permission=None, modify_permission=None, group_permission=None, role_id=None, role_name=None):
38
+ r"""ShowUserProjectPermissionResult
39
+
40
+ The model defined in huaweicloud sdk
41
+
42
+ :param project_id: 工程编号
43
+ :type project_id: str
44
+ :param create_permission: 用户是否有创建权限
45
+ :type create_permission: bool
46
+ :param modify_permission: 用户是否有修改权限
47
+ :type modify_permission: bool
48
+ :param group_permission: 用户是否有分类权限
49
+ :type group_permission: bool
50
+ :param role_id: 角色ID
51
+ :type role_id: str
52
+ :param role_name: 角色名
53
+ :type role_name: str
54
+ """
55
+
56
+
57
+
58
+ self._project_id = None
59
+ self._create_permission = None
60
+ self._modify_permission = None
61
+ self._group_permission = None
62
+ self._role_id = None
63
+ self._role_name = None
64
+ self.discriminator = None
65
+
66
+ if project_id is not None:
67
+ self.project_id = project_id
68
+ if create_permission is not None:
69
+ self.create_permission = create_permission
70
+ if modify_permission is not None:
71
+ self.modify_permission = modify_permission
72
+ if group_permission is not None:
73
+ self.group_permission = group_permission
74
+ if role_id is not None:
75
+ self.role_id = role_id
76
+ if role_name is not None:
77
+ self.role_name = role_name
78
+
79
+ @property
80
+ def project_id(self):
81
+ r"""Gets the project_id of this ShowUserProjectPermissionResult.
82
+
83
+ 工程编号
84
+
85
+ :return: The project_id of this ShowUserProjectPermissionResult.
86
+ :rtype: str
87
+ """
88
+ return self._project_id
89
+
90
+ @project_id.setter
91
+ def project_id(self, project_id):
92
+ r"""Sets the project_id of this ShowUserProjectPermissionResult.
93
+
94
+ 工程编号
95
+
96
+ :param project_id: The project_id of this ShowUserProjectPermissionResult.
97
+ :type project_id: str
98
+ """
99
+ self._project_id = project_id
100
+
101
+ @property
102
+ def create_permission(self):
103
+ r"""Gets the create_permission of this ShowUserProjectPermissionResult.
104
+
105
+ 用户是否有创建权限
106
+
107
+ :return: The create_permission of this ShowUserProjectPermissionResult.
108
+ :rtype: bool
109
+ """
110
+ return self._create_permission
111
+
112
+ @create_permission.setter
113
+ def create_permission(self, create_permission):
114
+ r"""Sets the create_permission of this ShowUserProjectPermissionResult.
115
+
116
+ 用户是否有创建权限
117
+
118
+ :param create_permission: The create_permission of this ShowUserProjectPermissionResult.
119
+ :type create_permission: bool
120
+ """
121
+ self._create_permission = create_permission
122
+
123
+ @property
124
+ def modify_permission(self):
125
+ r"""Gets the modify_permission of this ShowUserProjectPermissionResult.
126
+
127
+ 用户是否有修改权限
128
+
129
+ :return: The modify_permission of this ShowUserProjectPermissionResult.
130
+ :rtype: bool
131
+ """
132
+ return self._modify_permission
133
+
134
+ @modify_permission.setter
135
+ def modify_permission(self, modify_permission):
136
+ r"""Sets the modify_permission of this ShowUserProjectPermissionResult.
137
+
138
+ 用户是否有修改权限
139
+
140
+ :param modify_permission: The modify_permission of this ShowUserProjectPermissionResult.
141
+ :type modify_permission: bool
142
+ """
143
+ self._modify_permission = modify_permission
144
+
145
+ @property
146
+ def group_permission(self):
147
+ r"""Gets the group_permission of this ShowUserProjectPermissionResult.
148
+
149
+ 用户是否有分类权限
150
+
151
+ :return: The group_permission of this ShowUserProjectPermissionResult.
152
+ :rtype: bool
153
+ """
154
+ return self._group_permission
155
+
156
+ @group_permission.setter
157
+ def group_permission(self, group_permission):
158
+ r"""Sets the group_permission of this ShowUserProjectPermissionResult.
159
+
160
+ 用户是否有分类权限
161
+
162
+ :param group_permission: The group_permission of this ShowUserProjectPermissionResult.
163
+ :type group_permission: bool
164
+ """
165
+ self._group_permission = group_permission
166
+
167
+ @property
168
+ def role_id(self):
169
+ r"""Gets the role_id of this ShowUserProjectPermissionResult.
170
+
171
+ 角色ID
172
+
173
+ :return: The role_id of this ShowUserProjectPermissionResult.
174
+ :rtype: str
175
+ """
176
+ return self._role_id
177
+
178
+ @role_id.setter
179
+ def role_id(self, role_id):
180
+ r"""Sets the role_id of this ShowUserProjectPermissionResult.
181
+
182
+ 角色ID
183
+
184
+ :param role_id: The role_id of this ShowUserProjectPermissionResult.
185
+ :type role_id: str
186
+ """
187
+ self._role_id = role_id
188
+
189
+ @property
190
+ def role_name(self):
191
+ r"""Gets the role_name of this ShowUserProjectPermissionResult.
192
+
193
+ 角色名
194
+
195
+ :return: The role_name of this ShowUserProjectPermissionResult.
196
+ :rtype: str
197
+ """
198
+ return self._role_name
199
+
200
+ @role_name.setter
201
+ def role_name(self, role_name):
202
+ r"""Sets the role_name of this ShowUserProjectPermissionResult.
203
+
204
+ 角色名
205
+
206
+ :param role_name: The role_name of this ShowUserProjectPermissionResult.
207
+ :type role_name: str
208
+ """
209
+ self._role_name = role_name
210
+
211
+ def to_dict(self):
212
+ """Returns the model properties as a dict"""
213
+ result = {}
214
+
215
+ for attr, _ in six.iteritems(self.openapi_types):
216
+ value = getattr(self, attr)
217
+ if isinstance(value, list):
218
+ result[attr] = list(map(
219
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
220
+ value
221
+ ))
222
+ elif hasattr(value, "to_dict"):
223
+ result[attr] = value.to_dict()
224
+ elif isinstance(value, dict):
225
+ result[attr] = dict(map(
226
+ lambda item: (item[0], item[1].to_dict())
227
+ if hasattr(item[1], "to_dict") else item,
228
+ value.items()
229
+ ))
230
+ else:
231
+ if attr in self.sensitive_list:
232
+ result[attr] = "****"
233
+ else:
234
+ result[attr] = value
235
+
236
+ return result
237
+
238
+ def to_str(self):
239
+ """Returns the string representation of the model"""
240
+ import simplejson as json
241
+ if six.PY2:
242
+ import sys
243
+ reload(sys)
244
+ sys.setdefaultencoding("utf-8")
245
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
246
+
247
+ def __repr__(self):
248
+ """For `print`"""
249
+ return self.to_str()
250
+
251
+ def __eq__(self, other):
252
+ """Returns true if both objects are equal"""
253
+ if not isinstance(other, ShowUserProjectPermissionResult):
254
+ return False
255
+
256
+ return self.__dict__ == other.__dict__
257
+
258
+ def __ne__(self, other):
259
+ """Returns true if both objects are not equal"""
260
+ return not self == other
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class SystemParametersResult:
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': 'int',
21
+ 'parameter_name': 'str',
22
+ 'description': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'id': 'id',
27
+ 'parameter_name': 'parameter_name',
28
+ 'description': 'description'
29
+ }
30
+
31
+ def __init__(self, id=None, parameter_name=None, description=None):
32
+ r"""SystemParametersResult
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param id: 编号
37
+ :type id: int
38
+ :param parameter_name: 参数名称
39
+ :type parameter_name: str
40
+ :param description: 参数描述
41
+ :type description: str
42
+ """
43
+
44
+
45
+
46
+ self._id = None
47
+ self._parameter_name = None
48
+ self._description = None
49
+ self.discriminator = None
50
+
51
+ if id is not None:
52
+ self.id = id
53
+ if parameter_name is not None:
54
+ self.parameter_name = parameter_name
55
+ if description is not None:
56
+ self.description = description
57
+
58
+ @property
59
+ def id(self):
60
+ r"""Gets the id of this SystemParametersResult.
61
+
62
+ 编号
63
+
64
+ :return: The id of this SystemParametersResult.
65
+ :rtype: int
66
+ """
67
+ return self._id
68
+
69
+ @id.setter
70
+ def id(self, id):
71
+ r"""Sets the id of this SystemParametersResult.
72
+
73
+ 编号
74
+
75
+ :param id: The id of this SystemParametersResult.
76
+ :type id: int
77
+ """
78
+ self._id = id
79
+
80
+ @property
81
+ def parameter_name(self):
82
+ r"""Gets the parameter_name of this SystemParametersResult.
83
+
84
+ 参数名称
85
+
86
+ :return: The parameter_name of this SystemParametersResult.
87
+ :rtype: str
88
+ """
89
+ return self._parameter_name
90
+
91
+ @parameter_name.setter
92
+ def parameter_name(self, parameter_name):
93
+ r"""Sets the parameter_name of this SystemParametersResult.
94
+
95
+ 参数名称
96
+
97
+ :param parameter_name: The parameter_name of this SystemParametersResult.
98
+ :type parameter_name: str
99
+ """
100
+ self._parameter_name = parameter_name
101
+
102
+ @property
103
+ def description(self):
104
+ r"""Gets the description of this SystemParametersResult.
105
+
106
+ 参数描述
107
+
108
+ :return: The description of this SystemParametersResult.
109
+ :rtype: str
110
+ """
111
+ return self._description
112
+
113
+ @description.setter
114
+ def description(self, description):
115
+ r"""Sets the description of this SystemParametersResult.
116
+
117
+ 参数描述
118
+
119
+ :param description: The description of this SystemParametersResult.
120
+ :type description: str
121
+ """
122
+ self._description = description
123
+
124
+ def to_dict(self):
125
+ """Returns the model properties as a dict"""
126
+ result = {}
127
+
128
+ for attr, _ in six.iteritems(self.openapi_types):
129
+ value = getattr(self, attr)
130
+ if isinstance(value, list):
131
+ result[attr] = list(map(
132
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
133
+ value
134
+ ))
135
+ elif hasattr(value, "to_dict"):
136
+ result[attr] = value.to_dict()
137
+ elif isinstance(value, dict):
138
+ result[attr] = dict(map(
139
+ lambda item: (item[0], item[1].to_dict())
140
+ if hasattr(item[1], "to_dict") else item,
141
+ value.items()
142
+ ))
143
+ else:
144
+ if attr in self.sensitive_list:
145
+ result[attr] = "****"
146
+ else:
147
+ result[attr] = value
148
+
149
+ return result
150
+
151
+ def to_str(self):
152
+ """Returns the string representation of the model"""
153
+ import simplejson as json
154
+ if six.PY2:
155
+ import sys
156
+ reload(sys)
157
+ sys.setdefaultencoding("utf-8")
158
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
159
+
160
+ def __repr__(self):
161
+ """For `print`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, SystemParametersResult):
167
+ return False
168
+
169
+ return self.__dict__ == other.__dict__
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ return not self == other