huaweicloudsdkoctopus 3.1.155__py2.py3-none-any.whl → 3.1.156__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.
Files changed (82) hide show
  1. huaweicloudsdkoctopus/v2/__init__.py +72 -0
  2. huaweicloudsdkoctopus/v2/model/__init__.py +72 -0
  3. huaweicloudsdkoctopus/v2/model/alg_image_create_srlz.py +350 -0
  4. huaweicloudsdkoctopus/v2/model/alg_image_list_srlz.py +266 -0
  5. huaweicloudsdkoctopus/v2/model/algorithm_create_srlz.py +399 -0
  6. huaweicloudsdkoctopus/v2/model/algorithm_list_srlz.py +266 -0
  7. huaweicloudsdkoctopus/v2/model/batch_config_abc_info_srlz.py +142 -0
  8. huaweicloudsdkoctopus/v2/model/batch_config_evaluation_info_srlz.py +142 -0
  9. huaweicloudsdkoctopus/v2/model/batch_config_image_info_srlz.py +198 -0
  10. huaweicloudsdkoctopus/v2/model/batch_config_msg_notify_srlz.py +115 -0
  11. huaweicloudsdkoctopus/v2/model/batch_config_scenario_srlz.py +173 -0
  12. huaweicloudsdkoctopus/v2/model/batch_config_srlz.py +806 -0
  13. huaweicloudsdkoctopus/v2/model/batch_srlz.py +604 -0
  14. huaweicloudsdkoctopus/v2/model/build_create_srlz.py +115 -0
  15. huaweicloudsdkoctopus/v2/model/build_update_srlz.py +143 -0
  16. huaweicloudsdkoctopus/v2/model/category_f62_enum.py +89 -0
  17. huaweicloudsdkoctopus/v2/model/compilation_create_srlz.py +255 -0
  18. huaweicloudsdkoctopus/v2/model/compilation_update_srlz.py +311 -0
  19. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_request.py +111 -0
  20. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_response.py +361 -0
  21. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_request.py +111 -0
  22. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_response.py +404 -0
  23. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_request.py +111 -0
  24. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_response.py +819 -0
  25. huaweicloudsdkoctopus/v2/model/create_sim_extensions_request.py +111 -0
  26. huaweicloudsdkoctopus/v2/model/create_sim_extensions_response.py +314 -0
  27. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_request.py +114 -0
  28. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_response.py +85 -0
  29. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_request.py +114 -0
  30. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_response.py +85 -0
  31. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_request.py +114 -0
  32. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_response.py +85 -0
  33. huaweicloudsdkoctopus/v2/model/delete_sim_batches_request.py +114 -0
  34. huaweicloudsdkoctopus/v2/model/delete_sim_batches_response.py +85 -0
  35. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_request.py +114 -0
  36. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_response.py +85 -0
  37. huaweicloudsdkoctopus/v2/model/extension_srlz.py +353 -0
  38. huaweicloudsdkoctopus/v2/model/extensions_create_srlz.py +306 -0
  39. huaweicloudsdkoctopus/v2/model/extensions_list_srlz.py +291 -0
  40. huaweicloudsdkoctopus/v2/model/file_nested_srlz.py +279 -0
  41. huaweicloudsdkoctopus/v2/model/file_retrieve_srlz.py +310 -0
  42. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_request.py +339 -0
  43. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_response.py +185 -0
  44. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_request.py +281 -0
  45. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_response.py +185 -0
  46. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_request.py +625 -0
  47. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_response.py +185 -0
  48. huaweicloudsdkoctopus/v2/model/list_sim_batches_request.py +426 -0
  49. huaweicloudsdkoctopus/v2/model/list_sim_batches_response.py +185 -0
  50. huaweicloudsdkoctopus/v2/model/list_sim_extensions_request.py +202 -0
  51. huaweicloudsdkoctopus/v2/model/list_sim_extensions_response.py +185 -0
  52. huaweicloudsdkoctopus/v2/model/patched_alg_image_update_srlz.py +302 -0
  53. huaweicloudsdkoctopus/v2/model/patched_algorithm_update_srlz.py +796 -0
  54. huaweicloudsdkoctopus/v2/model/record_mode_enum.py +88 -0
  55. huaweicloudsdkoctopus/v2/model/run_image_status_enum.py +91 -0
  56. huaweicloudsdkoctopus/v2/model/run_srlz.py +254 -0
  57. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_request.py +114 -0
  58. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_response.py +361 -0
  59. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_request.py +114 -0
  60. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_response.py +377 -0
  61. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_request.py +114 -0
  62. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_response.py +819 -0
  63. huaweicloudsdkoctopus/v2/model/show_sim_extension_request.py +110 -0
  64. huaweicloudsdkoctopus/v2/model/show_sim_extension_response.py +353 -0
  65. huaweicloudsdkoctopus/v2/model/status6a7_enum.py +106 -0
  66. huaweicloudsdkoctopus/v2/model/type87e_enum.py +88 -0
  67. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_request.py +139 -0
  68. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_response.py +303 -0
  69. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_request.py +139 -0
  70. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_response.py +431 -0
  71. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_request.py +138 -0
  72. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_response.py +85 -0
  73. huaweicloudsdkoctopus/v2/model/update_sim_extensions_request.py +139 -0
  74. huaweicloudsdkoctopus/v2/model/update_sim_extensions_response.py +356 -0
  75. huaweicloudsdkoctopus/v2/octopus_async_client.py +1679 -150
  76. huaweicloudsdkoctopus/v2/octopus_client.py +1679 -150
  77. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/METADATA +2 -2
  78. huaweicloudsdkoctopus-3.1.156.dist-info/RECORD +126 -0
  79. huaweicloudsdkoctopus-3.1.155.dist-info/RECORD +0 -54
  80. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/LICENSE +0 -0
  81. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/WHEEL +0 -0
  82. {huaweicloudsdkoctopus-3.1.155.dist-info → huaweicloudsdkoctopus-3.1.156.dist-info}/top_level.txt +0 -0
