huaweicloudsdkcodeartsbuild 3.1.155__py2.py3-none-any.whl → 3.1.157__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 +13 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +280 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +280 -0
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +13 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_request_body.py +282 -0
- huaweicloudsdkcodeartsbuild/v3/model/add_keystore_permission_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_pipeline_info_items.py +260 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_pipeline_info_parameters.py +202 -0
- huaweicloudsdkcodeartsbuild/v3/model/job_pipeline_info_params_items.py +144 -0
- huaweicloudsdkcodeartsbuild/v3/model/list_job_request.py +206 -1
- huaweicloudsdkcodeartsbuild/v3/model/show_job_pipeline_info_request.py +172 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_pipeline_info_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/stop_the_job_request.py +143 -0
- huaweicloudsdkcodeartsbuild/v3/model/stop_the_job_response.py +116 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_permission_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_permission_request_body.py +283 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_permission_response.py +174 -0
- {huaweicloudsdkcodeartsbuild-3.1.155.dist-info → huaweicloudsdkcodeartsbuild-3.1.157.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.155.dist-info → huaweicloudsdkcodeartsbuild-3.1.157.dist-info}/RECORD +23 -10
- {huaweicloudsdkcodeartsbuild-3.1.155.dist-info → huaweicloudsdkcodeartsbuild-3.1.157.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.155.dist-info → huaweicloudsdkcodeartsbuild-3.1.157.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.155.dist-info → huaweicloudsdkcodeartsbuild-3.1.157.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,116 @@
|
|
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 StopTheJobResponse(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
|
+
'status': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'status': 'status'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, status=None):
|
29
|
+
r"""StopTheJobResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param status: 是否停止成功
|
34
|
+
:type status: str
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(StopTheJobResponse, self).__init__()
|
38
|
+
|
39
|
+
self._status = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if status is not None:
|
43
|
+
self.status = status
|
44
|
+
|
45
|
+
@property
|
46
|
+
def status(self):
|
47
|
+
r"""Gets the status of this StopTheJobResponse.
|
48
|
+
|
49
|
+
是否停止成功
|
50
|
+
|
51
|
+
:return: The status of this StopTheJobResponse.
|
52
|
+
:rtype: str
|
53
|
+
"""
|
54
|
+
return self._status
|
55
|
+
|
56
|
+
@status.setter
|
57
|
+
def status(self, status):
|
58
|
+
r"""Sets the status of this StopTheJobResponse.
|
59
|
+
|
60
|
+
是否停止成功
|
61
|
+
|
62
|
+
:param status: The status of this StopTheJobResponse.
|
63
|
+
:type status: str
|
64
|
+
"""
|
65
|
+
self._status = status
|
66
|
+
|
67
|
+
def to_dict(self):
|
68
|
+
"""Returns the model properties as a dict"""
|
69
|
+
result = {}
|
70
|
+
|
71
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
72
|
+
value = getattr(self, attr)
|
73
|
+
if isinstance(value, list):
|
74
|
+
result[attr] = list(map(
|
75
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
76
|
+
value
|
77
|
+
))
|
78
|
+
elif hasattr(value, "to_dict"):
|
79
|
+
result[attr] = value.to_dict()
|
80
|
+
elif isinstance(value, dict):
|
81
|
+
result[attr] = dict(map(
|
82
|
+
lambda item: (item[0], item[1].to_dict())
|
83
|
+
if hasattr(item[1], "to_dict") else item,
|
84
|
+
value.items()
|
85
|
+
))
|
86
|
+
else:
|
87
|
+
if attr in self.sensitive_list:
|
88
|
+
result[attr] = "****"
|
89
|
+
else:
|
90
|
+
result[attr] = value
|
91
|
+
|
92
|
+
return result
|
93
|
+
|
94
|
+
def to_str(self):
|
95
|
+
"""Returns the string representation of the model"""
|
96
|
+
import simplejson as json
|
97
|
+
if six.PY2:
|
98
|
+
import sys
|
99
|
+
reload(sys)
|
100
|
+
sys.setdefaultencoding("utf-8")
|
101
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
"""For `print`"""
|
105
|
+
return self.to_str()
|
106
|
+
|
107
|
+
def __eq__(self, other):
|
108
|
+
"""Returns true if both objects are equal"""
|
109
|
+
if not isinstance(other, StopTheJobResponse):
|
110
|
+
return False
|
111
|
+
|
112
|
+
return self.__dict__ == other.__dict__
|
113
|
+
|
114
|
+
def __ne__(self, other):
|
115
|
+
"""Returns true if both objects are not equal"""
|
116
|
+
return not self == other
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UpdateKeystorePermissionRequest:
|
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
|
+
'body': 'UpdateKeystorePermissionRequestBody'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""UpdateKeystorePermissionRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the UpdateKeystorePermissionRequest
|
33
|
+
:type body: :class:`huaweicloudsdkcodeartsbuild.v3.UpdateKeystorePermissionRequestBody`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._body = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if body is not None:
|
42
|
+
self.body = body
|
43
|
+
|
44
|
+
@property
|
45
|
+
def body(self):
|
46
|
+
r"""Gets the body of this UpdateKeystorePermissionRequest.
|
47
|
+
|
48
|
+
:return: The body of this UpdateKeystorePermissionRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkcodeartsbuild.v3.UpdateKeystorePermissionRequestBody`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this UpdateKeystorePermissionRequest.
|
56
|
+
|
57
|
+
:param body: The body of this UpdateKeystorePermissionRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkcodeartsbuild.v3.UpdateKeystorePermissionRequestBody`
|
59
|
+
"""
|
60
|
+
self._body = body
|
61
|
+
|
62
|
+
def to_dict(self):
|
63
|
+
"""Returns the model properties as a dict"""
|
64
|
+
result = {}
|
65
|
+
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
67
|
+
value = getattr(self, attr)
|
68
|
+
if isinstance(value, list):
|
69
|
+
result[attr] = list(map(
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
71
|
+
value
|
72
|
+
))
|
73
|
+
elif hasattr(value, "to_dict"):
|
74
|
+
result[attr] = value.to_dict()
|
75
|
+
elif isinstance(value, dict):
|
76
|
+
result[attr] = dict(map(
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
79
|
+
value.items()
|
80
|
+
))
|
81
|
+
else:
|
82
|
+
if attr in self.sensitive_list:
|
83
|
+
result[attr] = "****"
|
84
|
+
else:
|
85
|
+
result[attr] = value
|
86
|
+
|
87
|
+
return result
|
88
|
+
|
89
|
+
def to_str(self):
|
90
|
+
"""Returns the string representation of the model"""
|
91
|
+
import simplejson as json
|
92
|
+
if six.PY2:
|
93
|
+
import sys
|
94
|
+
reload(sys)
|
95
|
+
sys.setdefaultencoding("utf-8")
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
97
|
+
|
98
|
+
def __repr__(self):
|
99
|
+
"""For `print`"""
|
100
|
+
return self.to_str()
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
"""Returns true if both objects are equal"""
|
104
|
+
if not isinstance(other, UpdateKeystorePermissionRequest):
|
105
|
+
return False
|
106
|
+
|
107
|
+
return self.__dict__ == other.__dict__
|
108
|
+
|
109
|
+
def __ne__(self, other):
|
110
|
+
"""Returns true if both objects are not equal"""
|
111
|
+
return not self == other
|
@@ -0,0 +1,283 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UpdateKeystorePermissionRequestBody:
|
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
|
+
'can_absent': 'bool',
|
21
|
+
'delete': 'bool',
|
22
|
+
'id': 'str',
|
23
|
+
'keystore_id': 'str',
|
24
|
+
'modify': 'bool',
|
25
|
+
'usage': 'bool',
|
26
|
+
'user_name': 'str'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'can_absent': 'can_absent',
|
31
|
+
'delete': 'delete',
|
32
|
+
'id': 'id',
|
33
|
+
'keystore_id': 'keystore_id',
|
34
|
+
'modify': 'modify',
|
35
|
+
'usage': 'usage',
|
36
|
+
'user_name': 'user_name'
|
37
|
+
}
|
38
|
+
|
39
|
+
def __init__(self, can_absent=None, delete=None, id=None, keystore_id=None, modify=None, usage=None, user_name=None):
|
40
|
+
r"""UpdateKeystorePermissionRequestBody
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param can_absent: can_absent
|
45
|
+
:type can_absent: bool
|
46
|
+
:param delete: delete
|
47
|
+
:type delete: bool
|
48
|
+
:param id: id
|
49
|
+
:type id: str
|
50
|
+
:param keystore_id: keystore_id
|
51
|
+
:type keystore_id: str
|
52
|
+
:param modify: modify
|
53
|
+
:type modify: bool
|
54
|
+
:param usage: usage
|
55
|
+
:type usage: bool
|
56
|
+
:param user_name: user_name
|
57
|
+
:type user_name: str
|
58
|
+
"""
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
self._can_absent = None
|
63
|
+
self._delete = None
|
64
|
+
self._id = None
|
65
|
+
self._keystore_id = None
|
66
|
+
self._modify = None
|
67
|
+
self._usage = None
|
68
|
+
self._user_name = None
|
69
|
+
self.discriminator = None
|
70
|
+
|
71
|
+
if can_absent is not None:
|
72
|
+
self.can_absent = can_absent
|
73
|
+
self.delete = delete
|
74
|
+
self.id = id
|
75
|
+
self.keystore_id = keystore_id
|
76
|
+
self.modify = modify
|
77
|
+
self.usage = usage
|
78
|
+
self.user_name = user_name
|
79
|
+
|
80
|
+
@property
|
81
|
+
def can_absent(self):
|
82
|
+
r"""Gets the can_absent of this UpdateKeystorePermissionRequestBody.
|
83
|
+
|
84
|
+
can_absent
|
85
|
+
|
86
|
+
:return: The can_absent of this UpdateKeystorePermissionRequestBody.
|
87
|
+
:rtype: bool
|
88
|
+
"""
|
89
|
+
return self._can_absent
|
90
|
+
|
91
|
+
@can_absent.setter
|
92
|
+
def can_absent(self, can_absent):
|
93
|
+
r"""Sets the can_absent of this UpdateKeystorePermissionRequestBody.
|
94
|
+
|
95
|
+
can_absent
|
96
|
+
|
97
|
+
:param can_absent: The can_absent of this UpdateKeystorePermissionRequestBody.
|
98
|
+
:type can_absent: bool
|
99
|
+
"""
|
100
|
+
self._can_absent = can_absent
|
101
|
+
|
102
|
+
@property
|
103
|
+
def delete(self):
|
104
|
+
r"""Gets the delete of this UpdateKeystorePermissionRequestBody.
|
105
|
+
|
106
|
+
delete
|
107
|
+
|
108
|
+
:return: The delete of this UpdateKeystorePermissionRequestBody.
|
109
|
+
:rtype: bool
|
110
|
+
"""
|
111
|
+
return self._delete
|
112
|
+
|
113
|
+
@delete.setter
|
114
|
+
def delete(self, delete):
|
115
|
+
r"""Sets the delete of this UpdateKeystorePermissionRequestBody.
|
116
|
+
|
117
|
+
delete
|
118
|
+
|
119
|
+
:param delete: The delete of this UpdateKeystorePermissionRequestBody.
|
120
|
+
:type delete: bool
|
121
|
+
"""
|
122
|
+
self._delete = delete
|
123
|
+
|
124
|
+
@property
|
125
|
+
def id(self):
|
126
|
+
r"""Gets the id of this UpdateKeystorePermissionRequestBody.
|
127
|
+
|
128
|
+
id
|
129
|
+
|
130
|
+
:return: The id of this UpdateKeystorePermissionRequestBody.
|
131
|
+
:rtype: str
|
132
|
+
"""
|
133
|
+
return self._id
|
134
|
+
|
135
|
+
@id.setter
|
136
|
+
def id(self, id):
|
137
|
+
r"""Sets the id of this UpdateKeystorePermissionRequestBody.
|
138
|
+
|
139
|
+
id
|
140
|
+
|
141
|
+
:param id: The id of this UpdateKeystorePermissionRequestBody.
|
142
|
+
:type id: str
|
143
|
+
"""
|
144
|
+
self._id = id
|
145
|
+
|
146
|
+
@property
|
147
|
+
def keystore_id(self):
|
148
|
+
r"""Gets the keystore_id of this UpdateKeystorePermissionRequestBody.
|
149
|
+
|
150
|
+
keystore_id
|
151
|
+
|
152
|
+
:return: The keystore_id of this UpdateKeystorePermissionRequestBody.
|
153
|
+
:rtype: str
|
154
|
+
"""
|
155
|
+
return self._keystore_id
|
156
|
+
|
157
|
+
@keystore_id.setter
|
158
|
+
def keystore_id(self, keystore_id):
|
159
|
+
r"""Sets the keystore_id of this UpdateKeystorePermissionRequestBody.
|
160
|
+
|
161
|
+
keystore_id
|
162
|
+
|
163
|
+
:param keystore_id: The keystore_id of this UpdateKeystorePermissionRequestBody.
|
164
|
+
:type keystore_id: str
|
165
|
+
"""
|
166
|
+
self._keystore_id = keystore_id
|
167
|
+
|
168
|
+
@property
|
169
|
+
def modify(self):
|
170
|
+
r"""Gets the modify of this UpdateKeystorePermissionRequestBody.
|
171
|
+
|
172
|
+
modify
|
173
|
+
|
174
|
+
:return: The modify of this UpdateKeystorePermissionRequestBody.
|
175
|
+
:rtype: bool
|
176
|
+
"""
|
177
|
+
return self._modify
|
178
|
+
|
179
|
+
@modify.setter
|
180
|
+
def modify(self, modify):
|
181
|
+
r"""Sets the modify of this UpdateKeystorePermissionRequestBody.
|
182
|
+
|
183
|
+
modify
|
184
|
+
|
185
|
+
:param modify: The modify of this UpdateKeystorePermissionRequestBody.
|
186
|
+
:type modify: bool
|
187
|
+
"""
|
188
|
+
self._modify = modify
|
189
|
+
|
190
|
+
@property
|
191
|
+
def usage(self):
|
192
|
+
r"""Gets the usage of this UpdateKeystorePermissionRequestBody.
|
193
|
+
|
194
|
+
usage
|
195
|
+
|
196
|
+
:return: The usage of this UpdateKeystorePermissionRequestBody.
|
197
|
+
:rtype: bool
|
198
|
+
"""
|
199
|
+
return self._usage
|
200
|
+
|
201
|
+
@usage.setter
|
202
|
+
def usage(self, usage):
|
203
|
+
r"""Sets the usage of this UpdateKeystorePermissionRequestBody.
|
204
|
+
|
205
|
+
usage
|
206
|
+
|
207
|
+
:param usage: The usage of this UpdateKeystorePermissionRequestBody.
|
208
|
+
:type usage: bool
|
209
|
+
"""
|
210
|
+
self._usage = usage
|
211
|
+
|
212
|
+
@property
|
213
|
+
def user_name(self):
|
214
|
+
r"""Gets the user_name of this UpdateKeystorePermissionRequestBody.
|
215
|
+
|
216
|
+
user_name
|
217
|
+
|
218
|
+
:return: The user_name of this UpdateKeystorePermissionRequestBody.
|
219
|
+
:rtype: str
|
220
|
+
"""
|
221
|
+
return self._user_name
|
222
|
+
|
223
|
+
@user_name.setter
|
224
|
+
def user_name(self, user_name):
|
225
|
+
r"""Sets the user_name of this UpdateKeystorePermissionRequestBody.
|
226
|
+
|
227
|
+
user_name
|
228
|
+
|
229
|
+
:param user_name: The user_name of this UpdateKeystorePermissionRequestBody.
|
230
|
+
:type user_name: str
|
231
|
+
"""
|
232
|
+
self._user_name = user_name
|
233
|
+
|
234
|
+
def to_dict(self):
|
235
|
+
"""Returns the model properties as a dict"""
|
236
|
+
result = {}
|
237
|
+
|
238
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
239
|
+
value = getattr(self, attr)
|
240
|
+
if isinstance(value, list):
|
241
|
+
result[attr] = list(map(
|
242
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
243
|
+
value
|
244
|
+
))
|
245
|
+
elif hasattr(value, "to_dict"):
|
246
|
+
result[attr] = value.to_dict()
|
247
|
+
elif isinstance(value, dict):
|
248
|
+
result[attr] = dict(map(
|
249
|
+
lambda item: (item[0], item[1].to_dict())
|
250
|
+
if hasattr(item[1], "to_dict") else item,
|
251
|
+
value.items()
|
252
|
+
))
|
253
|
+
else:
|
254
|
+
if attr in self.sensitive_list:
|
255
|
+
result[attr] = "****"
|
256
|
+
else:
|
257
|
+
result[attr] = value
|
258
|
+
|
259
|
+
return result
|
260
|
+
|
261
|
+
def to_str(self):
|
262
|
+
"""Returns the string representation of the model"""
|
263
|
+
import simplejson as json
|
264
|
+
if six.PY2:
|
265
|
+
import sys
|
266
|
+
reload(sys)
|
267
|
+
sys.setdefaultencoding("utf-8")
|
268
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
269
|
+
|
270
|
+
def __repr__(self):
|
271
|
+
"""For `print`"""
|
272
|
+
return self.to_str()
|
273
|
+
|
274
|
+
def __eq__(self, other):
|
275
|
+
"""Returns true if both objects are equal"""
|
276
|
+
if not isinstance(other, UpdateKeystorePermissionRequestBody):
|
277
|
+
return False
|
278
|
+
|
279
|
+
return self.__dict__ == other.__dict__
|
280
|
+
|
281
|
+
def __ne__(self, other):
|
282
|
+
"""Returns true if both objects are not equal"""
|
283
|
+
return not self == other
|
@@ -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 UpdateKeystorePermissionResponse(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
|
+
'status': 'str',
|
22
|
+
'error': 'object',
|
23
|
+
'result': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'status': 'status',
|
28
|
+
'error': 'error',
|
29
|
+
'result': 'result'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, status=None, error=None, result=None):
|
33
|
+
r"""UpdateKeystorePermissionResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param status: 状态
|
38
|
+
:type status: str
|
39
|
+
:param error: 错误
|
40
|
+
:type error: object
|
41
|
+
:param result: 结果
|
42
|
+
:type result: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(UpdateKeystorePermissionResponse, self).__init__()
|
46
|
+
|
47
|
+
self._status = None
|
48
|
+
self._error = None
|
49
|
+
self._result = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if status is not None:
|
53
|
+
self.status = status
|
54
|
+
if error is not None:
|
55
|
+
self.error = error
|
56
|
+
if result is not None:
|
57
|
+
self.result = result
|
58
|
+
|
59
|
+
@property
|
60
|
+
def status(self):
|
61
|
+
r"""Gets the status of this UpdateKeystorePermissionResponse.
|
62
|
+
|
63
|
+
状态
|
64
|
+
|
65
|
+
:return: The status of this UpdateKeystorePermissionResponse.
|
66
|
+
:rtype: str
|
67
|
+
"""
|
68
|
+
return self._status
|
69
|
+
|
70
|
+
@status.setter
|
71
|
+
def status(self, status):
|
72
|
+
r"""Sets the status of this UpdateKeystorePermissionResponse.
|
73
|
+
|
74
|
+
状态
|
75
|
+
|
76
|
+
:param status: The status of this UpdateKeystorePermissionResponse.
|
77
|
+
:type status: str
|
78
|
+
"""
|
79
|
+
self._status = status
|
80
|
+
|
81
|
+
@property
|
82
|
+
def error(self):
|
83
|
+
r"""Gets the error of this UpdateKeystorePermissionResponse.
|
84
|
+
|
85
|
+
错误
|
86
|
+
|
87
|
+
:return: The error of this UpdateKeystorePermissionResponse.
|
88
|
+
:rtype: object
|
89
|
+
"""
|
90
|
+
return self._error
|
91
|
+
|
92
|
+
@error.setter
|
93
|
+
def error(self, error):
|
94
|
+
r"""Sets the error of this UpdateKeystorePermissionResponse.
|
95
|
+
|
96
|
+
错误
|
97
|
+
|
98
|
+
:param error: The error of this UpdateKeystorePermissionResponse.
|
99
|
+
:type error: object
|
100
|
+
"""
|
101
|
+
self._error = error
|
102
|
+
|
103
|
+
@property
|
104
|
+
def result(self):
|
105
|
+
r"""Gets the result of this UpdateKeystorePermissionResponse.
|
106
|
+
|
107
|
+
结果
|
108
|
+
|
109
|
+
:return: The result of this UpdateKeystorePermissionResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._result
|
113
|
+
|
114
|
+
@result.setter
|
115
|
+
def result(self, result):
|
116
|
+
r"""Sets the result of this UpdateKeystorePermissionResponse.
|
117
|
+
|
118
|
+
结果
|
119
|
+
|
120
|
+
:param result: The result of this UpdateKeystorePermissionResponse.
|
121
|
+
:type result: str
|
122
|
+
"""
|
123
|
+
self._result = result
|
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, UpdateKeystorePermissionResponse):
|
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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkcodeartsbuild
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.157
|
4
4
|
Summary: CodeArtsBuild
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore>=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore>=3.1.157
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|