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,377 @@
|
|
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 CreateSimSmScenariosFilesResponse(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
|
+
'sha256': 'str',
|
23
|
+
'created_at': 'float',
|
24
|
+
'updated_at': 'float',
|
25
|
+
'post': 'PostResponse',
|
26
|
+
'put_url': 'str',
|
27
|
+
'get_url': 'str',
|
28
|
+
'expire': 'int',
|
29
|
+
'ready': 'bool',
|
30
|
+
'filename': 'str'
|
31
|
+
}
|
32
|
+
|
33
|
+
attribute_map = {
|
34
|
+
'url': 'url',
|
35
|
+
'sha256': 'sha256',
|
36
|
+
'created_at': 'created_at',
|
37
|
+
'updated_at': 'updated_at',
|
38
|
+
'post': 'post',
|
39
|
+
'put_url': 'put_url',
|
40
|
+
'get_url': 'get_url',
|
41
|
+
'expire': 'expire',
|
42
|
+
'ready': 'ready',
|
43
|
+
'filename': 'filename'
|
44
|
+
}
|
45
|
+
|
46
|
+
def __init__(self, url=None, sha256=None, created_at=None, updated_at=None, post=None, put_url=None, get_url=None, expire=None, ready=None, filename=None):
|
47
|
+
r"""CreateSimSmScenariosFilesResponse
|
48
|
+
|
49
|
+
The model defined in huaweicloud sdk
|
50
|
+
|
51
|
+
:param url: 地址
|
52
|
+
:type url: str
|
53
|
+
:param sha256: 文件sha256值
|
54
|
+
:type sha256: str
|
55
|
+
:param created_at: 创建时间
|
56
|
+
:type created_at: float
|
57
|
+
:param updated_at: 更新时间
|
58
|
+
:type updated_at: float
|
59
|
+
:param post: POST地址
|
60
|
+
:type post: :class:`huaweicloudsdkoctopus.v2.PostResponse`
|
61
|
+
:param put_url: PUT地址
|
62
|
+
:type put_url: str
|
63
|
+
:param get_url: GET地址
|
64
|
+
:type get_url: str
|
65
|
+
:param expire: 默认失效时间为600秒.
|
66
|
+
:type expire: int
|
67
|
+
:param ready: 状态
|
68
|
+
:type ready: bool
|
69
|
+
:param filename: 文件名
|
70
|
+
:type filename: str
|
71
|
+
"""
|
72
|
+
|
73
|
+
super(CreateSimSmScenariosFilesResponse, self).__init__()
|
74
|
+
|
75
|
+
self._url = None
|
76
|
+
self._sha256 = None
|
77
|
+
self._created_at = None
|
78
|
+
self._updated_at = None
|
79
|
+
self._post = None
|
80
|
+
self._put_url = None
|
81
|
+
self._get_url = None
|
82
|
+
self._expire = None
|
83
|
+
self._ready = None
|
84
|
+
self._filename = None
|
85
|
+
self.discriminator = None
|
86
|
+
|
87
|
+
if url is not None:
|
88
|
+
self.url = url
|
89
|
+
if sha256 is not None:
|
90
|
+
self.sha256 = sha256
|
91
|
+
if created_at is not None:
|
92
|
+
self.created_at = created_at
|
93
|
+
if updated_at is not None:
|
94
|
+
self.updated_at = updated_at
|
95
|
+
if post is not None:
|
96
|
+
self.post = post
|
97
|
+
if put_url is not None:
|
98
|
+
self.put_url = put_url
|
99
|
+
if get_url is not None:
|
100
|
+
self.get_url = get_url
|
101
|
+
if expire is not None:
|
102
|
+
self.expire = expire
|
103
|
+
if ready is not None:
|
104
|
+
self.ready = ready
|
105
|
+
if filename is not None:
|
106
|
+
self.filename = filename
|
107
|
+
|
108
|
+
@property
|
109
|
+
def url(self):
|
110
|
+
r"""Gets the url of this CreateSimSmScenariosFilesResponse.
|
111
|
+
|
112
|
+
地址
|
113
|
+
|
114
|
+
:return: The url of this CreateSimSmScenariosFilesResponse.
|
115
|
+
:rtype: str
|
116
|
+
"""
|
117
|
+
return self._url
|
118
|
+
|
119
|
+
@url.setter
|
120
|
+
def url(self, url):
|
121
|
+
r"""Sets the url of this CreateSimSmScenariosFilesResponse.
|
122
|
+
|
123
|
+
地址
|
124
|
+
|
125
|
+
:param url: The url of this CreateSimSmScenariosFilesResponse.
|
126
|
+
:type url: str
|
127
|
+
"""
|
128
|
+
self._url = url
|
129
|
+
|
130
|
+
@property
|
131
|
+
def sha256(self):
|
132
|
+
r"""Gets the sha256 of this CreateSimSmScenariosFilesResponse.
|
133
|
+
|
134
|
+
文件sha256值
|
135
|
+
|
136
|
+
:return: The sha256 of this CreateSimSmScenariosFilesResponse.
|
137
|
+
:rtype: str
|
138
|
+
"""
|
139
|
+
return self._sha256
|
140
|
+
|
141
|
+
@sha256.setter
|
142
|
+
def sha256(self, sha256):
|
143
|
+
r"""Sets the sha256 of this CreateSimSmScenariosFilesResponse.
|
144
|
+
|
145
|
+
文件sha256值
|
146
|
+
|
147
|
+
:param sha256: The sha256 of this CreateSimSmScenariosFilesResponse.
|
148
|
+
:type sha256: str
|
149
|
+
"""
|
150
|
+
self._sha256 = sha256
|
151
|
+
|
152
|
+
@property
|
153
|
+
def created_at(self):
|
154
|
+
r"""Gets the created_at of this CreateSimSmScenariosFilesResponse.
|
155
|
+
|
156
|
+
创建时间
|
157
|
+
|
158
|
+
:return: The created_at of this CreateSimSmScenariosFilesResponse.
|
159
|
+
:rtype: float
|
160
|
+
"""
|
161
|
+
return self._created_at
|
162
|
+
|
163
|
+
@created_at.setter
|
164
|
+
def created_at(self, created_at):
|
165
|
+
r"""Sets the created_at of this CreateSimSmScenariosFilesResponse.
|
166
|
+
|
167
|
+
创建时间
|
168
|
+
|
169
|
+
:param created_at: The created_at of this CreateSimSmScenariosFilesResponse.
|
170
|
+
:type created_at: float
|
171
|
+
"""
|
172
|
+
self._created_at = created_at
|
173
|
+
|
174
|
+
@property
|
175
|
+
def updated_at(self):
|
176
|
+
r"""Gets the updated_at of this CreateSimSmScenariosFilesResponse.
|
177
|
+
|
178
|
+
更新时间
|
179
|
+
|
180
|
+
:return: The updated_at of this CreateSimSmScenariosFilesResponse.
|
181
|
+
:rtype: float
|
182
|
+
"""
|
183
|
+
return self._updated_at
|
184
|
+
|
185
|
+
@updated_at.setter
|
186
|
+
def updated_at(self, updated_at):
|
187
|
+
r"""Sets the updated_at of this CreateSimSmScenariosFilesResponse.
|
188
|
+
|
189
|
+
更新时间
|
190
|
+
|
191
|
+
:param updated_at: The updated_at of this CreateSimSmScenariosFilesResponse.
|
192
|
+
:type updated_at: float
|
193
|
+
"""
|
194
|
+
self._updated_at = updated_at
|
195
|
+
|
196
|
+
@property
|
197
|
+
def post(self):
|
198
|
+
r"""Gets the post of this CreateSimSmScenariosFilesResponse.
|
199
|
+
|
200
|
+
POST地址
|
201
|
+
|
202
|
+
:return: The post of this CreateSimSmScenariosFilesResponse.
|
203
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.PostResponse`
|
204
|
+
"""
|
205
|
+
return self._post
|
206
|
+
|
207
|
+
@post.setter
|
208
|
+
def post(self, post):
|
209
|
+
r"""Sets the post of this CreateSimSmScenariosFilesResponse.
|
210
|
+
|
211
|
+
POST地址
|
212
|
+
|
213
|
+
:param post: The post of this CreateSimSmScenariosFilesResponse.
|
214
|
+
:type post: :class:`huaweicloudsdkoctopus.v2.PostResponse`
|
215
|
+
"""
|
216
|
+
self._post = post
|
217
|
+
|
218
|
+
@property
|
219
|
+
def put_url(self):
|
220
|
+
r"""Gets the put_url of this CreateSimSmScenariosFilesResponse.
|
221
|
+
|
222
|
+
PUT地址
|
223
|
+
|
224
|
+
:return: The put_url of this CreateSimSmScenariosFilesResponse.
|
225
|
+
:rtype: str
|
226
|
+
"""
|
227
|
+
return self._put_url
|
228
|
+
|
229
|
+
@put_url.setter
|
230
|
+
def put_url(self, put_url):
|
231
|
+
r"""Sets the put_url of this CreateSimSmScenariosFilesResponse.
|
232
|
+
|
233
|
+
PUT地址
|
234
|
+
|
235
|
+
:param put_url: The put_url of this CreateSimSmScenariosFilesResponse.
|
236
|
+
:type put_url: str
|
237
|
+
"""
|
238
|
+
self._put_url = put_url
|
239
|
+
|
240
|
+
@property
|
241
|
+
def get_url(self):
|
242
|
+
r"""Gets the get_url of this CreateSimSmScenariosFilesResponse.
|
243
|
+
|
244
|
+
GET地址
|
245
|
+
|
246
|
+
:return: The get_url of this CreateSimSmScenariosFilesResponse.
|
247
|
+
:rtype: str
|
248
|
+
"""
|
249
|
+
return self._get_url
|
250
|
+
|
251
|
+
@get_url.setter
|
252
|
+
def get_url(self, get_url):
|
253
|
+
r"""Sets the get_url of this CreateSimSmScenariosFilesResponse.
|
254
|
+
|
255
|
+
GET地址
|
256
|
+
|
257
|
+
:param get_url: The get_url of this CreateSimSmScenariosFilesResponse.
|
258
|
+
:type get_url: str
|
259
|
+
"""
|
260
|
+
self._get_url = get_url
|
261
|
+
|
262
|
+
@property
|
263
|
+
def expire(self):
|
264
|
+
r"""Gets the expire of this CreateSimSmScenariosFilesResponse.
|
265
|
+
|
266
|
+
默认失效时间为600秒.
|
267
|
+
|
268
|
+
:return: The expire of this CreateSimSmScenariosFilesResponse.
|
269
|
+
:rtype: int
|
270
|
+
"""
|
271
|
+
return self._expire
|
272
|
+
|
273
|
+
@expire.setter
|
274
|
+
def expire(self, expire):
|
275
|
+
r"""Sets the expire of this CreateSimSmScenariosFilesResponse.
|
276
|
+
|
277
|
+
默认失效时间为600秒.
|
278
|
+
|
279
|
+
:param expire: The expire of this CreateSimSmScenariosFilesResponse.
|
280
|
+
:type expire: int
|
281
|
+
"""
|
282
|
+
self._expire = expire
|
283
|
+
|
284
|
+
@property
|
285
|
+
def ready(self):
|
286
|
+
r"""Gets the ready of this CreateSimSmScenariosFilesResponse.
|
287
|
+
|
288
|
+
状态
|
289
|
+
|
290
|
+
:return: The ready of this CreateSimSmScenariosFilesResponse.
|
291
|
+
:rtype: bool
|
292
|
+
"""
|
293
|
+
return self._ready
|
294
|
+
|
295
|
+
@ready.setter
|
296
|
+
def ready(self, ready):
|
297
|
+
r"""Sets the ready of this CreateSimSmScenariosFilesResponse.
|
298
|
+
|
299
|
+
状态
|
300
|
+
|
301
|
+
:param ready: The ready of this CreateSimSmScenariosFilesResponse.
|
302
|
+
:type ready: bool
|
303
|
+
"""
|
304
|
+
self._ready = ready
|
305
|
+
|
306
|
+
@property
|
307
|
+
def filename(self):
|
308
|
+
r"""Gets the filename of this CreateSimSmScenariosFilesResponse.
|
309
|
+
|
310
|
+
文件名
|
311
|
+
|
312
|
+
:return: The filename of this CreateSimSmScenariosFilesResponse.
|
313
|
+
:rtype: str
|
314
|
+
"""
|
315
|
+
return self._filename
|
316
|
+
|
317
|
+
@filename.setter
|
318
|
+
def filename(self, filename):
|
319
|
+
r"""Sets the filename of this CreateSimSmScenariosFilesResponse.
|
320
|
+
|
321
|
+
文件名
|
322
|
+
|
323
|
+
:param filename: The filename of this CreateSimSmScenariosFilesResponse.
|
324
|
+
:type filename: str
|
325
|
+
"""
|
326
|
+
self._filename = filename
|
327
|
+
|
328
|
+
def to_dict(self):
|
329
|
+
"""Returns the model properties as a dict"""
|
330
|
+
result = {}
|
331
|
+
|
332
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
333
|
+
value = getattr(self, attr)
|
334
|
+
if isinstance(value, list):
|
335
|
+
result[attr] = list(map(
|
336
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
337
|
+
value
|
338
|
+
))
|
339
|
+
elif hasattr(value, "to_dict"):
|
340
|
+
result[attr] = value.to_dict()
|
341
|
+
elif isinstance(value, dict):
|
342
|
+
result[attr] = dict(map(
|
343
|
+
lambda item: (item[0], item[1].to_dict())
|
344
|
+
if hasattr(item[1], "to_dict") else item,
|
345
|
+
value.items()
|
346
|
+
))
|
347
|
+
else:
|
348
|
+
if attr in self.sensitive_list:
|
349
|
+
result[attr] = "****"
|
350
|
+
else:
|
351
|
+
result[attr] = value
|
352
|
+
|
353
|
+
return result
|
354
|
+
|
355
|
+
def to_str(self):
|
356
|
+
"""Returns the string representation of the model"""
|
357
|
+
import simplejson as json
|
358
|
+
if six.PY2:
|
359
|
+
import sys
|
360
|
+
reload(sys)
|
361
|
+
sys.setdefaultencoding("utf-8")
|
362
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
363
|
+
|
364
|
+
def __repr__(self):
|
365
|
+
"""For `print`"""
|
366
|
+
return self.to_str()
|
367
|
+
|
368
|
+
def __eq__(self, other):
|
369
|
+
"""Returns true if both objects are equal"""
|
370
|
+
if not isinstance(other, CreateSimSmScenariosFilesResponse):
|
371
|
+
return False
|
372
|
+
|
373
|
+
return self.__dict__ == other.__dict__
|
374
|
+
|
375
|
+
def __ne__(self, other):
|
376
|
+
"""Returns true if both objects are not equal"""
|
377
|
+
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 CreateSimSmScenariosRequest:
|
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': 'ScenarioCreateReqSrlz'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""CreateSimSmScenariosRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the CreateSimSmScenariosRequest
|
33
|
+
:type body: :class:`huaweicloudsdkoctopus.v2.ScenarioCreateReqSrlz`
|
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 CreateSimSmScenariosRequest.
|
47
|
+
|
48
|
+
:return: The body of this CreateSimSmScenariosRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.ScenarioCreateReqSrlz`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this CreateSimSmScenariosRequest.
|
56
|
+
|
57
|
+
:param body: The body of this CreateSimSmScenariosRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkoctopus.v2.ScenarioCreateReqSrlz`
|
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, CreateSimSmScenariosRequest):
|
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
|