@@ -5,20 +5,69 @@ from __future__ import absolute_import
5
5
  from huaweicloudsdkoctopus.v2.octopus_client import OctopusClient
6
6
  from huaweicloudsdkoctopus.v2.octopus_async_client import OctopusAsyncClient
7
7
 
8
+ from huaweicloudsdkoctopus.v2.model.alg_image_create_srlz import AlgImageCreateSrlz
9
+ from huaweicloudsdkoctopus.v2.model.alg_image_list_srlz import AlgImageListSrlz
10
+ from huaweicloudsdkoctopus.v2.model.algorithm_create_srlz import AlgorithmCreateSrlz
11
+ from huaweicloudsdkoctopus.v2.model.algorithm_list_srlz import AlgorithmListSrlz
12
+ from huaweicloudsdkoctopus.v2.model.batch_config_abc_info_srlz import BatchConfigABCInfoSrlz
13
+ from huaweicloudsdkoctopus.v2.model.batch_config_evaluation_info_srlz import BatchConfigEvaluationInfoSrlz
14
+ from huaweicloudsdkoctopus.v2.model.batch_config_image_info_srlz import BatchConfigImageInfoSrlz
15
+ from huaweicloudsdkoctopus.v2.model.batch_config_msg_notify_srlz import BatchConfigMsgNotifySrlz
16
+ from huaweicloudsdkoctopus.v2.model.batch_config_scenario_srlz import BatchConfigScenarioSrlz
17
+ from huaweicloudsdkoctopus.v2.model.batch_config_srlz import BatchConfigSrlz
8
18
  from huaweicloudsdkoctopus.v2.model.batch_create_request import BatchCreateRequest
19
+ from huaweicloudsdkoctopus.v2.model.batch_srlz import BatchSrlz
20
+ from huaweicloudsdkoctopus.v2.model.build_create_srlz import BuildCreateSrlz
21
+ from huaweicloudsdkoctopus.v2.model.build_update_srlz import BuildUpdateSrlz
22
+ from huaweicloudsdkoctopus.v2.model.category_f62_enum import CategoryF62Enum
23
+ from huaweicloudsdkoctopus.v2.model.compilation_create_srlz import CompilationCreateSrlz
24
+ from huaweicloudsdkoctopus.v2.model.compilation_update_srlz import CompilationUpdateSrlz
25
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithm_images_request import CreateSimAlgorithmImagesRequest
26
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithm_images_response import CreateSimAlgorithmImagesResponse
27
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithms_request import CreateSimAlgorithmsRequest
28
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithms_response import CreateSimAlgorithmsResponse
29
+ from huaweicloudsdkoctopus.v2.model.create_sim_batch_configs_request import CreateSimBatchConfigsRequest
30
+ from huaweicloudsdkoctopus.v2.model.create_sim_batch_configs_response import CreateSimBatchConfigsResponse
9
31
  from huaweicloudsdkoctopus.v2.model.create_sim_batches_request import CreateSimBatchesRequest
10
32
  from huaweicloudsdkoctopus.v2.model.create_sim_batches_response import CreateSimBatchesResponse
33
+ from huaweicloudsdkoctopus.v2.model.create_sim_extensions_request import CreateSimExtensionsRequest
34
+ from huaweicloudsdkoctopus.v2.model.create_sim_extensions_response import CreateSimExtensionsResponse
11
35
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_maps_request import CreateSimSmMapsRequest
12
36
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_maps_response import CreateSimSmMapsResponse
13
37
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_files_request import CreateSimSmScenariosFilesRequest
14
38
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_files_response import CreateSimSmScenariosFilesResponse
15
39
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_request import CreateSimSmScenariosRequest
16
40
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_response import CreateSimSmScenariosResponse
41
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithm_images_request import DeleteSimAlgorithmImagesRequest
42
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithm_images_response import DeleteSimAlgorithmImagesResponse
43
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithms_request import DeleteSimAlgorithmsRequest
44
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithms_response import DeleteSimAlgorithmsResponse
45
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batch_configs_request import DeleteSimBatchConfigsRequest
46
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batch_configs_response import DeleteSimBatchConfigsResponse
47
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batches_request import DeleteSimBatchesRequest
48
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batches_response import DeleteSimBatchesResponse
49
+ from huaweicloudsdkoctopus.v2.model.delete_sim_extensions_request import DeleteSimExtensionsRequest
50
+ from huaweicloudsdkoctopus.v2.model.delete_sim_extensions_response import DeleteSimExtensionsResponse
51
+ from huaweicloudsdkoctopus.v2.model.extension_srlz import ExtensionSrlz
52
+ from huaweicloudsdkoctopus.v2.model.extensions_create_srlz import ExtensionsCreateSrlz
53
+ from huaweicloudsdkoctopus.v2.model.extensions_list_srlz import ExtensionsListSrlz
17
54
  from huaweicloudsdkoctopus.v2.model.family_enum import FamilyEnum
