huaweicloudsdkoctopus 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkoctopus/__init__.py +0 -0
- huaweicloudsdkoctopus/v2/__init__.py +122 -0
- huaweicloudsdkoctopus/v2/model/__init__.py +119 -0
- huaweicloudsdkoctopus/v2/model/alg_image_create_srlz.py +350 -0
- huaweicloudsdkoctopus/v2/model/alg_image_list_srlz.py +266 -0
- huaweicloudsdkoctopus/v2/model/algorithm_create_srlz.py +399 -0
- huaweicloudsdkoctopus/v2/model/algorithm_list_srlz.py +266 -0
- huaweicloudsdkoctopus/v2/model/batch_config_abc_info_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/batch_config_evaluation_info_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/batch_config_image_info_srlz.py +198 -0
- huaweicloudsdkoctopus/v2/model/batch_config_msg_notify_srlz.py +115 -0
- huaweicloudsdkoctopus/v2/model/batch_config_scenario_srlz.py +173 -0
- huaweicloudsdkoctopus/v2/model/batch_config_srlz.py +806 -0
- huaweicloudsdkoctopus/v2/model/batch_create_request.py +198 -0
- huaweicloudsdkoctopus/v2/model/batch_srlz.py +604 -0
- huaweicloudsdkoctopus/v2/model/build_create_srlz.py +115 -0
- huaweicloudsdkoctopus/v2/model/build_update_srlz.py +143 -0
- huaweicloudsdkoctopus/v2/model/category_f62_enum.py +89 -0
- huaweicloudsdkoctopus/v2/model/compilation_create_srlz.py +255 -0
- huaweicloudsdkoctopus/v2/model/compilation_update_srlz.py +311 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithm_images_response.py +361 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithms_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_algorithms_response.py +404 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batch_configs_response.py +819 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batches_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_batches_response.py +619 -0
- huaweicloudsdkoctopus/v2/model/create_sim_extensions_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_extensions_response.py +314 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_maps_response.py +253 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_files_response.py +377 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_request.py +111 -0
- huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_response.py +618 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithm_images_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_algorithms_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batch_configs_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batches_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_batches_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_extensions_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/delete_sim_extensions_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/extension_srlz.py +353 -0
- huaweicloudsdkoctopus/v2/model/extensions_create_srlz.py +306 -0
- huaweicloudsdkoctopus/v2/model/extensions_list_srlz.py +291 -0
- huaweicloudsdkoctopus/v2/model/family_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/file_create_req_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/file_create_srlz.py +366 -0
- huaweicloudsdkoctopus/v2/model/file_nested_create_req_srlz.py +142 -0
- huaweicloudsdkoctopus/v2/model/file_nested_srlz.py +279 -0
- huaweicloudsdkoctopus/v2/model/file_retrieve_srlz.py +310 -0
- huaweicloudsdkoctopus/v2/model/label_brief_srlz.py +279 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_request.py +339 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithm_images_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithms_request.py +281 -0
- huaweicloudsdkoctopus/v2/model/list_sim_algorithms_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_request.py +625 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batch_configs_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batches_request.py +426 -0
- huaweicloudsdkoctopus/v2/model/list_sim_batches_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_extensions_request.py +202 -0
- huaweicloudsdkoctopus/v2/model/list_sim_extensions_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/list_sim_simulations_request.py +401 -0
- huaweicloudsdkoctopus/v2/model/list_sim_simulations_response.py +189 -0
- huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_request.py +547 -0
- huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_response.py +185 -0
- huaweicloudsdkoctopus/v2/model/map_create_req_srlz.py +162 -0
- huaweicloudsdkoctopus/v2/model/map_version_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/mutable_file_srlz.py +114 -0
- huaweicloudsdkoctopus/v2/model/patched_alg_image_update_srlz.py +302 -0
- huaweicloudsdkoctopus/v2/model/patched_algorithm_update_srlz.py +796 -0
- huaweicloudsdkoctopus/v2/model/patched_file_detail_srlz.py +144 -0
- huaweicloudsdkoctopus/v2/model/post_response.py +140 -0
- huaweicloudsdkoctopus/v2/model/post_response_field.py +236 -0
- huaweicloudsdkoctopus/v2/model/priority_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/record_mode_enum.py +88 -0
- huaweicloudsdkoctopus/v2/model/run_image_status_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/run_srlz.py +254 -0
- huaweicloudsdkoctopus/v2/model/scenario_create_req_srlz.py +439 -0
- huaweicloudsdkoctopus/v2/model/scenario_list_srlz.py +548 -0
- huaweicloudsdkoctopus/v2/model/scenario_status_enum.py +92 -0
- huaweicloudsdkoctopus/v2/model/scenario_version_enum.py +91 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_image_response.py +361 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/show_sim_algorithm_response.py +377 -0
- huaweicloudsdkoctopus/v2/model/show_sim_batch_config_request.py +114 -0
- huaweicloudsdkoctopus/v2/model/show_sim_batch_config_response.py +819 -0
- huaweicloudsdkoctopus/v2/model/show_sim_extension_request.py +110 -0
- huaweicloudsdkoctopus/v2/model/show_sim_extension_response.py +353 -0
- huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_request.py +142 -0
- huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_response.py +290 -0
- huaweicloudsdkoctopus/v2/model/simulation_eva_result_metric_srlz.py +260 -0
- huaweicloudsdkoctopus/v2/model/simulation_eva_result_srlz.py +231 -0
- huaweicloudsdkoctopus/v2/model/simulation_evaluation_metric_srlz.py +289 -0
- huaweicloudsdkoctopus/v2/model/simulation_evaluation_srlz.py +231 -0
- huaweicloudsdkoctopus/v2/model/simulation_file_path_srlz.py +347 -0
- huaweicloudsdkoctopus/v2/model/simulation_srlz.py +708 -0
- huaweicloudsdkoctopus/v2/model/status15e_enum.py +99 -0
- huaweicloudsdkoctopus/v2/model/status6a7_enum.py +106 -0
- huaweicloudsdkoctopus/v2/model/type87e_enum.py +88 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithm_images_response.py +303 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithms_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/update_sim_algorithms_response.py +431 -0
- huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_request.py +138 -0
- huaweicloudsdkoctopus/v2/model/update_sim_batch_configs_extensions_response.py +85 -0
- huaweicloudsdkoctopus/v2/model/update_sim_extensions_request.py +139 -0
- huaweicloudsdkoctopus/v2/model/update_sim_extensions_response.py +356 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_request.py +167 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_maps_files_response.py +435 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_request.py +167 -0
- huaweicloudsdkoctopus/v2/model/update_sim_sm_scenarios_files_response.py +435 -0
- huaweicloudsdkoctopus/v2/octopus_async_client.py +2262 -0
- huaweicloudsdkoctopus/v2/octopus_client.py +2259 -0
- huaweicloudsdkoctopus/v2/region/__init__.py +0 -0
- huaweicloudsdkoctopus/v2/region/octopus_region.py +31 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/RECORD +126 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkoctopus-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,625 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListSimBatchConfigsRequest:
|
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
|
+
'algorithm_id': 'int',
|
21
|
+
'algorithm_name': 'str',
|
22
|
+
'builtins_algorithm': 'bool',
|
23
|
+
'custom_evaluation_image_id': 'int',
|
24
|
+
'custom_simulator_image_id': 'int',
|
25
|
+
'description': 'str',
|
26
|
+
'evaluation_id': 'int',
|
27
|
+
'evaluation_name': 'str',
|
28
|
+
'evaluations': 'list[int]',
|
29
|
+
'generalization_id': 'int',
|
30
|
+
'group_id': 'int',
|
31
|
+
'id': 'int',
|
32
|
+
'limit': 'int',
|
33
|
+
'name': 'str',
|
34
|
+
'offset': 'int',
|
35
|
+
'ordering': 'str',
|
36
|
+
'search': 'str',
|
37
|
+
'suit_id': 'int',
|
38
|
+
'triggerable': 'bool'
|
39
|
+
}
|
40
|
+
|
41
|
+
attribute_map = {
|
42
|
+
'algorithm_id': 'algorithm_id',
|
43
|
+
'algorithm_name': 'algorithm_name',
|
44
|
+
'builtins_algorithm': 'builtins_algorithm',
|
45
|
+
'custom_evaluation_image_id': 'custom_evaluation_image_id',
|
46
|
+
'custom_simulator_image_id': 'custom_simulator_image_id',
|
47
|
+
'description': 'description',
|
48
|
+
'evaluation_id': 'evaluation_id',
|
49
|
+
'evaluation_name': 'evaluation_name',
|
50
|
+
'evaluations': 'evaluations',
|
51
|
+
'generalization_id': 'generalization_id',
|
52
|
+
'group_id': 'group_id',
|
53
|
+
'id': 'id',
|
54
|
+
'limit': 'limit',
|
55
|
+
'name': 'name',
|
56
|
+
'offset': 'offset',
|
57
|
+
'ordering': 'ordering',
|
58
|
+
'search': 'search',
|
59
|
+
'suit_id': 'suit_id',
|
60
|
+
'triggerable': 'triggerable'
|
61
|
+
}
|
62
|
+
|
63
|
+
def __init__(self, algorithm_id=None, algorithm_name=None, builtins_algorithm=None, custom_evaluation_image_id=None, custom_simulator_image_id=None, description=None, evaluation_id=None, evaluation_name=None, evaluations=None, generalization_id=None, group_id=None, id=None, limit=None, name=None, offset=None, ordering=None, search=None, suit_id=None, triggerable=None):
|
64
|
+
r"""ListSimBatchConfigsRequest
|
65
|
+
|
66
|
+
The model defined in huaweicloud sdk
|
67
|
+
|
68
|
+
:param algorithm_id: 算法id
|
69
|
+
:type algorithm_id: int
|
70
|
+
:param algorithm_name: 算法名称
|
71
|
+
:type algorithm_name: str
|
72
|
+
:param builtins_algorithm: 仿真器内置算法
|
73
|
+
:type builtins_algorithm: bool
|
74
|
+
:param custom_evaluation_image_id: 自定义评测镜像id
|
75
|
+
:type custom_evaluation_image_id: int
|
76
|
+
:param custom_simulator_image_id: 自定义仿真器镜像id
|
77
|
+
:type custom_simulator_image_id: int
|
78
|
+
:param description: 描述
|
79
|
+
:type description: str
|
80
|
+
:param evaluation_id: 评测id
|
81
|
+
:type evaluation_id: int
|
82
|
+
:param evaluation_name: 评测名称
|
83
|
+
:type evaluation_name: str
|
84
|
+
:param evaluations:
|
85
|
+
:type evaluations: list[int]
|
86
|
+
:param generalization_id: 泛化任务id
|
87
|
+
:type generalization_id: int
|
88
|
+
:param group_id: 场景库id
|
89
|
+
:type group_id: int
|
90
|
+
:param id:
|
91
|
+
:type id: int
|
92
|
+
:param limit: Number of results to return per page.
|
93
|
+
:type limit: int
|
94
|
+
:param name:
|
95
|
+
:type name: str
|
96
|
+
:param offset: The initial index from which to return the results.
|
97
|
+
:type offset: int
|
98
|
+
:param ordering: Which field to use when ordering the results.
|
99
|
+
:type ordering: str
|
100
|
+
:param search: A search term.
|
101
|
+
:type search: str
|
102
|
+
:param suit_id: 测试套件id
|
103
|
+
:type suit_id: int
|
104
|
+
:param triggerable: 是否可通过流水线功能触发
|
105
|
+
:type triggerable: bool
|
106
|
+
"""
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
self._algorithm_id = None
|
111
|
+
self._algorithm_name = None
|
112
|
+
self._builtins_algorithm = None
|
113
|
+
self._custom_evaluation_image_id = None
|
114
|
+
self._custom_simulator_image_id = None
|
115
|
+
self._description = None
|
116
|
+
self._evaluation_id = None
|
117
|
+
self._evaluation_name = None
|
118
|
+
self._evaluations = None
|
119
|
+
self._generalization_id = None
|
120
|
+
self._group_id = None
|
121
|
+
self._id = None
|
122
|
+
self._limit = None
|
123
|
+
self._name = None
|
124
|
+
self._offset = None
|
125
|
+
self._ordering = None
|
126
|
+
self._search = None
|
127
|
+
self._suit_id = None
|
128
|
+
self._triggerable = None
|
129
|
+
self.discriminator = None
|
130
|
+
|
131
|
+
if algorithm_id is not None:
|
132
|
+
self.algorithm_id = algorithm_id
|
133
|
+
if algorithm_name is not None:
|
134
|
+
self.algorithm_name = algorithm_name
|
135
|
+
if builtins_algorithm is not None:
|
136
|
+
self.builtins_algorithm = builtins_algorithm
|
137
|
+
if custom_evaluation_image_id is not None:
|
138
|
+
self.custom_evaluation_image_id = custom_evaluation_image_id
|
139
|
+
if custom_simulator_image_id is not None:
|
140
|
+
self.custom_simulator_image_id = custom_simulator_image_id
|
141
|
+
if description is not None:
|
142
|
+
self.description = description
|
143
|
+
if evaluation_id is not None:
|
144
|
+
self.evaluation_id = evaluation_id
|
145
|
+
if evaluation_name is not None:
|
146
|
+
self.evaluation_name = evaluation_name
|
147
|
+
if evaluations is not None:
|
148
|
+
self.evaluations = evaluations
|
149
|
+
if generalization_id is not None:
|
150
|
+
self.generalization_id = generalization_id
|
151
|
+
if group_id is not None:
|
152
|
+
self.group_id = group_id
|
153
|
+
if id is not None:
|
154
|
+
self.id = id
|
155
|
+
if limit is not None:
|
156
|
+
self.limit = limit
|
157
|
+
if name is not None:
|
158
|
+
self.name = name
|
159
|
+
if offset is not None:
|
160
|
+
self.offset = offset
|
161
|
+
if ordering is not None:
|
162
|
+
self.ordering = ordering
|
163
|
+
if search is not None:
|
164
|
+
self.search = search
|
165
|
+
if suit_id is not None:
|
166
|
+
self.suit_id = suit_id
|
167
|
+
if triggerable is not None:
|
168
|
+
self.triggerable = triggerable
|
169
|
+
|
170
|
+
@property
|
171
|
+
def algorithm_id(self):
|
172
|
+
r"""Gets the algorithm_id of this ListSimBatchConfigsRequest.
|
173
|
+
|
174
|
+
算法id
|
175
|
+
|
176
|
+
:return: The algorithm_id of this ListSimBatchConfigsRequest.
|
177
|
+
:rtype: int
|
178
|
+
"""
|
179
|
+
return self._algorithm_id
|
180
|
+
|
181
|
+
@algorithm_id.setter
|
182
|
+
def algorithm_id(self, algorithm_id):
|
183
|
+
r"""Sets the algorithm_id of this ListSimBatchConfigsRequest.
|
184
|
+
|
185
|
+
算法id
|
186
|
+
|
187
|
+
:param algorithm_id: The algorithm_id of this ListSimBatchConfigsRequest.
|
188
|
+
:type algorithm_id: int
|
189
|
+
"""
|
190
|
+
self._algorithm_id = algorithm_id
|
191
|
+
|
192
|
+
@property
|
193
|
+
def algorithm_name(self):
|
194
|
+
r"""Gets the algorithm_name of this ListSimBatchConfigsRequest.
|
195
|
+
|
196
|
+
算法名称
|
197
|
+
|
198
|
+
:return: The algorithm_name of this ListSimBatchConfigsRequest.
|
199
|
+
:rtype: str
|
200
|
+
"""
|
201
|
+
return self._algorithm_name
|
202
|
+
|
203
|
+
@algorithm_name.setter
|
204
|
+
def algorithm_name(self, algorithm_name):
|
205
|
+
r"""Sets the algorithm_name of this ListSimBatchConfigsRequest.
|
206
|
+
|
207
|
+
算法名称
|
208
|
+
|
209
|
+
:param algorithm_name: The algorithm_name of this ListSimBatchConfigsRequest.
|
210
|
+
:type algorithm_name: str
|
211
|
+
"""
|
212
|
+
self._algorithm_name = algorithm_name
|
213
|
+
|
214
|
+
@property
|
215
|
+
def builtins_algorithm(self):
|
216
|
+
r"""Gets the builtins_algorithm of this ListSimBatchConfigsRequest.
|
217
|
+
|
218
|
+
仿真器内置算法
|
219
|
+
|
220
|
+
:return: The builtins_algorithm of this ListSimBatchConfigsRequest.
|
221
|
+
:rtype: bool
|
222
|
+
"""
|
223
|
+
return self._builtins_algorithm
|
224
|
+
|
225
|
+
@builtins_algorithm.setter
|
226
|
+
def builtins_algorithm(self, builtins_algorithm):
|
227
|
+
r"""Sets the builtins_algorithm of this ListSimBatchConfigsRequest.
|
228
|
+
|
229
|
+
仿真器内置算法
|
230
|
+
|
231
|
+
:param builtins_algorithm: The builtins_algorithm of this ListSimBatchConfigsRequest.
|
232
|
+
:type builtins_algorithm: bool
|
233
|
+
"""
|
234
|
+
self._builtins_algorithm = builtins_algorithm
|
235
|
+
|
236
|
+
@property
|
237
|
+
def custom_evaluation_image_id(self):
|
238
|
+
r"""Gets the custom_evaluation_image_id of this ListSimBatchConfigsRequest.
|
239
|
+
|
240
|
+
自定义评测镜像id
|
241
|
+
|
242
|
+
:return: The custom_evaluation_image_id of this ListSimBatchConfigsRequest.
|
243
|
+
:rtype: int
|
244
|
+
"""
|
245
|
+
return self._custom_evaluation_image_id
|
246
|
+
|
247
|
+
@custom_evaluation_image_id.setter
|
248
|
+
def custom_evaluation_image_id(self, custom_evaluation_image_id):
|
249
|
+
r"""Sets the custom_evaluation_image_id of this ListSimBatchConfigsRequest.
|
250
|
+
|
251
|
+
自定义评测镜像id
|
252
|
+
|
253
|
+
:param custom_evaluation_image_id: The custom_evaluation_image_id of this ListSimBatchConfigsRequest.
|
254
|
+
:type custom_evaluation_image_id: int
|
255
|
+
"""
|
256
|
+
self._custom_evaluation_image_id = custom_evaluation_image_id
|
257
|
+
|
258
|
+
@property
|
259
|
+
def custom_simulator_image_id(self):
|
260
|
+
r"""Gets the custom_simulator_image_id of this ListSimBatchConfigsRequest.
|
261
|
+
|
262
|
+
自定义仿真器镜像id
|
263
|
+
|
264
|
+
:return: The custom_simulator_image_id of this ListSimBatchConfigsRequest.
|
265
|
+
:rtype: int
|
266
|
+
"""
|
267
|
+
return self._custom_simulator_image_id
|
268
|
+
|
269
|
+
@custom_simulator_image_id.setter
|
270
|
+
def custom_simulator_image_id(self, custom_simulator_image_id):
|
271
|
+
r"""Sets the custom_simulator_image_id of this ListSimBatchConfigsRequest.
|
272
|
+
|
273
|
+
自定义仿真器镜像id
|
274
|
+
|
275
|
+
:param custom_simulator_image_id: The custom_simulator_image_id of this ListSimBatchConfigsRequest.
|
276
|
+
:type custom_simulator_image_id: int
|
277
|
+
"""
|
278
|
+
self._custom_simulator_image_id = custom_simulator_image_id
|
279
|
+
|
280
|
+
@property
|
281
|
+
def description(self):
|
282
|
+
r"""Gets the description of this ListSimBatchConfigsRequest.
|
283
|
+
|
284
|
+
描述
|
285
|
+
|
286
|
+
:return: The description of this ListSimBatchConfigsRequest.
|
287
|
+
:rtype: str
|
288
|
+
"""
|
289
|
+
return self._description
|
290
|
+
|
291
|
+
@description.setter
|
292
|
+
def description(self, description):
|
293
|
+
r"""Sets the description of this ListSimBatchConfigsRequest.
|
294
|
+
|
295
|
+
描述
|
296
|
+
|
297
|
+
:param description: The description of this ListSimBatchConfigsRequest.
|
298
|
+
:type description: str
|
299
|
+
"""
|
300
|
+
self._description = description
|
301
|
+
|
302
|
+
@property
|
303
|
+
def evaluation_id(self):
|
304
|
+
r"""Gets the evaluation_id of this ListSimBatchConfigsRequest.
|
305
|
+
|
306
|
+
评测id
|
307
|
+
|
308
|
+
:return: The evaluation_id of this ListSimBatchConfigsRequest.
|
309
|
+
:rtype: int
|
310
|
+
"""
|
311
|
+
return self._evaluation_id
|
312
|
+
|
313
|
+
@evaluation_id.setter
|
314
|
+
def evaluation_id(self, evaluation_id):
|
315
|
+
r"""Sets the evaluation_id of this ListSimBatchConfigsRequest.
|
316
|
+
|
317
|
+
评测id
|
318
|
+
|
319
|
+
:param evaluation_id: The evaluation_id of this ListSimBatchConfigsRequest.
|
320
|
+
:type evaluation_id: int
|
321
|
+
"""
|
322
|
+
self._evaluation_id = evaluation_id
|
323
|
+
|
324
|
+
@property
|
325
|
+
def evaluation_name(self):
|
326
|
+
r"""Gets the evaluation_name of this ListSimBatchConfigsRequest.
|
327
|
+
|
328
|
+
评测名称
|
329
|
+
|
330
|
+
:return: The evaluation_name of this ListSimBatchConfigsRequest.
|
331
|
+
:rtype: str
|
332
|
+
"""
|
333
|
+
return self._evaluation_name
|
334
|
+
|
335
|
+
@evaluation_name.setter
|
336
|
+
def evaluation_name(self, evaluation_name):
|
337
|
+
r"""Sets the evaluation_name of this ListSimBatchConfigsRequest.
|
338
|
+
|
339
|
+
评测名称
|
340
|
+
|
341
|
+
:param evaluation_name: The evaluation_name of this ListSimBatchConfigsRequest.
|
342
|
+
:type evaluation_name: str
|
343
|
+
"""
|
344
|
+
self._evaluation_name = evaluation_name
|
345
|
+
|
346
|
+
@property
|
347
|
+
def evaluations(self):
|
348
|
+
r"""Gets the evaluations of this ListSimBatchConfigsRequest.
|
349
|
+
|
350
|
+
:return: The evaluations of this ListSimBatchConfigsRequest.
|
351
|
+
:rtype: list[int]
|
352
|
+
"""
|
353
|
+
return self._evaluations
|
354
|
+
|
355
|
+
@evaluations.setter
|
356
|
+
def evaluations(self, evaluations):
|
357
|
+
r"""Sets the evaluations of this ListSimBatchConfigsRequest.
|
358
|
+
|
359
|
+
:param evaluations: The evaluations of this ListSimBatchConfigsRequest.
|
360
|
+
:type evaluations: list[int]
|
361
|
+
"""
|
362
|
+
self._evaluations = evaluations
|
363
|
+
|
364
|
+
@property
|
365
|
+
def generalization_id(self):
|
366
|
+
r"""Gets the generalization_id of this ListSimBatchConfigsRequest.
|
367
|
+
|
368
|
+
泛化任务id
|
369
|
+
|
370
|
+
:return: The generalization_id of this ListSimBatchConfigsRequest.
|
371
|
+
:rtype: int
|
372
|
+
"""
|
373
|
+
return self._generalization_id
|
374
|
+
|
375
|
+
@generalization_id.setter
|
376
|
+
def generalization_id(self, generalization_id):
|
377
|
+
r"""Sets the generalization_id of this ListSimBatchConfigsRequest.
|
378
|
+
|
379
|
+
泛化任务id
|
380
|
+
|
381
|
+
:param generalization_id: The generalization_id of this ListSimBatchConfigsRequest.
|
382
|
+
:type generalization_id: int
|
383
|
+
"""
|
384
|
+
self._generalization_id = generalization_id
|
385
|
+
|
386
|
+
@property
|
387
|
+
def group_id(self):
|
388
|
+
r"""Gets the group_id of this ListSimBatchConfigsRequest.
|
389
|
+
|
390
|
+
场景库id
|
391
|
+
|
392
|
+
:return: The group_id of this ListSimBatchConfigsRequest.
|
393
|
+
:rtype: int
|
394
|
+
"""
|
395
|
+
return self._group_id
|
396
|
+
|
397
|
+
@group_id.setter
|
398
|
+
def group_id(self, group_id):
|
399
|
+
r"""Sets the group_id of this ListSimBatchConfigsRequest.
|
400
|
+
|
401
|
+
场景库id
|
402
|
+
|
403
|
+
:param group_id: The group_id of this ListSimBatchConfigsRequest.
|
404
|
+
:type group_id: int
|
405
|
+
"""
|
406
|
+
self._group_id = group_id
|
407
|
+
|
408
|
+
@property
|
409
|
+
def id(self):
|
410
|
+
r"""Gets the id of this ListSimBatchConfigsRequest.
|
411
|
+
|
412
|
+
:return: The id of this ListSimBatchConfigsRequest.
|
413
|
+
:rtype: int
|
414
|
+
"""
|
415
|
+
return self._id
|
416
|
+
|
417
|
+
@id.setter
|
418
|
+
def id(self, id):
|
419
|
+
r"""Sets the id of this ListSimBatchConfigsRequest.
|
420
|
+
|
421
|
+
:param id: The id of this ListSimBatchConfigsRequest.
|
422
|
+
:type id: int
|
423
|
+
"""
|
424
|
+
self._id = id
|
425
|
+
|
426
|
+
@property
|
427
|
+
def limit(self):
|
428
|
+
r"""Gets the limit of this ListSimBatchConfigsRequest.
|
429
|
+
|
430
|
+
Number of results to return per page.
|
431
|
+
|
432
|
+
:return: The limit of this ListSimBatchConfigsRequest.
|
433
|
+
:rtype: int
|
434
|
+
"""
|
435
|
+
return self._limit
|
436
|
+
|
437
|
+
@limit.setter
|
438
|
+
def limit(self, limit):
|
439
|
+
r"""Sets the limit of this ListSimBatchConfigsRequest.
|
440
|
+
|
441
|
+
Number of results to return per page.
|
442
|
+
|
443
|
+
:param limit: The limit of this ListSimBatchConfigsRequest.
|
444
|
+
:type limit: int
|
445
|
+
"""
|
446
|
+
self._limit = limit
|
447
|
+
|
448
|
+
@property
|
449
|
+
def name(self):
|
450
|
+
r"""Gets the name of this ListSimBatchConfigsRequest.
|
451
|
+
|
452
|
+
:return: The name of this ListSimBatchConfigsRequest.
|
453
|
+
:rtype: str
|
454
|
+
"""
|
455
|
+
return self._name
|
456
|
+
|
457
|
+
@name.setter
|
458
|
+
def name(self, name):
|
459
|
+
r"""Sets the name of this ListSimBatchConfigsRequest.
|
460
|
+
|
461
|
+
:param name: The name of this ListSimBatchConfigsRequest.
|
462
|
+
:type name: str
|
463
|
+
"""
|
464
|
+
self._name = name
|
465
|
+
|
466
|
+
@property
|
467
|
+
def offset(self):
|
468
|
+
r"""Gets the offset of this ListSimBatchConfigsRequest.
|
469
|
+
|
470
|
+
The initial index from which to return the results.
|
471
|
+
|
472
|
+
:return: The offset of this ListSimBatchConfigsRequest.
|
473
|
+
:rtype: int
|
474
|
+
"""
|
475
|
+
return self._offset
|
476
|
+
|
477
|
+
@offset.setter
|
478
|
+
def offset(self, offset):
|
479
|
+
r"""Sets the offset of this ListSimBatchConfigsRequest.
|
480
|
+
|
481
|
+
The initial index from which to return the results.
|
482
|
+
|
483
|
+
:param offset: The offset of this ListSimBatchConfigsRequest.
|
484
|
+
:type offset: int
|
485
|
+
"""
|
486
|
+
self._offset = offset
|
487
|
+
|
488
|
+
@property
|
489
|
+
def ordering(self):
|
490
|
+
r"""Gets the ordering of this ListSimBatchConfigsRequest.
|
491
|
+
|
492
|
+
Which field to use when ordering the results.
|
493
|
+
|
494
|
+
:return: The ordering of this ListSimBatchConfigsRequest.
|
495
|
+
:rtype: str
|
496
|
+
"""
|
497
|
+
return self._ordering
|
498
|
+
|
499
|
+
@ordering.setter
|
500
|
+
def ordering(self, ordering):
|
501
|
+
r"""Sets the ordering of this ListSimBatchConfigsRequest.
|
502
|
+
|
503
|
+
Which field to use when ordering the results.
|
504
|
+
|
505
|
+
:param ordering: The ordering of this ListSimBatchConfigsRequest.
|
506
|
+
:type ordering: str
|
507
|
+
"""
|
508
|
+
self._ordering = ordering
|
509
|
+
|
510
|
+
@property
|
511
|
+
def search(self):
|
512
|
+
r"""Gets the search of this ListSimBatchConfigsRequest.
|
513
|
+
|
514
|
+
A search term.
|
515
|
+
|
516
|
+
:return: The search of this ListSimBatchConfigsRequest.
|
517
|
+
:rtype: str
|
518
|
+
"""
|
519
|
+
return self._search
|
520
|
+
|
521
|
+
@search.setter
|
522
|
+
def search(self, search):
|
523
|
+
r"""Sets the search of this ListSimBatchConfigsRequest.
|
524
|
+
|
525
|
+
A search term.
|
526
|
+
|
527
|
+
:param search: The search of this ListSimBatchConfigsRequest.
|
528
|
+
:type search: str
|
529
|
+
"""
|
530
|
+
self._search = search
|
531
|
+
|
532
|
+
@property
|
533
|
+
def suit_id(self):
|
534
|
+
r"""Gets the suit_id of this ListSimBatchConfigsRequest.
|
535
|
+
|
536
|
+
测试套件id
|
537
|
+
|
538
|
+
:return: The suit_id of this ListSimBatchConfigsRequest.
|
539
|
+
:rtype: int
|
540
|
+
"""
|
541
|
+
return self._suit_id
|
542
|
+
|
543
|
+
@suit_id.setter
|
544
|
+
def suit_id(self, suit_id):
|
545
|
+
r"""Sets the suit_id of this ListSimBatchConfigsRequest.
|
546
|
+
|
547
|
+
测试套件id
|
548
|
+
|
549
|
+
:param suit_id: The suit_id of this ListSimBatchConfigsRequest.
|
550
|
+
:type suit_id: int
|
551
|
+
"""
|
552
|
+
self._suit_id = suit_id
|
553
|
+
|
554
|
+
@property
|
555
|
+
def triggerable(self):
|
556
|
+
r"""Gets the triggerable of this ListSimBatchConfigsRequest.
|
557
|
+
|
558
|
+
是否可通过流水线功能触发
|
559
|
+
|
560
|
+
:return: The triggerable of this ListSimBatchConfigsRequest.
|
561
|
+
:rtype: bool
|
562
|
+
"""
|
563
|
+
return self._triggerable
|
564
|
+
|
565
|
+
@triggerable.setter
|
566
|
+
def triggerable(self, triggerable):
|
567
|
+
r"""Sets the triggerable of this ListSimBatchConfigsRequest.
|
568
|
+
|
569
|
+
是否可通过流水线功能触发
|
570
|
+
|
571
|
+
:param triggerable: The triggerable of this ListSimBatchConfigsRequest.
|
572
|
+
:type triggerable: bool
|
573
|
+
"""
|
574
|
+
self._triggerable = triggerable
|
575
|
+
|
576
|
+
def to_dict(self):
|
577
|
+
"""Returns the model properties as a dict"""
|
578
|
+
result = {}
|
579
|
+
|
580
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
581
|
+
value = getattr(self, attr)
|
582
|
+
if isinstance(value, list):
|
583
|
+
result[attr] = list(map(
|
584
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
585
|
+
value
|
586
|
+
))
|
587
|
+
elif hasattr(value, "to_dict"):
|
588
|
+
result[attr] = value.to_dict()
|
589
|
+
elif isinstance(value, dict):
|
590
|
+
result[attr] = dict(map(
|
591
|
+
lambda item: (item[0], item[1].to_dict())
|
592
|
+
if hasattr(item[1], "to_dict") else item,
|
593
|
+
value.items()
|
594
|
+
))
|
595
|
+
else:
|
596
|
+
if attr in self.sensitive_list:
|
597
|
+
result[attr] = "****"
|
598
|
+
else:
|
599
|
+
result[attr] = value
|
600
|
+
|
601
|
+
return result
|
602
|
+
|
603
|
+
def to_str(self):
|
604
|
+
"""Returns the string representation of the model"""
|
605
|
+
import simplejson as json
|
606
|
+
if six.PY2:
|
607
|
+
import sys
|
608
|
+
reload(sys)
|
609
|
+
sys.setdefaultencoding("utf-8")
|
610
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
611
|
+
|
612
|
+
def __repr__(self):
|
613
|
+
"""For `print`"""
|
614
|
+
return self.to_str()
|
615
|
+
|
616
|
+
def __eq__(self, other):
|
617
|
+
"""Returns true if both objects are equal"""
|
618
|
+
if not isinstance(other, ListSimBatchConfigsRequest):
|
619
|
+
return False
|
620
|
+
|
621
|
+
return self.__dict__ == other.__dict__
|
622
|
+
|
623
|
+
def __ne__(self, other):
|
624
|
+
"""Returns true if both objects are not equal"""
|
625
|
+
return not self == other
|