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,114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowJobRolePermissionRequest:
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
+ 'job_id': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'job_id': 'job_id'
25
+ }
26
+
27
+ def __init__(self, job_id=None):
28
+ r"""ShowJobRolePermissionRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param job_id: 构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
33
+ :type job_id: str
34
+ """
35
+
36
+
37
+
38
+ self._job_id = None
39
+ self.discriminator = None
40
+
41
+ self.job_id = job_id
42
+
43
+ @property
44
+ def job_id(self):
45
+ r"""Gets the job_id of this ShowJobRolePermissionRequest.
46
+
47
+ 构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
48
+
49
+ :return: The job_id of this ShowJobRolePermissionRequest.
50
+ :rtype: str
51
+ """
52
+ return self._job_id
53
+
54
+ @job_id.setter
55
+ def job_id(self, job_id):
56
+ r"""Sets the job_id of this ShowJobRolePermissionRequest.
57
+
58
+ 构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
59
+
60
+ :param job_id: The job_id of this ShowJobRolePermissionRequest.
61
+ :type job_id: str
62
+ """
63
+ self._job_id = job_id
64
+
65
+ def to_dict(self):
66
+ """Returns the model properties as a dict"""
67
+ result = {}
68
+
69
+ for attr, _ in six.iteritems(self.openapi_types):
70
+ value = getattr(self, attr)
71
+ if isinstance(value, list):
72
+ result[attr] = list(map(
73
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
+ value
75
+ ))
76
+ elif hasattr(value, "to_dict"):
77
+ result[attr] = value.to_dict()
78
+ elif isinstance(value, dict):
79
+ result[attr] = dict(map(
80
+ lambda item: (item[0], item[1].to_dict())
81
+ if hasattr(item[1], "to_dict") else item,
82
+ value.items()
83
+ ))
84
+ else:
85
+ if attr in self.sensitive_list:
86
+ result[attr] = "****"
87
+ else:
88
+ result[attr] = value
89
+
90
+ return result
91
+
92
+ def to_str(self):
93
+ """Returns the string representation of the model"""
94
+ import simplejson as json
95
+ if six.PY2:
96
+ import sys
97
+ reload(sys)
98
+ sys.setdefaultencoding("utf-8")
99
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
+
101
+ def __repr__(self):
102
+ """For `print`"""
103
+ return self.to_str()
104
+
105
+ def __eq__(self, other):
106
+ """Returns true if both objects are equal"""
107
+ if not isinstance(other, ShowJobRolePermissionRequest):
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ """Returns true if both objects are not equal"""
114
+ return not self == other
@@ -0,0 +1,145 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowJobRolePermissionResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'result': 'list[ShowJobRolePermissionResult]',
22
+ 'status': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'result': 'result',
27
+ 'status': 'status'
28
+ }
29
+
30
+ def __init__(self, result=None, status=None):
31
+ r"""ShowJobRolePermissionResponse
32
+
33
+ The model defined in huaweicloud sdk
34
+
35
+ :param result: 结果
36
+ :type result: list[:class:`huaweicloudsdkcodeartsbuild.v3.ShowJobRolePermissionResult`]
37
+ :param status: 返回状态信息
38
+ :type status: str
39
+ """
40
+
41
+ super(ShowJobRolePermissionResponse, self).__init__()
42
+
43
+ self._result = None
44
+ self._status = None
45
+ self.discriminator = None
46
+
47
+ if result is not None:
48
+ self.result = result
49
+ if status is not None:
50
+ self.status = status
51
+
52
+ @property
53
+ def result(self):
54
+ r"""Gets the result of this ShowJobRolePermissionResponse.
55
+
56
+ 结果
57
+
58
+ :return: The result of this ShowJobRolePermissionResponse.
59
+ :rtype: list[:class:`huaweicloudsdkcodeartsbuild.v3.ShowJobRolePermissionResult`]
60
+ """
61
+ return self._result
62
+
63
+ @result.setter
64
+ def result(self, result):
65
+ r"""Sets the result of this ShowJobRolePermissionResponse.
66
+
67
+ 结果
68
+
69
+ :param result: The result of this ShowJobRolePermissionResponse.
70
+ :type result: list[:class:`huaweicloudsdkcodeartsbuild.v3.ShowJobRolePermissionResult`]
71
+ """
72
+ self._result = result
73
+
74
+ @property
75
+ def status(self):
76
+ r"""Gets the status of this ShowJobRolePermissionResponse.
77
+
78
+ 返回状态信息
79
+
80
+ :return: The status of this ShowJobRolePermissionResponse.
81
+ :rtype: str
82
+ """
83
+ return self._status
84
+
85
+ @status.setter
86
+ def status(self, status):
87
+ r"""Sets the status of this ShowJobRolePermissionResponse.
88
+
89
+ 返回状态信息
90
+
91
+ :param status: The status of this ShowJobRolePermissionResponse.
92
+ :type status: str
93
+ """
94
+ self._status = status
95
+
96
+ def to_dict(self):
97
+ """Returns the model properties as a dict"""
98
+ result = {}
99
+
100
+ for attr, _ in six.iteritems(self.openapi_types):
101
+ value = getattr(self, attr)
102
+ if isinstance(value, list):
103
+ result[attr] = list(map(
104
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
105
+ value
106
+ ))
107
+ elif hasattr(value, "to_dict"):
108
+ result[attr] = value.to_dict()
109
+ elif isinstance(value, dict):
110
+ result[attr] = dict(map(
111
+ lambda item: (item[0], item[1].to_dict())
112
+ if hasattr(item[1], "to_dict") else item,
113
+ value.items()
114
+ ))
115
+ else:
116
+ if attr in self.sensitive_list:
117
+ result[attr] = "****"
118
+ else:
119
+ result[attr] = value
120
+
121
+ return result
122
+
123
+ def to_str(self):
124
+ """Returns the string representation of the model"""
125
+ import simplejson as json
126
+ if six.PY2:
127
+ import sys
128
+ reload(sys)
129
+ sys.setdefaultencoding("utf-8")
130
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
131
+
132
+ def __repr__(self):
133
+ """For `print`"""
134
+ return self.to_str()
135
+
136
+ def __eq__(self, other):
137
+ """Returns true if both objects are equal"""
138
+ if not isinstance(other, ShowJobRolePermissionResponse):
139
+ return False
140
+
141
+ return self.__dict__ == other.__dict__
142
+
143
+ def __ne__(self, other):
144
+ """Returns true if both objects are not equal"""
145
+ return not self == other