18
55
  from huaweicloudsdkoctopus.v2.model.file_create_req_srlz import FileCreateReqSrlz
19
56
  from huaweicloudsdkoctopus.v2.model.file_create_srlz import FileCreateSrlz
20
57
  from huaweicloudsdkoctopus.v2.model.file_nested_create_req_srlz import FileNestedCreateReqSrlz
58
+ from huaweicloudsdkoctopus.v2.model.file_nested_srlz import FileNestedSrlz
59
+ from huaweicloudsdkoctopus.v2.model.file_retrieve_srlz import FileRetrieveSrlz
21
60
  from huaweicloudsdkoctopus.v2.model.label_brief_srlz import LabelBriefSrlz
61
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithm_images_request import ListSimAlgorithmImagesRequest
62
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithm_images_response import ListSimAlgorithmImagesResponse
63
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithms_request import ListSimAlgorithmsRequest
64
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithms_response import ListSimAlgorithmsResponse
65
+ from huaweicloudsdkoctopus.v2.model.list_sim_batch_configs_request import ListSimBatchConfigsRequest
66
+ from huaweicloudsdkoctopus.v2.model.list_sim_batch_configs_response import ListSimBatchConfigsResponse
67
+ from huaweicloudsdkoctopus.v2.model.list_sim_batches_request import ListSimBatchesRequest
68
+ from huaweicloudsdkoctopus.v2.model.list_sim_batches_response import ListSimBatchesResponse
69
+ from huaweicloudsdkoctopus.v2.model.list_sim_extensions_request import ListSimExtensionsRequest
70
+ from huaweicloudsdkoctopus.v2.model.list_sim_extensions_response import ListSimExtensionsResponse
22
71
  from huaweicloudsdkoctopus.v2.model.list_sim_simulations_request import ListSimSimulationsRequest
23
72
  from huaweicloudsdkoctopus.v2.model.list_sim_simulations_response import ListSimSimulationsResponse
24
73
  from huaweicloudsdkoctopus.v2.model.list_sim_sm_scenarios_request import ListSimSmScenariosRequest
@@ -26,14 +75,27 @@ from huaweicloudsdkoctopus.v2.model.list_sim_sm_scenarios_response import ListSi
26
75
  from huaweicloudsdkoctopus.v2.model.map_create_req_srlz import MapCreateReqSrlz
27
76
  from huaweicloudsdkoctopus.v2.model.map_version_enum import MapVersionEnum
28
77
  from huaweicloudsdkoctopus.v2.model.mutable_file_srlz import MutableFileSrlz
78
+ from huaweicloudsdkoctopus.v2.model.patched_alg_image_update_srlz import PatchedAlgImageUpdateSrlz
79
+ from huaweicloudsdkoctopus.v2.model.patched_algorithm_update_srlz import PatchedAlgorithmUpdateSrlz
29
80
  from huaweicloudsdkoctopus.v2.model.patched_file_detail_srlz import PatchedFileDetailSrlz
30
81
  from huaweicloudsdkoctopus.v2.model.post_response import PostResponse
31
82
  from huaweicloudsdkoctopus.v2.model.post_response_field import PostResponseField
32
83
  from huaweicloudsdkoctopus.v2.model.priority_enum import PriorityEnum
84
+ from huaweicloudsdkoctopus.v2.model.record_mode_enum import RecordModeEnum
85
+ from huaweicloudsdkoctopus.v2.model.run_image_status_enum import RunImageStatusEnum
86
+ from huaweicloudsdkoctopus.v2.model.run_srlz import RunSrlz
33
87
  from huaweicloudsdkoctopus.v2.model.scenario_create_req_srlz import ScenarioCreateReqSrlz
34
88
  from huaweicloudsdkoctopus.v2.model.scenario_list_srlz import ScenarioListSrlz
35
89
  from huaweicloudsdkoctopus.v2.model.scenario_status_enum import ScenarioStatusEnum
36
90
  from huaweicloudsdkoctopus.v2.model.scenario_version_enum import ScenarioVersionEnum
91
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_image_request import ShowSimAlgorithmImageRequest
92
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_image_response import ShowSimAlgorithmImageResponse
93
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_request import ShowSimAlgorithmRequest
94
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_response import ShowSimAlgorithmResponse
95
+ from huaweicloudsdkoctopus.v2.model.show_sim_batch_config_request import ShowSimBatchConfigRequest
96
+ from huaweicloudsdkoctopus.v2.model.show_sim_batch_config_response import ShowSimBatchConfigResponse
97
+ from huaweicloudsdkoctopus.v2.model.show_sim_extension_request import ShowSimExtensionRequest
98
+ from huaweicloudsdkoctopus.v2.model.show_sim_extension_response import ShowSimExtensionResponse
37
99
  from huaweicloudsdkoctopus.v2.model.show_sim_simulations_files_request import ShowSimSimulationsFilesRequest
