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
@@ -20,7 +20,7 @@ class ScenarioCreateReqSrlz:
|
|
20
20
|
'gen_scenario': 'str',
|
21
21
|
'description': 'MutableFileSrlz',
|
22
22
|
'file': 'FileCreateReqSrlz',
|
23
|
-
'simulator': '
|
23
|
+
'simulator': 'str',
|
24
24
|
'version': 'ScenarioVersionEnum',
|
25
25
|
'map_filename': 'str',
|
26
26
|
'model_filename': 'str',
|
@@ -59,8 +59,8 @@ class ScenarioCreateReqSrlz:
|
|
59
59
|
:type description: :class:`huaweicloudsdkoctopus.v2.MutableFileSrlz`
|
60
60
|
:param file: 文件
|
61
61
|
:type file: :class:`huaweicloudsdkoctopus.v2.FileCreateReqSrlz`
|
62
|
-
:param simulator:
|
63
|
-
:type simulator:
|
62
|
+
:param simulator: 仿真器名称,取值范围:A,B,C,D,E
|
63
|
+
:type simulator: str
|
64
64
|
:param version:
|
65
65
|
:type version: :class:`huaweicloudsdkoctopus.v2.ScenarioVersionEnum`
|
66
66
|
:param map_filename: 地图文件名
|
@@ -179,8 +179,10 @@ class ScenarioCreateReqSrlz:
|
|
179
179
|
def simulator(self):
|
180
180
|
r"""Gets the simulator of this ScenarioCreateReqSrlz.
|
181
181
|
|
182
|
+
仿真器名称,取值范围:A,B,C,D,E
|
183
|
+
|
182
184
|
:return: The simulator of this ScenarioCreateReqSrlz.
|
183
|
-
:rtype:
|
185
|
+
:rtype: str
|
184
186
|
"""
|
185
187
|
return self._simulator
|
186
188
|
|
@@ -188,8 +190,10 @@ class ScenarioCreateReqSrlz:
|
|
188
190
|
def simulator(self, simulator):
|
189
191
|
r"""Sets the simulator of this ScenarioCreateReqSrlz.
|
190
192
|
|
193
|
+
仿真器名称,取值范围:A,B,C,D,E
|
194
|
+
|
191
195
|
:param simulator: The simulator of this ScenarioCreateReqSrlz.
|
192
|
-
:type simulator:
|
196
|
+
:type simulator: str
|
193
197
|
"""
|
194
198
|
self._simulator = simulator
|
195
199
|
|
@@ -24,7 +24,7 @@ class ScenarioListSrlz:
|
|
24
24
|
'labels': 'list[LabelBriefSrlz]',
|
25
25
|
'gen_scenario': 'str',
|
26
26
|
'road_scenario': 'str',
|
27
|
-
'simulator': '
|
27
|
+
'simulator': 'str',
|
28
28
|
'version': 'ScenarioVersionEnum',
|
29
29
|
'filename': 'str',
|
30
30
|
'map_filename': 'str',
|
@@ -79,8 +79,8 @@ class ScenarioListSrlz:
|
|
79
79
|
:type gen_scenario: str
|
80
80
|
:param road_scenario:
|
81
81
|
:type road_scenario: str
|
82
|
-
:param simulator:
|
83
|
-
:type simulator:
|
82
|
+
:param simulator: 仿真器名称,取值范围:A,B,C,D,E
|
83
|
+
:type simulator: str
|
84
84
|
:param version:
|
85
85
|
:type version: :class:`huaweicloudsdkoctopus.v2.ScenarioVersionEnum`
|
86
86
|
:param filename:
|
@@ -280,8 +280,10 @@ class ScenarioListSrlz:
|
|
280
280
|
def simulator(self):
|
281
281
|
r"""Gets the simulator of this ScenarioListSrlz.
|
282
282
|
|
283
|
+
仿真器名称,取值范围:A,B,C,D,E
|
284
|
+
|
283
285
|
:return: The simulator of this ScenarioListSrlz.
|
284
|
-
:rtype:
|
286
|
+
:rtype: str
|
285
287
|
"""
|
286
288
|
return self._simulator
|
287
289
|
|
@@ -289,8 +291,10 @@ class ScenarioListSrlz:
|
|
289
291
|
def simulator(self, simulator):
|
290
292
|
r"""Sets the simulator of this ScenarioListSrlz.
|
291
293
|
|
294
|
+
仿真器名称,取值范围:A,B,C,D,E
|
295
|
+
|
292
296
|
:param simulator: The simulator of this ScenarioListSrlz.
|
293
|
-
:type simulator:
|
297
|
+
:type simulator: str
|
294
298
|
"""
|
295
299
|
self._simulator = simulator
|
296
300
|
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowSimSimulationsFilesRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'id': 'int',
|
21
|
+
'type': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'id': 'id',
|
26
|
+
'type': 'type'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, id=None, type=None):
|
30
|
+
r"""ShowSimSimulationsFilesRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param id: A unique integer value identifying this simulation.
|
35
|
+
:type id: int
|
36
|
+
:param type: 获取的文件类型 * `algorithm_log` - 算法日志文件 * `algorithm_pb` - 算法pb文件 * `algorithm_meta` - 算法pb文件元数据 * `sim_osi` - 仿真pb文件 * `osi_meta` - 仿真pb文件元数据 * `evaluation` - 评测pb文件 * `evaluation_log` - 评测日志文件
|
37
|
+
:type type: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._id = None
|
43
|
+
self._type = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.id = id
|
47
|
+
self.type = type
|
48
|
+
|
49
|
+
@property
|
50
|
+
def id(self):
|
51
|
+
r"""Gets the id of this ShowSimSimulationsFilesRequest.
|
52
|
+
|
53
|
+
A unique integer value identifying this simulation.
|
54
|
+
|
55
|
+
:return: The id of this ShowSimSimulationsFilesRequest.
|
56
|
+
:rtype: int
|
57
|
+
"""
|
58
|
+
return self._id
|
59
|
+
|
60
|
+
@id.setter
|
61
|
+
def id(self, id):
|
62
|
+
r"""Sets the id of this ShowSimSimulationsFilesRequest.
|
63
|
+
|
64
|
+
A unique integer value identifying this simulation.
|
65
|
+
|
66
|
+
:param id: The id of this ShowSimSimulationsFilesRequest.
|
67
|
+
:type id: int
|
68
|
+
"""
|
69
|
+
self._id = id
|
70
|
+
|
71
|
+
@property
|
72
|
+
def type(self):
|
73
|
+
r"""Gets the type of this ShowSimSimulationsFilesRequest.
|
74
|
+
|
75
|
+
获取的文件类型 * `algorithm_log` - 算法日志文件 * `algorithm_pb` - 算法pb文件 * `algorithm_meta` - 算法pb文件元数据 * `sim_osi` - 仿真pb文件 * `osi_meta` - 仿真pb文件元数据 * `evaluation` - 评测pb文件 * `evaluation_log` - 评测日志文件
|
76
|
+
|
77
|
+
:return: The type of this ShowSimSimulationsFilesRequest.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._type
|
81
|
+
|
82
|
+
@type.setter
|
83
|
+
def type(self, type):
|
84
|
+
r"""Sets the type of this ShowSimSimulationsFilesRequest.
|
85
|
+
|
86
|
+
获取的文件类型 * `algorithm_log` - 算法日志文件 * `algorithm_pb` - 算法pb文件 * `algorithm_meta` - 算法pb文件元数据 * `sim_osi` - 仿真pb文件 * `osi_meta` - 仿真pb文件元数据 * `evaluation` - 评测pb文件 * `evaluation_log` - 评测日志文件
|
87
|
+
|
88
|
+
:param type: The type of this ShowSimSimulationsFilesRequest.
|
89
|
+
:type type: str
|
90
|
+
"""
|
91
|
+
self._type = type
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, ShowSimSimulationsFilesRequest):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|
@@ -0,0 +1,290 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ShowSimSimulationsFilesResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'algorithm_log_url': 'str',
|
22
|
+
'algorithm_pb_url': 'str',
|
23
|
+
'algorithm_meta_url': 'str',
|
24
|
+
'sim_osi_url': 'str',
|
25
|
+
'osi_meta_url': 'str',
|
26
|
+
'evaluation_url': 'str',
|
27
|
+
'evaluation_log_url': 'str'
|
28
|
+
}
|
29
|
+
|
30
|
+
attribute_map = {
|
31
|
+
'algorithm_log_url': 'algorithm_log_url',
|
32
|
+
'algorithm_pb_url': 'algorithm_pb_url',
|
33
|
+
'algorithm_meta_url': 'algorithm_meta_url',
|
34
|
+
'sim_osi_url': 'sim_osi_url',
|
35
|
+
'osi_meta_url': 'osi_meta_url',
|
36
|
+
'evaluation_url': 'evaluation_url',
|
37
|
+
'evaluation_log_url': 'evaluation_log_url'
|
38
|
+
}
|
39
|
+
|
40
|
+
def __init__(self, algorithm_log_url=None, algorithm_pb_url=None, algorithm_meta_url=None, sim_osi_url=None, osi_meta_url=None, evaluation_url=None, evaluation_log_url=None):
|
41
|
+
r"""ShowSimSimulationsFilesResponse
|
42
|
+
|
43
|
+
The model defined in huaweicloud sdk
|
44
|
+
|
45
|
+
:param algorithm_log_url: 算法日志下载地址
|
46
|
+
:type algorithm_log_url: str
|
47
|
+
:param algorithm_pb_url: 算法pb文件下载地址
|
48
|
+
:type algorithm_pb_url: str
|
49
|
+
:param algorithm_meta_url: 算法pb文件元数据下载地址
|
50
|
+
:type algorithm_meta_url: str
|
51
|
+
:param sim_osi_url: 仿真pb文件下载地址
|
52
|
+
:type sim_osi_url: str
|
53
|
+
:param osi_meta_url: 仿真pb文件元数据下载地址
|
54
|
+
:type osi_meta_url: str
|
55
|
+
:param evaluation_url: 评测pb文件下载地址
|
56
|
+
:type evaluation_url: str
|
57
|
+
:param evaluation_log_url: 评测日志下载地址
|
58
|
+
:type evaluation_log_url: str
|
59
|
+
"""
|
60
|
+
|
61
|
+
super(ShowSimSimulationsFilesResponse, self).__init__()
|
62
|
+
|
63
|
+
self._algorithm_log_url = None
|
64
|
+
self._algorithm_pb_url = None
|
65
|
+
self._algorithm_meta_url = None
|
66
|
+
self._sim_osi_url = None
|
67
|
+
self._osi_meta_url = None
|
68
|
+
self._evaluation_url = None
|
69
|
+
self._evaluation_log_url = None
|
70
|
+
self.discriminator = None
|
71
|
+
|
72
|
+
if algorithm_log_url is not None:
|
73
|
+
self.algorithm_log_url = algorithm_log_url
|
74
|
+
if algorithm_pb_url is not None:
|
75
|
+
self.algorithm_pb_url = algorithm_pb_url
|
76
|
+
if algorithm_meta_url is not None:
|
77
|
+
self.algorithm_meta_url = algorithm_meta_url
|
78
|
+
if sim_osi_url is not None:
|
79
|
+
self.sim_osi_url = sim_osi_url
|
80
|
+
if osi_meta_url is not None:
|
81
|
+
self.osi_meta_url = osi_meta_url
|
82
|
+
if evaluation_url is not None:
|
83
|
+
self.evaluation_url = evaluation_url
|
84
|
+
if evaluation_log_url is not None:
|
85
|
+
self.evaluation_log_url = evaluation_log_url
|
86
|
+
|
87
|
+
@property
|
88
|
+
def algorithm_log_url(self):
|
89
|
+
r"""Gets the algorithm_log_url of this ShowSimSimulationsFilesResponse.
|
90
|
+
|
91
|
+
算法日志下载地址
|
92
|
+
|
93
|
+
:return: The algorithm_log_url of this ShowSimSimulationsFilesResponse.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._algorithm_log_url
|
97
|
+
|
98
|
+
@algorithm_log_url.setter
|
99
|
+
def algorithm_log_url(self, algorithm_log_url):
|
100
|
+
r"""Sets the algorithm_log_url of this ShowSimSimulationsFilesResponse.
|
101
|
+
|
102
|
+
算法日志下载地址
|
103
|
+
|
104
|
+
:param algorithm_log_url: The algorithm_log_url of this ShowSimSimulationsFilesResponse.
|
105
|
+
:type algorithm_log_url: str
|
106
|
+
"""
|
107
|
+
self._algorithm_log_url = algorithm_log_url
|
108
|
+
|
109
|
+
@property
|
110
|
+
def algorithm_pb_url(self):
|
111
|
+
r"""Gets the algorithm_pb_url of this ShowSimSimulationsFilesResponse.
|
112
|
+
|
113
|
+
算法pb文件下载地址
|
114
|
+
|
115
|
+
:return: The algorithm_pb_url of this ShowSimSimulationsFilesResponse.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._algorithm_pb_url
|
119
|
+
|
120
|
+
@algorithm_pb_url.setter
|
121
|
+
def algorithm_pb_url(self, algorithm_pb_url):
|
122
|
+
r"""Sets the algorithm_pb_url of this ShowSimSimulationsFilesResponse.
|
123
|
+
|
124
|
+
算法pb文件下载地址
|
125
|
+
|
126
|
+
:param algorithm_pb_url: The algorithm_pb_url of this ShowSimSimulationsFilesResponse.
|
127
|
+
:type algorithm_pb_url: str
|
128
|
+
"""
|
129
|
+
self._algorithm_pb_url = algorithm_pb_url
|
130
|
+
|
131
|
+
@property
|
132
|
+
def algorithm_meta_url(self):
|
133
|
+
r"""Gets the algorithm_meta_url of this ShowSimSimulationsFilesResponse.
|
134
|
+
|
135
|
+
算法pb文件元数据下载地址
|
136
|
+
|
137
|
+
:return: The algorithm_meta_url of this ShowSimSimulationsFilesResponse.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._algorithm_meta_url
|
141
|
+
|
142
|
+
@algorithm_meta_url.setter
|
143
|
+
def algorithm_meta_url(self, algorithm_meta_url):
|
144
|
+
r"""Sets the algorithm_meta_url of this ShowSimSimulationsFilesResponse.
|
145
|
+
|
146
|
+
算法pb文件元数据下载地址
|
147
|
+
|
148
|
+
:param algorithm_meta_url: The algorithm_meta_url of this ShowSimSimulationsFilesResponse.
|
149
|
+
:type algorithm_meta_url: str
|
150
|
+
"""
|
151
|
+
self._algorithm_meta_url = algorithm_meta_url
|
152
|
+
|
153
|
+
@property
|
154
|
+
def sim_osi_url(self):
|
155
|
+
r"""Gets the sim_osi_url of this ShowSimSimulationsFilesResponse.
|
156
|
+
|
157
|
+
仿真pb文件下载地址
|
158
|
+
|
159
|
+
:return: The sim_osi_url of this ShowSimSimulationsFilesResponse.
|
160
|
+
:rtype: str
|
161
|
+
"""
|
162
|
+
return self._sim_osi_url
|
163
|
+
|
164
|
+
@sim_osi_url.setter
|
165
|
+
def sim_osi_url(self, sim_osi_url):
|
166
|
+
r"""Sets the sim_osi_url of this ShowSimSimulationsFilesResponse.
|
167
|
+
|
168
|
+
仿真pb文件下载地址
|
169
|
+
|
170
|
+
:param sim_osi_url: The sim_osi_url of this ShowSimSimulationsFilesResponse.
|
171
|
+
:type sim_osi_url: str
|
172
|
+
"""
|
173
|
+
self._sim_osi_url = sim_osi_url
|
174
|
+
|
175
|
+
@property
|
176
|
+
def osi_meta_url(self):
|
177
|
+
r"""Gets the osi_meta_url of this ShowSimSimulationsFilesResponse.
|
178
|
+
|
179
|
+
仿真pb文件元数据下载地址
|
180
|
+
|
181
|
+
:return: The osi_meta_url of this ShowSimSimulationsFilesResponse.
|
182
|
+
:rtype: str
|
183
|
+
"""
|
184
|
+
return self._osi_meta_url
|
185
|
+
|
186
|
+
@osi_meta_url.setter
|
187
|
+
def osi_meta_url(self, osi_meta_url):
|
188
|
+
r"""Sets the osi_meta_url of this ShowSimSimulationsFilesResponse.
|
189
|
+
|
190
|
+
仿真pb文件元数据下载地址
|
191
|
+
|
192
|
+
:param osi_meta_url: The osi_meta_url of this ShowSimSimulationsFilesResponse.
|
193
|
+
:type osi_meta_url: str
|
194
|
+
"""
|
195
|
+
self._osi_meta_url = osi_meta_url
|
196
|
+
|
197
|
+
@property
|
198
|
+
def evaluation_url(self):
|
199
|
+
r"""Gets the evaluation_url of this ShowSimSimulationsFilesResponse.
|
200
|
+
|
201
|
+
评测pb文件下载地址
|
202
|
+
|
203
|
+
:return: The evaluation_url of this ShowSimSimulationsFilesResponse.
|
204
|
+
:rtype: str
|
205
|
+
"""
|
206
|
+
return self._evaluation_url
|
207
|
+
|
208
|
+
@evaluation_url.setter
|
209
|
+
def evaluation_url(self, evaluation_url):
|
210
|
+
r"""Sets the evaluation_url of this ShowSimSimulationsFilesResponse.
|
211
|
+
|
212
|
+
评测pb文件下载地址
|
213
|
+
|
214
|
+
:param evaluation_url: The evaluation_url of this ShowSimSimulationsFilesResponse.
|
215
|
+
:type evaluation_url: str
|
216
|
+
"""
|
217
|
+
self._evaluation_url = evaluation_url
|
218
|
+
|
219
|
+
@property
|
220
|
+
def evaluation_log_url(self):
|
221
|
+
r"""Gets the evaluation_log_url of this ShowSimSimulationsFilesResponse.
|
222
|
+
|
223
|
+
评测日志下载地址
|
224
|
+
|
225
|
+
:return: The evaluation_log_url of this ShowSimSimulationsFilesResponse.
|
226
|
+
:rtype: str
|
227
|
+
"""
|
228
|
+
return self._evaluation_log_url
|
229
|
+
|
230
|
+
@evaluation_log_url.setter
|
231
|
+
def evaluation_log_url(self, evaluation_log_url):
|
232
|
+
r"""Sets the evaluation_log_url of this ShowSimSimulationsFilesResponse.
|
233
|
+
|
234
|
+
评测日志下载地址
|
235
|
+
|
236
|
+
:param evaluation_log_url: The evaluation_log_url of this ShowSimSimulationsFilesResponse.
|
237
|
+
:type evaluation_log_url: str
|
238
|
+
"""
|
239
|
+
self._evaluation_log_url = evaluation_log_url
|
240
|
+
|
241
|
+
def to_dict(self):
|
242
|
+
"""Returns the model properties as a dict"""
|
243
|
+
result = {}
|
244
|
+
|
245
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
246
|
+
value = getattr(self, attr)
|
247
|
+
if isinstance(value, list):
|
248
|
+
result[attr] = list(map(
|
249
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
250
|
+
value
|
251
|
+
))
|
252
|
+
elif hasattr(value, "to_dict"):
|
253
|
+
result[attr] = value.to_dict()
|
254
|
+
elif isinstance(value, dict):
|
255
|
+
result[attr] = dict(map(
|
256
|
+
lambda item: (item[0], item[1].to_dict())
|
257
|
+
if hasattr(item[1], "to_dict") else item,
|
258
|
+
value.items()
|
259
|
+
))
|
260
|
+
else:
|
261
|
+
if attr in self.sensitive_list:
|
262
|
+
result[attr] = "****"
|
263
|
+
else:
|
264
|
+
result[attr] = value
|
265
|
+
|
266
|
+
return result
|
267
|
+
|
268
|
+
def to_str(self):
|
269
|
+
"""Returns the string representation of the model"""
|
270
|
+
import simplejson as json
|
271
|
+
if six.PY2:
|
272
|
+
import sys
|
273
|
+
reload(sys)
|
274
|
+
sys.setdefaultencoding("utf-8")
|
275
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
276
|
+
|
277
|
+
def __repr__(self):
|
278
|
+
"""For `print`"""
|
279
|
+
return self.to_str()
|
280
|
+
|
281
|
+
def __eq__(self, other):
|
282
|
+
"""Returns true if both objects are equal"""
|
283
|
+
if not isinstance(other, ShowSimSimulationsFilesResponse):
|
284
|
+
return False
|
285
|
+
|
286
|
+
return self.__dict__ == other.__dict__
|
287
|
+
|
288
|
+
def __ne__(self, other):
|
289
|
+
"""Returns true if both objects are not equal"""
|
290
|
+
return not self == other
|