huaweicloudsdkoctopus 3.1.160__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.
- huaweicloudsdkoctopus/__init__.py +0 -0
- huaweicloudsdkoctopus/v2/__init__.py +122 -0
- huaweicloudsdkoctopus/v2/model/__init__.py +119 -0
- huaweicloudsdkoctopus/v2/model/alg_image_create_srlz.py +350 -0
- huaweicloudsdkoctopus/v2/model/alg_image_list_srlz.py +266 -0
- huaweicloudsdkoctopus/v2/model/algorithm_create_srlz.py +399 -0
- huaweicloudsdkoctopus/v2/model/algorithm_list_srlz.py +266 -0
- huaweicloudsdkoctopus/v2/model/batch_config_abc_info_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/batch_config_evaluation_info_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/batch_config_image_info_srlz.py +198 -0
- huaweicloudsdkoctopus/v2/model/batch_config_msg_notify_srlz.py +115 -0
- huaweicloudsdkoctopus/v2/model/batch_config_scenario_srlz.py +173 -0
- huaweicloudsdkoctopus/v2/model/batch_config_srlz.py +806 -0
- huaweicloudsdkoctopus/v2/model/batch_create_request.py +198 -0
- huaweicloudsdkoctopus/v2/model/batch_srlz.py +604 -0
- huaweicloudsdkoctopus/v2/model/build_create_srlz.py +115 -0
- huaweicloudsdkoctopus/v2/model/build_update_srlz.py +143 -0
- huaweicloudsdkoctopus/v2/model/category_f62_enum.py +89 -0
- huaweicloudsdkoctopus/v2/model/compilation_create_srlz.py +255 -0
- huaweicloudsdkoctopus/v2/model/compilation_update_srlz.py +311 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_response.py +361 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithms_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithms_response.py +404 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_response.py +819 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batches_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batches_response.py +619 -0
- huaweicloudsdkoctopus/v2/model/create_sim_extensions_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_extensions_response.py +314 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_response.py +253 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_response.py +377 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_response.py +618 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batches_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batches_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_extensions_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_extensions_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/extension_srlz.py +353 -0
- huaweicloudsdkoctopus/v2/model/extensions_create_srlz.py +306 -0
- huaweicloudsdkoctopus/v2/model/extensions_list_srlz.py +291 -0
- huaweicloudsdkoctopus/v2/model/family_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/file_create_req_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/file_create_srlz.py +366 -0
- huaweicloudsdkoctopus/v2/model/file_nested_create_req_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/file_nested_srlz.py +279 -0
- huaweicloudsdkoctopus/v2/model/file_retrieve_srlz.py +310 -0
- huaweicloudsdkoctopus/v2/model/label_brief_srlz.py +279 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_request.py +339 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithms_request.py +281 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithms_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_request.py +625 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batches_request.py +426 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batches_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_extensions_request.py +202 -0
- huaweicloudsdkoctopus/v2/model/list_sim_extensions_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_simulations_request.py +401 -0
- huaweicloudsdkoctopus/v2/model/list_sim_simulations_response.py +189 -0
- huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_request.py +547 -0
- huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/map_create_req_srlz.py +162 -0
- huaweicloudsdkoctopus/v2/model/map_version_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/mutable_file_srlz.py +114 -0
- huaweicloudsdkoctopus/v2/model/patched_alg_image_update_srlz.py +302 -0
- huaweicloudsdkoctopus/v2/model/patched_algorithm_update_srlz.py +796 -0
- huaweicloudsdkoctopus/v2/model/patched_file_detail_srlz.py +144 -0
- huaweicloudsdkoctopus/v2/model/post_response.py +140 -0
- huaweicloudsdkoctopus/v2/model/post_response_field.py +236 -0
- huaweicloudsdkoctopus/v2/model/priority_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/record_mode_enum.py +88 -0
- huaweicloudsdkoctopus/v2/model/run_image_status_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/run_srlz.py +254 -0
- huaweicloudsdkoctopus/v2/model/scenario_create_req_srlz.py +439 -0
- huaweicloudsdkoctopus/v2/model/scenario_list_srlz.py +548 -0
- huaweicloudsdkoctopus/v2/model/scenario_status_enum.py +92 -0
- huaweicloudsdkoctopus/v2/model/scenario_version_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_response.py +361 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_response.py +377 -0
- huaweicloudsdkoctopus/v2/model/show_sim_batch_config_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/show_sim_batch_config_response.py +819 -0
- huaweicloudsdkoctopus/v2/model/show_sim_extension_request.py +110 -0
- huaweicloudsdkoctopus/v2/model/show_sim_extension_response.py +353 -0
- huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_request.py +142 -0
- huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_response.py +290 -0
- huaweicloudsdkoctopus/v2/model/simulation_eva_result_metric_srlz.py +260 -0
- huaweicloudsdkoctopus/v2/model/simulation_eva_result_srlz.py +231 -0
- huaweicloudsdkoctopus/v2/model/simulation_evaluation_metric_srlz.py +289 -0
- huaweicloudsdkoctopus/v2/model/simulation_evaluation_srlz.py +231 -0
- huaweicloudsdkoctopus/v2/model/simulation_file_path_srlz.py +347 -0
- huaweicloudsdkoctopus/v2/model/simulation_srlz.py +708 -0
- huaweicloudsdkoctopus/v2/model/status15e_enum.py +99 -0
- huaweicloudsdkoctopus/v2/model/status6a7_enum.py +106 -0
- huaweicloudsdkoctopus/v2/model/type87e_enum.py +88 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_response.py +303 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithms_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithms_response.py +431 -0
- huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_request.py +138 -0
- huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/update_sim_extensions_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/update_sim_extensions_response.py +356 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_request.py +167 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_response.py +435 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_request.py +167 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_response.py +435 -0
- huaweicloudsdkoctopus/v2/octopus_async_client.py +2262 -0
- huaweicloudsdkoctopus/v2/octopus_client.py +2259 -0
- huaweicloudsdkoctopus/v2/region/__init__.py +0 -0
- huaweicloudsdkoctopus/v2/region/octopus_region.py +31 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/RECORD +126 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,431 @@
|
|
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 UpdateSimAlgorithmsResponse(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
|
+
'url': 'str',
|
22
|
+
'id': 'int',
|
23
|
+
'created_at': 'float',
|
24
|
+
'updated_at': 'float',
|
25
|
+
'compilation': 'CompilationUpdateSrlz',
|
26
|
+
'build': 'BuildUpdateSrlz',
|
27
|
+
'run': 'RunSrlz',
|
28
|
+
'keys_reset': 'bool',
|
29
|
+
'category': 'str',
|
30
|
+
'name': 'str',
|
31
|
+
'description': 'str',
|
32
|
+
'mount_dir': 'str',
|
33
|
+
'image_repo_id': 'int'
|
34
|
+
}
|
35
|
+
|
36
|
+
attribute_map = {
|
37
|
+
'url': 'url',
|
38
|
+
'id': 'id',
|
39
|
+
'created_at': 'created_at',
|
40
|
+
'updated_at': 'updated_at',
|
41
|
+
'compilation': 'compilation',
|
42
|
+
'build': 'build',
|
43
|
+
'run': 'run',
|
44
|
+
'keys_reset': 'keys_reset',
|
45
|
+
'category': 'category',
|
46
|
+
'name': 'name',
|
47
|
+
'description': 'description',
|
48
|
+
'mount_dir': 'mount_dir',
|
49
|
+
'image_repo_id': 'image_repo_id'
|
50
|
+
}
|
51
|
+
|
52
|
+
def __init__(self, url=None, id=None, created_at=None, updated_at=None, compilation=None, build=None, run=None, keys_reset=None, category=None, name=None, description=None, mount_dir=None, image_repo_id=None):
|
53
|
+
r"""UpdateSimAlgorithmsResponse
|
54
|
+
|
55
|
+
The model defined in huaweicloud sdk
|
56
|
+
|
57
|
+
:param url:
|
58
|
+
:type url: str
|
59
|
+
:param id:
|
60
|
+
:type id: int
|
61
|
+
:param created_at:
|
62
|
+
:type created_at: float
|
63
|
+
:param updated_at:
|
64
|
+
:type updated_at: float
|
65
|
+
:param compilation:
|
66
|
+
:type compilation: :class:`huaweicloudsdkoctopus.v2.CompilationUpdateSrlz`
|
67
|
+
:param build:
|
68
|
+
:type build: :class:`huaweicloudsdkoctopus.v2.BuildUpdateSrlz`
|
69
|
+
:param run:
|
70
|
+
:type run: :class:`huaweicloudsdkoctopus.v2.RunSrlz`
|
71
|
+
:param keys_reset:
|
72
|
+
:type keys_reset: bool
|
73
|
+
:param category: 算法类型,如image
|
74
|
+
:type category: str
|
75
|
+
:param name: 名称
|
76
|
+
:type name: str
|
77
|
+
:param description: 描述
|
78
|
+
:type description: str
|
79
|
+
:param mount_dir: 挂载目录,需绝对路径
|
80
|
+
:type mount_dir: str
|
81
|
+
:param image_repo_id: 镜像id
|
82
|
+
:type image_repo_id: int
|
83
|
+
"""
|
84
|
+
|
85
|
+
super(UpdateSimAlgorithmsResponse, self).__init__()
|
86
|
+
|
87
|
+
self._url = None
|
88
|
+
self._id = None
|
89
|
+
self._created_at = None
|
90
|
+
self._updated_at = None
|
91
|
+
self._compilation = None
|
92
|
+
self._build = None
|
93
|
+
self._run = None
|
94
|
+
self._keys_reset = None
|
95
|
+
self._category = None
|
96
|
+
self._name = None
|
97
|
+
self._description = None
|
98
|
+
self._mount_dir = None
|
99
|
+
self._image_repo_id = None
|
100
|
+
self.discriminator = None
|
101
|
+
|
102
|
+
if url is not None:
|
103
|
+
self.url = url
|
104
|
+
if id is not None:
|
105
|
+
self.id = id
|
106
|
+
if created_at is not None:
|
107
|
+
self.created_at = created_at
|
108
|
+
if updated_at is not None:
|
109
|
+
self.updated_at = updated_at
|
110
|
+
if compilation is not None:
|
111
|
+
self.compilation = compilation
|
112
|
+
if build is not None:
|
113
|
+
self.build = build
|
114
|
+
if run is not None:
|
115
|
+
self.run = run
|
116
|
+
if keys_reset is not None:
|
117
|
+
self.keys_reset = keys_reset
|
118
|
+
if category is not None:
|
119
|
+
self.category = category
|
120
|
+
if name is not None:
|
121
|
+
self.name = name
|
122
|
+
self.description = description
|
123
|
+
if mount_dir is not None:
|
124
|
+
self.mount_dir = mount_dir
|
125
|
+
if image_repo_id is not None:
|
126
|
+
self.image_repo_id = image_repo_id
|
127
|
+
|
128
|
+
@property
|
129
|
+
def url(self):
|
130
|
+
r"""Gets the url of this UpdateSimAlgorithmsResponse.
|
131
|
+
|
132
|
+
:return: The url of this UpdateSimAlgorithmsResponse.
|
133
|
+
:rtype: str
|
134
|
+
"""
|
135
|
+
return self._url
|
136
|
+
|
137
|
+
@url.setter
|
138
|
+
def url(self, url):
|
139
|
+
r"""Sets the url of this UpdateSimAlgorithmsResponse.
|
140
|
+
|
141
|
+
:param url: The url of this UpdateSimAlgorithmsResponse.
|
142
|
+
:type url: str
|
143
|
+
"""
|
144
|
+
self._url = url
|
145
|
+
|
146
|
+
@property
|
147
|
+
def id(self):
|
148
|
+
r"""Gets the id of this UpdateSimAlgorithmsResponse.
|
149
|
+
|
150
|
+
:return: The id of this UpdateSimAlgorithmsResponse.
|
151
|
+
:rtype: int
|
152
|
+
"""
|
153
|
+
return self._id
|
154
|
+
|
155
|
+
@id.setter
|
156
|
+
def id(self, id):
|
157
|
+
r"""Sets the id of this UpdateSimAlgorithmsResponse.
|
158
|
+
|
159
|
+
:param id: The id of this UpdateSimAlgorithmsResponse.
|
160
|
+
:type id: int
|
161
|
+
"""
|
162
|
+
self._id = id
|
163
|
+
|
164
|
+
@property
|
165
|
+
def created_at(self):
|
166
|
+
r"""Gets the created_at of this UpdateSimAlgorithmsResponse.
|
167
|
+
|
168
|
+
:return: The created_at of this UpdateSimAlgorithmsResponse.
|
169
|
+
:rtype: float
|
170
|
+
"""
|
171
|
+
return self._created_at
|
172
|
+
|
173
|
+
@created_at.setter
|
174
|
+
def created_at(self, created_at):
|
175
|
+
r"""Sets the created_at of this UpdateSimAlgorithmsResponse.
|
176
|
+
|
177
|
+
:param created_at: The created_at of this UpdateSimAlgorithmsResponse.
|
178
|
+
:type created_at: float
|
179
|
+
"""
|
180
|
+
self._created_at = created_at
|
181
|
+
|
182
|
+
@property
|
183
|
+
def updated_at(self):
|
184
|
+
r"""Gets the updated_at of this UpdateSimAlgorithmsResponse.
|
185
|
+
|
186
|
+
:return: The updated_at of this UpdateSimAlgorithmsResponse.
|
187
|
+
:rtype: float
|
188
|
+
"""
|
189
|
+
return self._updated_at
|
190
|
+
|
191
|
+
@updated_at.setter
|
192
|
+
def updated_at(self, updated_at):
|
193
|
+
r"""Sets the updated_at of this UpdateSimAlgorithmsResponse.
|
194
|
+
|
195
|
+
:param updated_at: The updated_at of this UpdateSimAlgorithmsResponse.
|
196
|
+
:type updated_at: float
|
197
|
+
"""
|
198
|
+
self._updated_at = updated_at
|
199
|
+
|
200
|
+
@property
|
201
|
+
def compilation(self):
|
202
|
+
r"""Gets the compilation of this UpdateSimAlgorithmsResponse.
|
203
|
+
|
204
|
+
:return: The compilation of this UpdateSimAlgorithmsResponse.
|
205
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.CompilationUpdateSrlz`
|
206
|
+
"""
|
207
|
+
return self._compilation
|
208
|
+
|
209
|
+
@compilation.setter
|
210
|
+
def compilation(self, compilation):
|
211
|
+
r"""Sets the compilation of this UpdateSimAlgorithmsResponse.
|
212
|
+
|
213
|
+
:param compilation: The compilation of this UpdateSimAlgorithmsResponse.
|
214
|
+
:type compilation: :class:`huaweicloudsdkoctopus.v2.CompilationUpdateSrlz`
|
215
|
+
"""
|
216
|
+
self._compilation = compilation
|
217
|
+
|
218
|
+
@property
|
219
|
+
def build(self):
|
220
|
+
r"""Gets the build of this UpdateSimAlgorithmsResponse.
|
221
|
+
|
222
|
+
:return: The build of this UpdateSimAlgorithmsResponse.
|
223
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.BuildUpdateSrlz`
|
224
|
+
"""
|
225
|
+
return self._build
|
226
|
+
|
227
|
+
@build.setter
|
228
|
+
def build(self, build):
|
229
|
+
r"""Sets the build of this UpdateSimAlgorithmsResponse.
|
230
|
+
|
231
|
+
:param build: The build of this UpdateSimAlgorithmsResponse.
|
232
|
+
:type build: :class:`huaweicloudsdkoctopus.v2.BuildUpdateSrlz`
|
233
|
+
"""
|
234
|
+
self._build = build
|
235
|
+
|
236
|
+
@property
|
237
|
+
def run(self):
|
238
|
+
r"""Gets the run of this UpdateSimAlgorithmsResponse.
|
239
|
+
|
240
|
+
:return: The run of this UpdateSimAlgorithmsResponse.
|
241
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.RunSrlz`
|
242
|
+
"""
|
243
|
+
return self._run
|
244
|
+
|
245
|
+
@run.setter
|
246
|
+
def run(self, run):
|
247
|
+
r"""Sets the run of this UpdateSimAlgorithmsResponse.
|
248
|
+
|
249
|
+
:param run: The run of this UpdateSimAlgorithmsResponse.
|
250
|
+
:type run: :class:`huaweicloudsdkoctopus.v2.RunSrlz`
|
251
|
+
"""
|
252
|
+
self._run = run
|
253
|
+
|
254
|
+
@property
|
255
|
+
def keys_reset(self):
|
256
|
+
r"""Gets the keys_reset of this UpdateSimAlgorithmsResponse.
|
257
|
+
|
258
|
+
:return: The keys_reset of this UpdateSimAlgorithmsResponse.
|
259
|
+
:rtype: bool
|
260
|
+
"""
|
261
|
+
return self._keys_reset
|
262
|
+
|
263
|
+
@keys_reset.setter
|
264
|
+
def keys_reset(self, keys_reset):
|
265
|
+
r"""Sets the keys_reset of this UpdateSimAlgorithmsResponse.
|
266
|
+
|
267
|
+
:param keys_reset: The keys_reset of this UpdateSimAlgorithmsResponse.
|
268
|
+
:type keys_reset: bool
|
269
|
+
"""
|
270
|
+
self._keys_reset = keys_reset
|
271
|
+
|
272
|
+
@property
|
273
|
+
def category(self):
|
274
|
+
r"""Gets the category of this UpdateSimAlgorithmsResponse.
|
275
|
+
|
276
|
+
算法类型,如image
|
277
|
+
|
278
|
+
:return: The category of this UpdateSimAlgorithmsResponse.
|
279
|
+
:rtype: str
|
280
|
+
"""
|
281
|
+
return self._category
|
282
|
+
|
283
|
+
@category.setter
|
284
|
+
def category(self, category):
|
285
|
+
r"""Sets the category of this UpdateSimAlgorithmsResponse.
|
286
|
+
|
287
|
+
算法类型,如image
|
288
|
+
|
289
|
+
:param category: The category of this UpdateSimAlgorithmsResponse.
|
290
|
+
:type category: str
|
291
|
+
"""
|
292
|
+
self._category = category
|
293
|
+
|
294
|
+
@property
|
295
|
+
def name(self):
|
296
|
+
r"""Gets the name of this UpdateSimAlgorithmsResponse.
|
297
|
+
|
298
|
+
名称
|
299
|
+
|
300
|
+
:return: The name of this UpdateSimAlgorithmsResponse.
|
301
|
+
:rtype: str
|
302
|
+
"""
|
303
|
+
return self._name
|
304
|
+
|
305
|
+
@name.setter
|
306
|
+
def name(self, name):
|
307
|
+
r"""Sets the name of this UpdateSimAlgorithmsResponse.
|
308
|
+
|
309
|
+
名称
|
310
|
+
|
311
|
+
:param name: The name of this UpdateSimAlgorithmsResponse.
|
312
|
+
:type name: str
|
313
|
+
"""
|
314
|
+
self._name = name
|
315
|
+
|
316
|
+
@property
|
317
|
+
def description(self):
|
318
|
+
r"""Gets the description of this UpdateSimAlgorithmsResponse.
|
319
|
+
|
320
|
+
描述
|
321
|
+
|
322
|
+
:return: The description of this UpdateSimAlgorithmsResponse.
|
323
|
+
:rtype: str
|
324
|
+
"""
|
325
|
+
return self._description
|
326
|
+
|
327
|
+
@description.setter
|
328
|
+
def description(self, description):
|
329
|
+
r"""Sets the description of this UpdateSimAlgorithmsResponse.
|
330
|
+
|
331
|
+
描述
|
332
|
+
|
333
|
+
:param description: The description of this UpdateSimAlgorithmsResponse.
|
334
|
+
:type description: str
|
335
|
+
"""
|
336
|
+
self._description = description
|
337
|
+
|
338
|
+
@property
|
339
|
+
def mount_dir(self):
|
340
|
+
r"""Gets the mount_dir of this UpdateSimAlgorithmsResponse.
|
341
|
+
|
342
|
+
挂载目录,需绝对路径
|
343
|
+
|
344
|
+
:return: The mount_dir of this UpdateSimAlgorithmsResponse.
|
345
|
+
:rtype: str
|
346
|
+
"""
|
347
|
+
return self._mount_dir
|
348
|
+
|
349
|
+
@mount_dir.setter
|
350
|
+
def mount_dir(self, mount_dir):
|
351
|
+
r"""Sets the mount_dir of this UpdateSimAlgorithmsResponse.
|
352
|
+
|
353
|
+
挂载目录,需绝对路径
|
354
|
+
|
355
|
+
:param mount_dir: The mount_dir of this UpdateSimAlgorithmsResponse.
|
356
|
+
:type mount_dir: str
|
357
|
+
"""
|
358
|
+
self._mount_dir = mount_dir
|
359
|
+
|
360
|
+
@property
|
361
|
+
def image_repo_id(self):
|
362
|
+
r"""Gets the image_repo_id of this UpdateSimAlgorithmsResponse.
|
363
|
+
|
364
|
+
镜像id
|
365
|
+
|
366
|
+
:return: The image_repo_id of this UpdateSimAlgorithmsResponse.
|
367
|
+
:rtype: int
|
368
|
+
"""
|
369
|
+
return self._image_repo_id
|
370
|
+
|
371
|
+
@image_repo_id.setter
|
372
|
+
def image_repo_id(self, image_repo_id):
|
373
|
+
r"""Sets the image_repo_id of this UpdateSimAlgorithmsResponse.
|
374
|
+
|
375
|
+
镜像id
|
376
|
+
|
377
|
+
:param image_repo_id: The image_repo_id of this UpdateSimAlgorithmsResponse.
|
378
|
+
:type image_repo_id: int
|
379
|
+
"""
|
380
|
+
self._image_repo_id = image_repo_id
|
381
|
+
|
382
|
+
def to_dict(self):
|
383
|
+
"""Returns the model properties as a dict"""
|
384
|
+
result = {}
|
385
|
+
|
386
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
387
|
+
value = getattr(self, attr)
|
388
|
+
if isinstance(value, list):
|
389
|
+
result[attr] = list(map(
|
390
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
391
|
+
value
|
392
|
+
))
|
393
|
+
elif hasattr(value, "to_dict"):
|
394
|
+
result[attr] = value.to_dict()
|
395
|
+
elif isinstance(value, dict):
|
396
|
+
result[attr] = dict(map(
|
397
|
+
lambda item: (item[0], item[1].to_dict())
|
398
|
+
if hasattr(item[1], "to_dict") else item,
|
399
|
+
value.items()
|
400
|
+
))
|
401
|
+
else:
|
402
|
+
if attr in self.sensitive_list:
|
403
|
+
result[attr] = "****"
|
404
|
+
else:
|
405
|
+
result[attr] = value
|
406
|
+
|
407
|
+
return result
|
408
|
+
|
409
|
+
def to_str(self):
|
410
|
+
"""Returns the string representation of the model"""
|
411
|
+
import simplejson as json
|
412
|
+
if six.PY2:
|
413
|
+
import sys
|
414
|
+
reload(sys)
|
415
|
+
sys.setdefaultencoding("utf-8")
|
416
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
417
|
+
|
418
|
+
def __repr__(self):
|
419
|
+
"""For `print`"""
|
420
|
+
return self.to_str()
|
421
|
+
|
422
|
+
def __eq__(self, other):
|
423
|
+
"""Returns true if both objects are equal"""
|
424
|
+
if not isinstance(other, UpdateSimAlgorithmsResponse):
|
425
|
+
return False
|
426
|
+
|
427
|
+
return self.__dict__ == other.__dict__
|
428
|
+
|
429
|
+
def __ne__(self, other):
|
430
|
+
"""Returns true if both objects are not equal"""
|
431
|
+
return not self == other
|
@@ -0,0 +1,138 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class UpdateSimBatchConfigsExtensionsRequest:
|
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': 'int',
|
21
|
+
'batch_config_id': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'id': 'id',
|
26
|
+
'batch_config_id': 'batch_config_id'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, id=None, batch_config_id=None):
|
30
|
+
r"""UpdateSimBatchConfigsExtensionsRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param id: A unique integer value identifying this extension.
|
35
|
+
:type id: int
|
36
|
+
:param batch_config_id:
|
37
|
+
:type batch_config_id: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._id = None
|
43
|
+
self._batch_config_id = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.id = id
|
47
|
+
self.batch_config_id = batch_config_id
|
48
|
+
|
49
|
+
@property
|
50
|
+
def id(self):
|
51
|
+
r"""Gets the id of this UpdateSimBatchConfigsExtensionsRequest.
|
52
|
+
|
53
|
+
A unique integer value identifying this extension.
|
54
|
+
|
55
|
+
:return: The id of this UpdateSimBatchConfigsExtensionsRequest.
|
56
|
+
:rtype: int
|
57
|
+
"""
|
58
|
+
return self._id
|
59
|
+
|
60
|
+
@id.setter
|
61
|
+
def id(self, id):
|
62
|
+
r"""Sets the id of this UpdateSimBatchConfigsExtensionsRequest.
|
63
|
+
|
64
|
+
A unique integer value identifying this extension.
|
65
|
+
|
66
|
+
:param id: The id of this UpdateSimBatchConfigsExtensionsRequest.
|
67
|
+
:type id: int
|
68
|
+
"""
|
69
|
+
self._id = id
|
70
|
+
|
71
|
+
@property
|
72
|
+
def batch_config_id(self):
|
73
|
+
r"""Gets the batch_config_id of this UpdateSimBatchConfigsExtensionsRequest.
|
74
|
+
|
75
|
+
:return: The batch_config_id of this UpdateSimBatchConfigsExtensionsRequest.
|
76
|
+
:rtype: str
|
77
|
+
"""
|
78
|
+
return self._batch_config_id
|
79
|
+
|
80
|
+
@batch_config_id.setter
|
81
|
+
def batch_config_id(self, batch_config_id):
|
82
|
+
r"""Sets the batch_config_id of this UpdateSimBatchConfigsExtensionsRequest.
|
83
|
+
|
84
|
+
:param batch_config_id: The batch_config_id of this UpdateSimBatchConfigsExtensionsRequest.
|
85
|
+
:type batch_config_id: str
|
86
|
+
"""
|
87
|
+
self._batch_config_id = batch_config_id
|
88
|
+
|
89
|
+
def to_dict(self):
|
90
|
+
"""Returns the model properties as a dict"""
|
91
|
+
result = {}
|
92
|
+
|
93
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
94
|
+
value = getattr(self, attr)
|
95
|
+
if isinstance(value, list):
|
96
|
+
result[attr] = list(map(
|
97
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
98
|
+
value
|
99
|
+
))
|
100
|
+
elif hasattr(value, "to_dict"):
|
101
|
+
result[attr] = value.to_dict()
|
102
|
+
elif isinstance(value, dict):
|
103
|
+
result[attr] = dict(map(
|
104
|
+
lambda item: (item[0], item[1].to_dict())
|
105
|
+
if hasattr(item[1], "to_dict") else item,
|
106
|
+
value.items()
|
107
|
+
))
|
108
|
+
else:
|
109
|
+
if attr in self.sensitive_list:
|
110
|
+
result[attr] = "****"
|
111
|
+
else:
|
112
|
+
result[attr] = value
|
113
|
+
|
114
|
+
return result
|
115
|
+
|
116
|
+
def to_str(self):
|
117
|
+
"""Returns the string representation of the model"""
|
118
|
+
import simplejson as json
|
119
|
+
if six.PY2:
|
120
|
+
import sys
|
121
|
+
reload(sys)
|
122
|
+
sys.setdefaultencoding("utf-8")
|
123
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
124
|
+
|
125
|
+
def __repr__(self):
|
126
|
+
"""For `print`"""
|
127
|
+
return self.to_str()
|
128
|
+
|
129
|
+
def __eq__(self, other):
|
130
|
+
"""Returns true if both objects are equal"""
|
131
|
+
if not isinstance(other, UpdateSimBatchConfigsExtensionsRequest):
|
132
|
+
return False
|
133
|
+
|
134
|
+
return self.__dict__ == other.__dict__
|
135
|
+
|
136
|
+
def __ne__(self, other):
|
137
|
+
"""Returns true if both objects are not equal"""
|
138
|
+
return not self == other
|
@@ -0,0 +1,85 @@
|
|
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 UpdateSimBatchConfigsExtensionsResponse(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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
}
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""UpdateSimBatchConfigsExtensionsResponse
|
28
|
+
|
29
|
+
The model defined in huaweicloud sdk
|
30
|
+
|
31
|
+
"""
|
32
|
+
|
33
|
+
super(UpdateSimBatchConfigsExtensionsResponse, self).__init__()
|
34
|
+
self.discriminator = None
|
35
|
+
|
36
|
+
def to_dict(self):
|
37
|
+
"""Returns the model properties as a dict"""
|
38
|
+
result = {}
|
39
|
+
|
40
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
41
|
+
value = getattr(self, attr)
|
42
|
+
if isinstance(value, list):
|
43
|
+
result[attr] = list(map(
|
44
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
45
|
+
value
|
46
|
+
))
|
47
|
+
elif hasattr(value, "to_dict"):
|
48
|
+
result[attr] = value.to_dict()
|
49
|
+
elif isinstance(value, dict):
|
50
|
+
result[attr] = dict(map(
|
51
|
+
lambda item: (item[0], item[1].to_dict())
|
52
|
+
if hasattr(item[1], "to_dict") else item,
|
53
|
+
value.items()
|
54
|
+
))
|
55
|
+
else:
|
56
|
+
if attr in self.sensitive_list:
|
57
|
+
result[attr] = "****"
|
58
|
+
else:
|
59
|
+
result[attr] = value
|
60
|
+
|
61
|
+
return result
|
62
|
+
|
63
|
+
def to_str(self):
|
64
|
+
"""Returns the string representation of the model"""
|
65
|
+
import simplejson as json
|
66
|
+
if six.PY2:
|
67
|
+
import sys
|
68
|
+
reload(sys)
|
69
|
+
sys.setdefaultencoding("utf-8")
|
70
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
71
|
+
|
72
|
+
def __repr__(self):
|
73
|
+
"""For `print`"""
|
74
|
+
return self.to_str()
|
75
|
+
|
76
|
+
def __eq__(self, other):
|
77
|
+
"""Returns true if both objects are equal"""
|
78
|
+
if not isinstance(other, UpdateSimBatchConfigsExtensionsResponse):
|
79
|
+
return False
|
80
|
+
|
81
|
+
return self.__dict__ == other.__dict__
|
82
|
+
|
83
|
+
def __ne__(self, other):
|
84
|
+
"""Returns true if both objects are not equal"""
|
85
|
+
return not self == other
|