38
100
  from huaweicloudsdkoctopus.v2.model.show_sim_simulations_files_response import ShowSimSimulationsFilesResponse
39
101
  from huaweicloudsdkoctopus.v2.model.simulation_eva_result_metric_srlz import SimulationEvaResultMetricSrlz
@@ -43,6 +105,16 @@ from huaweicloudsdkoctopus.v2.model.simulation_evaluation_srlz import Simulation
43
105
  from huaweicloudsdkoctopus.v2.model.simulation_file_path_srlz import SimulationFilePathSrlz
44
106
  from huaweicloudsdkoctopus.v2.model.simulation_srlz import SimulationSrlz
45
107
  from huaweicloudsdkoctopus.v2.model.status15e_enum import Status15eEnum
108
+ from huaweicloudsdkoctopus.v2.model.status6a7_enum import Status6a7Enum
109
+ from huaweicloudsdkoctopus.v2.model.type87e_enum import Type87eEnum
110
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithm_images_request import UpdateSimAlgorithmImagesRequest
111
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithm_images_response import UpdateSimAlgorithmImagesResponse
112
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithms_request import UpdateSimAlgorithmsRequest
113
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithms_response import UpdateSimAlgorithmsResponse
114
+ from huaweicloudsdkoctopus.v2.model.update_sim_batch_configs_extensions_request import UpdateSimBatchConfigsExtensionsRequest
115
+ from huaweicloudsdkoctopus.v2.model.update_sim_batch_configs_extensions_response import UpdateSimBatchConfigsExtensionsResponse
116
+ from huaweicloudsdkoctopus.v2.model.update_sim_extensions_request import UpdateSimExtensionsRequest
117
+ from huaweicloudsdkoctopus.v2.model.update_sim_extensions_response import UpdateSimExtensionsResponse
46
118
  from huaweicloudsdkoctopus.v2.model.update_sim_sm_maps_files_request import UpdateSimSmMapsFilesRequest
47
119
  from huaweicloudsdkoctopus.v2.model.update_sim_sm_maps_files_response import UpdateSimSmMapsFilesResponse
48
120
  from huaweicloudsdkoctopus.v2.model.update_sim_sm_scenarios_files_request import UpdateSimSmScenariosFilesRequest
@@ -3,20 +3,69 @@
3
3
  from __future__ import absolute_import
4
4
 
5
5
  # import models into model package
6
+ from huaweicloudsdkoctopus.v2.model.alg_image_create_srlz import AlgImageCreateSrlz
7
+ from huaweicloudsdkoctopus.v2.model.alg_image_list_srlz import AlgImageListSrlz
8
+ from huaweicloudsdkoctopus.v2.model.algorithm_create_srlz import AlgorithmCreateSrlz
9
+ from huaweicloudsdkoctopus.v2.model.algorithm_list_srlz import AlgorithmListSrlz
10
+ from huaweicloudsdkoctopus.v2.model.batch_config_abc_info_srlz import BatchConfigABCInfoSrlz
11
+ from huaweicloudsdkoctopus.v2.model.batch_config_evaluation_info_srlz import BatchConfigEvaluationInfoSrlz
12
+ from huaweicloudsdkoctopus.v2.model.batch_config_image_info_srlz import BatchConfigImageInfoSrlz
13
+ from huaweicloudsdkoctopus.v2.model.batch_config_msg_notify_srlz import BatchConfigMsgNotifySrlz
14
+ from huaweicloudsdkoctopus.v2.model.batch_config_scenario_srlz import BatchConfigScenarioSrlz
15
+ from huaweicloudsdkoctopus.v2.model.batch_config_srlz import BatchConfigSrlz
6
16
  from huaweicloudsdkoctopus.v2.model.batch_create_request import BatchCreateRequest
17
+ from huaweicloudsdkoctopus.v2.model.batch_srlz import BatchSrlz
18
+ from huaweicloudsdkoctopus.v2.model.build_create_srlz import BuildCreateSrlz
19
+ from huaweicloudsdkoctopus.v2.model.build_update_srlz import BuildUpdateSrlz
20
+ from huaweicloudsdkoctopus.v2.model.category_f62_enum import CategoryF62Enum
21
+ from huaweicloudsdkoctopus.v2.model.compilation_create_srlz import CompilationCreateSrlz
22
+ from huaweicloudsdkoctopus.v2.model.compilation_update_srlz import CompilationUpdateSrlz
23
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithm_images_request import CreateSimAlgorithmImagesRequest
24
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithm_images_response import CreateSimAlgorithmImagesResponse
25
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithms_request import CreateSimAlgorithmsRequest
26
+ from huaweicloudsdkoctopus.v2.model.create_sim_algorithms_response import CreateSimAlgorithmsResponse
27
+ from huaweicloudsdkoctopus.v2.model.create_sim_batch_configs_request import CreateSimBatchConfigsRequest
28
+ from huaweicloudsdkoctopus.v2.model.create_sim_batch_configs_response import CreateSimBatchConfigsResponse
7
29
  from huaweicloudsdkoctopus.v2.model.create_sim_batches_request import CreateSimBatchesRequest
