huaweicloudsdkcodeartsbuild 3.1.160__py3-none-any.whl → 3.1.162__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 +1 -0
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +1 -0
- huaweicloudsdkcodeartsbuild/v3/model/query_template_vo.py +231 -0
- huaweicloudsdkcodeartsbuild/v3/model/query_templates_items.py +4 -4
- huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py +235 -3
- huaweicloudsdkcodeartsbuild/v3/model/update_notice_request_body.py +61 -3
- {huaweicloudsdkcodeartsbuild-3.1.160.dist-info → huaweicloudsdkcodeartsbuild-3.1.162.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.160.dist-info → huaweicloudsdkcodeartsbuild-3.1.162.dist-info}/RECORD +11 -10
- {huaweicloudsdkcodeartsbuild-3.1.160.dist-info → huaweicloudsdkcodeartsbuild-3.1.162.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.160.dist-info → huaweicloudsdkcodeartsbuild-3.1.162.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.160.dist-info → huaweicloudsdkcodeartsbuild-3.1.162.dist-info}/top_level.txt +0 -0
@@ -175,6 +175,7 @@ from huaweicloudsdkcodeartsbuild.v3.model.params import Params
|
|
175
175
|
from huaweicloudsdkcodeartsbuild.v3.model.query_custom_templates_result import QueryCustomTemplatesResult
|
176
176
|
from huaweicloudsdkcodeartsbuild.v3.model.query_job_notice_items import QueryJobNoticeItems
|
177
177
|
from huaweicloudsdkcodeartsbuild.v3.model.query_template import QueryTemplate
|
178
|
+
from huaweicloudsdkcodeartsbuild.v3.model.query_template_vo import QueryTemplateVo
|
178
179
|
from huaweicloudsdkcodeartsbuild.v3.model.query_templates_items import QueryTemplatesItems
|
179
180
|
from huaweicloudsdkcodeartsbuild.v3.model.query_templates_result import QueryTemplatesResult
|
180
181
|
from huaweicloudsdkcodeartsbuild.v3.model.real_time_log_response_body_result import RealTimeLogResponseBodyResult
|
@@ -173,6 +173,7 @@ from huaweicloudsdkcodeartsbuild.v3.model.params import Params
|
|
173
173
|
from huaweicloudsdkcodeartsbuild.v3.model.query_custom_templates_result import QueryCustomTemplatesResult
|
174
174
|
from huaweicloudsdkcodeartsbuild.v3.model.query_job_notice_items import QueryJobNoticeItems
|
175
175
|
from huaweicloudsdkcodeartsbuild.v3.model.query_template import QueryTemplate
|
176
|
+
from huaweicloudsdkcodeartsbuild.v3.model.query_template_vo import QueryTemplateVo
|
176
177
|
from huaweicloudsdkcodeartsbuild.v3.model.query_templates_items import QueryTemplatesItems
|
177
178
|
from huaweicloudsdkcodeartsbuild.v3.model.query_templates_result import QueryTemplatesResult
|
178
179
|
from huaweicloudsdkcodeartsbuild.v3.model.real_time_log_response_body_result import RealTimeLogResponseBodyResult
|
@@ -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 QueryTemplateVo:
|
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
|
+
'steps': 'list[CreateBuildJobSteps]',
|
21
|
+
'actions': 'object',
|
22
|
+
'auto_update_sub_module': 'bool',
|
23
|
+
'image': 'str',
|
24
|
+
'image_source': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'steps': 'steps',
|
29
|
+
'actions': 'actions',
|
30
|
+
'auto_update_sub_module': 'auto_update_sub_module',
|
31
|
+
'image': 'image',
|
32
|
+
'image_source': 'image_source'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, steps=None, actions=None, auto_update_sub_module=None, image=None, image_source=None):
|
36
|
+
r"""QueryTemplateVo
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param steps: 构建执行的步骤。
|
41
|
+
:type steps: list[:class:`huaweicloudsdkcodeartsbuild.v3.CreateBuildJobSteps`]
|
42
|
+
:param actions: 构建步骤中的action。
|
43
|
+
:type actions: object
|
44
|
+
:param auto_update_sub_module: 是否自动更新子模块。
|
45
|
+
:type auto_update_sub_module: bool
|
46
|
+
:param image: 配置镜像地址。
|
47
|
+
:type image: str
|
48
|
+
:param image_source: 配置镜像源的地址。
|
49
|
+
:type image_source: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._steps = None
|
55
|
+
self._actions = None
|
56
|
+
self._auto_update_sub_module = None
|
57
|
+
self._image = None
|
58
|
+
self._image_source = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if steps is not None:
|
62
|
+
self.steps = steps
|
63
|
+
if actions is not None:
|
64
|
+
self.actions = actions
|
65
|
+
if auto_update_sub_module is not None:
|
66
|
+
self.auto_update_sub_module = auto_update_sub_module
|
67
|
+
if image is not None:
|
68
|
+
self.image = image
|
69
|
+
if image_source is not None:
|
70
|
+
self.image_source = image_source
|
71
|
+
|
72
|
+
@property
|
73
|
+
def steps(self):
|
74
|
+
r"""Gets the steps of this QueryTemplateVo.
|
75
|
+
|
76
|
+
构建执行的步骤。
|
77
|
+
|
78
|
+
:return: The steps of this QueryTemplateVo.
|
79
|
+
:rtype: list[:class:`huaweicloudsdkcodeartsbuild.v3.CreateBuildJobSteps`]
|
80
|
+
"""
|
81
|
+
return self._steps
|
82
|
+
|
83
|
+
@steps.setter
|
84
|
+
def steps(self, steps):
|
85
|
+
r"""Sets the steps of this QueryTemplateVo.
|
86
|
+
|
87
|
+
构建执行的步骤。
|
88
|
+
|
89
|
+
:param steps: The steps of this QueryTemplateVo.
|
90
|
+
:type steps: list[:class:`huaweicloudsdkcodeartsbuild.v3.CreateBuildJobSteps`]
|
91
|
+
"""
|
92
|
+
self._steps = steps
|
93
|
+
|
94
|
+
@property
|
95
|
+
def actions(self):
|
96
|
+
r"""Gets the actions of this QueryTemplateVo.
|
97
|
+
|
98
|
+
构建步骤中的action。
|
99
|
+
|
100
|
+
:return: The actions of this QueryTemplateVo.
|
101
|
+
:rtype: object
|
102
|
+
"""
|
103
|
+
return self._actions
|
104
|
+
|
105
|
+
@actions.setter
|
106
|
+
def actions(self, actions):
|
107
|
+
r"""Sets the actions of this QueryTemplateVo.
|
108
|
+
|
109
|
+
构建步骤中的action。
|
110
|
+
|
111
|
+
:param actions: The actions of this QueryTemplateVo.
|
112
|
+
:type actions: object
|
113
|
+
"""
|
114
|
+
self._actions = actions
|
115
|
+
|
116
|
+
@property
|
117
|
+
def auto_update_sub_module(self):
|
118
|
+
r"""Gets the auto_update_sub_module of this QueryTemplateVo.
|
119
|
+
|
120
|
+
是否自动更新子模块。
|
121
|
+
|
122
|
+
:return: The auto_update_sub_module of this QueryTemplateVo.
|
123
|
+
:rtype: bool
|
124
|
+
"""
|
125
|
+
return self._auto_update_sub_module
|
126
|
+
|
127
|
+
@auto_update_sub_module.setter
|
128
|
+
def auto_update_sub_module(self, auto_update_sub_module):
|
129
|
+
r"""Sets the auto_update_sub_module of this QueryTemplateVo.
|
130
|
+
|
131
|
+
是否自动更新子模块。
|
132
|
+
|
133
|
+
:param auto_update_sub_module: The auto_update_sub_module of this QueryTemplateVo.
|
134
|
+
:type auto_update_sub_module: bool
|
135
|
+
"""
|
136
|
+
self._auto_update_sub_module = auto_update_sub_module
|
137
|
+
|
138
|
+
@property
|
139
|
+
def image(self):
|
140
|
+
r"""Gets the image of this QueryTemplateVo.
|
141
|
+
|
142
|
+
配置镜像地址。
|
143
|
+
|
144
|
+
:return: The image of this QueryTemplateVo.
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._image
|
148
|
+
|
149
|
+
@image.setter
|
150
|
+
def image(self, image):
|
151
|
+
r"""Sets the image of this QueryTemplateVo.
|
152
|
+
|
153
|
+
配置镜像地址。
|
154
|
+
|
155
|
+
:param image: The image of this QueryTemplateVo.
|
156
|
+
:type image: str
|
157
|
+
"""
|
158
|
+
self._image = image
|
159
|
+
|
160
|
+
@property
|
161
|
+
def image_source(self):
|
162
|
+
r"""Gets the image_source of this QueryTemplateVo.
|
163
|
+
|
164
|
+
配置镜像源的地址。
|
165
|
+
|
166
|
+
:return: The image_source of this QueryTemplateVo.
|
167
|
+
:rtype: str
|
168
|
+
"""
|
169
|
+
return self._image_source
|
170
|
+
|
171
|
+
@image_source.setter
|
172
|
+
def image_source(self, image_source):
|
173
|
+
r"""Sets the image_source of this QueryTemplateVo.
|
174
|
+
|
175
|
+
配置镜像源的地址。
|
176
|
+
|
177
|
+
:param image_source: The image_source of this QueryTemplateVo.
|
178
|
+
:type image_source: str
|
179
|
+
"""
|
180
|
+
self._image_source = image_source
|
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, QueryTemplateVo):
|
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
|
@@ -21,7 +21,7 @@ class QueryTemplatesItems:
|
|
21
21
|
'nick_name': 'str',
|
22
22
|
'id': 'str',
|
23
23
|
'uuid': 'str',
|
24
|
-
'template': '
|
24
|
+
'template': 'QueryTemplateVo',
|
25
25
|
'type': 'str',
|
26
26
|
'public': 'bool',
|
27
27
|
'name': 'str',
|
@@ -76,7 +76,7 @@ class QueryTemplatesItems:
|
|
76
76
|
:param uuid: uuid
|
77
77
|
:type uuid: str
|
78
78
|
:param template:
|
79
|
-
:type template: :class:`huaweicloudsdkcodeartsbuild.v3.
|
79
|
+
:type template: :class:`huaweicloudsdkcodeartsbuild.v3.QueryTemplateVo`
|
80
80
|
:param type: 模板类别
|
81
81
|
:type type: str
|
82
82
|
:param public: 模板是否公开
|
@@ -267,7 +267,7 @@ class QueryTemplatesItems:
|
|
267
267
|
r"""Gets the template of this QueryTemplatesItems.
|
268
268
|
|
269
269
|
:return: The template of this QueryTemplatesItems.
|
270
|
-
:rtype: :class:`huaweicloudsdkcodeartsbuild.v3.
|
270
|
+
:rtype: :class:`huaweicloudsdkcodeartsbuild.v3.QueryTemplateVo`
|
271
271
|
"""
|
272
272
|
return self._template
|
273
273
|
|
@@ -276,7 +276,7 @@ class QueryTemplatesItems:
|
|
276
276
|
r"""Sets the template of this QueryTemplatesItems.
|
277
277
|
|
278
278
|
:param template: The template of this QueryTemplatesItems.
|
279
|
-
:type template: :class:`huaweicloudsdkcodeartsbuild.v3.
|
279
|
+
:type template: :class:`huaweicloudsdkcodeartsbuild.v3.QueryTemplateVo`
|
280
280
|
"""
|
281
281
|
self._template = template
|
282
282
|
|
@@ -21,8 +21,16 @@ class ShowUserProjectPermissionResult:
|
|
21
21
|
'create_permission': 'bool',
|
22
22
|
'modify_permission': 'bool',
|
23
23
|
'group_permission': 'bool',
|
24
|
+
'delete_permission': 'bool',
|
25
|
+
'view_permission': 'bool',
|
26
|
+
'execute_permission': 'bool',
|
27
|
+
'copy_permission': 'bool',
|
28
|
+
'forbidden_permission': 'bool',
|
29
|
+
'manager_permission': 'bool',
|
24
30
|
'role_id': 'str',
|
25
|
-
'role_name': 'str'
|
31
|
+
'role_name': 'str',
|
32
|
+
'role_ids': 'list[str]',
|
33
|
+
'role_names': 'list[str]'
|
26
34
|
}
|
27
35
|
|
28
36
|
attribute_map = {
|
@@ -30,11 +38,19 @@ class ShowUserProjectPermissionResult:
|
|
30
38
|
'create_permission': 'create_permission',
|
31
39
|
'modify_permission': 'modify_permission',
|
32
40
|
'group_permission': 'group_permission',
|
41
|
+
'delete_permission': 'delete_permission',
|
42
|
+
'view_permission': 'view_permission',
|
43
|
+
'execute_permission': 'execute_permission',
|
44
|
+
'copy_permission': 'copy_permission',
|
45
|
+
'forbidden_permission': 'forbidden_permission',
|
46
|
+
'manager_permission': 'manager_permission',
|
33
47
|
'role_id': 'role_id',
|
34
|
-
'role_name': 'role_name'
|
48
|
+
'role_name': 'role_name',
|
49
|
+
'role_ids': 'role_ids',
|
50
|
+
'role_names': 'role_names'
|
35
51
|
}
|
36
52
|
|
37
|
-
def __init__(self, project_id=None, create_permission=None, modify_permission=None, group_permission=None, role_id=None, role_name=None):
|
53
|
+
def __init__(self, project_id=None, create_permission=None, modify_permission=None, group_permission=None, delete_permission=None, view_permission=None, execute_permission=None, copy_permission=None, forbidden_permission=None, manager_permission=None, role_id=None, role_name=None, role_ids=None, role_names=None):
|
38
54
|
r"""ShowUserProjectPermissionResult
|
39
55
|
|
40
56
|
The model defined in huaweicloud sdk
|
@@ -47,10 +63,26 @@ class ShowUserProjectPermissionResult:
|
|
47
63
|
:type modify_permission: bool
|
48
64
|
:param group_permission: 用户是否有分类权限
|
49
65
|
:type group_permission: bool
|
66
|
+
:param delete_permission: 用户是否有删除权限。
|
67
|
+
:type delete_permission: bool
|
68
|
+
:param view_permission: 用户是否有查看权限。
|
69
|
+
:type view_permission: bool
|
70
|
+
:param execute_permission: 用户是否有执行权限。
|
71
|
+
:type execute_permission: bool
|
72
|
+
:param copy_permission: 用户是否有克隆权限。
|
73
|
+
:type copy_permission: bool
|
74
|
+
:param forbidden_permission: 用户是否有禁用权限。
|
75
|
+
:type forbidden_permission: bool
|
76
|
+
:param manager_permission: 用户是否有管理权限。
|
77
|
+
:type manager_permission: bool
|
50
78
|
:param role_id: 角色ID
|
51
79
|
:type role_id: str
|
52
80
|
:param role_name: 角色名
|
53
81
|
:type role_name: str
|
82
|
+
:param role_ids: 角色编码集合。
|
83
|
+
:type role_ids: list[str]
|
84
|
+
:param role_names: 角色名称集合。
|
85
|
+
:type role_names: list[str]
|
54
86
|
"""
|
55
87
|
|
56
88
|
|
@@ -59,8 +91,16 @@ class ShowUserProjectPermissionResult:
|
|
59
91
|
self._create_permission = None
|
60
92
|
self._modify_permission = None
|
61
93
|
self._group_permission = None
|
94
|
+
self._delete_permission = None
|
95
|
+
self._view_permission = None
|
96
|
+
self._execute_permission = None
|
97
|
+
self._copy_permission = None
|
98
|
+
self._forbidden_permission = None
|
99
|
+
self._manager_permission = None
|
62
100
|
self._role_id = None
|
63
101
|
self._role_name = None
|
102
|
+
self._role_ids = None
|
103
|
+
self._role_names = None
|
64
104
|
self.discriminator = None
|
65
105
|
|
66
106
|
if project_id is not None:
|
@@ -71,10 +111,26 @@ class ShowUserProjectPermissionResult:
|
|
71
111
|
self.modify_permission = modify_permission
|
72
112
|
if group_permission is not None:
|
73
113
|
self.group_permission = group_permission
|
114
|
+
if delete_permission is not None:
|
115
|
+
self.delete_permission = delete_permission
|
116
|
+
if view_permission is not None:
|
117
|
+
self.view_permission = view_permission
|
118
|
+
if execute_permission is not None:
|
119
|
+
self.execute_permission = execute_permission
|
120
|
+
if copy_permission is not None:
|
121
|
+
self.copy_permission = copy_permission
|
122
|
+
if forbidden_permission is not None:
|
123
|
+
self.forbidden_permission = forbidden_permission
|
124
|
+
if manager_permission is not None:
|
125
|
+
self.manager_permission = manager_permission
|
74
126
|
if role_id is not None:
|
75
127
|
self.role_id = role_id
|
76
128
|
if role_name is not None:
|
77
129
|
self.role_name = role_name
|
130
|
+
if role_ids is not None:
|
131
|
+
self.role_ids = role_ids
|
132
|
+
if role_names is not None:
|
133
|
+
self.role_names = role_names
|
78
134
|
|
79
135
|
@property
|
80
136
|
def project_id(self):
|
@@ -164,6 +220,138 @@ class ShowUserProjectPermissionResult:
|
|
164
220
|
"""
|
165
221
|
self._group_permission = group_permission
|
166
222
|
|
223
|
+
@property
|
224
|
+
def delete_permission(self):
|
225
|
+
r"""Gets the delete_permission of this ShowUserProjectPermissionResult.
|
226
|
+
|
227
|
+
用户是否有删除权限。
|
228
|
+
|
229
|
+
:return: The delete_permission of this ShowUserProjectPermissionResult.
|
230
|
+
:rtype: bool
|
231
|
+
"""
|
232
|
+
return self._delete_permission
|
233
|
+
|
234
|
+
@delete_permission.setter
|
235
|
+
def delete_permission(self, delete_permission):
|
236
|
+
r"""Sets the delete_permission of this ShowUserProjectPermissionResult.
|
237
|
+
|
238
|
+
用户是否有删除权限。
|
239
|
+
|
240
|
+
:param delete_permission: The delete_permission of this ShowUserProjectPermissionResult.
|
241
|
+
:type delete_permission: bool
|
242
|
+
"""
|
243
|
+
self._delete_permission = delete_permission
|
244
|
+
|
245
|
+
@property
|
246
|
+
def view_permission(self):
|
247
|
+
r"""Gets the view_permission of this ShowUserProjectPermissionResult.
|
248
|
+
|
249
|
+
用户是否有查看权限。
|
250
|
+
|
251
|
+
:return: The view_permission of this ShowUserProjectPermissionResult.
|
252
|
+
:rtype: bool
|
253
|
+
"""
|
254
|
+
return self._view_permission
|
255
|
+
|
256
|
+
@view_permission.setter
|
257
|
+
def view_permission(self, view_permission):
|
258
|
+
r"""Sets the view_permission of this ShowUserProjectPermissionResult.
|
259
|
+
|
260
|
+
用户是否有查看权限。
|
261
|
+
|
262
|
+
:param view_permission: The view_permission of this ShowUserProjectPermissionResult.
|
263
|
+
:type view_permission: bool
|
264
|
+
"""
|
265
|
+
self._view_permission = view_permission
|
266
|
+
|
267
|
+
@property
|
268
|
+
def execute_permission(self):
|
269
|
+
r"""Gets the execute_permission of this ShowUserProjectPermissionResult.
|
270
|
+
|
271
|
+
用户是否有执行权限。
|
272
|
+
|
273
|
+
:return: The execute_permission of this ShowUserProjectPermissionResult.
|
274
|
+
:rtype: bool
|
275
|
+
"""
|
276
|
+
return self._execute_permission
|
277
|
+
|
278
|
+
@execute_permission.setter
|
279
|
+
def execute_permission(self, execute_permission):
|
280
|
+
r"""Sets the execute_permission of this ShowUserProjectPermissionResult.
|
281
|
+
|
282
|
+
用户是否有执行权限。
|
283
|
+
|
284
|
+
:param execute_permission: The execute_permission of this ShowUserProjectPermissionResult.
|
285
|
+
:type execute_permission: bool
|
286
|
+
"""
|
287
|
+
self._execute_permission = execute_permission
|
288
|
+
|
289
|
+
@property
|
290
|
+
def copy_permission(self):
|
291
|
+
r"""Gets the copy_permission of this ShowUserProjectPermissionResult.
|
292
|
+
|
293
|
+
用户是否有克隆权限。
|
294
|
+
|
295
|
+
:return: The copy_permission of this ShowUserProjectPermissionResult.
|
296
|
+
:rtype: bool
|
297
|
+
"""
|
298
|
+
return self._copy_permission
|
299
|
+
|
300
|
+
@copy_permission.setter
|
301
|
+
def copy_permission(self, copy_permission):
|
302
|
+
r"""Sets the copy_permission of this ShowUserProjectPermissionResult.
|
303
|
+
|
304
|
+
用户是否有克隆权限。
|
305
|
+
|
306
|
+
:param copy_permission: The copy_permission of this ShowUserProjectPermissionResult.
|
307
|
+
:type copy_permission: bool
|
308
|
+
"""
|
309
|
+
self._copy_permission = copy_permission
|
310
|
+
|
311
|
+
@property
|
312
|
+
def forbidden_permission(self):
|
313
|
+
r"""Gets the forbidden_permission of this ShowUserProjectPermissionResult.
|
314
|
+
|
315
|
+
用户是否有禁用权限。
|
316
|
+
|
317
|
+
:return: The forbidden_permission of this ShowUserProjectPermissionResult.
|
318
|
+
:rtype: bool
|
319
|
+
"""
|
320
|
+
return self._forbidden_permission
|
321
|
+
|
322
|
+
@forbidden_permission.setter
|
323
|
+
def forbidden_permission(self, forbidden_permission):
|
324
|
+
r"""Sets the forbidden_permission of this ShowUserProjectPermissionResult.
|
325
|
+
|
326
|
+
用户是否有禁用权限。
|
327
|
+
|
328
|
+
:param forbidden_permission: The forbidden_permission of this ShowUserProjectPermissionResult.
|
329
|
+
:type forbidden_permission: bool
|
330
|
+
"""
|
331
|
+
self._forbidden_permission = forbidden_permission
|
332
|
+
|
333
|
+
@property
|
334
|
+
def manager_permission(self):
|
335
|
+
r"""Gets the manager_permission of this ShowUserProjectPermissionResult.
|
336
|
+
|
337
|
+
用户是否有管理权限。
|
338
|
+
|
339
|
+
:return: The manager_permission of this ShowUserProjectPermissionResult.
|
340
|
+
:rtype: bool
|
341
|
+
"""
|
342
|
+
return self._manager_permission
|
343
|
+
|
344
|
+
@manager_permission.setter
|
345
|
+
def manager_permission(self, manager_permission):
|
346
|
+
r"""Sets the manager_permission of this ShowUserProjectPermissionResult.
|
347
|
+
|
348
|
+
用户是否有管理权限。
|
349
|
+
|
350
|
+
:param manager_permission: The manager_permission of this ShowUserProjectPermissionResult.
|
351
|
+
:type manager_permission: bool
|
352
|
+
"""
|
353
|
+
self._manager_permission = manager_permission
|
354
|
+
|
167
355
|
@property
|
168
356
|
def role_id(self):
|
169
357
|
r"""Gets the role_id of this ShowUserProjectPermissionResult.
|
@@ -208,6 +396,50 @@ class ShowUserProjectPermissionResult:
|
|
208
396
|
"""
|
209
397
|
self._role_name = role_name
|
210
398
|
|
399
|
+
@property
|
400
|
+
def role_ids(self):
|
401
|
+
r"""Gets the role_ids of this ShowUserProjectPermissionResult.
|
402
|
+
|
403
|
+
角色编码集合。
|
404
|
+
|
405
|
+
:return: The role_ids of this ShowUserProjectPermissionResult.
|
406
|
+
:rtype: list[str]
|
407
|
+
"""
|
408
|
+
return self._role_ids
|
409
|
+
|
410
|
+
@role_ids.setter
|
411
|
+
def role_ids(self, role_ids):
|
412
|
+
r"""Sets the role_ids of this ShowUserProjectPermissionResult.
|
413
|
+
|
414
|
+
角色编码集合。
|
415
|
+
|
416
|
+
:param role_ids: The role_ids of this ShowUserProjectPermissionResult.
|
417
|
+
:type role_ids: list[str]
|
418
|
+
"""
|
419
|
+
self._role_ids = role_ids
|
420
|
+
|
421
|
+
@property
|
422
|
+
def role_names(self):
|
423
|
+
r"""Gets the role_names of this ShowUserProjectPermissionResult.
|
424
|
+
|
425
|
+
角色名称集合。
|
426
|
+
|
427
|
+
:return: The role_names of this ShowUserProjectPermissionResult.
|
428
|
+
:rtype: list[str]
|
429
|
+
"""
|
430
|
+
return self._role_names
|
431
|
+
|
432
|
+
@role_names.setter
|
433
|
+
def role_names(self, role_names):
|
434
|
+
r"""Sets the role_names of this ShowUserProjectPermissionResult.
|
435
|
+
|
436
|
+
角色名称集合。
|
437
|
+
|
438
|
+
:param role_names: The role_names of this ShowUserProjectPermissionResult.
|
439
|
+
:type role_names: list[str]
|
440
|
+
"""
|
441
|
+
self._role_names = role_names
|
442
|
+
|
211
443
|
def to_dict(self):
|
212
444
|
"""Returns the model properties as a dict"""
|
213
445
|
result = {}
|
@@ -19,16 +19,20 @@ class UpdateNoticeRequestBody:
|
|
19
19
|
openapi_types = {
|
20
20
|
'notice_type': 'str',
|
21
21
|
'enabled_event_type_names': 'list[str]',
|
22
|
-
'
|
22
|
+
'send_switch': 'str',
|
23
|
+
'param_config': 'str',
|
24
|
+
'use_project_notice': 'str'
|
23
25
|
}
|
24
26
|
|
25
27
|
attribute_map = {
|
26
28
|
'notice_type': 'notice_type',
|
27
29
|
'enabled_event_type_names': 'enabled_event_type_names',
|
28
|
-
'
|
30
|
+
'send_switch': 'send_switch',
|
31
|
+
'param_config': 'param_config',
|
32
|
+
'use_project_notice': 'use_project_notice'
|
29
33
|
}
|
30
34
|
|
31
|
-
def __init__(self, notice_type=None, enabled_event_type_names=None, param_config=None):
|
35
|
+
def __init__(self, notice_type=None, enabled_event_type_names=None, send_switch=None, param_config=None, use_project_notice=None):
|
32
36
|
r"""UpdateNoticeRequestBody
|
33
37
|
|
34
38
|
The model defined in huaweicloud sdk
|
@@ -37,21 +41,31 @@ class UpdateNoticeRequestBody:
|
|
37
41
|
:type notice_type: str
|
38
42
|
:param enabled_event_type_names: 开启的通知的种类
|
39
43
|
:type enabled_event_type_names: list[str]
|
44
|
+
:param send_switch: 是否开启消息通知。
|
45
|
+
:type send_switch: str
|
40
46
|
:param param_config: 通知参数配置
|
41
47
|
:type param_config: str
|
48
|
+
:param use_project_notice: 是否使用项目级消息通知设置。
|
49
|
+
:type use_project_notice: str
|
42
50
|
"""
|
43
51
|
|
44
52
|
|
45
53
|
|
46
54
|
self._notice_type = None
|
47
55
|
self._enabled_event_type_names = None
|
56
|
+
self._send_switch = None
|
48
57
|
self._param_config = None
|
58
|
+
self._use_project_notice = None
|
49
59
|
self.discriminator = None
|
50
60
|
|
51
61
|
self.notice_type = notice_type
|
52
62
|
self.enabled_event_type_names = enabled_event_type_names
|
63
|
+
if send_switch is not None:
|
64
|
+
self.send_switch = send_switch
|
53
65
|
if param_config is not None:
|
54
66
|
self.param_config = param_config
|
67
|
+
if use_project_notice is not None:
|
68
|
+
self.use_project_notice = use_project_notice
|
55
69
|
|
56
70
|
@property
|
57
71
|
def notice_type(self):
|
@@ -97,6 +111,28 @@ class UpdateNoticeRequestBody:
|
|
97
111
|
"""
|
98
112
|
self._enabled_event_type_names = enabled_event_type_names
|
99
113
|
|
114
|
+
@property
|
115
|
+
def send_switch(self):
|
116
|
+
r"""Gets the send_switch of this UpdateNoticeRequestBody.
|
117
|
+
|
118
|
+
是否开启消息通知。
|
119
|
+
|
120
|
+
:return: The send_switch of this UpdateNoticeRequestBody.
|
121
|
+
:rtype: str
|
122
|
+
"""
|
123
|
+
return self._send_switch
|
124
|
+
|
125
|
+
@send_switch.setter
|
126
|
+
def send_switch(self, send_switch):
|
127
|
+
r"""Sets the send_switch of this UpdateNoticeRequestBody.
|
128
|
+
|
129
|
+
是否开启消息通知。
|
130
|
+
|
131
|
+
:param send_switch: The send_switch of this UpdateNoticeRequestBody.
|
132
|
+
:type send_switch: str
|
133
|
+
"""
|
134
|
+
self._send_switch = send_switch
|
135
|
+
|
100
136
|
@property
|
101
137
|
def param_config(self):
|
102
138
|
r"""Gets the param_config of this UpdateNoticeRequestBody.
|
@@ -119,6 +155,28 @@ class UpdateNoticeRequestBody:
|
|
119
155
|
"""
|
120
156
|
self._param_config = param_config
|
121
157
|
|
158
|
+
@property
|
159
|
+
def use_project_notice(self):
|
160
|
+
r"""Gets the use_project_notice of this UpdateNoticeRequestBody.
|
161
|
+
|
162
|
+
是否使用项目级消息通知设置。
|
163
|
+
|
164
|
+
:return: The use_project_notice of this UpdateNoticeRequestBody.
|
165
|
+
:rtype: str
|
166
|
+
"""
|
167
|
+
return self._use_project_notice
|
168
|
+
|
169
|
+
@use_project_notice.setter
|
170
|
+
def use_project_notice(self, use_project_notice):
|
171
|
+
r"""Sets the use_project_notice of this UpdateNoticeRequestBody.
|
172
|
+
|
173
|
+
是否使用项目级消息通知设置。
|
174
|
+
|
175
|
+
:param use_project_notice: The use_project_notice of this UpdateNoticeRequestBody.
|
176
|
+
:type use_project_notice: str
|
177
|
+
"""
|
178
|
+
self._use_project_notice = use_project_notice
|
179
|
+
|
122
180
|
def to_dict(self):
|
123
181
|
"""Returns the model properties as a dict"""
|
124
182
|
result = {}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkcodeartsbuild
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.162
|
4
4
|
Summary: CodeArtsBuild
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -21,6 +21,6 @@ Classifier: Topic :: Software Development
|
|
21
21
|
Requires-Python: >=3.6
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
License-File: LICENSE
|
24
|
-
Requires-Dist: huaweicloudsdkcore>=3.1.
|
24
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.162
|
25
25
|
|
26
26
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -1,8 +1,8 @@
|
|
1
1
|
huaweicloudsdkcodeartsbuild/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
huaweicloudsdkcodeartsbuild/v3/__init__.py,sha256=
|
2
|
+
huaweicloudsdkcodeartsbuild/v3/__init__.py,sha256=TZJSBQI7v3-e19pMbsmP2VL4COUkfvj-Pi7GWaTyjNI,34468
|
3
3
|
huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py,sha256=Zf-pVLW_iVyvX9F4fDAO5LDtQ2IZ0ofZafsj3QGkbzo,242422
|
4
4
|
huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py,sha256=-xFM3aM60ZTS0pJJg3ipOwlIsGYr6Yh8dBB22JPUlvM,242531
|
5
|
-
huaweicloudsdkcodeartsbuild/v3/model/__init__.py,sha256=
|
5
|
+
huaweicloudsdkcodeartsbuild/v3/model/__init__.py,sha256=b8al__kHOIKmAJoWi5tJjIejW4RK2ZvmxNGHdt8k2b8,34322
|
6
6
|
huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_request.py,sha256=GqQV9lQSRxfHyv70PEVtfayr_xpyNL-pHqiB09a_b7Y,3268
|
7
7
|
huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_request_body.py,sha256=5bE_12uYYByAhUSLsRgG4rFozdB3__26DKPw-Ws1sOA,7877
|
8
8
|
huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_response.py,sha256=BE9vsG70vmT4NV2yItT1CnHNgRth26hdPlLRcqFdS6g,4668
|
@@ -173,7 +173,8 @@ huaweicloudsdkcodeartsbuild/v3/model/params.py,sha256=NaHt7s_isFkvcctcZWnFJubBeM
|
|
173
173
|
huaweicloudsdkcodeartsbuild/v3/model/query_custom_templates_result.py,sha256=Ckp-fjcd7TTbOB0YTU6u5ZLirzrhlLgHWmyINaKylso,4136
|
174
174
|
huaweicloudsdkcodeartsbuild/v3/model/query_job_notice_items.py,sha256=2Un7iVIB-XauJeGCu-2wNgqCrUhE_oMAv1bqu-tiQQk,4908
|
175
175
|
huaweicloudsdkcodeartsbuild/v3/model/query_template.py,sha256=sTjomzPXU9kdL_swuNkvmBf3NufhFHXh9W5OwtGD3lM,3167
|
176
|
-
huaweicloudsdkcodeartsbuild/v3/model/
|
176
|
+
huaweicloudsdkcodeartsbuild/v3/model/query_template_vo.py,sha256=4olwPtKIeJNOuq9HdnVct_UrI1aJzM6a84mwv6X2H7A,6713
|
177
|
+
huaweicloudsdkcodeartsbuild/v3/model/query_templates_items.py,sha256=cnKbegmsTcALOxf5aRkDiosGB9biU50ERts4eQ4l_1g,17939
|
177
178
|
huaweicloudsdkcodeartsbuild/v3/model/query_templates_result.py,sha256=35WKYV-tOIJjUGvTjXimdZr9S2WnYSsGkcZ3-jDujxw,4070
|
178
179
|
huaweicloudsdkcodeartsbuild/v3/model/real_time_log_response_body_result.py,sha256=QItUk94Sqzlv1b09u0Hbmk25G4h1xV_a33IE09ogt7o,6008
|
179
180
|
huaweicloudsdkcodeartsbuild/v3/model/record_info2_result.py,sha256=Ixrsvhlv_-M588lyGVorNCuerGgqWH4A9J9DAgF5e8g,29922
|
@@ -299,7 +300,7 @@ huaweicloudsdkcodeartsbuild/v3/model/show_summary_build_job_info_response.py,sha
|
|
299
300
|
huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_request.py,sha256=hVbRGPRhMy7CT8XoTNWZ5XYxuFlvkUQIAu9oKDNlI9c,3294
|
300
301
|
huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_response.py,sha256=O7CqhYsNskVM0O8Fd5r7VuwdeTEQkNFe8ltEgO82v_Q,4966
|
301
302
|
huaweicloudsdkcodeartsbuild/v3/model/show_user_over_package_quota_result.py,sha256=0myRoGVBPC8wwaIbxAt2DJEA-byscRTEXy7nrM2LcZc,5136
|
302
|
-
huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py,sha256
|
303
|
+
huaweicloudsdkcodeartsbuild/v3/model/show_user_project_permission_result.py,sha256=-1nl-dW0UPMO4hcxRJGL8-ME0asGG25jGbaZUU9UwCI,16209
|
303
304
|
huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_request.py,sha256=0-RoB9QvRf-Yd1UIVAZ3oFRD4DSQUrAdAuYwf2KkpIQ,4196
|
304
305
|
huaweicloudsdkcodeartsbuild/v3/model/show_yaml_template_response.py,sha256=aY500ZzAD_2GCMRjhS_bB2rgPUmtyKkJyzD02goOkKo,4588
|
305
306
|
huaweicloudsdkcodeartsbuild/v3/model/status_success_result_with_uuid_result.py,sha256=MVPQml725LRTztKsaQpHiqCQ06rolQ-Xz8BES580zoA,3059
|
@@ -330,7 +331,7 @@ huaweicloudsdkcodeartsbuild/v3/model/update_keystore_response.py,sha256=f7ZpkE0w
|
|
330
331
|
huaweicloudsdkcodeartsbuild/v3/model/update_new_job_request.py,sha256=8oyoAEkCwGfW8IS4NpuGHvOdTjLvNYlw4dXn5CaZUt8,3168
|
331
332
|
huaweicloudsdkcodeartsbuild/v3/model/update_new_job_response.py,sha256=gnmeisxlHzdVUORds2puFA6TGv5CPNPJa8k2WLcauEk,4746
|
332
333
|
huaweicloudsdkcodeartsbuild/v3/model/update_notice_request.py,sha256=EIOUfmbaH1yllrvTFMHlDU0_-4hkFNNH4OpqY-jvT3U,4125
|
333
|
-
huaweicloudsdkcodeartsbuild/v3/model/update_notice_request_body.py,sha256=
|
334
|
+
huaweicloudsdkcodeartsbuild/v3/model/update_notice_request_body.py,sha256=hOIG3P5wA3_09d9lctg1P8qAh-Ez6E8R9oU0cERr9K0,7161
|
334
335
|
huaweicloudsdkcodeartsbuild/v3/model/update_notice_response.py,sha256=PydJf9X6w1J1mvdcFBrYPZwhb-haBVJ-QODWzzqJ4Rs,4620
|
335
336
|
huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_request.py,sha256=xqggZaPb3-ADsGr4nZyt2tCu9BSg__CtggB_uPTDn9I,3184
|
336
337
|
huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_request_body.py,sha256=4Je2Ul2kGaxYeDnQlBm6ijKkimmJOP0R760-f997fUg,4896
|
@@ -339,8 +340,8 @@ huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_result.py,sha256=6eQcZaqkjP
|
|
339
340
|
huaweicloudsdkcodeartsbuild/v3/model/vertices.py,sha256=JorqnMoBEtVT_cCmv7UBp_WpT2pxD_1J6_cTnK8um20,7640
|
340
341
|
huaweicloudsdkcodeartsbuild/v3/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
341
342
|
huaweicloudsdkcodeartsbuild/v3/region/codeartsbuild_region.py,sha256=YXJZhYXDFi0r7jMYyezcRe3k3z9O_SccUIBzAEiM8P8,2693
|
342
|
-
huaweicloudsdkcodeartsbuild-3.1.
|
343
|
-
huaweicloudsdkcodeartsbuild-3.1.
|
344
|
-
huaweicloudsdkcodeartsbuild-3.1.
|
345
|
-
huaweicloudsdkcodeartsbuild-3.1.
|
346
|
-
huaweicloudsdkcodeartsbuild-3.1.
|
343
|
+
huaweicloudsdkcodeartsbuild-3.1.162.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
344
|
+
huaweicloudsdkcodeartsbuild-3.1.162.dist-info/METADATA,sha256=oPqPtTkxYmRVBZd4Lm1pBGbDSOPFhfJ3NKVCkeCRlUQ,1094
|
345
|
+
huaweicloudsdkcodeartsbuild-3.1.162.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
346
|
+
huaweicloudsdkcodeartsbuild-3.1.162.dist-info/top_level.txt,sha256=ZCMnvM_0C30CfY7ZyJe_ojANYgIUXyJz5OFzzVipM1o,28
|
347
|
+
huaweicloudsdkcodeartsbuild-3.1.162.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|