huaweicloudsdkcodeartsbuild 3.1.150__py2.py3-none-any.whl → 3.1.151__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 +33 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +802 -60
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +802 -60
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +33 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_response_body.py +347 -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_keystore_by_name_request.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/download_keystore_by_name_response.py +85 -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_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/show_build_info_record_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_build_info_record_response.py +170 -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_dockerfile_template_request.py +114 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_dockerfile_template_response.py +85 -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_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-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.151.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.151.dist-info}/RECORD +42 -9
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.151.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.151.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.150.dist-info → huaweicloudsdkcodeartsbuild-3.1.151.dist-info}/top_level.txt +0 -0
@@ -3,6 +3,7 @@
|
|
3
3
|
from __future__ import absolute_import
|
4
4
|
|
5
5
|
# import models into model package
|
6
|
+
from huaweicloudsdkcodeartsbuild.v3.model.add_keystore_permission_response_body import AddKeystorePermissionResponseBody
|
6
7
|
from huaweicloudsdkcodeartsbuild.v3.model.build_info_record import BuildInfoRecord
|
7
8
|
from huaweicloudsdkcodeartsbuild.v3.model.build_info_record_commit_info import BuildInfoRecordCommitInfo
|
8
9
|
from huaweicloudsdkcodeartsbuild.v3.model.build_params import BuildParams
|
@@ -12,6 +13,8 @@ from huaweicloudsdkcodeartsbuild.v3.model.build_record_build_record_type import
|
|
12
13
|
from huaweicloudsdkcodeartsbuild.v3.model.build_record_parameters import BuildRecordParameters
|
13
14
|
from huaweicloudsdkcodeartsbuild.v3.model.build_stage_record import BuildStageRecord
|
14
15
|
from huaweicloudsdkcodeartsbuild.v3.model.build_step import BuildStep
|
16
|
+
from huaweicloudsdkcodeartsbuild.v3.model.check_job_name_is_exists_request import CheckJobNameIsExistsRequest
|
17
|
+
from huaweicloudsdkcodeartsbuild.v3.model.check_job_name_is_exists_response import CheckJobNameIsExistsResponse
|
15
18
|
from huaweicloudsdkcodeartsbuild.v3.model.constraints import Constraints
|
16
19
|
from huaweicloudsdkcodeartsbuild.v3.model.create_build_job_parameter import CreateBuildJobParameter
|
17
20
|
from huaweicloudsdkcodeartsbuild.v3.model.create_build_job_parameter_param import CreateBuildJobParameterParam
|
@@ -38,6 +41,8 @@ from huaweicloudsdkcodeartsbuild.v3.model.disable_notice_request import DisableN
|
|
38
41
|
from huaweicloudsdkcodeartsbuild.v3.model.disable_notice_response import DisableNoticeResponse
|
39
42
|
from huaweicloudsdkcodeartsbuild.v3.model.download_build_log_request import DownloadBuildLogRequest
|
40
43
|
from huaweicloudsdkcodeartsbuild.v3.model.download_build_log_response import DownloadBuildLogResponse
|
44
|
+
from huaweicloudsdkcodeartsbuild.v3.model.download_keystore_by_name_request import DownloadKeystoreByNameRequest
|
45
|
+
from huaweicloudsdkcodeartsbuild.v3.model.download_keystore_by_name_response import DownloadKeystoreByNameResponse
|
41
46
|
from huaweicloudsdkcodeartsbuild.v3.model.download_keystore_request import DownloadKeystoreRequest
|
42
47
|
from huaweicloudsdkcodeartsbuild.v3.model.download_keystore_response import DownloadKeystoreResponse
|
43
48
|
from huaweicloudsdkcodeartsbuild.v3.model.download_log_by_record_id_request import DownloadLogByRecordIdRequest
|
@@ -62,6 +67,9 @@ from huaweicloudsdkcodeartsbuild.v3.model.list_build_info_record_request import
|
|
62
67
|
from huaweicloudsdkcodeartsbuild.v3.model.list_build_info_record_response import ListBuildInfoRecordResponse
|
63
68
|
from huaweicloudsdkcodeartsbuild.v3.model.list_job_config_request import ListJobConfigRequest
|
64
69
|
from huaweicloudsdkcodeartsbuild.v3.model.list_job_config_response import ListJobConfigResponse
|
70
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_keystore_request import ListKeystoreRequest
|
71
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_keystore_response import ListKeystoreResponse
|
72
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_keystore_result import ListKeystoreResult
|
65
73
|
from huaweicloudsdkcodeartsbuild.v3.model.list_notice_request import ListNoticeRequest
|
66
74
|
from huaweicloudsdkcodeartsbuild.v3.model.list_notice_response import ListNoticeResponse
|
67
75
|
from huaweicloudsdkcodeartsbuild.v3.model.list_official_template_request import ListOfficialTemplateRequest
|
@@ -69,8 +77,16 @@ from huaweicloudsdkcodeartsbuild.v3.model.list_official_template_response import
|
|
69
77
|
from huaweicloudsdkcodeartsbuild.v3.model.list_official_template_result import ListOfficialTemplateResult
|
70
78
|
from huaweicloudsdkcodeartsbuild.v3.model.list_project_jobs_request import ListProjectJobsRequest
|
71
79
|
from huaweicloudsdkcodeartsbuild.v3.model.list_project_jobs_response import ListProjectJobsResponse
|
80
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_records_request import ListRecordsRequest
|
81
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_records_response import ListRecordsResponse
|
82
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_records_result import ListRecordsResult
|
83
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_records_result_pagination import ListRecordsResultPagination
|
72
84
|
from huaweicloudsdkcodeartsbuild.v3.model.list_recycling_job_request import ListRecyclingJobRequest
|
73
85
|
from huaweicloudsdkcodeartsbuild.v3.model.list_recycling_job_response import ListRecyclingJobResponse
|
86
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_related_project_info_request import ListRelatedProjectInfoRequest
|
87
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_related_project_info_response import ListRelatedProjectInfoResponse
|
88
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_related_project_info_result import ListRelatedProjectInfoResult
|
89
|
+
from huaweicloudsdkcodeartsbuild.v3.model.list_related_project_info_result_project_info_list import ListRelatedProjectInfoResultProjectInfoList
|
74
90
|
from huaweicloudsdkcodeartsbuild.v3.model.list_templates_request import ListTemplatesRequest
|
75
91
|
from huaweicloudsdkcodeartsbuild.v3.model.list_templates_response import ListTemplatesResponse
|
76
92
|
from huaweicloudsdkcodeartsbuild.v3.model.out_put_info_result import OutPutInfoResult
|
@@ -91,6 +107,8 @@ from huaweicloudsdkcodeartsbuild.v3.model.run_job_request import RunJobRequest
|
|
91
107
|
from huaweicloudsdkcodeartsbuild.v3.model.run_job_request_body import RunJobRequestBody
|
92
108
|
from huaweicloudsdkcodeartsbuild.v3.model.run_job_response import RunJobResponse
|
93
109
|
from huaweicloudsdkcodeartsbuild.v3.model.scm import Scm
|
110
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_build_info_record_request import ShowBuildInfoRecordRequest
|
111
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_build_info_record_response import ShowBuildInfoRecordResponse
|
94
112
|
from huaweicloudsdkcodeartsbuild.v3.model.show_build_params_list_request import ShowBuildParamsListRequest
|
95
113
|
from huaweicloudsdkcodeartsbuild.v3.model.show_build_params_list_response import ShowBuildParamsListResponse
|
96
114
|
from huaweicloudsdkcodeartsbuild.v3.model.show_build_record_build_script_request import ShowBuildRecordBuildScriptRequest
|
@@ -99,6 +117,12 @@ from huaweicloudsdkcodeartsbuild.v3.model.show_build_record_full_stages_request
|
|
99
117
|
from huaweicloudsdkcodeartsbuild.v3.model.show_build_record_full_stages_response import ShowBuildRecordFullStagesResponse
|
100
118
|
from huaweicloudsdkcodeartsbuild.v3.model.show_build_record_request import ShowBuildRecordRequest
|
101
119
|
from huaweicloudsdkcodeartsbuild.v3.model.show_build_record_response import ShowBuildRecordResponse
|
120
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_default_build_parameters_params import ShowDefaultBuildParametersParams
|
121
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_default_build_parameters_request import ShowDefaultBuildParametersRequest
|
122
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_default_build_parameters_response import ShowDefaultBuildParametersResponse
|
123
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_default_build_parameters_result import ShowDefaultBuildParametersResult
|
124
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_dockerfile_template_request import ShowDockerfileTemplateRequest
|
125
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_dockerfile_template_response import ShowDockerfileTemplateResponse
|
102
126
|
from huaweicloudsdkcodeartsbuild.v3.model.show_flow_graph_request import ShowFlowGraphRequest
|
103
127
|
from huaweicloudsdkcodeartsbuild.v3.model.show_flow_graph_response import ShowFlowGraphResponse
|
104
128
|
from huaweicloudsdkcodeartsbuild.v3.model.show_history_details_request import ShowHistoryDetailsRequest
|
@@ -124,6 +148,8 @@ from huaweicloudsdkcodeartsbuild.v3.model.show_job_info_response import ShowJobI
|
|
124
148
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_info_result import ShowJobInfoResult
|
125
149
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_list_by_project_id_request import ShowJobListByProjectIdRequest
|
126
150
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_list_by_project_id_response import ShowJobListByProjectIdResponse
|
151
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_job_notice_config_info_request import ShowJobNoticeConfigInfoRequest
|
152
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_job_notice_config_info_response import ShowJobNoticeConfigInfoResponse
|
127
153
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_role_permission_request import ShowJobRolePermissionRequest
|
128
154
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_role_permission_response import ShowJobRolePermissionResponse
|
129
155
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_role_permission_result import ShowJobRolePermissionResult
|
@@ -133,6 +159,9 @@ from huaweicloudsdkcodeartsbuild.v3.model.show_job_success_ratio_request import
|
|
133
159
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_success_ratio_response import ShowJobSuccessRatioResponse
|
134
160
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_system_parameters_request import ShowJobSystemParametersRequest
|
135
161
|
from huaweicloudsdkcodeartsbuild.v3.model.show_job_system_parameters_response import ShowJobSystemParametersResponse
|
162
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_keystore_permission_request import ShowKeystorePermissionRequest
|
163
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_keystore_permission_response import ShowKeystorePermissionResponse
|
164
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_keystore_permission_response_body_result import ShowKeystorePermissionResponseBodyResult
|
136
165
|
from huaweicloudsdkcodeartsbuild.v3.model.show_last_history_request import ShowLastHistoryRequest
|
137
166
|
from huaweicloudsdkcodeartsbuild.v3.model.show_last_history_response import ShowLastHistoryResponse
|
138
167
|
from huaweicloudsdkcodeartsbuild.v3.model.show_list_history_request import ShowListHistoryRequest
|
@@ -147,6 +176,10 @@ from huaweicloudsdkcodeartsbuild.v3.model.show_record_detail_request import Show
|
|
147
176
|
from huaweicloudsdkcodeartsbuild.v3.model.show_record_detail_response import ShowRecordDetailResponse
|
148
177
|
from huaweicloudsdkcodeartsbuild.v3.model.show_record_info_request import ShowRecordInfoRequest
|
149
178
|
from huaweicloudsdkcodeartsbuild.v3.model.show_record_info_response import ShowRecordInfoResponse
|
179
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_related_project_request import ShowRelatedProjectRequest
|
180
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_related_project_response import ShowRelatedProjectResponse
|
181
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_related_project_result import ShowRelatedProjectResult
|
182
|
+
from huaweicloudsdkcodeartsbuild.v3.model.show_related_project_result_project_info_list import ShowRelatedProjectResultProjectInfoList
|
150
183
|
from huaweicloudsdkcodeartsbuild.v3.model.show_report_summary import ShowReportSummary
|
151
184
|
from huaweicloudsdkcodeartsbuild.v3.model.show_report_summary_body_result import ShowReportSummaryBodyResult
|
152
185
|
from huaweicloudsdkcodeartsbuild.v3.model.show_report_summary_request import ShowReportSummaryRequest
|
@@ -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 AddKeystorePermissionResponseBody:
|
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
|
+
'setting': 'bool',
|
22
|
+
'delete': 'bool',
|
23
|
+
'keystore_id': 'str',
|
24
|
+
'modify': 'bool',
|
25
|
+
'usage': 'bool',
|
26
|
+
'user_name': 'str',
|
27
|
+
'is_creator': 'bool',
|
28
|
+
'can_absent': 'bool'
|
29
|
+
}
|
30
|
+
|
31
|
+
attribute_map = {
|
32
|
+
'id': 'id',
|
33
|
+
'setting': 'setting',
|
34
|
+
'delete': 'delete',
|
35
|
+
'keystore_id': 'keystore_id',
|
36
|
+
'modify': 'modify',
|
37
|
+
'usage': 'usage',
|
38
|
+
'user_name': 'user_name',
|
39
|
+
'is_creator': 'is_creator',
|
40
|
+
'can_absent': 'can_absent'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, id=None, setting=None, delete=None, keystore_id=None, modify=None, usage=None, user_name=None, is_creator=None, can_absent=None):
|
44
|
+
r"""AddKeystorePermissionResponseBody
|
45
|
+
|
46
|
+
The model defined in huaweicloud sdk
|
47
|
+
|
48
|
+
:param id: 权限id
|
49
|
+
:type id: str
|
50
|
+
:param setting: 编辑权限
|
51
|
+
:type setting: bool
|
52
|
+
:param delete: 是否有删除权限
|
53
|
+
:type delete: bool
|
54
|
+
:param keystore_id: 文件密钥id
|
55
|
+
:type keystore_id: str
|
56
|
+
:param modify: 是否有修改权限
|
57
|
+
:type modify: bool
|
58
|
+
:param usage: 是否有使用权限
|
59
|
+
:type usage: bool
|
60
|
+
:param user_name: 用户名
|
61
|
+
:type user_name: str
|
62
|
+
:param is_creator: 是否是创建者
|
63
|
+
:type is_creator: bool
|
64
|
+
:param can_absent: 是否可编辑
|
65
|
+
:type can_absent: bool
|
66
|
+
"""
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
self._id = None
|
71
|
+
self._setting = None
|
72
|
+
self._delete = None
|
73
|
+
self._keystore_id = None
|
74
|
+
self._modify = None
|
75
|
+
self._usage = None
|
76
|
+
self._user_name = None
|
77
|
+
self._is_creator = None
|
78
|
+
self._can_absent = None
|
79
|
+
self.discriminator = None
|
80
|
+
|
81
|
+
if id is not None:
|
82
|
+
self.id = id
|
83
|
+
if setting is not None:
|
84
|
+
self.setting = setting
|
85
|
+
if delete is not None:
|
86
|
+
self.delete = delete
|
87
|
+
if keystore_id is not None:
|
88
|
+
self.keystore_id = keystore_id
|
89
|
+
if modify is not None:
|
90
|
+
self.modify = modify
|
91
|
+
if usage is not None:
|
92
|
+
self.usage = usage
|
93
|
+
if user_name is not None:
|
94
|
+
self.user_name = user_name
|
95
|
+
if is_creator is not None:
|
96
|
+
self.is_creator = is_creator
|
97
|
+
if can_absent is not None:
|
98
|
+
self.can_absent = can_absent
|
99
|
+
|
100
|
+
@property
|
101
|
+
def id(self):
|
102
|
+
r"""Gets the id of this AddKeystorePermissionResponseBody.
|
103
|
+
|
104
|
+
权限id
|
105
|
+
|
106
|
+
:return: The id of this AddKeystorePermissionResponseBody.
|
107
|
+
:rtype: str
|
108
|
+
"""
|
109
|
+
return self._id
|
110
|
+
|
111
|
+
@id.setter
|
112
|
+
def id(self, id):
|
113
|
+
r"""Sets the id of this AddKeystorePermissionResponseBody.
|
114
|
+
|
115
|
+
权限id
|
116
|
+
|
117
|
+
:param id: The id of this AddKeystorePermissionResponseBody.
|
118
|
+
:type id: str
|
119
|
+
"""
|
120
|
+
self._id = id
|
121
|
+
|
122
|
+
@property
|
123
|
+
def setting(self):
|
124
|
+
r"""Gets the setting of this AddKeystorePermissionResponseBody.
|
125
|
+
|
126
|
+
编辑权限
|
127
|
+
|
128
|
+
:return: The setting of this AddKeystorePermissionResponseBody.
|
129
|
+
:rtype: bool
|
130
|
+
"""
|
131
|
+
return self._setting
|
132
|
+
|
133
|
+
@setting.setter
|
134
|
+
def setting(self, setting):
|
135
|
+
r"""Sets the setting of this AddKeystorePermissionResponseBody.
|
136
|
+
|
137
|
+
编辑权限
|
138
|
+
|
139
|
+
:param setting: The setting of this AddKeystorePermissionResponseBody.
|
140
|
+
:type setting: bool
|
141
|
+
"""
|
142
|
+
self._setting = setting
|
143
|
+
|
144
|
+
@property
|
145
|
+
def delete(self):
|
146
|
+
r"""Gets the delete of this AddKeystorePermissionResponseBody.
|
147
|
+
|
148
|
+
是否有删除权限
|
149
|
+
|
150
|
+
:return: The delete of this AddKeystorePermissionResponseBody.
|
151
|
+
:rtype: bool
|
152
|
+
"""
|
153
|
+
return self._delete
|
154
|
+
|
155
|
+
@delete.setter
|
156
|
+
def delete(self, delete):
|
157
|
+
r"""Sets the delete of this AddKeystorePermissionResponseBody.
|
158
|
+
|
159
|
+
是否有删除权限
|
160
|
+
|
161
|
+
:param delete: The delete of this AddKeystorePermissionResponseBody.
|
162
|
+
:type delete: bool
|
163
|
+
"""
|
164
|
+
self._delete = delete
|
165
|
+
|
166
|
+
@property
|
167
|
+
def keystore_id(self):
|
168
|
+
r"""Gets the keystore_id of this AddKeystorePermissionResponseBody.
|
169
|
+
|
170
|
+
文件密钥id
|
171
|
+
|
172
|
+
:return: The keystore_id of this AddKeystorePermissionResponseBody.
|
173
|
+
:rtype: str
|
174
|
+
"""
|
175
|
+
return self._keystore_id
|
176
|
+
|
177
|
+
@keystore_id.setter
|
178
|
+
def keystore_id(self, keystore_id):
|
179
|
+
r"""Sets the keystore_id of this AddKeystorePermissionResponseBody.
|
180
|
+
|
181
|
+
文件密钥id
|
182
|
+
|
183
|
+
:param keystore_id: The keystore_id of this AddKeystorePermissionResponseBody.
|
184
|
+
:type keystore_id: str
|
185
|
+
"""
|
186
|
+
self._keystore_id = keystore_id
|
187
|
+
|
188
|
+
@property
|
189
|
+
def modify(self):
|
190
|
+
r"""Gets the modify of this AddKeystorePermissionResponseBody.
|
191
|
+
|
192
|
+
是否有修改权限
|
193
|
+
|
194
|
+
:return: The modify of this AddKeystorePermissionResponseBody.
|
195
|
+
:rtype: bool
|
196
|
+
"""
|
197
|
+
return self._modify
|
198
|
+
|
199
|
+
@modify.setter
|
200
|
+
def modify(self, modify):
|
201
|
+
r"""Sets the modify of this AddKeystorePermissionResponseBody.
|
202
|
+
|
203
|
+
是否有修改权限
|
204
|
+
|
205
|
+
:param modify: The modify of this AddKeystorePermissionResponseBody.
|
206
|
+
:type modify: bool
|
207
|
+
"""
|
208
|
+
self._modify = modify
|
209
|
+
|
210
|
+
@property
|
211
|
+
def usage(self):
|
212
|
+
r"""Gets the usage of this AddKeystorePermissionResponseBody.
|
213
|
+
|
214
|
+
是否有使用权限
|
215
|
+
|
216
|
+
:return: The usage of this AddKeystorePermissionResponseBody.
|
217
|
+
:rtype: bool
|
218
|
+
"""
|
219
|
+
return self._usage
|
220
|
+
|
221
|
+
@usage.setter
|
222
|
+
def usage(self, usage):
|
223
|
+
r"""Sets the usage of this AddKeystorePermissionResponseBody.
|
224
|
+
|
225
|
+
是否有使用权限
|
226
|
+
|
227
|
+
:param usage: The usage of this AddKeystorePermissionResponseBody.
|
228
|
+
:type usage: bool
|
229
|
+
"""
|
230
|
+
self._usage = usage
|
231
|
+
|
232
|
+
@property
|
233
|
+
def user_name(self):
|
234
|
+
r"""Gets the user_name of this AddKeystorePermissionResponseBody.
|
235
|
+
|
236
|
+
用户名
|
237
|
+
|
238
|
+
:return: The user_name of this AddKeystorePermissionResponseBody.
|
239
|
+
:rtype: str
|
240
|
+
"""
|
241
|
+
return self._user_name
|
242
|
+
|
243
|
+
@user_name.setter
|
244
|
+
def user_name(self, user_name):
|
245
|
+
r"""Sets the user_name of this AddKeystorePermissionResponseBody.
|
246
|
+
|
247
|
+
用户名
|
248
|
+
|
249
|
+
:param user_name: The user_name of this AddKeystorePermissionResponseBody.
|
250
|
+
:type user_name: str
|
251
|
+
"""
|
252
|
+
self._user_name = user_name
|
253
|
+
|
254
|
+
@property
|
255
|
+
def is_creator(self):
|
256
|
+
r"""Gets the is_creator of this AddKeystorePermissionResponseBody.
|
257
|
+
|
258
|
+
是否是创建者
|
259
|
+
|
260
|
+
:return: The is_creator of this AddKeystorePermissionResponseBody.
|
261
|
+
:rtype: bool
|
262
|
+
"""
|
263
|
+
return self._is_creator
|
264
|
+
|
265
|
+
@is_creator.setter
|
266
|
+
def is_creator(self, is_creator):
|
267
|
+
r"""Sets the is_creator of this AddKeystorePermissionResponseBody.
|
268
|
+
|
269
|
+
是否是创建者
|
270
|
+
|
271
|
+
:param is_creator: The is_creator of this AddKeystorePermissionResponseBody.
|
272
|
+
:type is_creator: bool
|
273
|
+
"""
|
274
|
+
self._is_creator = is_creator
|
275
|
+
|
276
|
+
@property
|
277
|
+
def can_absent(self):
|
278
|
+
r"""Gets the can_absent of this AddKeystorePermissionResponseBody.
|
279
|
+
|
280
|
+
是否可编辑
|
281
|
+
|
282
|
+
:return: The can_absent of this AddKeystorePermissionResponseBody.
|
283
|
+
:rtype: bool
|
284
|
+
"""
|
285
|
+
return self._can_absent
|
286
|
+
|
287
|
+
@can_absent.setter
|
288
|
+
def can_absent(self, can_absent):
|
289
|
+
r"""Sets the can_absent of this AddKeystorePermissionResponseBody.
|
290
|
+
|
291
|
+
是否可编辑
|
292
|
+
|
293
|
+
:param can_absent: The can_absent of this AddKeystorePermissionResponseBody.
|
294
|
+
:type can_absent: bool
|
295
|
+
"""
|
296
|
+
self._can_absent = can_absent
|
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, AddKeystorePermissionResponseBody):
|
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,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CheckJobNameIsExistsRequest:
|
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
|
+
'job_name': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'project_id': 'project_id',
|
26
|
+
'job_name': 'job_name'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, project_id=None, job_name=None):
|
30
|
+
r"""CheckJobNameIsExistsRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param project_id: CodeArts项目ID,32位数字、小写字母组合。
|
35
|
+
:type project_id: str
|
36
|
+
:param job_name: 任务名称
|
37
|
+
:type job_name: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._project_id = None
|
43
|
+
self._job_name = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.project_id = project_id
|
47
|
+
self.job_name = job_name
|
48
|
+
|
49
|
+
@property
|
50
|
+
def project_id(self):
|
51
|
+
r"""Gets the project_id of this CheckJobNameIsExistsRequest.
|
52
|
+
|
53
|
+
CodeArts项目ID,32位数字、小写字母组合。
|
54
|
+
|
55
|
+
:return: The project_id of this CheckJobNameIsExistsRequest.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._project_id
|
59
|
+
|
60
|
+
@project_id.setter
|
61
|
+
def project_id(self, project_id):
|
62
|
+
r"""Sets the project_id of this CheckJobNameIsExistsRequest.
|
63
|
+
|
64
|
+
CodeArts项目ID,32位数字、小写字母组合。
|
65
|
+
|
66
|
+
:param project_id: The project_id of this CheckJobNameIsExistsRequest.
|
67
|
+
:type project_id: str
|
68
|
+
"""
|
69
|
+
self._project_id = project_id
|
70
|
+
|
71
|
+
@property
|
72
|
+
def job_name(self):
|
73
|
+
r"""Gets the job_name of this CheckJobNameIsExistsRequest.
|
74
|
+
|
75
|
+
任务名称
|
76
|
+
|
77
|
+
:return: The job_name of this CheckJobNameIsExistsRequest.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._job_name
|
81
|
+
|
82
|
+
@job_name.setter
|
83
|
+
def job_name(self, job_name):
|
84
|
+
r"""Sets the job_name of this CheckJobNameIsExistsRequest.
|
85
|
+
|
86
|
+
任务名称
|
87
|
+
|
88
|
+
:param job_name: The job_name of this CheckJobNameIsExistsRequest.
|
89
|
+
:type job_name: str
|
90
|
+
"""
|
91
|
+
self._job_name = job_name
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, CheckJobNameIsExistsRequest):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|