8
30
  from huaweicloudsdkoctopus.v2.model.create_sim_batches_response import CreateSimBatchesResponse
31
+ from huaweicloudsdkoctopus.v2.model.create_sim_extensions_request import CreateSimExtensionsRequest
32
+ from huaweicloudsdkoctopus.v2.model.create_sim_extensions_response import CreateSimExtensionsResponse
9
33
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_maps_request import CreateSimSmMapsRequest
10
34
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_maps_response import CreateSimSmMapsResponse
11
35
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_files_request import CreateSimSmScenariosFilesRequest
12
36
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_files_response import CreateSimSmScenariosFilesResponse
13
37
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_request import CreateSimSmScenariosRequest
14
38
  from huaweicloudsdkoctopus.v2.model.create_sim_sm_scenarios_response import CreateSimSmScenariosResponse
39
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithm_images_request import DeleteSimAlgorithmImagesRequest
40
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithm_images_response import DeleteSimAlgorithmImagesResponse
41
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithms_request import DeleteSimAlgorithmsRequest
42
+ from huaweicloudsdkoctopus.v2.model.delete_sim_algorithms_response import DeleteSimAlgorithmsResponse
43
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batch_configs_request import DeleteSimBatchConfigsRequest
44
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batch_configs_response import DeleteSimBatchConfigsResponse
45
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batches_request import DeleteSimBatchesRequest
46
+ from huaweicloudsdkoctopus.v2.model.delete_sim_batches_response import DeleteSimBatchesResponse
47
+ from huaweicloudsdkoctopus.v2.model.delete_sim_extensions_request import DeleteSimExtensionsRequest
48
+ from huaweicloudsdkoctopus.v2.model.delete_sim_extensions_response import DeleteSimExtensionsResponse
49
+ from huaweicloudsdkoctopus.v2.model.extension_srlz import ExtensionSrlz
50
+ from huaweicloudsdkoctopus.v2.model.extensions_create_srlz import ExtensionsCreateSrlz
51
+ from huaweicloudsdkoctopus.v2.model.extensions_list_srlz import ExtensionsListSrlz
15
52
  from huaweicloudsdkoctopus.v2.model.family_enum import FamilyEnum
16
53
  from huaweicloudsdkoctopus.v2.model.file_create_req_srlz import FileCreateReqSrlz
17
54
  from huaweicloudsdkoctopus.v2.model.file_create_srlz import FileCreateSrlz
18
55
  from huaweicloudsdkoctopus.v2.model.file_nested_create_req_srlz import FileNestedCreateReqSrlz
56
+ from huaweicloudsdkoctopus.v2.model.file_nested_srlz import FileNestedSrlz
57
+ from huaweicloudsdkoctopus.v2.model.file_retrieve_srlz import FileRetrieveSrlz
19
58
  from huaweicloudsdkoctopus.v2.model.label_brief_srlz import LabelBriefSrlz
59
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithm_images_request import ListSimAlgorithmImagesRequest
60
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithm_images_response import ListSimAlgorithmImagesResponse
61
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithms_request import ListSimAlgorithmsRequest
62
+ from huaweicloudsdkoctopus.v2.model.list_sim_algorithms_response import ListSimAlgorithmsResponse
63
+ from huaweicloudsdkoctopus.v2.model.list_sim_batch_configs_request import ListSimBatchConfigsRequest
64
+ from huaweicloudsdkoctopus.v2.model.list_sim_batch_configs_response import ListSimBatchConfigsResponse
65
+ from huaweicloudsdkoctopus.v2.model.list_sim_batches_request import ListSimBatchesRequest
66
+ from huaweicloudsdkoctopus.v2.model.list_sim_batches_response import ListSimBatchesResponse
67
+ from huaweicloudsdkoctopus.v2.model.list_sim_extensions_request import ListSimExtensionsRequest
68
+ from huaweicloudsdkoctopus.v2.model.list_sim_extensions_response import ListSimExtensionsResponse
20
69
  from huaweicloudsdkoctopus.v2.model.list_sim_simulations_request import ListSimSimulationsRequest
21
70
  from huaweicloudsdkoctopus.v2.model.list_sim_simulations_response import ListSimSimulationsResponse
22
71
  from huaweicloudsdkoctopus.v2.model.list_sim_sm_scenarios_request import ListSimSmScenariosRequest
@@ -24,14 +73,27 @@ from huaweicloudsdkoctopus.v2.model.list_sim_sm_scenarios_response import ListSi
24
73
  from huaweicloudsdkoctopus.v2.model.map_create_req_srlz import MapCreateReqSrlz
25
74
  from huaweicloudsdkoctopus.v2.model.map_version_enum import MapVersionEnum
