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.
Files changed (126) hide show
  1. huaweicloudsdkoctopus/__init__.py +0 -0
  2. huaweicloudsdkoctopus/v2/__init__.py +122 -0
  3. huaweicloudsdkoctopus/v2/model/__init__.py +119 -0
  4. huaweicloudsdkoctopus/v2/model/alg_image_create_srlz.py +350 -0
  5. huaweicloudsdkoctopus/v2/model/alg_image_list_srlz.py +266 -0
  6. huaweicloudsdkoctopus/v2/model/algorithm_create_srlz.py +399 -0
  7. huaweicloudsdkoctopus/v2/model/algorithm_list_srlz.py +266 -0
  8. huaweicloudsdkoctopus/v2/model/batch_config_abc_info_srlz.py +142 -0
  9. huaweicloudsdkoctopus/v2/model/batch_config_evaluation_info_srlz.py +142 -0
  10. huaweicloudsdkoctopus/v2/model/batch_config_image_info_srlz.py +198 -0
  11. huaweicloudsdkoctopus/v2/model/batch_config_msg_notify_srlz.py +115 -0
  12. huaweicloudsdkoctopus/v2/model/batch_config_scenario_srlz.py +173 -0
  13. huaweicloudsdkoctopus/v2/model/batch_config_srlz.py +806 -0
  14. huaweicloudsdkoctopus/v2/model/batch_create_request.py +198 -0
  15. huaweicloudsdkoctopus/v2/model/batch_srlz.py +604 -0
  16. huaweicloudsdkoctopus/v2/model/build_create_srlz.py +115 -0
  17. huaweicloudsdkoctopus/v2/model/build_update_srlz.py +143 -0
  18. huaweicloudsdkoctopus/v2/model/category_f62_enum.py +89 -0
  19. huaweicloudsdkoctopus/v2/model/compilation_create_srlz.py +255 -0
  20. huaweicloudsdkoctopus/v2/model/compilation_update_srlz.py +311 -0
  21. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_request.py +111 -0
  22. huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_response.py +361 -0
  23. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_request.py +111 -0
  24. huaweicloudsdkoctopus/v2/model/create_sim_algorithms_response.py +404 -0
  25. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_request.py +111 -0
  26. huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_response.py +819 -0
  27. huaweicloudsdkoctopus/v2/model/create_sim_batches_request.py +111 -0
  28. huaweicloudsdkoctopus/v2/model/create_sim_batches_response.py +619 -0
  29. huaweicloudsdkoctopus/v2/model/create_sim_extensions_request.py +111 -0
  30. huaweicloudsdkoctopus/v2/model/create_sim_extensions_response.py +314 -0
  31. huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_request.py +111 -0
  32. huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_response.py +253 -0
  33. huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_request.py +139 -0
  34. huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_response.py +377 -0
  35. huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_request.py +111 -0
  36. huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_response.py +618 -0
  37. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_request.py +114 -0
  38. huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_response.py +85 -0
  39. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_request.py +114 -0
  40. huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_response.py +85 -0
  41. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_request.py +114 -0
  42. huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_response.py +85 -0
  43. huaweicloudsdkoctopus/v2/model/delete_sim_batches_request.py +114 -0
  44. huaweicloudsdkoctopus/v2/model/delete_sim_batches_response.py +85 -0
  45. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_request.py +114 -0
  46. huaweicloudsdkoctopus/v2/model/delete_sim_extensions_response.py +85 -0
  47. huaweicloudsdkoctopus/v2/model/extension_srlz.py +353 -0
  48. huaweicloudsdkoctopus/v2/model/extensions_create_srlz.py +306 -0
  49. huaweicloudsdkoctopus/v2/model/extensions_list_srlz.py +291 -0
  50. huaweicloudsdkoctopus/v2/model/family_enum.py +91 -0
  51. huaweicloudsdkoctopus/v2/model/file_create_req_srlz.py +142 -0
  52. huaweicloudsdkoctopus/v2/model/file_create_srlz.py +366 -0
  53. huaweicloudsdkoctopus/v2/model/file_nested_create_req_srlz.py +142 -0
  54. huaweicloudsdkoctopus/v2/model/file_nested_srlz.py +279 -0
  55. huaweicloudsdkoctopus/v2/model/file_retrieve_srlz.py +310 -0
  56. huaweicloudsdkoctopus/v2/model/label_brief_srlz.py +279 -0
  57. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_request.py +339 -0
  58. huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_response.py +185 -0
  59. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_request.py +281 -0
  60. huaweicloudsdkoctopus/v2/model/list_sim_algorithms_response.py +185 -0
  61. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_request.py +625 -0
  62. huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_response.py +185 -0
  63. huaweicloudsdkoctopus/v2/model/list_sim_batches_request.py +426 -0
  64. huaweicloudsdkoctopus/v2/model/list_sim_batches_response.py +185 -0
  65. huaweicloudsdkoctopus/v2/model/list_sim_extensions_request.py +202 -0
  66. huaweicloudsdkoctopus/v2/model/list_sim_extensions_response.py +185 -0
  67. huaweicloudsdkoctopus/v2/model/list_sim_simulations_request.py +401 -0
  68. huaweicloudsdkoctopus/v2/model/list_sim_simulations_response.py +189 -0
  69. huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_request.py +547 -0
  70. huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_response.py +185 -0
  71. huaweicloudsdkoctopus/v2/model/map_create_req_srlz.py +162 -0
  72. huaweicloudsdkoctopus/v2/model/map_version_enum.py +91 -0
  73. huaweicloudsdkoctopus/v2/model/mutable_file_srlz.py +114 -0
  74. huaweicloudsdkoctopus/v2/model/patched_alg_image_update_srlz.py +302 -0
  75. huaweicloudsdkoctopus/v2/model/patched_algorithm_update_srlz.py +796 -0
  76. huaweicloudsdkoctopus/v2/model/patched_file_detail_srlz.py +144 -0
  77. huaweicloudsdkoctopus/v2/model/post_response.py +140 -0
  78. huaweicloudsdkoctopus/v2/model/post_response_field.py +236 -0
  79. huaweicloudsdkoctopus/v2/model/priority_enum.py +91 -0
  80. huaweicloudsdkoctopus/v2/model/record_mode_enum.py +88 -0
  81. huaweicloudsdkoctopus/v2/model/run_image_status_enum.py +91 -0
  82. huaweicloudsdkoctopus/v2/model/run_srlz.py +254 -0
  83. huaweicloudsdkoctopus/v2/model/scenario_create_req_srlz.py +439 -0
  84. huaweicloudsdkoctopus/v2/model/scenario_list_srlz.py +548 -0
  85. huaweicloudsdkoctopus/v2/model/scenario_status_enum.py +92 -0
  86. huaweicloudsdkoctopus/v2/model/scenario_version_enum.py +91 -0
  87. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_request.py +114 -0
  88. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_response.py +361 -0
  89. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_request.py +114 -0
  90. huaweicloudsdkoctopus/v2/model/show_sim_algorithm_response.py +377 -0
  91. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_request.py +114 -0
  92. huaweicloudsdkoctopus/v2/model/show_sim_batch_config_response.py +819 -0
  93. huaweicloudsdkoctopus/v2/model/show_sim_extension_request.py +110 -0
  94. huaweicloudsdkoctopus/v2/model/show_sim_extension_response.py +353 -0
  95. huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_request.py +142 -0
  96. huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_response.py +290 -0
  97. huaweicloudsdkoctopus/v2/model/simulation_eva_result_metric_srlz.py +260 -0
  98. huaweicloudsdkoctopus/v2/model/simulation_eva_result_srlz.py +231 -0
  99. huaweicloudsdkoctopus/v2/model/simulation_evaluation_metric_srlz.py +289 -0
  100. huaweicloudsdkoctopus/v2/model/simulation_evaluation_srlz.py +231 -0
  101. huaweicloudsdkoctopus/v2/model/simulation_file_path_srlz.py +347 -0
  102. huaweicloudsdkoctopus/v2/model/simulation_srlz.py +708 -0
  103. huaweicloudsdkoctopus/v2/model/status15e_enum.py +99 -0
  104. huaweicloudsdkoctopus/v2/model/status6a7_enum.py +106 -0
  105. huaweicloudsdkoctopus/v2/model/type87e_enum.py +88 -0
  106. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_request.py +139 -0
  107. huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_response.py +303 -0
  108. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_request.py +139 -0
  109. huaweicloudsdkoctopus/v2/model/update_sim_algorithms_response.py +431 -0
  110. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_request.py +138 -0
  111. huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_response.py +85 -0
  112. huaweicloudsdkoctopus/v2/model/update_sim_extensions_request.py +139 -0
  113. huaweicloudsdkoctopus/v2/model/update_sim_extensions_response.py +356 -0
  114. huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_request.py +167 -0
  115. huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_response.py +435 -0
  116. huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_request.py +167 -0
  117. huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_response.py +435 -0
  118. huaweicloudsdkoctopus/v2/octopus_async_client.py +2262 -0
  119. huaweicloudsdkoctopus/v2/octopus_client.py +2259 -0
  120. huaweicloudsdkoctopus/v2/region/__init__.py +0 -0
  121. huaweicloudsdkoctopus/v2/region/octopus_region.py +31 -0
  122. huaweicloudsdkoctopus-3.1.160.dist-info/LICENSE +13 -0
  123. huaweicloudsdkoctopus-3.1.160.dist-info/METADATA +26 -0
  124. huaweicloudsdkoctopus-3.1.160.dist-info/RECORD +126 -0
  125. huaweicloudsdkoctopus-3.1.160.dist-info/WHEEL +5 -0
  126. huaweicloudsdkoctopus-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,231 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class SimulationEvaluationSrlz:
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
+ 'score': 'float',
21
+ 'avg_speed': 'float',
22
+ 'distance': 'float',
23
+ 'reach_time': 'float',
24
+ 'metrics': 'list[SimulationEvaluationMetricSrlz]'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'score': 'score',
29
+ 'avg_speed': 'avgSpeed',
30
+ 'distance': 'distance',
31
+ 'reach_time': 'reachTime',
32
+ 'metrics': 'metrics'
33
+ }
34
+
35
+ def __init__(self, score=None, avg_speed=None, distance=None, reach_time=None, metrics=None):
36
+ r"""SimulationEvaluationSrlz
37
+
38
+ The model defined in huaweicloud sdk
39
+
40
+ :param score: 得分
41
+ :type score: float
42
+ :param avg_speed: 平均速度
43
+ :type avg_speed: float
44
+ :param distance: 里程
45
+ :type distance: float
46
+ :param reach_time: 到达时间
47
+ :type reach_time: float
48
+ :param metrics: 评测指标
49
+ :type metrics: list[:class:`huaweicloudsdkoctopus.v2.SimulationEvaluationMetricSrlz`]
50
+ """
51
+
52
+
53
+
54
+ self._score = None
55
+ self._avg_speed = None
56
+ self._distance = None
57
+ self._reach_time = None
58
+ self._metrics = None
59
+ self.discriminator = None
60
+
61
+ if score is not None:
62
+ self.score = score
63
+ if avg_speed is not None:
64
+ self.avg_speed = avg_speed
65
+ if distance is not None:
66
+ self.distance = distance
67
+ if reach_time is not None:
68
+ self.reach_time = reach_time
69
+ if metrics is not None:
70
+ self.metrics = metrics
71
+
72
+ @property
73
+ def score(self):
74
+ r"""Gets the score of this SimulationEvaluationSrlz.
75
+
76
+ 得分
77
+
78
+ :return: The score of this SimulationEvaluationSrlz.
79
+ :rtype: float
80
+ """
81
+ return self._score
82
+
83
+ @score.setter
84
+ def score(self, score):
85
+ r"""Sets the score of this SimulationEvaluationSrlz.
86
+
87
+ 得分
88
+
89
+ :param score: The score of this SimulationEvaluationSrlz.
90
+ :type score: float
91
+ """
92
+ self._score = score
93
+
94
+ @property
95
+ def avg_speed(self):
96
+ r"""Gets the avg_speed of this SimulationEvaluationSrlz.
97
+
98
+ 平均速度
99
+
100
+ :return: The avg_speed of this SimulationEvaluationSrlz.
101
+ :rtype: float
102
+ """
103
+ return self._avg_speed
104
+
105
+ @avg_speed.setter
106
+ def avg_speed(self, avg_speed):
107
+ r"""Sets the avg_speed of this SimulationEvaluationSrlz.
108
+
109
+ 平均速度
110
+
111
+ :param avg_speed: The avg_speed of this SimulationEvaluationSrlz.
112
+ :type avg_speed: float
113
+ """
114
+ self._avg_speed = avg_speed
115
+
116
+ @property
117
+ def distance(self):
118
+ r"""Gets the distance of this SimulationEvaluationSrlz.
119
+
120
+ 里程
121
+
122
+ :return: The distance of this SimulationEvaluationSrlz.
123
+ :rtype: float
124
+ """
125
+ return self._distance
126
+
127
+ @distance.setter
128
+ def distance(self, distance):
129
+ r"""Sets the distance of this SimulationEvaluationSrlz.
130
+
131
+ 里程
132
+
133
+ :param distance: The distance of this SimulationEvaluationSrlz.
134
+ :type distance: float
135
+ """
136
+ self._distance = distance
137
+
138
+ @property
139
+ def reach_time(self):
140
+ r"""Gets the reach_time of this SimulationEvaluationSrlz.
141
+
142
+ 到达时间
143
+
144
+ :return: The reach_time of this SimulationEvaluationSrlz.
145
+ :rtype: float
146
+ """
147
+ return self._reach_time
148
+
149
+ @reach_time.setter
150
+ def reach_time(self, reach_time):
151
+ r"""Sets the reach_time of this SimulationEvaluationSrlz.
152
+
153
+ 到达时间
154
+
155
+ :param reach_time: The reach_time of this SimulationEvaluationSrlz.
156
+ :type reach_time: float
157
+ """
158
+ self._reach_time = reach_time
159
+
160
+ @property
161
+ def metrics(self):
162
+ r"""Gets the metrics of this SimulationEvaluationSrlz.
163
+
164
+ 评测指标
165
+
166
+ :return: The metrics of this SimulationEvaluationSrlz.
167
+ :rtype: list[:class:`huaweicloudsdkoctopus.v2.SimulationEvaluationMetricSrlz`]
168
+ """
169
+ return self._metrics
170
+
171
+ @metrics.setter
172
+ def metrics(self, metrics):
173
+ r"""Sets the metrics of this SimulationEvaluationSrlz.
174
+
175
+ 评测指标
176
+
177
+ :param metrics: The metrics of this SimulationEvaluationSrlz.
178
+ :type metrics: list[:class:`huaweicloudsdkoctopus.v2.SimulationEvaluationMetricSrlz`]
179
+ """
180
+ self._metrics = metrics
181
+
182
+ def to_dict(self):
183
+ """Returns the model properties as a dict"""
184
+ result = {}
185
+
186
+ for attr, _ in six.iteritems(self.openapi_types):
187
+ value = getattr(self, attr)
188
+ if isinstance(value, list):
189
+ result[attr] = list(map(
190
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
191
+ value
192
+ ))
193
+ elif hasattr(value, "to_dict"):
194
+ result[attr] = value.to_dict()
195
+ elif isinstance(value, dict):
196
+ result[attr] = dict(map(
197
+ lambda item: (item[0], item[1].to_dict())
198
+ if hasattr(item[1], "to_dict") else item,
199
+ value.items()
200
+ ))
201
+ else:
202
+ if attr in self.sensitive_list:
203
+ result[attr] = "****"
204
+ else:
205
+ result[attr] = value
206
+
207
+ return result
208
+
209
+ def to_str(self):
210
+ """Returns the string representation of the model"""
211
+ import simplejson as json
212
+ if six.PY2:
213
+ import sys
214
+ reload(sys)
215
+ sys.setdefaultencoding("utf-8")
216
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
217
+
218
+ def __repr__(self):
219
+ """For `print`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, SimulationEvaluationSrlz):
225
+ return False
226
+
227
+ return self.__dict__ == other.__dict__
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ return not self == other
@@ -0,0 +1,347 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class SimulationFilePathSrlz:
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
+ 'evaluation_path': 'str',
21
+ 'visualization_path': 'str',
22
+ 'evaluation_log_path': 'str',
23
+ 'algorithm_pb_path': 'str',
24
+ 'algorithm_meta_path': 'str',
25
+ 'algorithm_log_path': 'str',
26
+ 'replay_path': 'str',
27
+ 'sim_osi_path': 'str',
28
+ 'osi_meta_path': 'str'
29
+ }
30
+
31
+ attribute_map = {
32
+ 'evaluation_path': 'evaluation_path',
33
+ 'visualization_path': 'visualization_path',
34
+ 'evaluation_log_path': 'evaluation_log_path',
35
+ 'algorithm_pb_path': 'algorithm_pb_path',
36
+ 'algorithm_meta_path': 'algorithm_meta_path',
37
+ 'algorithm_log_path': 'algorithm_log_path',
38
+ 'replay_path': 'replay_path',
39
+ 'sim_osi_path': 'sim_osi_path',
40
+ 'osi_meta_path': 'osi_meta_path'
41
+ }
42
+
43
+ def __init__(self, evaluation_path=None, visualization_path=None, evaluation_log_path=None, algorithm_pb_path=None, algorithm_meta_path=None, algorithm_log_path=None, replay_path=None, sim_osi_path=None, osi_meta_path=None):
44
+ r"""SimulationFilePathSrlz
45
+
46
+ The model defined in huaweicloud sdk
47
+
48
+ :param evaluation_path: 评测osi文件路径
49
+ :type evaluation_path: str
50
+ :param visualization_path: 评测可视化pb文件路径
51
+ :type visualization_path: str
52
+ :param evaluation_log_path: 评测日志路径
53
+ :type evaluation_log_path: str
54
+ :param algorithm_pb_path: 算法pb文件路径
55
+ :type algorithm_pb_path: str
56
+ :param algorithm_meta_path: 算法pb文件元数据路径
57
+ :type algorithm_meta_path: str
58
+ :param algorithm_log_path: 算法日志路径
59
+ :type algorithm_log_path: str
60
+ :param replay_path: 回放文件路径
61
+ :type replay_path: str
62
+ :param sim_osi_path: 仿真pb文件路径
63
+ :type sim_osi_path: str
64
+ :param osi_meta_path: 仿真pb文件元数据路径
65
+ :type osi_meta_path: str
66
+ """
67
+
68
+
69
+
70
+ self._evaluation_path = None
71
+ self._visualization_path = None
72
+ self._evaluation_log_path = None
73
+ self._algorithm_pb_path = None
74
+ self._algorithm_meta_path = None
75
+ self._algorithm_log_path = None
76
+ self._replay_path = None
77
+ self._sim_osi_path = None
78
+ self._osi_meta_path = None
79
+ self.discriminator = None
80
+
81
+ if evaluation_path is not None:
82
+ self.evaluation_path = evaluation_path
83
+ if visualization_path is not None:
84
+ self.visualization_path = visualization_path
85
+ if evaluation_log_path is not None:
86
+ self.evaluation_log_path = evaluation_log_path
87
+ if algorithm_pb_path is not None:
88
+ self.algorithm_pb_path = algorithm_pb_path
89
+ if algorithm_meta_path is not None:
90
+ self.algorithm_meta_path = algorithm_meta_path
91
+ if algorithm_log_path is not None:
92
+ self.algorithm_log_path = algorithm_log_path
93
+ if replay_path is not None:
94
+ self.replay_path = replay_path
95
+ if sim_osi_path is not None:
96
+ self.sim_osi_path = sim_osi_path
97
+ if osi_meta_path is not None:
98
+ self.osi_meta_path = osi_meta_path
99
+
100
+ @property
101
+ def evaluation_path(self):
102
+ r"""Gets the evaluation_path of this SimulationFilePathSrlz.
103
+
104
+ 评测osi文件路径
105
+
106
+ :return: The evaluation_path of this SimulationFilePathSrlz.
107
+ :rtype: str
108
+ """
109
+ return self._evaluation_path
110
+
111
+ @evaluation_path.setter
112
+ def evaluation_path(self, evaluation_path):
113
+ r"""Sets the evaluation_path of this SimulationFilePathSrlz.
114
+
115
+ 评测osi文件路径
116
+
117
+ :param evaluation_path: The evaluation_path of this SimulationFilePathSrlz.
118
+ :type evaluation_path: str
119
+ """
120
+ self._evaluation_path = evaluation_path
121
+
122
+ @property
123
+ def visualization_path(self):
124
+ r"""Gets the visualization_path of this SimulationFilePathSrlz.
125
+
126
+ 评测可视化pb文件路径
127
+
128
+ :return: The visualization_path of this SimulationFilePathSrlz.
129
+ :rtype: str
130
+ """
131
+ return self._visualization_path
132
+
133
+ @visualization_path.setter
134
+ def visualization_path(self, visualization_path):
135
+ r"""Sets the visualization_path of this SimulationFilePathSrlz.
136
+
137
+ 评测可视化pb文件路径
138
+
139
+ :param visualization_path: The visualization_path of this SimulationFilePathSrlz.
140
+ :type visualization_path: str
141
+ """
142
+ self._visualization_path = visualization_path
143
+
144
+ @property
145
+ def evaluation_log_path(self):
146
+ r"""Gets the evaluation_log_path of this SimulationFilePathSrlz.
147
+
148
+ 评测日志路径
149
+
150
+ :return: The evaluation_log_path of this SimulationFilePathSrlz.
151
+ :rtype: str
152
+ """
153
+ return self._evaluation_log_path
154
+
155
+ @evaluation_log_path.setter
156
+ def evaluation_log_path(self, evaluation_log_path):
157
+ r"""Sets the evaluation_log_path of this SimulationFilePathSrlz.
158
+
159
+ 评测日志路径
160
+
161
+ :param evaluation_log_path: The evaluation_log_path of this SimulationFilePathSrlz.
162
+ :type evaluation_log_path: str
163
+ """
164
+ self._evaluation_log_path = evaluation_log_path
165
+
166
+ @property
167
+ def algorithm_pb_path(self):
168
+ r"""Gets the algorithm_pb_path of this SimulationFilePathSrlz.
169
+
170
+ 算法pb文件路径
171
+
172
+ :return: The algorithm_pb_path of this SimulationFilePathSrlz.
173
+ :rtype: str
174
+ """
175
+ return self._algorithm_pb_path
176
+
177
+ @algorithm_pb_path.setter
178
+ def algorithm_pb_path(self, algorithm_pb_path):
179
+ r"""Sets the algorithm_pb_path of this SimulationFilePathSrlz.
180
+
181
+ 算法pb文件路径
182
+
183
+ :param algorithm_pb_path: The algorithm_pb_path of this SimulationFilePathSrlz.
184
+ :type algorithm_pb_path: str
185
+ """
186
+ self._algorithm_pb_path = algorithm_pb_path
187
+
188
+ @property
189
+ def algorithm_meta_path(self):
190
+ r"""Gets the algorithm_meta_path of this SimulationFilePathSrlz.
191
+
192
+ 算法pb文件元数据路径
193
+
194
+ :return: The algorithm_meta_path of this SimulationFilePathSrlz.
195
+ :rtype: str
196
+ """
197
+ return self._algorithm_meta_path
198
+
199
+ @algorithm_meta_path.setter
200
+ def algorithm_meta_path(self, algorithm_meta_path):
201
+ r"""Sets the algorithm_meta_path of this SimulationFilePathSrlz.
202
+
203
+ 算法pb文件元数据路径
204
+
205
+ :param algorithm_meta_path: The algorithm_meta_path of this SimulationFilePathSrlz.
206
+ :type algorithm_meta_path: str
207
+ """
208
+ self._algorithm_meta_path = algorithm_meta_path
209
+
210
+ @property
211
+ def algorithm_log_path(self):
212
+ r"""Gets the algorithm_log_path of this SimulationFilePathSrlz.
213
+
214
+ 算法日志路径
215
+
216
+ :return: The algorithm_log_path of this SimulationFilePathSrlz.
217
+ :rtype: str
218
+ """
219
+ return self._algorithm_log_path
220
+
221
+ @algorithm_log_path.setter
222
+ def algorithm_log_path(self, algorithm_log_path):
223
+ r"""Sets the algorithm_log_path of this SimulationFilePathSrlz.
224
+
225
+ 算法日志路径
226
+
227
+ :param algorithm_log_path: The algorithm_log_path of this SimulationFilePathSrlz.
228
+ :type algorithm_log_path: str
229
+ """
230
+ self._algorithm_log_path = algorithm_log_path
231
+
232
+ @property
233
+ def replay_path(self):
234
+ r"""Gets the replay_path of this SimulationFilePathSrlz.
235
+
236
+ 回放文件路径
237
+
238
+ :return: The replay_path of this SimulationFilePathSrlz.
239
+ :rtype: str
240
+ """
241
+ return self._replay_path
242
+
243
+ @replay_path.setter
244
+ def replay_path(self, replay_path):
245
+ r"""Sets the replay_path of this SimulationFilePathSrlz.
246
+
247
+ 回放文件路径
248
+
249
+ :param replay_path: The replay_path of this SimulationFilePathSrlz.
250
+ :type replay_path: str
251
+ """
252
+ self._replay_path = replay_path
253
+
254
+ @property
255
+ def sim_osi_path(self):
256
+ r"""Gets the sim_osi_path of this SimulationFilePathSrlz.
257
+
258
+ 仿真pb文件路径
259
+
260
+ :return: The sim_osi_path of this SimulationFilePathSrlz.
261
+ :rtype: str
262
+ """
263
+ return self._sim_osi_path
264
+
265
+ @sim_osi_path.setter
266
+ def sim_osi_path(self, sim_osi_path):
267
+ r"""Sets the sim_osi_path of this SimulationFilePathSrlz.
268
+
269
+ 仿真pb文件路径
270
+
271
+ :param sim_osi_path: The sim_osi_path of this SimulationFilePathSrlz.
272
+ :type sim_osi_path: str
273
+ """
274
+ self._sim_osi_path = sim_osi_path
275
+
276
+ @property
277
+ def osi_meta_path(self):
278
+ r"""Gets the osi_meta_path of this SimulationFilePathSrlz.
279
+
280
+ 仿真pb文件元数据路径
281
+
282
+ :return: The osi_meta_path of this SimulationFilePathSrlz.
283
+ :rtype: str
284
+ """
285
+ return self._osi_meta_path
286
+
287
+ @osi_meta_path.setter
288
+ def osi_meta_path(self, osi_meta_path):
289
+ r"""Sets the osi_meta_path of this SimulationFilePathSrlz.
290
+
291
+ 仿真pb文件元数据路径
292
+
293
+ :param osi_meta_path: The osi_meta_path of this SimulationFilePathSrlz.
294
+ :type osi_meta_path: str
295
+ """
296
+ self._osi_meta_path = osi_meta_path
297
+
298
+ def to_dict(self):
299
+ """Returns the model properties as a dict"""
300
+ result = {}
301
+
302
+ for attr, _ in six.iteritems(self.openapi_types):
303
+ value = getattr(self, attr)
304
+ if isinstance(value, list):
305
+ result[attr] = list(map(
306
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
307
+ value
308
+ ))
309
+ elif hasattr(value, "to_dict"):
310
+ result[attr] = value.to_dict()
311
+ elif isinstance(value, dict):
312
+ result[attr] = dict(map(
313
+ lambda item: (item[0], item[1].to_dict())
314
+ if hasattr(item[1], "to_dict") else item,
315
+ value.items()
316
+ ))
317
+ else:
318
+ if attr in self.sensitive_list:
319
+ result[attr] = "****"
320
+ else:
321
+ result[attr] = value
322
+
323
+ return result
324
+
325
+ def to_str(self):
326
+ """Returns the string representation of the model"""
327
+ import simplejson as json
328
+ if six.PY2:
329
+ import sys
330
+ reload(sys)
331
+ sys.setdefaultencoding("utf-8")
332
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
333
+
334
+ def __repr__(self):
335
+ """For `print`"""
336
+ return self.to_str()
337
+
338
+ def __eq__(self, other):
339
+ """Returns true if both objects are equal"""
340
+ if not isinstance(other, SimulationFilePathSrlz):
341
+ return False
342
+
343
+ return self.__dict__ == other.__dict__
344
+
345
+ def __ne__(self, other):
346
+ """Returns true if both objects are not equal"""
347
+ return not self == other