huaweicloudsdkcodeartsbuild 3.1.153__py2.py3-none-any.whl → 3.1.155__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 +18 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_async_client.py +400 -0
- huaweicloudsdkcodeartsbuild/v3/codeartsbuild_client.py +400 -0
- huaweicloudsdkcodeartsbuild/v3/model/__init__.py +18 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_new_job_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_new_job_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_template_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/create_template_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/save_template_used_info_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/save_template_used_info_request_body.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/save_template_used_info_response.py +174 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_job_permission_result.py +434 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_job_permission_request.py +142 -0
- huaweicloudsdkcodeartsbuild/v3/model/show_project_job_permission_response.py +141 -0
- huaweicloudsdkcodeartsbuild/v3/model/status_success_result_with_uuid_result.py +115 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_request.py +139 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_request_body.py +198 -0
- huaweicloudsdkcodeartsbuild/v3/model/update_keystore_response.py +145 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_request.py +111 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_request_body.py +171 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_response.py +170 -0
- huaweicloudsdkcodeartsbuild/v3/model/upload_keystore_result.py +115 -0
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.155.dist-info}/METADATA +2 -2
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.155.dist-info}/RECORD +27 -9
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.155.dist-info}/LICENSE +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.155.dist-info}/WHEEL +0 -0
- {huaweicloudsdkcodeartsbuild-3.1.153.dist-info → huaweicloudsdkcodeartsbuild-3.1.155.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 SaveTemplateUsedInfoResponse(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': 'str',
|
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"""SaveTemplateUsedInfoResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param result: 成功
|
38
|
+
:type result: str
|
39
|
+
:param error: 返回错误信息
|
40
|
+
:type error: str
|
41
|
+
:param status: 返回状态信息
|
42
|
+
:type status: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(SaveTemplateUsedInfoResponse, 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 SaveTemplateUsedInfoResponse.
|
62
|
+
|
63
|
+
成功
|
64
|
+
|
65
|
+
:return: The result of this SaveTemplateUsedInfoResponse.
|
66
|
+
:rtype: str
|
67
|
+
"""
|
68
|
+
return self._result
|
69
|
+
|
70
|
+
@result.setter
|
71
|
+
def result(self, result):
|
72
|
+
r"""Sets the result of this SaveTemplateUsedInfoResponse.
|
73
|
+
|
74
|
+
成功
|
75
|
+
|
76
|
+
:param result: The result of this SaveTemplateUsedInfoResponse.
|
77
|
+
:type result: str
|
78
|
+
"""
|
79
|
+
self._result = result
|
80
|
+
|
81
|
+
@property
|
82
|
+
def error(self):
|
83
|
+
r"""Gets the error of this SaveTemplateUsedInfoResponse.
|
84
|
+
|
85
|
+
返回错误信息
|
86
|
+
|
87
|
+
:return: The error of this SaveTemplateUsedInfoResponse.
|
88
|
+
:rtype: str
|
89
|
+
"""
|
90
|
+
return self._error
|
91
|
+
|
92
|
+
@error.setter
|
93
|
+
def error(self, error):
|
94
|
+
r"""Sets the error of this SaveTemplateUsedInfoResponse.
|
95
|
+
|
96
|
+
返回错误信息
|
97
|
+
|
98
|
+
:param error: The error of this SaveTemplateUsedInfoResponse.
|
99
|
+
:type error: str
|
100
|
+
"""
|
101
|
+
self._error = error
|
102
|
+
|
103
|
+
@property
|
104
|
+
def status(self):
|
105
|
+
r"""Gets the status of this SaveTemplateUsedInfoResponse.
|
106
|
+
|
107
|
+
返回状态信息
|
108
|
+
|
109
|
+
:return: The status of this SaveTemplateUsedInfoResponse.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._status
|
113
|
+
|
114
|
+
@status.setter
|
115
|
+
def status(self, status):
|
116
|
+
r"""Sets the status of this SaveTemplateUsedInfoResponse.
|
117
|
+
|
118
|
+
返回状态信息
|
119
|
+
|
120
|
+
:param status: The status of this SaveTemplateUsedInfoResponse.
|
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, SaveTemplateUsedInfoResponse):
|
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,434 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowJobPermissionResult:
|
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
|
+
'job_id': 'str',
|
22
|
+
'is_modify': 'bool',
|
23
|
+
'is_delete': 'bool',
|
24
|
+
'is_view': 'bool',
|
25
|
+
'is_execute': 'bool',
|
26
|
+
'is_copy': 'bool',
|
27
|
+
'is_forbidden': 'bool',
|
28
|
+
'is_manager': 'bool',
|
29
|
+
'create_time': 'str',
|
30
|
+
'last_update_time': 'str',
|
31
|
+
'count': 'int'
|
32
|
+
}
|
33
|
+
|
34
|
+
attribute_map = {
|
35
|
+
'role_id': 'role_id',
|
36
|
+
'job_id': 'job_id',
|
37
|
+
'is_modify': 'is_modify',
|
38
|
+
'is_delete': 'is_delete',
|
39
|
+
'is_view': 'is_view',
|
40
|
+
'is_execute': 'is_execute',
|
41
|
+
'is_copy': 'is_copy',
|
42
|
+
'is_forbidden': 'is_forbidden',
|
43
|
+
'is_manager': 'is_manager',
|
44
|
+
'create_time': 'create_time',
|
45
|
+
'last_update_time': 'last_update_time',
|
46
|
+
'count': 'count'
|
47
|
+
}
|
48
|
+
|
49
|
+
def __init__(self, role_id=None, job_id=None, is_modify=None, is_delete=None, is_view=None, is_execute=None, is_copy=None, is_forbidden=None, is_manager=None, create_time=None, last_update_time=None, count=None):
|
50
|
+
r"""ShowJobPermissionResult
|
51
|
+
|
52
|
+
The model defined in huaweicloud sdk
|
53
|
+
|
54
|
+
:param role_id: 角色ID
|
55
|
+
:type role_id: int
|
56
|
+
:param job_id: 任务ID
|
57
|
+
:type job_id: str
|
58
|
+
:param is_modify: 是否有修改任务权限
|
59
|
+
:type is_modify: bool
|
60
|
+
:param is_delete: 是否有删除任务权限
|
61
|
+
:type is_delete: bool
|
62
|
+
:param is_view: 是否有查看任务权限
|
63
|
+
:type is_view: bool
|
64
|
+
:param is_execute: 是否有执行任务权限
|
65
|
+
:type is_execute: bool
|
66
|
+
:param is_copy: 是否有复制任务权限
|
67
|
+
:type is_copy: bool
|
68
|
+
:param is_forbidden: 是否有禁用任务权限
|
69
|
+
:type is_forbidden: bool
|
70
|
+
:param is_manager: 是否有管理任务权限
|
71
|
+
:type is_manager: bool
|
72
|
+
:param create_time: 任务创建时间
|
73
|
+
:type create_time: str
|
74
|
+
:param last_update_time: 任务最后修改时间
|
75
|
+
:type last_update_time: str
|
76
|
+
:param count: 次数
|
77
|
+
:type count: int
|
78
|
+
"""
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
self._role_id = None
|
83
|
+
self._job_id = None
|
84
|
+
self._is_modify = None
|
85
|
+
self._is_delete = None
|
86
|
+
self._is_view = None
|
87
|
+
self._is_execute = None
|
88
|
+
self._is_copy = None
|
89
|
+
self._is_forbidden = None
|
90
|
+
self._is_manager = None
|
91
|
+
self._create_time = None
|
92
|
+
self._last_update_time = None
|
93
|
+
self._count = None
|
94
|
+
self.discriminator = None
|
95
|
+
|
96
|
+
if role_id is not None:
|
97
|
+
self.role_id = role_id
|
98
|
+
if job_id is not None:
|
99
|
+
self.job_id = job_id
|
100
|
+
if is_modify is not None:
|
101
|
+
self.is_modify = is_modify
|
102
|
+
if is_delete is not None:
|
103
|
+
self.is_delete = is_delete
|
104
|
+
if is_view is not None:
|
105
|
+
self.is_view = is_view
|
106
|
+
if is_execute is not None:
|
107
|
+
self.is_execute = is_execute
|
108
|
+
if is_copy is not None:
|
109
|
+
self.is_copy = is_copy
|
110
|
+
if is_forbidden is not None:
|
111
|
+
self.is_forbidden = is_forbidden
|
112
|
+
if is_manager is not None:
|
113
|
+
self.is_manager = is_manager
|
114
|
+
if create_time is not None:
|
115
|
+
self.create_time = create_time
|
116
|
+
if last_update_time is not None:
|
117
|
+
self.last_update_time = last_update_time
|
118
|
+
if count is not None:
|
119
|
+
self.count = count
|
120
|
+
|
121
|
+
@property
|
122
|
+
def role_id(self):
|
123
|
+
r"""Gets the role_id of this ShowJobPermissionResult.
|
124
|
+
|
125
|
+
角色ID
|
126
|
+
|
127
|
+
:return: The role_id of this ShowJobPermissionResult.
|
128
|
+
:rtype: int
|
129
|
+
"""
|
130
|
+
return self._role_id
|
131
|
+
|
132
|
+
@role_id.setter
|
133
|
+
def role_id(self, role_id):
|
134
|
+
r"""Sets the role_id of this ShowJobPermissionResult.
|
135
|
+
|
136
|
+
角色ID
|
137
|
+
|
138
|
+
:param role_id: The role_id of this ShowJobPermissionResult.
|
139
|
+
:type role_id: int
|
140
|
+
"""
|
141
|
+
self._role_id = role_id
|
142
|
+
|
143
|
+
@property
|
144
|
+
def job_id(self):
|
145
|
+
r"""Gets the job_id of this ShowJobPermissionResult.
|
146
|
+
|
147
|
+
任务ID
|
148
|
+
|
149
|
+
:return: The job_id of this ShowJobPermissionResult.
|
150
|
+
:rtype: str
|
151
|
+
"""
|
152
|
+
return self._job_id
|
153
|
+
|
154
|
+
@job_id.setter
|
155
|
+
def job_id(self, job_id):
|
156
|
+
r"""Sets the job_id of this ShowJobPermissionResult.
|
157
|
+
|
158
|
+
任务ID
|
159
|
+
|
160
|
+
:param job_id: The job_id of this ShowJobPermissionResult.
|
161
|
+
:type job_id: str
|
162
|
+
"""
|
163
|
+
self._job_id = job_id
|
164
|
+
|
165
|
+
@property
|
166
|
+
def is_modify(self):
|
167
|
+
r"""Gets the is_modify of this ShowJobPermissionResult.
|
168
|
+
|
169
|
+
是否有修改任务权限
|
170
|
+
|
171
|
+
:return: The is_modify of this ShowJobPermissionResult.
|
172
|
+
:rtype: bool
|
173
|
+
"""
|
174
|
+
return self._is_modify
|
175
|
+
|
176
|
+
@is_modify.setter
|
177
|
+
def is_modify(self, is_modify):
|
178
|
+
r"""Sets the is_modify of this ShowJobPermissionResult.
|
179
|
+
|
180
|
+
是否有修改任务权限
|
181
|
+
|
182
|
+
:param is_modify: The is_modify of this ShowJobPermissionResult.
|
183
|
+
:type is_modify: bool
|
184
|
+
"""
|
185
|
+
self._is_modify = is_modify
|
186
|
+
|
187
|
+
@property
|
188
|
+
def is_delete(self):
|
189
|
+
r"""Gets the is_delete of this ShowJobPermissionResult.
|
190
|
+
|
191
|
+
是否有删除任务权限
|
192
|
+
|
193
|
+
:return: The is_delete of this ShowJobPermissionResult.
|
194
|
+
:rtype: bool
|
195
|
+
"""
|
196
|
+
return self._is_delete
|
197
|
+
|
198
|
+
@is_delete.setter
|
199
|
+
def is_delete(self, is_delete):
|
200
|
+
r"""Sets the is_delete of this ShowJobPermissionResult.
|
201
|
+
|
202
|
+
是否有删除任务权限
|
203
|
+
|
204
|
+
:param is_delete: The is_delete of this ShowJobPermissionResult.
|
205
|
+
:type is_delete: bool
|
206
|
+
"""
|
207
|
+
self._is_delete = is_delete
|
208
|
+
|
209
|
+
@property
|
210
|
+
def is_view(self):
|
211
|
+
r"""Gets the is_view of this ShowJobPermissionResult.
|
212
|
+
|
213
|
+
是否有查看任务权限
|
214
|
+
|
215
|
+
:return: The is_view of this ShowJobPermissionResult.
|
216
|
+
:rtype: bool
|
217
|
+
"""
|
218
|
+
return self._is_view
|
219
|
+
|
220
|
+
@is_view.setter
|
221
|
+
def is_view(self, is_view):
|
222
|
+
r"""Sets the is_view of this ShowJobPermissionResult.
|
223
|
+
|
224
|
+
是否有查看任务权限
|
225
|
+
|
226
|
+
:param is_view: The is_view of this ShowJobPermissionResult.
|
227
|
+
:type is_view: bool
|
228
|
+
"""
|
229
|
+
self._is_view = is_view
|
230
|
+
|
231
|
+
@property
|
232
|
+
def is_execute(self):
|
233
|
+
r"""Gets the is_execute of this ShowJobPermissionResult.
|
234
|
+
|
235
|
+
是否有执行任务权限
|
236
|
+
|
237
|
+
:return: The is_execute of this ShowJobPermissionResult.
|
238
|
+
:rtype: bool
|
239
|
+
"""
|
240
|
+
return self._is_execute
|
241
|
+
|
242
|
+
@is_execute.setter
|
243
|
+
def is_execute(self, is_execute):
|
244
|
+
r"""Sets the is_execute of this ShowJobPermissionResult.
|
245
|
+
|
246
|
+
是否有执行任务权限
|
247
|
+
|
248
|
+
:param is_execute: The is_execute of this ShowJobPermissionResult.
|
249
|
+
:type is_execute: bool
|
250
|
+
"""
|
251
|
+
self._is_execute = is_execute
|
252
|
+
|
253
|
+
@property
|
254
|
+
def is_copy(self):
|
255
|
+
r"""Gets the is_copy of this ShowJobPermissionResult.
|
256
|
+
|
257
|
+
是否有复制任务权限
|
258
|
+
|
259
|
+
:return: The is_copy of this ShowJobPermissionResult.
|
260
|
+
:rtype: bool
|
261
|
+
"""
|
262
|
+
return self._is_copy
|
263
|
+
|
264
|
+
@is_copy.setter
|
265
|
+
def is_copy(self, is_copy):
|
266
|
+
r"""Sets the is_copy of this ShowJobPermissionResult.
|
267
|
+
|
268
|
+
是否有复制任务权限
|
269
|
+
|
270
|
+
:param is_copy: The is_copy of this ShowJobPermissionResult.
|
271
|
+
:type is_copy: bool
|
272
|
+
"""
|
273
|
+
self._is_copy = is_copy
|
274
|
+
|
275
|
+
@property
|
276
|
+
def is_forbidden(self):
|
277
|
+
r"""Gets the is_forbidden of this ShowJobPermissionResult.
|
278
|
+
|
279
|
+
是否有禁用任务权限
|
280
|
+
|
281
|
+
:return: The is_forbidden of this ShowJobPermissionResult.
|
282
|
+
:rtype: bool
|
283
|
+
"""
|
284
|
+
return self._is_forbidden
|
285
|
+
|
286
|
+
@is_forbidden.setter
|
287
|
+
def is_forbidden(self, is_forbidden):
|
288
|
+
r"""Sets the is_forbidden of this ShowJobPermissionResult.
|
289
|
+
|
290
|
+
是否有禁用任务权限
|
291
|
+
|
292
|
+
:param is_forbidden: The is_forbidden of this ShowJobPermissionResult.
|
293
|
+
:type is_forbidden: bool
|
294
|
+
"""
|
295
|
+
self._is_forbidden = is_forbidden
|
296
|
+
|
297
|
+
@property
|
298
|
+
def is_manager(self):
|
299
|
+
r"""Gets the is_manager of this ShowJobPermissionResult.
|
300
|
+
|
301
|
+
是否有管理任务权限
|
302
|
+
|
303
|
+
:return: The is_manager of this ShowJobPermissionResult.
|
304
|
+
:rtype: bool
|
305
|
+
"""
|
306
|
+
return self._is_manager
|
307
|
+
|
308
|
+
@is_manager.setter
|
309
|
+
def is_manager(self, is_manager):
|
310
|
+
r"""Sets the is_manager of this ShowJobPermissionResult.
|
311
|
+
|
312
|
+
是否有管理任务权限
|
313
|
+
|
314
|
+
:param is_manager: The is_manager of this ShowJobPermissionResult.
|
315
|
+
:type is_manager: bool
|
316
|
+
"""
|
317
|
+
self._is_manager = is_manager
|
318
|
+
|
319
|
+
@property
|
320
|
+
def create_time(self):
|
321
|
+
r"""Gets the create_time of this ShowJobPermissionResult.
|
322
|
+
|
323
|
+
任务创建时间
|
324
|
+
|
325
|
+
:return: The create_time of this ShowJobPermissionResult.
|
326
|
+
:rtype: str
|
327
|
+
"""
|
328
|
+
return self._create_time
|
329
|
+
|
330
|
+
@create_time.setter
|
331
|
+
def create_time(self, create_time):
|
332
|
+
r"""Sets the create_time of this ShowJobPermissionResult.
|
333
|
+
|
334
|
+
任务创建时间
|
335
|
+
|
336
|
+
:param create_time: The create_time of this ShowJobPermissionResult.
|
337
|
+
:type create_time: str
|
338
|
+
"""
|
339
|
+
self._create_time = create_time
|
340
|
+
|
341
|
+
@property
|
342
|
+
def last_update_time(self):
|
343
|
+
r"""Gets the last_update_time of this ShowJobPermissionResult.
|
344
|
+
|
345
|
+
任务最后修改时间
|
346
|
+
|
347
|
+
:return: The last_update_time of this ShowJobPermissionResult.
|
348
|
+
:rtype: str
|
349
|
+
"""
|
350
|
+
return self._last_update_time
|
351
|
+
|
352
|
+
@last_update_time.setter
|
353
|
+
def last_update_time(self, last_update_time):
|
354
|
+
r"""Sets the last_update_time of this ShowJobPermissionResult.
|
355
|
+
|
356
|
+
任务最后修改时间
|
357
|
+
|
358
|
+
:param last_update_time: The last_update_time of this ShowJobPermissionResult.
|
359
|
+
:type last_update_time: str
|
360
|
+
"""
|
361
|
+
self._last_update_time = last_update_time
|
362
|
+
|
363
|
+
@property
|
364
|
+
def count(self):
|
365
|
+
r"""Gets the count of this ShowJobPermissionResult.
|
366
|
+
|
367
|
+
次数
|
368
|
+
|
369
|
+
:return: The count of this ShowJobPermissionResult.
|
370
|
+
:rtype: int
|
371
|
+
"""
|
372
|
+
return self._count
|
373
|
+
|
374
|
+
@count.setter
|
375
|
+
def count(self, count):
|
376
|
+
r"""Sets the count of this ShowJobPermissionResult.
|
377
|
+
|
378
|
+
次数
|
379
|
+
|
380
|
+
:param count: The count of this ShowJobPermissionResult.
|
381
|
+
:type count: int
|
382
|
+
"""
|
383
|
+
self._count = count
|
384
|
+
|
385
|
+
def to_dict(self):
|
386
|
+
"""Returns the model properties as a dict"""
|
387
|
+
result = {}
|
388
|
+
|
389
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
390
|
+
value = getattr(self, attr)
|
391
|
+
if isinstance(value, list):
|
392
|
+
result[attr] = list(map(
|
393
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
394
|
+
value
|
395
|
+
))
|
396
|
+
elif hasattr(value, "to_dict"):
|
397
|
+
result[attr] = value.to_dict()
|
398
|
+
elif isinstance(value, dict):
|
399
|
+
result[attr] = dict(map(
|
400
|
+
lambda item: (item[0], item[1].to_dict())
|
401
|
+
if hasattr(item[1], "to_dict") else item,
|
402
|
+
value.items()
|
403
|
+
))
|
404
|
+
else:
|
405
|
+
if attr in self.sensitive_list:
|
406
|
+
result[attr] = "****"
|
407
|
+
else:
|
408
|
+
result[attr] = value
|
409
|
+
|
410
|
+
return result
|
411
|
+
|
412
|
+
def to_str(self):
|
413
|
+
"""Returns the string representation of the model"""
|
414
|
+
import simplejson as json
|
415
|
+
if six.PY2:
|
416
|
+
import sys
|
417
|
+
reload(sys)
|
418
|
+
sys.setdefaultencoding("utf-8")
|
419
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
420
|
+
|
421
|
+
def __repr__(self):
|
422
|
+
"""For `print`"""
|
423
|
+
return self.to_str()
|
424
|
+
|
425
|
+
def __eq__(self, other):
|
426
|
+
"""Returns true if both objects are equal"""
|
427
|
+
if not isinstance(other, ShowJobPermissionResult):
|
428
|
+
return False
|
429
|
+
|
430
|
+
return self.__dict__ == other.__dict__
|
431
|
+
|
432
|
+
def __ne__(self, other):
|
433
|
+
"""Returns true if both objects are not equal"""
|
434
|
+
return not self == other
|