26
75
  from huaweicloudsdkoctopus.v2.model.mutable_file_srlz import MutableFileSrlz
76
+ from huaweicloudsdkoctopus.v2.model.patched_alg_image_update_srlz import PatchedAlgImageUpdateSrlz
77
+ from huaweicloudsdkoctopus.v2.model.patched_algorithm_update_srlz import PatchedAlgorithmUpdateSrlz
27
78
  from huaweicloudsdkoctopus.v2.model.patched_file_detail_srlz import PatchedFileDetailSrlz
28
79
  from huaweicloudsdkoctopus.v2.model.post_response import PostResponse
29
80
  from huaweicloudsdkoctopus.v2.model.post_response_field import PostResponseField
30
81
  from huaweicloudsdkoctopus.v2.model.priority_enum import PriorityEnum
82
+ from huaweicloudsdkoctopus.v2.model.record_mode_enum import RecordModeEnum
83
+ from huaweicloudsdkoctopus.v2.model.run_image_status_enum import RunImageStatusEnum
84
+ from huaweicloudsdkoctopus.v2.model.run_srlz import RunSrlz
31
85
  from huaweicloudsdkoctopus.v2.model.scenario_create_req_srlz import ScenarioCreateReqSrlz
32
86
  from huaweicloudsdkoctopus.v2.model.scenario_list_srlz import ScenarioListSrlz
33
87
  from huaweicloudsdkoctopus.v2.model.scenario_status_enum import ScenarioStatusEnum
34
88
  from huaweicloudsdkoctopus.v2.model.scenario_version_enum import ScenarioVersionEnum
89
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_image_request import ShowSimAlgorithmImageRequest
90
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_image_response import ShowSimAlgorithmImageResponse
91
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_request import ShowSimAlgorithmRequest
92
+ from huaweicloudsdkoctopus.v2.model.show_sim_algorithm_response import ShowSimAlgorithmResponse
93
+ from huaweicloudsdkoctopus.v2.model.show_sim_batch_config_request import ShowSimBatchConfigRequest
94
+ from huaweicloudsdkoctopus.v2.model.show_sim_batch_config_response import ShowSimBatchConfigResponse
95
+ from huaweicloudsdkoctopus.v2.model.show_sim_extension_request import ShowSimExtensionRequest
96
+ from huaweicloudsdkoctopus.v2.model.show_sim_extension_response import ShowSimExtensionResponse
35
97
  from huaweicloudsdkoctopus.v2.model.show_sim_simulations_files_request import ShowSimSimulationsFilesRequest
36
98
  from huaweicloudsdkoctopus.v2.model.show_sim_simulations_files_response import ShowSimSimulationsFilesResponse
37
99
  from huaweicloudsdkoctopus.v2.model.simulation_eva_result_metric_srlz import SimulationEvaResultMetricSrlz
@@ -41,6 +103,16 @@ from huaweicloudsdkoctopus.v2.model.simulation_evaluation_srlz import Simulation
41
103
  from huaweicloudsdkoctopus.v2.model.simulation_file_path_srlz import SimulationFilePathSrlz
42
104
  from huaweicloudsdkoctopus.v2.model.simulation_srlz import SimulationSrlz
43
105
  from huaweicloudsdkoctopus.v2.model.status15e_enum import Status15eEnum
106
+ from huaweicloudsdkoctopus.v2.model.status6a7_enum import Status6a7Enum
107
+ from huaweicloudsdkoctopus.v2.model.type87e_enum import Type87eEnum
108
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithm_images_request import UpdateSimAlgorithmImagesRequest
109
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithm_images_response import UpdateSimAlgorithmImagesResponse
110
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithms_request import UpdateSimAlgorithmsRequest
111
+ from huaweicloudsdkoctopus.v2.model.update_sim_algorithms_response import UpdateSimAlgorithmsResponse
112
+ from huaweicloudsdkoctopus.v2.model.update_sim_batch_configs_extensions_request import UpdateSimBatchConfigsExtensionsRequest
113
+ from huaweicloudsdkoctopus.v2.model.update_sim_batch_configs_extensions_response import UpdateSimBatchConfigsExtensionsResponse
114
+ from huaweicloudsdkoctopus.v2.model.update_sim_extensions_request import UpdateSimExtensionsRequest
115
+ from huaweicloudsdkoctopus.v2.model.update_sim_extensions_response import UpdateSimExtensionsResponse
44
116
  from huaweicloudsdkoctopus.v2.model.update_sim_sm_maps_files_request import UpdateSimSmMapsFilesRequest
45
117
  from huaweicloudsdkoctopus.v2.model.update_sim_sm_maps_files_response import UpdateSimSmMapsFilesResponse
46
118
  from huaweicloudsdkoctopus.v2.model.update_sim_sm_scenarios_files_request import UpdateSimSmScenariosFilesRequest
