huaweicloudsdkcodeartsbuild 3.1.150__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.
- huaweicloudsdkcodeartsbuild/v3/__init__.py +90 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +2659 -652
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +2659 -652
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +90 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_response_body.py +347 -0
- huaweicloudsdkcodeartsbuild/v3/model/build_parameter.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/check_job_count_is_top_limit_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/check_job_count_is_top_limit_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/check_job_name_is_exists_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/check_job_name_is_exists_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_junit_coverage_zip_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_junit_coverage_zip_response.py +85 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_keystore_by_name_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_keystore_by_name_response.py +85 -0
- huaweicloudsdkcodeartsbuild/v3/model/is_disable_result.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_status_body.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_summary.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_summary_body_result.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_update_record_list_vo_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_update_record_list_vo_result_job_update_records.py +289 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_parameter_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_build_parameter_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_custom_template_request.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_custom_template_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_job_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_job_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_job_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_job_result_job_list.py +1217 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_junit_coverage_summary_result_unit_summary_list.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result_keystore_list.py +517 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_keystore_search_response_body_result_permission.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_records_request.py +317 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_records_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_records_result.py +140 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_records_result_pagination.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_related_project_info_request.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_related_project_info_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_related_project_info_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_related_project_info_result_project_info_list.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_repo_branch_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_repo_branch_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_repository_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_repository_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_update_job_history_request.py +172 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_update_job_history_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/query_custom_templates_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/repositories_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_info_record_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_info_record_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_flow_graph_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_record_flow_graph_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_copy_name_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_copy_name_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_default_build_parameters_params.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_default_build_parameters_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_default_build_parameters_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_default_build_parameters_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_default_project_permission_response_body_result.py +347 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_disable_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_disable_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_dockerfile_template_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_dockerfile_template_response.py +85 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_record_detail_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_build_record_detail_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_notice_config_info_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_notice_config_info_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_step_status_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_step_status_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_total_request.py +172 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_total_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_keystore_permission_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_keystore_permission_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_keystore_permission_response_body_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_related_project_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_related_project_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_related_project_result.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_related_project_result_project_info_list.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_summary_build_job_info_request.py +84 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_summary_build_job_info_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_result.py +173 -0
- huaweicloudsdkcodeartsbuild/v3/model/total_response_body_result.py +115 -0
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/RECORD +99 -9
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.152.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,174 @@
|
|
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 ShowDefaultProjectPermissionResponse(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[ShowDefaultProjectPermissionResponseBodyResult]',
|
22
|
+
'error': 'str',
|
23
|
+
'status': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'result': 'result',
|
28
|
+
'error': 'error',
|
29
|
+
'status': 'status'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, result=None, error=None, status=None):
|
33
|
+
r"""ShowDefaultProjectPermissionResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param result: 返回结果
|
38
|
+
:type result: list[:class:`huaweicloudsdkcodeartsbuild.v3.ShowDefaultProjectPermissionResponseBodyResult`]
|
39
|
+
:param error: 返回错误信息
|
40
|
+
:type error: str
|
41
|
+
:param status: 返回状态信息
|
42
|
+
:type status: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(ShowDefaultProjectPermissionResponse, self).__init__()
|
46
|
+
|
47
|
+
self._result = None
|
48
|
+
self._error = None
|
49
|
+
self._status = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if result is not None:
|
53
|
+
self.result = result
|
54
|
+
if error is not None:
|
55
|
+
self.error = error
|
56
|
+
if status is not None:
|
57
|
+
self.status = status
|
58
|
+
|
59
|
+
@property
|
60
|
+
def result(self):
|
61
|
+
r"""Gets the result of this ShowDefaultProjectPermissionResponse.
|
62
|
+
|
63
|
+
返回结果
|
64
|
+
|
65
|
+
:return: The result of this ShowDefaultProjectPermissionResponse.
|
66
|
+
:rtype: list[:class:`huaweicloudsdkcodeartsbuild.v3.ShowDefaultProjectPermissionResponseBodyResult`]
|
67
|
+
"""
|
68
|
+
return self._result
|
69
|
+
|
70
|
+
@result.setter
|
71
|
+
def result(self, result):
|
72
|
+
r"""Sets the result of this ShowDefaultProjectPermissionResponse.
|
73
|
+
|
74
|
+
返回结果
|
75
|
+
|
76
|
+
:param result: The result of this ShowDefaultProjectPermissionResponse.
|
77
|
+
:type result: list[:class:`huaweicloudsdkcodeartsbuild.v3.ShowDefaultProjectPermissionResponseBodyResult`]
|
78
|
+
"""
|
79
|
+
self._result = result
|
80
|
+
|
81
|
+
@property
|
82
|
+
def error(self):
|
83
|
+
r"""Gets the error of this ShowDefaultProjectPermissionResponse.
|
84
|
+
|
85
|
+
返回错误信息
|
86
|
+
|
87
|
+
:return: The error of this ShowDefaultProjectPermissionResponse.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._error
|
91
|
+
|
92
|
+
@error.setter
|
93
|
+
def error(self, error):
|
94
|
+
r"""Sets the error of this ShowDefaultProjectPermissionResponse.
|
95
|
+
|
96
|
+
返回错误信息
|
97
|
+
|
98
|
+
:param error: The error of this ShowDefaultProjectPermissionResponse.
|
99
|
+
:type error: str
|
100
|
+
"""
|
101
|
+
self._error = error
|
102
|
+
|
103
|
+
@property
|
104
|
+
def status(self):
|
105
|
+
r"""Gets the status of this ShowDefaultProjectPermissionResponse.
|
106
|
+
|
107
|
+
返回状态信息
|
108
|
+
|
109
|
+
:return: The status of this ShowDefaultProjectPermissionResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._status
|
113
|
+
|
114
|
+
@status.setter
|
115
|
+
def status(self, status):
|
116
|
+
r"""Sets the status of this ShowDefaultProjectPermissionResponse.
|
117
|
+
|
118
|
+
返回状态信息
|
119
|
+
|
120
|
+
:param status: The status of this ShowDefaultProjectPermissionResponse.
|
121
|
+
:type status: str
|
122
|
+
"""
|
123
|
+
self._status = status
|
124
|
+
|
125
|
+
def to_dict(self):
|
126
|
+
"""Returns the model properties as a dict"""
|
127
|
+
result = {}
|
128
|
+
|
129
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
130
|
+
value = getattr(self, attr)
|
131
|
+
if isinstance(value, list):
|
132
|
+
result[attr] = list(map(
|
133
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
134
|
+
value
|
135
|
+
))
|
136
|
+
elif hasattr(value, "to_dict"):
|
137
|
+
result[attr] = value.to_dict()
|
138
|
+
elif isinstance(value, dict):
|
139
|
+
result[attr] = dict(map(
|
140
|
+
lambda item: (item[0], item[1].to_dict())
|
141
|
+
if hasattr(item[1], "to_dict") else item,
|
142
|
+
value.items()
|
143
|
+
))
|
144
|
+
else:
|
145
|
+
if attr in self.sensitive_list:
|
146
|
+
result[attr] = "****"
|
147
|
+
else:
|
148
|
+
result[attr] = value
|
149
|
+
|
150
|
+
return result
|
151
|
+
|
152
|
+
def to_str(self):
|
153
|
+
"""Returns the string representation of the model"""
|
154
|
+
import simplejson as json
|
155
|
+
if six.PY2:
|
156
|
+
import sys
|
157
|
+
reload(sys)
|
158
|
+
sys.setdefaultencoding("utf-8")
|
159
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
160
|
+
|
161
|
+
def __repr__(self):
|
162
|
+
"""For `print`"""
|
163
|
+
return self.to_str()
|
164
|
+
|
165
|
+
def __eq__(self, other):
|
166
|
+
"""Returns true if both objects are equal"""
|
167
|
+
if not isinstance(other, ShowDefaultProjectPermissionResponse):
|
168
|
+
return False
|
169
|
+
|
170
|
+
return self.__dict__ == other.__dict__
|
171
|
+
|
172
|
+
def __ne__(self, other):
|
173
|
+
"""Returns true if both objects are not equal"""
|
174
|
+
return not self == other
|
@@ -0,0 +1,347 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowDefaultProjectPermissionResponseBodyResult:
|
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
|
+
'role_id': 'int',
|
21
|
+
'role_name': 'str',
|
22
|
+
'is_copy': 'bool',
|
23
|
+
'is_delete': 'bool',
|
24
|
+
'is_execute': 'bool',
|
25
|
+
'is_forbidden': 'bool',
|
26
|
+
'is_manager': 'bool',
|
27
|
+
'is_modify': 'bool',
|
28
|
+
'is_view': 'bool'
|
29
|
+
}
|
30
|
+
|
31
|
+
attribute_map = {
|
32
|
+
'role_id': 'role_id',
|
33
|
+
'role_name': 'role_name',
|
34
|
+
'is_copy': 'is_copy',
|
35
|
+
'is_delete': 'is_delete',
|
36
|
+
'is_execute': 'is_execute',
|
37
|
+
'is_forbidden': 'is_forbidden',
|
38
|
+
'is_manager': 'is_manager',
|
39
|
+
'is_modify': 'is_modify',
|
40
|
+
'is_view': 'is_view'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, role_id=None, role_name=None, is_copy=None, is_delete=None, is_execute=None, is_forbidden=None, is_manager=None, is_modify=None, is_view=None):
|
44
|
+
r"""ShowDefaultProjectPermissionResponseBodyResult
|
45
|
+
|
46
|
+
The model defined in huaweicloud sdk
|
47
|
+
|
48
|
+
:param role_id: 角色ID
|
49
|
+
:type role_id: int
|
50
|
+
:param role_name: 角色名
|
51
|
+
:type role_name: str
|
52
|
+
:param is_copy: 是否有复制任务权限
|
53
|
+
:type is_copy: bool
|
54
|
+
:param is_delete: 是否有删除任务权限
|
55
|
+
:type is_delete: bool
|
56
|
+
:param is_execute: 是否有执行任务权限
|
57
|
+
:type is_execute: bool
|
58
|
+
:param is_forbidden: 是否有禁用任务权限
|
59
|
+
:type is_forbidden: bool
|
60
|
+
:param is_manager: 是否有管理任务权限
|
61
|
+
:type is_manager: bool
|
62
|
+
:param is_modify: 是否有修改任务权限
|
63
|
+
:type is_modify: bool
|
64
|
+
:param is_view: 是否有查看任务权限
|
65
|
+
:type is_view: bool
|
66
|
+
"""
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
self._role_id = None
|
71
|
+
self._role_name = None
|
72
|
+
self._is_copy = None
|
73
|
+
self._is_delete = None
|
74
|
+
self._is_execute = None
|
75
|
+
self._is_forbidden = None
|
76
|
+
self._is_manager = None
|
77
|
+
self._is_modify = None
|
78
|
+
self._is_view = None
|
79
|
+
self.discriminator = None
|
80
|
+
|
81
|
+
if role_id is not None:
|
82
|
+
self.role_id = role_id
|
83
|
+
if role_name is not None:
|
84
|
+
self.role_name = role_name
|
85
|
+
if is_copy is not None:
|
86
|
+
self.is_copy = is_copy
|
87
|
+
if is_delete is not None:
|
88
|
+
self.is_delete = is_delete
|
89
|
+
if is_execute is not None:
|
90
|
+
self.is_execute = is_execute
|
91
|
+
if is_forbidden is not None:
|
92
|
+
self.is_forbidden = is_forbidden
|
93
|
+
if is_manager is not None:
|
94
|
+
self.is_manager = is_manager
|
95
|
+
if is_modify is not None:
|
96
|
+
self.is_modify = is_modify
|
97
|
+
if is_view is not None:
|
98
|
+
self.is_view = is_view
|
99
|
+
|
100
|
+
@property
|
101
|
+
def role_id(self):
|
102
|
+
r"""Gets the role_id of this ShowDefaultProjectPermissionResponseBodyResult.
|
103
|
+
|
104
|
+
角色ID
|
105
|
+
|
106
|
+
:return: The role_id of this ShowDefaultProjectPermissionResponseBodyResult.
|
107
|
+
:rtype: int
|
108
|
+
"""
|
109
|
+
return self._role_id
|
110
|
+
|
111
|
+
@role_id.setter
|
112
|
+
def role_id(self, role_id):
|
113
|
+
r"""Sets the role_id of this ShowDefaultProjectPermissionResponseBodyResult.
|
114
|
+
|
115
|
+
角色ID
|
116
|
+
|
117
|
+
:param role_id: The role_id of this ShowDefaultProjectPermissionResponseBodyResult.
|
118
|
+
:type role_id: int
|
119
|
+
"""
|
120
|
+
self._role_id = role_id
|
121
|
+
|
122
|
+
@property
|
123
|
+
def role_name(self):
|
124
|
+
r"""Gets the role_name of this ShowDefaultProjectPermissionResponseBodyResult.
|
125
|
+
|
126
|
+
角色名
|
127
|
+
|
128
|
+
:return: The role_name of this ShowDefaultProjectPermissionResponseBodyResult.
|
129
|
+
:rtype: str
|
130
|
+
"""
|
131
|
+
return self._role_name
|
132
|
+
|
133
|
+
@role_name.setter
|
134
|
+
def role_name(self, role_name):
|
135
|
+
r"""Sets the role_name of this ShowDefaultProjectPermissionResponseBodyResult.
|
136
|
+
|
137
|
+
角色名
|
138
|
+
|
139
|
+
:param role_name: The role_name of this ShowDefaultProjectPermissionResponseBodyResult.
|
140
|
+
:type role_name: str
|
141
|
+
"""
|
142
|
+
self._role_name = role_name
|
143
|
+
|
144
|
+
@property
|
145
|
+
def is_copy(self):
|
146
|
+
r"""Gets the is_copy of this ShowDefaultProjectPermissionResponseBodyResult.
|
147
|
+
|
148
|
+
是否有复制任务权限
|
149
|
+
|
150
|
+
:return: The is_copy of this ShowDefaultProjectPermissionResponseBodyResult.
|
151
|
+
:rtype: bool
|
152
|
+
"""
|
153
|
+
return self._is_copy
|
154
|
+
|
155
|
+
@is_copy.setter
|
156
|
+
def is_copy(self, is_copy):
|
157
|
+
r"""Sets the is_copy of this ShowDefaultProjectPermissionResponseBodyResult.
|
158
|
+
|
159
|
+
是否有复制任务权限
|
160
|
+
|
161
|
+
:param is_copy: The is_copy of this ShowDefaultProjectPermissionResponseBodyResult.
|
162
|
+
:type is_copy: bool
|
163
|
+
"""
|
164
|
+
self._is_copy = is_copy
|
165
|
+
|
166
|
+
@property
|
167
|
+
def is_delete(self):
|
168
|
+
r"""Gets the is_delete of this ShowDefaultProjectPermissionResponseBodyResult.
|
169
|
+
|
170
|
+
是否有删除任务权限
|
171
|
+
|
172
|
+
:return: The is_delete of this ShowDefaultProjectPermissionResponseBodyResult.
|
173
|
+
:rtype: bool
|
174
|
+
"""
|
175
|
+
return self._is_delete
|
176
|
+
|
177
|
+
@is_delete.setter
|
178
|
+
def is_delete(self, is_delete):
|
179
|
+
r"""Sets the is_delete of this ShowDefaultProjectPermissionResponseBodyResult.
|
180
|
+
|
181
|
+
是否有删除任务权限
|
182
|
+
|
183
|
+
:param is_delete: The is_delete of this ShowDefaultProjectPermissionResponseBodyResult.
|
184
|
+
:type is_delete: bool
|
185
|
+
"""
|
186
|
+
self._is_delete = is_delete
|
187
|
+
|
188
|
+
@property
|
189
|
+
def is_execute(self):
|
190
|
+
r"""Gets the is_execute of this ShowDefaultProjectPermissionResponseBodyResult.
|
191
|
+
|
192
|
+
是否有执行任务权限
|
193
|
+
|
194
|
+
:return: The is_execute of this ShowDefaultProjectPermissionResponseBodyResult.
|
195
|
+
:rtype: bool
|
196
|
+
"""
|
197
|
+
return self._is_execute
|
198
|
+
|
199
|
+
@is_execute.setter
|
200
|
+
def is_execute(self, is_execute):
|
201
|
+
r"""Sets the is_execute of this ShowDefaultProjectPermissionResponseBodyResult.
|
202
|
+
|
203
|
+
是否有执行任务权限
|
204
|
+
|
205
|
+
:param is_execute: The is_execute of this ShowDefaultProjectPermissionResponseBodyResult.
|
206
|
+
:type is_execute: bool
|
207
|
+
"""
|
208
|
+
self._is_execute = is_execute
|
209
|
+
|
210
|
+
@property
|
211
|
+
def is_forbidden(self):
|
212
|
+
r"""Gets the is_forbidden of this ShowDefaultProjectPermissionResponseBodyResult.
|
213
|
+
|
214
|
+
是否有禁用任务权限
|
215
|
+
|
216
|
+
:return: The is_forbidden of this ShowDefaultProjectPermissionResponseBodyResult.
|
217
|
+
:rtype: bool
|
218
|
+
"""
|
219
|
+
return self._is_forbidden
|
220
|
+
|
221
|
+
@is_forbidden.setter
|
222
|
+
def is_forbidden(self, is_forbidden):
|
223
|
+
r"""Sets the is_forbidden of this ShowDefaultProjectPermissionResponseBodyResult.
|
224
|
+
|
225
|
+
是否有禁用任务权限
|
226
|
+
|
227
|
+
:param is_forbidden: The is_forbidden of this ShowDefaultProjectPermissionResponseBodyResult.
|
228
|
+
:type is_forbidden: bool
|
229
|
+
"""
|
230
|
+
self._is_forbidden = is_forbidden
|
231
|
+
|
232
|
+
@property
|
233
|
+
def is_manager(self):
|
234
|
+
r"""Gets the is_manager of this ShowDefaultProjectPermissionResponseBodyResult.
|
235
|
+
|
236
|
+
是否有管理任务权限
|
237
|
+
|
238
|
+
:return: The is_manager of this ShowDefaultProjectPermissionResponseBodyResult.
|
239
|
+
:rtype: bool
|
240
|
+
"""
|
241
|
+
return self._is_manager
|
242
|
+
|
243
|
+
@is_manager.setter
|
244
|
+
def is_manager(self, is_manager):
|
245
|
+
r"""Sets the is_manager of this ShowDefaultProjectPermissionResponseBodyResult.
|
246
|
+
|
247
|
+
是否有管理任务权限
|
248
|
+
|
249
|
+
:param is_manager: The is_manager of this ShowDefaultProjectPermissionResponseBodyResult.
|
250
|
+
:type is_manager: bool
|
251
|
+
"""
|
252
|
+
self._is_manager = is_manager
|
253
|
+
|
254
|
+
@property
|
255
|
+
def is_modify(self):
|
256
|
+
r"""Gets the is_modify of this ShowDefaultProjectPermissionResponseBodyResult.
|
257
|
+
|
258
|
+
是否有修改任务权限
|
259
|
+
|
260
|
+
:return: The is_modify of this ShowDefaultProjectPermissionResponseBodyResult.
|
261
|
+
:rtype: bool
|
262
|
+
"""
|
263
|
+
return self._is_modify
|
264
|
+
|
265
|
+
@is_modify.setter
|
266
|
+
def is_modify(self, is_modify):
|
267
|
+
r"""Sets the is_modify of this ShowDefaultProjectPermissionResponseBodyResult.
|
268
|
+
|
269
|
+
是否有修改任务权限
|
270
|
+
|
271
|
+
:param is_modify: The is_modify of this ShowDefaultProjectPermissionResponseBodyResult.
|
272
|
+
:type is_modify: bool
|
273
|
+
"""
|
274
|
+
self._is_modify = is_modify
|
275
|
+
|
276
|
+
@property
|
277
|
+
def is_view(self):
|
278
|
+
r"""Gets the is_view of this ShowDefaultProjectPermissionResponseBodyResult.
|
279
|
+
|
280
|
+
是否有查看任务权限
|
281
|
+
|
282
|
+
:return: The is_view of this ShowDefaultProjectPermissionResponseBodyResult.
|
283
|
+
:rtype: bool
|
284
|
+
"""
|
285
|
+
return self._is_view
|
286
|
+
|
287
|
+
@is_view.setter
|
288
|
+
def is_view(self, is_view):
|
289
|
+
r"""Sets the is_view of this ShowDefaultProjectPermissionResponseBodyResult.
|
290
|
+
|
291
|
+
是否有查看任务权限
|
292
|
+
|
293
|
+
:param is_view: The is_view of this ShowDefaultProjectPermissionResponseBodyResult.
|
294
|
+
:type is_view: bool
|
295
|
+
"""
|
296
|
+
self._is_view = is_view
|
297
|
+
|
298
|
+
def to_dict(self):
|
299
|
+
"""Returns the model properties as a dict"""
|
300
|
+
result = {}
|
301
|
+
|
302
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
303
|
+
value = getattr(self, attr)
|
304
|
+
if isinstance(value, list):
|
305
|
+
result[attr] = list(map(
|
306
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
307
|
+
value
|
308
|
+
))
|
309
|
+
elif hasattr(value, "to_dict"):
|
310
|
+
result[attr] = value.to_dict()
|
311
|
+
elif isinstance(value, dict):
|
312
|
+
result[attr] = dict(map(
|
313
|
+
lambda item: (item[0], item[1].to_dict())
|
314
|
+
if hasattr(item[1], "to_dict") else item,
|
315
|
+
value.items()
|
316
|
+
))
|
317
|
+
else:
|
318
|
+
if attr in self.sensitive_list:
|
319
|
+
result[attr] = "****"
|
320
|
+
else:
|
321
|
+
result[attr] = value
|
322
|
+
|
323
|
+
return result
|
324
|
+
|
325
|
+
def to_str(self):
|
326
|
+
"""Returns the string representation of the model"""
|
327
|
+
import simplejson as json
|
328
|
+
if six.PY2:
|
329
|
+
import sys
|
330
|
+
reload(sys)
|
331
|
+
sys.setdefaultencoding("utf-8")
|
332
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
333
|
+
|
334
|
+
def __repr__(self):
|
335
|
+
"""For `print`"""
|
336
|
+
return self.to_str()
|
337
|
+
|
338
|
+
def __eq__(self, other):
|
339
|
+
"""Returns true if both objects are equal"""
|
340
|
+
if not isinstance(other, ShowDefaultProjectPermissionResponseBodyResult):
|
341
|
+
return False
|
342
|
+
|
343
|
+
return self.__dict__ == other.__dict__
|
344
|
+
|
345
|
+
def __ne__(self, other):
|
346
|
+
"""Returns true if both objects are not equal"""
|
347
|
+
return not self == other
|
@@ -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 ShowDisableRequest:
|
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"""ShowDisableRequest
|
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 ShowDisableRequest.
|
46
|
+
|
47
|
+
构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
48
|
+
|
49
|
+
:return: The job_id of this ShowDisableRequest.
|
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 ShowDisableRequest.
|
57
|
+
|
58
|
+
构建的任务ID; 编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。
|
59
|
+
|
60
|
+
:param job_id: The job_id of this ShowDisableRequest.
|
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, ShowDisableRequest):
|
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
|