huaweicloudsdkoctopus 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.
- huaweicloudsdkoctopus/v2/__init__.py +14 -1
- huaweicloudsdkoctopus/v2/model/__init__.py +14 -1
- huaweicloudsdkoctopus/v2/model/batch_create_request.py +198 -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_sm_scenarios_response.py +9 -5
- 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 +3 -3
- huaweicloudsdkoctopus/v2/model/map_create_req_srlz.py +31 -3
- huaweicloudsdkoctopus/v2/model/scenario_create_req_srlz.py +9 -5
- huaweicloudsdkoctopus/v2/model/scenario_list_srlz.py +9 -5
- 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/{simulator_enum.py → status15e_enum.py} +16 -5
- huaweicloudsdkoctopus/v2/octopus_async_client.py +217 -0
- huaweicloudsdkoctopus/v2/octopus_client.py +217 -0
- {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/METADATA +2 -2
- {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/RECORD +28 -15
- {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/LICENSE +0 -0
- {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/WHEEL +0 -0
- {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/top_level.txt +0 -0
@@ -5,12 +5,23 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class Status15eEnum:
|
9
9
|
"""
|
10
10
|
allowed enum values
|
11
11
|
"""
|
12
|
-
|
13
|
-
|
12
|
+
_0 = "0"
|
13
|
+
_1 = "1"
|
14
|
+
_2 = "2"
|
15
|
+
_3 = "3"
|
16
|
+
_4 = "4"
|
17
|
+
_10 = "10"
|
18
|
+
_11 = "11"
|
19
|
+
_12 = "12"
|
20
|
+
_13 = "13"
|
21
|
+
_14 = "14"
|
22
|
+
_15 = "15"
|
23
|
+
_31 = "31"
|
24
|
+
_32 = "32"
|
14
25
|
"""
|
15
26
|
Attributes:
|
16
27
|
openapi_types (dict): The key is attribute name
|
@@ -27,7 +38,7 @@ class SimulatorEnum:
|
|
27
38
|
}
|
28
39
|
|
29
40
|
def __init__(self):
|
30
|
-
r"""
|
41
|
+
r"""Status15eEnum
|
31
42
|
|
32
43
|
The model defined in huaweicloud sdk
|
33
44
|
|
@@ -78,7 +89,7 @@ class SimulatorEnum:
|
|
78
89
|
|
79
90
|
def __eq__(self, other):
|
80
91
|
"""Returns true if both objects are equal"""
|
81
|
-
if not isinstance(other,
|
92
|
+
if not isinstance(other, Status15eEnum):
|
82
93
|
return False
|
83
94
|
|
84
95
|
return self.__dict__ == other.__dict__
|
@@ -33,6 +33,71 @@ class OctopusAsyncClient(Client):
|
|
33
33
|
|
34
34
|
return client_builder
|
35
35
|
|
36
|
+
def create_sim_batches_async(self, request):
|
37
|
+
r"""创建仿真任务
|
38
|
+
|
39
|
+
A DRF ViewSet for Batch.
|
40
|
+
|
41
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
42
|
+
|
43
|
+
|
44
|
+
:param request: Request instance for CreateSimBatches
|
45
|
+
:type request: :class:`huaweicloudsdkoctopus.v2.CreateSimBatchesRequest`
|
46
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.CreateSimBatchesResponse`
|
47
|
+
"""
|
48
|
+
http_info = self._create_sim_batches_http_info(request)
|
49
|
+
return self._call_api(**http_info)
|
50
|
+
|
51
|
+
def create_sim_batches_async_invoker(self, request):
|
52
|
+
http_info = self._create_sim_batches_http_info(request)
|
53
|
+
return AsyncInvoker(self, http_info)
|
54
|
+
|
55
|
+
def _create_sim_batches_http_info(self, request):
|
56
|
+
http_info = {
|
57
|
+
"method": "POST",
|
58
|
+
"resource_path": "/v2/{project_id}/sim/pm/batches",
|
59
|
+
"request_type": request.__class__.__name__,
|
60
|
+
"response_type": "CreateSimBatchesResponse"
|
61
|
+
}
|
62
|
+
|
63
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
64
|
+
|
65
|
+
cname = None
|
66
|
+
|
67
|
+
collection_formats = {}
|
68
|
+
|
69
|
+
path_params = {}
|
70
|
+
|
71
|
+
query_params = []
|
72
|
+
|
73
|
+
header_params = {}
|
74
|
+
|
75
|
+
form_params = {}
|
76
|
+
|
77
|
+
body = None
|
78
|
+
if 'body' in local_var_params:
|
79
|
+
body = local_var_params['body']
|
80
|
+
if isinstance(request, SdkStreamRequest):
|
81
|
+
body = request.get_file_stream()
|
82
|
+
|
83
|
+
response_headers = []
|
84
|
+
|
85
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
86
|
+
['application/json'])
|
87
|
+
|
88
|
+
auth_settings = []
|
89
|
+
|
90
|
+
http_info["cname"] = cname
|
91
|
+
http_info["collection_formats"] = collection_formats
|
92
|
+
http_info["path_params"] = path_params
|
93
|
+
http_info["query_params"] = query_params
|
94
|
+
http_info["header_params"] = header_params
|
95
|
+
http_info["post_params"] = form_params
|
96
|
+
http_info["body"] = body
|
97
|
+
http_info["response_headers"] = response_headers
|
98
|
+
|
99
|
+
return http_info
|
100
|
+
|
36
101
|
def create_sim_sm_maps_async(self, request):
|
37
102
|
r"""创建场景地图
|
38
103
|
|
@@ -230,6 +295,91 @@ class OctopusAsyncClient(Client):
|
|
230
295
|
|
231
296
|
return http_info
|
232
297
|
|
298
|
+
def list_sim_simulations_async(self, request):
|
299
|
+
r"""获取仿真子任务列表
|
300
|
+
|
301
|
+
List simulations data.
|
302
|
+
|
303
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
304
|
+
|
305
|
+
|
306
|
+
:param request: Request instance for ListSimSimulations
|
307
|
+
:type request: :class:`huaweicloudsdkoctopus.v2.ListSimSimulationsRequest`
|
308
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.ListSimSimulationsResponse`
|
309
|
+
"""
|
310
|
+
http_info = self._list_sim_simulations_http_info(request)
|
311
|
+
return self._call_api(**http_info)
|
312
|
+
|
313
|
+
def list_sim_simulations_async_invoker(self, request):
|
314
|
+
http_info = self._list_sim_simulations_http_info(request)
|
315
|
+
return AsyncInvoker(self, http_info)
|
316
|
+
|
317
|
+
def _list_sim_simulations_http_info(self, request):
|
318
|
+
http_info = {
|
319
|
+
"method": "GET",
|
320
|
+
"resource_path": "/v2/{project_id}/sim/pm/simulations",
|
321
|
+
"request_type": request.__class__.__name__,
|
322
|
+
"response_type": "ListSimSimulationsResponse"
|
323
|
+
}
|
324
|
+
|
325
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
326
|
+
|
327
|
+
cname = None
|
328
|
+
|
329
|
+
collection_formats = {}
|
330
|
+
|
331
|
+
path_params = {}
|
332
|
+
|
333
|
+
query_params = []
|
334
|
+
if 'algorithm_name' in local_var_params:
|
335
|
+
query_params.append(('algorithm_name', local_var_params['algorithm_name']))
|
336
|
+
if 'batch_id' in local_var_params:
|
337
|
+
query_params.append(('batch_id', local_var_params['batch_id']))
|
338
|
+
if 'batch_name' in local_var_params:
|
339
|
+
query_params.append(('batch_name', local_var_params['batch_name']))
|
340
|
+
if 'id' in local_var_params:
|
341
|
+
query_params.append(('id', local_var_params['id']))
|
342
|
+
if 'label' in local_var_params:
|
343
|
+
query_params.append(('label', local_var_params['label']))
|
344
|
+
if 'limit' in local_var_params:
|
345
|
+
query_params.append(('limit', local_var_params['limit']))
|
346
|
+
if 'offset' in local_var_params:
|
347
|
+
query_params.append(('offset', local_var_params['offset']))
|
348
|
+
if 'ordering' in local_var_params:
|
349
|
+
query_params.append(('ordering', local_var_params['ordering']))
|
350
|
+
if 'scenario_resource_id' in local_var_params:
|
351
|
+
query_params.append(('scenario_resource_id', local_var_params['scenario_resource_id']))
|
352
|
+
if 'scenario_resource_type' in local_var_params:
|
353
|
+
query_params.append(('scenario_resource_type', local_var_params['scenario_resource_type']))
|
354
|
+
if 'status' in local_var_params:
|
355
|
+
query_params.append(('status', local_var_params['status']))
|
356
|
+
|
357
|
+
header_params = {}
|
358
|
+
|
359
|
+
form_params = {}
|
360
|
+
|
361
|
+
body = None
|
362
|
+
if isinstance(request, SdkStreamRequest):
|
363
|
+
body = request.get_file_stream()
|
364
|
+
|
365
|
+
response_headers = []
|
366
|
+
|
367
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
368
|
+
['application/json'])
|
369
|
+
|
370
|
+
auth_settings = []
|
371
|
+
|
372
|
+
http_info["cname"] = cname
|
373
|
+
http_info["collection_formats"] = collection_formats
|
374
|
+
http_info["path_params"] = path_params
|
375
|
+
http_info["query_params"] = query_params
|
376
|
+
http_info["header_params"] = header_params
|
377
|
+
http_info["post_params"] = form_params
|
378
|
+
http_info["body"] = body
|
379
|
+
http_info["response_headers"] = response_headers
|
380
|
+
|
381
|
+
return http_info
|
382
|
+
|
233
383
|
def list_sim_sm_scenarios_async(self, request):
|
234
384
|
r"""场景列表
|
235
385
|
|
@@ -328,6 +478,73 @@ class OctopusAsyncClient(Client):
|
|
328
478
|
|
329
479
|
return http_info
|
330
480
|
|
481
|
+
def show_sim_simulations_files_async(self, request):
|
482
|
+
r"""获取指定的仿真任务下的pb、日志、回放文件
|
483
|
+
|
484
|
+
Get obs file pre-signed url in simulation.
|
485
|
+
|
486
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
487
|
+
|
488
|
+
|
489
|
+
:param request: Request instance for ShowSimSimulationsFiles
|
490
|
+
:type request: :class:`huaweicloudsdkoctopus.v2.ShowSimSimulationsFilesRequest`
|
491
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.ShowSimSimulationsFilesResponse`
|
492
|
+
"""
|
493
|
+
http_info = self._show_sim_simulations_files_http_info(request)
|
494
|
+
return self._call_api(**http_info)
|
495
|
+
|
496
|
+
def show_sim_simulations_files_async_invoker(self, request):
|
497
|
+
http_info = self._show_sim_simulations_files_http_info(request)
|
498
|
+
return AsyncInvoker(self, http_info)
|
499
|
+
|
500
|
+
def _show_sim_simulations_files_http_info(self, request):
|
501
|
+
http_info = {
|
502
|
+
"method": "GET",
|
503
|
+
"resource_path": "/v2/{project_id}/sim/pm/simulations/{id}/files",
|
504
|
+
"request_type": request.__class__.__name__,
|
505
|
+
"response_type": "ShowSimSimulationsFilesResponse"
|
506
|
+
}
|
507
|
+
|
508
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
509
|
+
|
510
|
+
cname = None
|
511
|
+
|
512
|
+
collection_formats = {}
|
513
|
+
|
514
|
+
path_params = {}
|
515
|
+
if 'id' in local_var_params:
|
516
|
+
path_params['id'] = local_var_params['id']
|
517
|
+
|
518
|
+
query_params = []
|
519
|
+
if 'type' in local_var_params:
|
520
|
+
query_params.append(('type', local_var_params['type']))
|
521
|
+
|
522
|
+
header_params = {}
|
523
|
+
|
524
|
+
form_params = {}
|
525
|
+
|
526
|
+
body = None
|
527
|
+
if isinstance(request, SdkStreamRequest):
|
528
|
+
body = request.get_file_stream()
|
529
|
+
|
530
|
+
response_headers = []
|
531
|
+
|
532
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
533
|
+
['application/json'])
|
534
|
+
|
535
|
+
auth_settings = []
|
536
|
+
|
537
|
+
http_info["cname"] = cname
|
538
|
+
http_info["collection_formats"] = collection_formats
|
539
|
+
http_info["path_params"] = path_params
|
540
|
+
http_info["query_params"] = query_params
|
541
|
+
http_info["header_params"] = header_params
|
542
|
+
http_info["post_params"] = form_params
|
543
|
+
http_info["body"] = body
|
544
|
+
http_info["response_headers"] = response_headers
|
545
|
+
|
546
|
+
return http_info
|
547
|
+
|
331
548
|
def update_sim_sm_maps_files_async(self, request):
|
332
549
|
r"""修改场景地图文件
|
333
550
|
|
@@ -33,6 +33,71 @@ class OctopusClient(Client):
|
|
33
33
|
|
34
34
|
return client_builder
|
35
35
|
|
36
|
+
def create_sim_batches(self, request):
|
37
|
+
r"""创建仿真任务
|
38
|
+
|
39
|
+
A DRF ViewSet for Batch.
|
40
|
+
|
41
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
42
|
+
|
43
|
+
:param request: Request instance for CreateSimBatches
|
44
|
+
:type request: :class:`huaweicloudsdkoctopus.v2.CreateSimBatchesRequest`
|
45
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.CreateSimBatchesResponse`
|
46
|
+
"""
|
47
|
+
http_info = self._create_sim_batches_http_info(request)
|
48
|
+
return self._call_api(**http_info)
|
49
|
+
|
50
|
+
def create_sim_batches_invoker(self, request):
|
51
|
+
http_info = self._create_sim_batches_http_info(request)
|
52
|
+
return SyncInvoker(self, http_info)
|
53
|
+
|
54
|
+
@classmethod
|
55
|
+
def _create_sim_batches_http_info(cls, request):
|
56
|
+
http_info = {
|
57
|
+
"method": "POST",
|
58
|
+
"resource_path": "/v2/{project_id}/sim/pm/batches",
|
59
|
+
"request_type": request.__class__.__name__,
|
60
|
+
"response_type": "CreateSimBatchesResponse"
|
61
|
+
}
|
62
|
+
|
63
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
64
|
+
|
65
|
+
cname = None
|
66
|
+
|
67
|
+
collection_formats = {}
|
68
|
+
|
69
|
+
path_params = {}
|
70
|
+
|
71
|
+
query_params = []
|
72
|
+
|
73
|
+
header_params = {}
|
74
|
+
|
75
|
+
form_params = {}
|
76
|
+
|
77
|
+
body = None
|
78
|
+
if 'body' in local_var_params:
|
79
|
+
body = local_var_params['body']
|
80
|
+
if isinstance(request, SdkStreamRequest):
|
81
|
+
body = request.get_file_stream()
|
82
|
+
|
83
|
+
response_headers = []
|
84
|
+
|
85
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
86
|
+
['application/json'])
|
87
|
+
|
88
|
+
auth_settings = []
|
89
|
+
|
90
|
+
http_info["cname"] = cname
|
91
|
+
http_info["collection_formats"] = collection_formats
|
92
|
+
http_info["path_params"] = path_params
|
93
|
+
http_info["query_params"] = query_params
|
94
|
+
http_info["header_params"] = header_params
|
95
|
+
http_info["post_params"] = form_params
|
96
|
+
http_info["body"] = body
|
97
|
+
http_info["response_headers"] = response_headers
|
98
|
+
|
99
|
+
return http_info
|
100
|
+
|
36
101
|
def create_sim_sm_maps(self, request):
|
37
102
|
r"""创建场景地图
|
38
103
|
|
@@ -230,6 +295,91 @@ class OctopusClient(Client):
|
|
230
295
|
|
231
296
|
return http_info
|
232
297
|
|
298
|
+
def list_sim_simulations(self, request):
|
299
|
+
r"""获取仿真子任务列表
|
300
|
+
|
301
|
+
List simulations data.
|
302
|
+
|
303
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
304
|
+
|
305
|
+
:param request: Request instance for ListSimSimulations
|
306
|
+
:type request: :class:`huaweicloudsdkoctopus.v2.ListSimSimulationsRequest`
|
307
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.ListSimSimulationsResponse`
|
308
|
+
"""
|
309
|
+
http_info = self._list_sim_simulations_http_info(request)
|
310
|
+
return self._call_api(**http_info)
|
311
|
+
|
312
|
+
def list_sim_simulations_invoker(self, request):
|
313
|
+
http_info = self._list_sim_simulations_http_info(request)
|
314
|
+
return SyncInvoker(self, http_info)
|
315
|
+
|
316
|
+
@classmethod
|
317
|
+
def _list_sim_simulations_http_info(cls, request):
|
318
|
+
http_info = {
|
319
|
+
"method": "GET",
|
320
|
+
"resource_path": "/v2/{project_id}/sim/pm/simulations",
|
321
|
+
"request_type": request.__class__.__name__,
|
322
|
+
"response_type": "ListSimSimulationsResponse"
|
323
|
+
}
|
324
|
+
|
325
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
326
|
+
|
327
|
+
cname = None
|
328
|
+
|
329
|
+
collection_formats = {}
|
330
|
+
|
331
|
+
path_params = {}
|
332
|
+
|
333
|
+
query_params = []
|
334
|
+
if 'algorithm_name' in local_var_params:
|
335
|
+
query_params.append(('algorithm_name', local_var_params['algorithm_name']))
|
336
|
+
if 'batch_id' in local_var_params:
|
337
|
+
query_params.append(('batch_id', local_var_params['batch_id']))
|
338
|
+
if 'batch_name' in local_var_params:
|
339
|
+
query_params.append(('batch_name', local_var_params['batch_name']))
|
340
|
+
if 'id' in local_var_params:
|
341
|
+
query_params.append(('id', local_var_params['id']))
|
342
|
+
if 'label' in local_var_params:
|
343
|
+
query_params.append(('label', local_var_params['label']))
|
344
|
+
if 'limit' in local_var_params:
|
345
|
+
query_params.append(('limit', local_var_params['limit']))
|
346
|
+
if 'offset' in local_var_params:
|
347
|
+
query_params.append(('offset', local_var_params['offset']))
|
348
|
+
if 'ordering' in local_var_params:
|
349
|
+
query_params.append(('ordering', local_var_params['ordering']))
|
350
|
+
if 'scenario_resource_id' in local_var_params:
|
351
|
+
query_params.append(('scenario_resource_id', local_var_params['scenario_resource_id']))
|
352
|
+
if 'scenario_resource_type' in local_var_params:
|
353
|
+
query_params.append(('scenario_resource_type', local_var_params['scenario_resource_type']))
|
354
|
+
if 'status' in local_var_params:
|
355
|
+
query_params.append(('status', local_var_params['status']))
|
356
|
+
|
357
|
+
header_params = {}
|
358
|
+
|
359
|
+
form_params = {}
|
360
|
+
|
361
|
+
body = None
|
362
|
+
if isinstance(request, SdkStreamRequest):
|
363
|
+
body = request.get_file_stream()
|
364
|
+
|
365
|
+
response_headers = []
|
366
|
+
|
367
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
368
|
+
['application/json'])
|
369
|
+
|
370
|
+
auth_settings = []
|
371
|
+
|
372
|
+
http_info["cname"] = cname
|
373
|
+
http_info["collection_formats"] = collection_formats
|
374
|
+
http_info["path_params"] = path_params
|
375
|
+
http_info["query_params"] = query_params
|
376
|
+
http_info["header_params"] = header_params
|
377
|
+
http_info["post_params"] = form_params
|
378
|
+
http_info["body"] = body
|
379
|
+
http_info["response_headers"] = response_headers
|
380
|
+
|
381
|
+
return http_info
|
382
|
+
|
233
383
|
def list_sim_sm_scenarios(self, request):
|
234
384
|
r"""场景列表
|
235
385
|
|
@@ -328,6 +478,73 @@ class OctopusClient(Client):
|
|
328
478
|
|
329
479
|
return http_info
|
330
480
|
|
481
|
+
def show_sim_simulations_files(self, request):
|
482
|
+
r"""获取指定的仿真任务下的pb、日志、回放文件
|
483
|
+
|
484
|
+
Get obs file pre-signed url in simulation.
|
485
|
+
|
486
|
+
Please refer to HUAWEI cloud API Explorer for details.
|
487
|
+
|
488
|
+
:param request: Request instance for ShowSimSimulationsFiles
|
489
|
+
:type request: :class:`huaweicloudsdkoctopus.v2.ShowSimSimulationsFilesRequest`
|
490
|
+
:rtype: :class:`huaweicloudsdkoctopus.v2.ShowSimSimulationsFilesResponse`
|
491
|
+
"""
|
492
|
+
http_info = self._show_sim_simulations_files_http_info(request)
|
493
|
+
return self._call_api(**http_info)
|
494
|
+
|
495
|
+
def show_sim_simulations_files_invoker(self, request):
|
496
|
+
http_info = self._show_sim_simulations_files_http_info(request)
|
497
|
+
return SyncInvoker(self, http_info)
|
498
|
+
|
499
|
+
@classmethod
|
500
|
+
def _show_sim_simulations_files_http_info(cls, request):
|
501
|
+
http_info = {
|
502
|
+
"method": "GET",
|
503
|
+
"resource_path": "/v2/{project_id}/sim/pm/simulations/{id}/files",
|
504
|
+
"request_type": request.__class__.__name__,
|
505
|
+
"response_type": "ShowSimSimulationsFilesResponse"
|
506
|
+
}
|
507
|
+
|
508
|
+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
509
|
+
|
510
|
+
cname = None
|
511
|
+
|
512
|
+
collection_formats = {}
|
513
|
+
|
514
|
+
path_params = {}
|
515
|
+
if 'id' in local_var_params:
|
516
|
+
path_params['id'] = local_var_params['id']
|
517
|
+
|
518
|
+
query_params = []
|
519
|
+
if 'type' in local_var_params:
|
520
|
+
query_params.append(('type', local_var_params['type']))
|
521
|
+
|
522
|
+
header_params = {}
|
523
|
+
|
524
|
+
form_params = {}
|
525
|
+
|
526
|
+
body = None
|
527
|
+
if isinstance(request, SdkStreamRequest):
|
528
|
+
body = request.get_file_stream()
|
529
|
+
|
530
|
+
response_headers = []
|
531
|
+
|
532
|
+
header_params['Content-Type'] = http_utils.select_header_content_type(
|
533
|
+
['application/json'])
|
534
|
+
|
535
|
+
auth_settings = []
|
536
|
+
|
537
|
+
http_info["cname"] = cname
|
538
|
+
http_info["collection_formats"] = collection_formats
|
539
|
+
http_info["path_params"] = path_params
|
540
|
+
http_info["query_params"] = query_params
|
541
|
+
http_info["header_params"] = header_params
|
542
|
+
http_info["post_params"] = form_params
|
543
|
+
http_info["body"] = body
|
544
|
+
http_info["response_headers"] = response_headers
|
545
|
+
|
546
|
+
return http_info
|
547
|
+
|
331
548
|
def update_sim_sm_maps_files(self, request):
|
332
549
|
r"""修改场景地图文件
|
333
550
|
|
{huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkoctopus
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.155
|
4
4
|
Summary: Octopus
|
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.155
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|
@@ -1,41 +1,54 @@
|
|
1
1
|
huaweicloudsdkoctopus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
huaweicloudsdkoctopus/v2/__init__.py,sha256=
|
3
|
-
huaweicloudsdkoctopus/v2/octopus_async_client.py,sha256=
|
4
|
-
huaweicloudsdkoctopus/v2/octopus_client.py,sha256=
|
5
|
-
huaweicloudsdkoctopus/v2/model/__init__.py,sha256=
|
2
|
+
huaweicloudsdkoctopus/v2/__init__.py,sha256=PO63GvsHwxWtUDiDR5jCSdmKBQzKabQSQyEsbOb7tzc,4074
|
3
|
+
huaweicloudsdkoctopus/v2/octopus_async_client.py,sha256=G-3pIW8qsNIDbpOomzugw7XaWpnfwy_QA0mCqxZlLV0,26223
|
4
|
+
huaweicloudsdkoctopus/v2/octopus_client.py,sha256=jkAAqz_ERDeN8eOyM6NoONucZ-tGd8KFZ-HMKvWxUl8,26136
|
5
|
+
huaweicloudsdkoctopus/v2/model/__init__.py,sha256=WW22XiJiwcuiTXpAMTPTDkc20h_Qz9aqENAGBgKLweA,3964
|
6
|
+
huaweicloudsdkoctopus/v2/model/batch_create_request.py,sha256=yiXzynCfjsmdqWTRFndAhQgq3ZH-ZMhazIhblZdY6SU,5572
|
7
|
+
huaweicloudsdkoctopus/v2/model/create_sim_batches_request.py,sha256=je0L4inzlAYU-R7Erq0Nj-kRB4eHwLfkozKMGekg6v8,3154
|
8
|
+
huaweicloudsdkoctopus/v2/model/create_sim_batches_response.py,sha256=x2UkrrouauREK7KKL3jZ4UE35B06IbWVAb1F10Hoxlo,18308
|
6
9
|
huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_request.py,sha256=PGDTFLBvgg1iqVaW2GjXl37u2V-lig__WA4thCgzmsk,3138
|
7
10
|
huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_response.py,sha256=8vB27pzisVv5uR3YzNReJcnTPyYyeNRisbwaXFuYYn8,6978
|
8
11
|
huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_request.py,sha256=8fVQeaClGKK2OoIT65olB9MzA_rc80IQUiPwnqlvH4M,4186
|
9
12
|
huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_response.py,sha256=KS6Nwa7k9awSNT8Hl0dzThVSc1M6wXAy6RN9FYSqUYA,10478
|
10
13
|
huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_request.py,sha256=W7bNlRPCFUxpCeBtsj02BgwTYv9AMUZpMff6KAAYhmQ,3198
|
11
|
-
huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_response.py,sha256=
|
14
|
+
huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_response.py,sha256=fbA_N9u1AWAxEfTc3QdHPTFaMmFLgOJ4CLBxVFfhNV0,17795
|
12
15
|
huaweicloudsdkoctopus/v2/model/family_enum.py,sha256=aZLauMuYaOi7Ve_7yHmYdWGPH_Os4jfYfdH-f2U3m10,2393
|
13
16
|
huaweicloudsdkoctopus/v2/model/file_create_req_srlz.py,sha256=ZOmv1d8SFZ-n6g5bqpVe5Hj_-kcQTY6RnqCV65WhHUU,3698
|
14
17
|
huaweicloudsdkoctopus/v2/model/file_create_srlz.py,sha256=xh8TVAeZSMX4DJz3Z4giWpmoNUvsKZRiEDjRIzeIS_c,9197
|
15
18
|
huaweicloudsdkoctopus/v2/model/file_nested_create_req_srlz.py,sha256=Z74hM9LeQ9F3zrAB6AvBy3c4SIN-Mcse9SBJAIHqm1s,3764
|
16
19
|
huaweicloudsdkoctopus/v2/model/label_brief_srlz.py,sha256=X0qOoyRAPqGx_m90NNSSiXlLS3eRBoKK24rnxIyiDD8,6988
|
17
|
-
huaweicloudsdkoctopus/v2/model/
|
20
|
+
huaweicloudsdkoctopus/v2/model/list_sim_simulations_request.py,sha256=I2uHTi2qK4B5axz8-3ZufvA8lLhzar74FPeHrVZze-Y,12963
|
21
|
+
huaweicloudsdkoctopus/v2/model/list_sim_simulations_response.py,sha256=lnnppiaIsiRiWajWmfOZjA4iVL8zRQdvPpY_po5fp2s,5387
|
22
|
+
huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_request.py,sha256=vLt2Ukj3jf_Fs1OovePXmt8SZYwap_fsGYcM5m_pblw,15732
|
18
23
|
huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_response.py,sha256=JBp449FMAkWYcfw01sMCIufoz4BYUrgMbG6J2xjaQdQ,5312
|
19
|
-
huaweicloudsdkoctopus/v2/model/map_create_req_srlz.py,sha256=
|
24
|
+
huaweicloudsdkoctopus/v2/model/map_create_req_srlz.py,sha256=2kSUFI8mg3uF6b1lb_05xCQrtdI-kth-F_rktGdM_O4,4793
|
20
25
|
huaweicloudsdkoctopus/v2/model/map_version_enum.py,sha256=vtmkxpSuZJV1RFLB0lVH47nmP-1o_0SCKvVEgfe8_nk,2450
|
21
26
|
huaweicloudsdkoctopus/v2/model/mutable_file_srlz.py,sha256=0VwomAvcsFZrFa6EUVrht5lBJPAZDGTj_Fw4oSkki7o,2972
|
22
27
|
huaweicloudsdkoctopus/v2/model/patched_file_detail_srlz.py,sha256=hoeg-tC0aUEDYdhFRSxdSkh6kXk_BMA4sMhXigqRyZk,3786
|
23
28
|
huaweicloudsdkoctopus/v2/model/post_response.py,sha256=ol8y4-oWLSfvYSf_nSDXrZMu_bMKY39wvPUGrXgp3A4,3696
|
24
29
|
huaweicloudsdkoctopus/v2/model/post_response_field.py,sha256=CYzIm9fh1bh8thJ_zcdthJq4p84gENUaTknEZSkzks4,6883
|
25
30
|
huaweicloudsdkoctopus/v2/model/priority_enum.py,sha256=eEPBULC7ekLkmuw49xuQ4RE01DZtZ0JvsiZlQnmzO4Y,2413
|
26
|
-
huaweicloudsdkoctopus/v2/model/scenario_create_req_srlz.py,sha256=
|
27
|
-
huaweicloudsdkoctopus/v2/model/scenario_list_srlz.py,sha256=
|
31
|
+
huaweicloudsdkoctopus/v2/model/scenario_create_req_srlz.py,sha256=kW21klEUVRZ2xcxiN5_drMEGLdR00NgNj7hIfa9V7CM,12344
|
32
|
+
huaweicloudsdkoctopus/v2/model/scenario_list_srlz.py,sha256=ZJmK9sjVtVA_gZHoC1h55z7IYrSkT0f07yBNz5Pi9sQ,15541
|
28
33
|
huaweicloudsdkoctopus/v2/model/scenario_status_enum.py,sha256=EZAOhu-ra_cm_e0wiQwFXoHDpvHYth6N5SRz7niKvgs,2440
|
29
34
|
huaweicloudsdkoctopus/v2/model/scenario_version_enum.py,sha256=Nkdq2UMNkSZ2gehZao4dNhXmaHP6ppOLP1xeLLu_OyM,2459
|
30
|
-
huaweicloudsdkoctopus/v2/model/
|
35
|
+
huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_request.py,sha256=Pvs3a0Oupj6NTOuTRCzOuvI3JbIDtKmPAaq5neE5KDk,4656
|
36
|
+
huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_response.py,sha256=wT6pqq4xkA-jtci-Qo8F-tleXMznXYQzX8AniYHVIcw,9625
|
37
|
+
huaweicloudsdkoctopus/v2/model/simulation_eva_result_metric_srlz.py,sha256=Hq4m0XTz7qZmlM55RNL9DGZFX5vjeHhdaEb8pYwch2g,7154
|
38
|
+
huaweicloudsdkoctopus/v2/model/simulation_eva_result_srlz.py,sha256=P3-h6CI4gEuQUic21Bz4hNFe_xtJAHSl0ymAdH-Y7No,6508
|
39
|
+
huaweicloudsdkoctopus/v2/model/simulation_evaluation_metric_srlz.py,sha256=yH_NCH3dzoiIkgDorUCViAkIiiXiabQKWRRkXQ5YcN0,8095
|
40
|
+
huaweicloudsdkoctopus/v2/model/simulation_evaluation_srlz.py,sha256=Nwv-DQbKL8-V7T0QhvrD9EZbIhIjuQh1-94pNd0RkRQ,6441
|
41
|
+
huaweicloudsdkoctopus/v2/model/simulation_file_path_srlz.py,sha256=diP8LII7s83aqojmPk8gfQ9xKEZWujmvTJ9iJQPAj0U,11174
|
42
|
+
huaweicloudsdkoctopus/v2/model/simulation_srlz.py,sha256=MHm6ZOUGeSW5p8JGOKI_qB6Ty0xaK0NpuRuZfVv3GqU,22382
|
43
|
+
huaweicloudsdkoctopus/v2/model/status15e_enum.py,sha256=CitJkzlCU0lMsXRpcOgzVK21Jch6ju7Oe9n1YxRRk5o,2522
|
31
44
|
huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_request.py,sha256=nB33ItBJ-FV66QlYDGPpLovSGNOufFQdQ_iRtPhl-yQ,4839
|
32
45
|
huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_response.py,sha256=w-YFztsw1kQuKdItGrHMvmMhYAZwr1u3OR10J7cftxM,11669
|
33
46
|
huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_request.py,sha256=WA5Rp2hQmh8gPGocnrAExPzCCeUbX_HXhmQKPAlGnvw,4919
|
34
47
|
huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_response.py,sha256=4Oxf2XRS0w19aOkmdDM0xJJtwoFt3zppeu_D16CnZaA,11929
|
35
48
|
huaweicloudsdkoctopus/v2/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
36
49
|
huaweicloudsdkoctopus/v2/region/octopus_region.py,sha256=xLnTlavwDICgd3q1l4W8jeh0BoWq_NQq7pu-dEqQtDs,982
|
37
|
-
huaweicloudsdkoctopus-3.1.
|
38
|
-
huaweicloudsdkoctopus-3.1.
|
39
|
-
huaweicloudsdkoctopus-3.1.
|
40
|
-
huaweicloudsdkoctopus-3.1.
|
41
|
-
huaweicloudsdkoctopus-3.1.
|
50
|
+
huaweicloudsdkoctopus-3.1.155.dist-info/LICENSE,sha256=4_VSTLuxcsybRG9N4Isktlj1rAIBBsfl0Tjc0gBTijo,604
|
51
|
+
huaweicloudsdkoctopus-3.1.155.dist-info/METADATA,sha256=HCxX-ZZrsyrtZtzfia8hpl0b-Is-aIkqzm2AdfRsDOI,1147
|
52
|
+
huaweicloudsdkoctopus-3.1.155.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
|
53
|
+
huaweicloudsdkoctopus-3.1.155.dist-info/top_level.txt,sha256=jzUcIaYN4UE2d2HuN5msq3epsBQ29NzOjlI_l7Z0AeI,22
|
54
|
+
huaweicloudsdkoctopus-3.1.155.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/top_level.txt
RENAMED
File without changes
|