@@ -0,0 +1,350 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class AlgImageCreateSrlz:
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
+ 'url': 'str',
21
+ 'id': 'int',
22
+ 'created_at': 'float',
23
+ 'updated_at': 'float',
24
+ 'type': 'Type87eEnum',
25
+ 'version': 'str',
26
+ 'command': 'str',
27
+ 'workspace': 'str',
28
+ 'keyword': 'str',
29
+ 'algorithm': 'str'
30
+ }
31
+
32
+ attribute_map = {
33
+ 'url': 'url',
34
+ 'id': 'id',
35
+ 'created_at': 'created_at',
36
+ 'updated_at': 'updated_at',
37
+ 'type': 'type',
38
+ 'version': 'version',
39
+ 'command': 'command',
40
+ 'workspace': 'workspace',
41
+ 'keyword': 'keyword',
42
+ 'algorithm': 'algorithm'
43
+ }
44
+
45
+ def __init__(self, url=None, id=None, created_at=None, updated_at=None, type=None, version=None, command=None, workspace=None, keyword=None, algorithm=None):
46
+ r"""AlgImageCreateSrlz
47
+
48
+ The model defined in huaweicloud sdk
49
+
50
+ :param url:
51
+ :type url: str
52
+ :param id:
53
+ :type id: int
54
+ :param created_at:
55
+ :type created_at: float
56
+ :param updated_at:
57
+ :type updated_at: float
58
+ :param type: 镜像类型 * `build` - Build * `upload` - Upload
59
+ :type type: :class:`huaweicloudsdkoctopus.v2.Type87eEnum`
60
+ :param version: 镜像版本
61
+ :type version: str
62
+ :param command: 运行命令
63
+ :type command: str
64
+ :param workspace: 运行目录,构建类型需要
65
+ :type workspace: str
66
+ :param keyword: 算法关键字
67
+ :type keyword: str
68
+ :param algorithm: 算法
69
+ :type algorithm: str
70
+ """
71
+
72
+
73
+
74
+ self._url = None
75
+ self._id = None
76
+ self._created_at = None
77
+ self._updated_at = None
78
+ self._type = None
79
+ self._version = None
80
+ self._command = None
81
+ self._workspace = None
82
+ self._keyword = None
83
+ self._algorithm = None
84
+ self.discriminator = None
85
+
86
+ self.url = url
87
+ self.id = id
88
+ self.created_at = created_at
89
+ self.updated_at = updated_at
90
+ self.type = type
91
+ self.version = version
92
+ self.command = command
93
+ self.workspace = workspace
94
+ self.keyword = keyword
95
+ self.algorithm = algorithm
96
+
97
+ @property
98
+ def url(self):
99
+ r"""Gets the url of this AlgImageCreateSrlz.
100
+
101
+ :return: The url of this AlgImageCreateSrlz.
102
+ :rtype: str
103
+ """
104
+ return self._url
105
+
106
+ @url.setter
107
+ def url(self, url):
108
+ r"""Sets the url of this AlgImageCreateSrlz.
109
+
110
+ :param url: The url of this AlgImageCreateSrlz.
111
+ :type url: str
112
+ """
113
+ self._url = url
114
+
115
+ @property
116
+ def id(self):
117
+ r"""Gets the id of this AlgImageCreateSrlz.
118
+
119
+ :return: The id of this AlgImageCreateSrlz.
120
+ :rtype: int
121
+ """
122
+ return self._id
123
+
124
+ @id.setter
125
+ def id(self, id):
126
+ r"""Sets the id of this AlgImageCreateSrlz.
127
+
128
+ :param id: The id of this AlgImageCreateSrlz.
129
+ :type id: int
130
+ """
131
+ self._id = id
132
+
133
+ @property
134
+ def created_at(self):
135
+ r"""Gets the created_at of this AlgImageCreateSrlz.
136
+
137
+ :return: The created_at of this AlgImageCreateSrlz.
138
+ :rtype: float
139
+ """
140
+ return self._created_at
141
+
142
+ @created_at.setter
143
+ def created_at(self, created_at):
144
+ r"""Sets the created_at of this AlgImageCreateSrlz.
145
+
146
+ :param created_at: The created_at of this AlgImageCreateSrlz.
147
+ :type created_at: float
148
+ """
149
+ self._created_at = created_at
150
+
151
+ @property
152
+ def updated_at(self):
153
+ r"""Gets the updated_at of this AlgImageCreateSrlz.
154
+
155
+ :return: The updated_at of this AlgImageCreateSrlz.
156
+ :rtype: float
157
+ """
158
+ return self._updated_at
159
+
160
+ @updated_at.setter
161
+ def updated_at(self, updated_at):
162
+ r"""Sets the updated_at of this AlgImageCreateSrlz.
163
+
164
+ :param updated_at: The updated_at of this AlgImageCreateSrlz.
165
+ :type updated_at: float
166
+ """
167
+ self._updated_at = updated_at
168
+
169
+ @property
170
+ def type(self):
171
+ r"""Gets the type of this AlgImageCreateSrlz.
172
+
173
+ 镜像类型 * `build` - Build * `upload` - Upload
174
+
175
+ :return: The type of this AlgImageCreateSrlz.
176
+ :rtype: :class:`huaweicloudsdkoctopus.v2.Type87eEnum`
177
+ """
178
+ return self._type
179
+
180
+ @type.setter
181
+ def type(self, type):
182
+ r"""Sets the type of this AlgImageCreateSrlz.
183
+
184
+ 镜像类型 * `build` - Build * `upload` - Upload
185
+
186
+ :param type: The type of this AlgImageCreateSrlz.
187
+ :type type: :class:`huaweicloudsdkoctopus.v2.Type87eEnum`
188
+ """
189
+ self._type = type
190
+
191
+ @property
192
+ def version(self):
193
+ r"""Gets the version of this AlgImageCreateSrlz.
194
+
195
+ 镜像版本
196
+
197
+ :return: The version of this AlgImageCreateSrlz.
198
+ :rtype: str
199
+ """
200
+ return self._version
201
+
202
+ @version.setter
203
+ def version(self, version):
204
+ r"""Sets the version of this AlgImageCreateSrlz.
205
+
206
+ 镜像版本
207
+
208
+ :param version: The version of this AlgImageCreateSrlz.
209
+ :type version: str
210
+ """
211
+ self._version = version
212
+
213
+ @property
214
+ def command(self):
215
+ r"""Gets the command of this AlgImageCreateSrlz.
216
+
217
+ 运行命令
218
+
219
+ :return: The command of this AlgImageCreateSrlz.
220
+ :rtype: str
221
+ """
222
+ return self._command
223
+
224
+ @command.setter
225
+ def command(self, command):
226
+ r"""Sets the command of this AlgImageCreateSrlz.
227
+
228
+ 运行命令
229
+
230
+ :param command: The command of this AlgImageCreateSrlz.
231
+ :type command: str
232
+ """
233
+ self._command = command
234
+
235
+ @property
236
+ def workspace(self):
237
+ r"""Gets the workspace of this AlgImageCreateSrlz.
238
+
239
+ 运行目录,构建类型需要
240
+
241
+ :return: The workspace of this AlgImageCreateSrlz.
242
+ :rtype: str
243
+ """
244
+ return self._workspace
245
+
246
+ @workspace.setter
247
+ def workspace(self, workspace):
248
+ r"""Sets the workspace of this AlgImageCreateSrlz.
249
+
250
+ 运行目录,构建类型需要
251
+
252
+ :param workspace: The workspace of this AlgImageCreateSrlz.
253
+ :type workspace: str
254
+ """
255
+ self._workspace = workspace
256
+
257
+ @property
258
+ def keyword(self):
259
+ r"""Gets the keyword of this AlgImageCreateSrlz.
260
+
261
+ 算法关键字
262
+
263
+ :return: The keyword of this AlgImageCreateSrlz.
264
+ :rtype: str
265
+ """
266
+ return self._keyword
267
+
268
+ @keyword.setter
269
+ def keyword(self, keyword):
270
+ r"""Sets the keyword of this AlgImageCreateSrlz.
271
+
272
+ 算法关键字
273
+
274
+ :param keyword: The keyword of this AlgImageCreateSrlz.
275
+ :type keyword: str
276
+ """
277
+ self._keyword = keyword
278
+
279
+ @property
280
+ def algorithm(self):
281
+ r"""Gets the algorithm of this AlgImageCreateSrlz.
282
+
283
+ 算法
284
+
285
+ :return: The algorithm of this AlgImageCreateSrlz.
286
+ :rtype: str
287
+ """
288
+ return self._algorithm
289
+
290
+ @algorithm.setter
291
+ def algorithm(self, algorithm):
292
+ r"""Sets the algorithm of this AlgImageCreateSrlz.
293
+
294
+ 算法
295
+
296
+ :param algorithm: The algorithm of this AlgImageCreateSrlz.
297
+ :type algorithm: str
298
+ """
299
+ self._algorithm = algorithm
300
+
301
+ def to_dict(self):
302
+ """Returns the model properties as a dict"""
303
+ result = {}
304
+
305
+ for attr, _ in six.iteritems(self.openapi_types):
306
+ value = getattr(self, attr)
307
+ if isinstance(value, list):
308
+ result[attr] = list(map(
309
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
310
+ value
311
+ ))
312
+ elif hasattr(value, "to_dict"):
313
+ result[attr] = value.to_dict()
314
+ elif isinstance(value, dict):
315
+ result[attr] = dict(map(
316
+ lambda item: (item[0], item[1].to_dict())
317
+ if hasattr(item[1], "to_dict") else item,
318
+ value.items()
319
+ ))
320
+ else:
321
+ if attr in self.sensitive_list:
322
+ result[attr] = "****"
323
+ else:
324
+ result[attr] = value
325
+
326
+ return result
327
+
328
+ def to_str(self):
329
+ """Returns the string representation of the model"""
330
+ import simplejson as json
331
+ if six.PY2:
332
+ import sys
333
+ reload(sys)
334
+ sys.setdefaultencoding("utf-8")
335
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
336
+
337
+ def __repr__(self):
338
+ """For `print`"""
339
+ return self.to_str()
340
+
341
+ def __eq__(self, other):
342
+ """Returns true if both objects are equal"""
343
+ if not isinstance(other, AlgImageCreateSrlz):
344
+ return False
345
+
346
+ return self.__dict__ == other.__dict__
347
+
348
+ def __ne__(self, other):
349
+ """Returns true if both objects are not equal"""
350
+ return not self == other