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.
Files changed (28) hide show
  1. huaweicloudsdkoctopus/v2/__init__.py +14 -1
  2. huaweicloudsdkoctopus/v2/model/__init__.py +14 -1
  3. huaweicloudsdkoctopus/v2/model/batch_create_request.py +198 -0
  4. huaweicloudsdkoctopus/v2/model/create_sim_batches_request.py +111 -0
  5. huaweicloudsdkoctopus/v2/model/create_sim_batches_response.py +619 -0
  6. huaweicloudsdkoctopus/v2/model/create_sim_sm_scenarios_response.py +9 -5
  7. huaweicloudsdkoctopus/v2/model/list_sim_simulations_request.py +401 -0
  8. huaweicloudsdkoctopus/v2/model/list_sim_simulations_response.py +189 -0
  9. huaweicloudsdkoctopus/v2/model/list_sim_sm_scenarios_request.py +3 -3
  10. huaweicloudsdkoctopus/v2/model/map_create_req_srlz.py +31 -3
  11. huaweicloudsdkoctopus/v2/model/scenario_create_req_srlz.py +9 -5
  12. huaweicloudsdkoctopus/v2/model/scenario_list_srlz.py +9 -5
  13. huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_request.py +142 -0
  14. huaweicloudsdkoctopus/v2/model/show_sim_simulations_files_response.py +290 -0
  15. huaweicloudsdkoctopus/v2/model/simulation_eva_result_metric_srlz.py +260 -0
  16. huaweicloudsdkoctopus/v2/model/simulation_eva_result_srlz.py +231 -0
  17. huaweicloudsdkoctopus/v2/model/simulation_evaluation_metric_srlz.py +289 -0
  18. huaweicloudsdkoctopus/v2/model/simulation_evaluation_srlz.py +231 -0
  19. huaweicloudsdkoctopus/v2/model/simulation_file_path_srlz.py +347 -0
  20. huaweicloudsdkoctopus/v2/model/simulation_srlz.py +708 -0
  21. huaweicloudsdkoctopus/v2/model/{simulator_enum.py → status15e_enum.py} +16 -5
  22. huaweicloudsdkoctopus/v2/octopus_async_client.py +217 -0
  23. huaweicloudsdkoctopus/v2/octopus_client.py +217 -0
  24. {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/METADATA +2 -2
  25. {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/RECORD +28 -15
  26. {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/LICENSE +0 -0
  27. {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/WHEEL +0 -0
  28. {huaweicloudsdkoctopus-3.1.153.dist-info → huaweicloudsdkoctopus-3.1.155.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,401 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListSimSimulationsRequest:
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_name': 'str',
21
+ 'batch_id': 'int',
22
+ 'batch_name': 'str',
23
+ 'id': 'int',
24
+ 'label': 'float',
25
+ 'limit': 'int',
26
+ 'offset': 'int',
27
+ 'ordering': 'str',
28
+ 'scenario_resource_id': 'int',
29
+ 'scenario_resource_type': 'int',
30
+ 'status': 'int'
31
+ }
32
+
33
+ attribute_map = {
34
+ 'algorithm_name': 'algorithm_name',
35
+ 'batch_id': 'batch_id',
36
+ 'batch_name': 'batch_name',
37
+ 'id': 'id',
38
+ 'label': 'label',
39
+ 'limit': 'limit',
40
+ 'offset': 'offset',
41
+ 'ordering': 'ordering',
42
+ 'scenario_resource_id': 'scenario_resource_id',
43
+ 'scenario_resource_type': 'scenario_resource_type',
44
+ 'status': 'status'
45
+ }
46
+
47
+ def __init__(self, algorithm_name=None, batch_id=None, batch_name=None, id=None, label=None, limit=None, offset=None, ordering=None, scenario_resource_id=None, scenario_resource_type=None, status=None):
48
+ r"""ListSimSimulationsRequest
49
+
50
+ The model defined in huaweicloud sdk
51
+
52
+ :param algorithm_name: 算法名称
53
+ :type algorithm_name: str
54
+ :param batch_id: 关联batch
55
+ :type batch_id: int
56
+ :param batch_name: 任务名称
57
+ :type batch_name: str
58
+ :param id:
59
+ :type id: int
60
+ :param label: 场景标签
61
+ :type label: float
62
+ :param limit: 每页返回的结果数
63
+ :type limit: int
64
+ :param offset: 要从中返回结果的初始索引
65
+ :type offset: int
66
+ :param ordering: 使用哪个字段排序结果
67
+ :type ordering: str
68
+ :param scenario_resource_id: 场景资源id
69
+ :type scenario_resource_id: int
70
+ :param scenario_resource_type: 场景资源类型
71
+ :type scenario_resource_type: int
72
+ :param status: 子任务状态 * `0` - Success 成功 * `1` - Pending 等待中 * `2` - Scheduling 调度 * `3` - Running 运行 * `4` - Canceled 取消 * `10` - Prepare Fail 准备失败 * `11` - Controller Fail 控制失败 * `12` - License Fail 许可失效 * `13` - Simulator Fail 仿真器失败 * `14` - Algorithm Fail 算法失败 * `15` - Evaluation Fail 评测失败 * `16` - Evicted 丢失 * `31` - Timeout 超时 * `32` - Unknown 未知
73
+ :type status: int
74
+ """
75
+
76
+
77
+
78
+ self._algorithm_name = None
79
+ self._batch_id = None
80
+ self._batch_name = None
81
+ self._id = None
82
+ self._label = None
83
+ self._limit = None
84
+ self._offset = None
85
+ self._ordering = None
86
+ self._scenario_resource_id = None
87
+ self._scenario_resource_type = None
88
+ self._status = None
89
+ self.discriminator = None
90
+
91
+ if algorithm_name is not None:
92
+ self.algorithm_name = algorithm_name
93
+ if batch_id is not None:
94
+ self.batch_id = batch_id
95
+ if batch_name is not None:
96
+ self.batch_name = batch_name
97
+ if id is not None:
98
+ self.id = id
99
+ if label is not None:
100
+ self.label = label
101
+ if limit is not None:
102
+ self.limit = limit
103
+ if offset is not None:
104
+ self.offset = offset
105
+ if ordering is not None:
106
+ self.ordering = ordering
107
+ if scenario_resource_id is not None:
108
+ self.scenario_resource_id = scenario_resource_id
109
+ if scenario_resource_type is not None:
110
+ self.scenario_resource_type = scenario_resource_type
111
+ if status is not None:
112
+ self.status = status
113
+
114
+ @property
115
+ def algorithm_name(self):
116
+ r"""Gets the algorithm_name of this ListSimSimulationsRequest.
117
+
118
+ 算法名称
119
+
120
+ :return: The algorithm_name of this ListSimSimulationsRequest.
121
+ :rtype: str
122
+ """
123
+ return self._algorithm_name
124
+
125
+ @algorithm_name.setter
126
+ def algorithm_name(self, algorithm_name):
127
+ r"""Sets the algorithm_name of this ListSimSimulationsRequest.
128
+
129
+ 算法名称
130
+
131
+ :param algorithm_name: The algorithm_name of this ListSimSimulationsRequest.
132
+ :type algorithm_name: str
133
+ """
134
+ self._algorithm_name = algorithm_name
135
+
136
+ @property
137
+ def batch_id(self):
138
+ r"""Gets the batch_id of this ListSimSimulationsRequest.
139
+
140
+ 关联batch
141
+
142
+ :return: The batch_id of this ListSimSimulationsRequest.
143
+ :rtype: int
144
+ """
145
+ return self._batch_id
146
+
147
+ @batch_id.setter
148
+ def batch_id(self, batch_id):
149
+ r"""Sets the batch_id of this ListSimSimulationsRequest.
150
+
151
+ 关联batch
152
+
153
+ :param batch_id: The batch_id of this ListSimSimulationsRequest.
154
+ :type batch_id: int
155
+ """
156
+ self._batch_id = batch_id
157
+
158
+ @property
159
+ def batch_name(self):
160
+ r"""Gets the batch_name of this ListSimSimulationsRequest.
161
+
162
+ 任务名称
163
+
164
+ :return: The batch_name of this ListSimSimulationsRequest.
165
+ :rtype: str
166
+ """
167
+ return self._batch_name
168
+
169
+ @batch_name.setter
170
+ def batch_name(self, batch_name):
171
+ r"""Sets the batch_name of this ListSimSimulationsRequest.
172
+
173
+ 任务名称
174
+
175
+ :param batch_name: The batch_name of this ListSimSimulationsRequest.
176
+ :type batch_name: str
177
+ """
178
+ self._batch_name = batch_name
179
+
180
+ @property
181
+ def id(self):
182
+ r"""Gets the id of this ListSimSimulationsRequest.
183
+
184
+ :return: The id of this ListSimSimulationsRequest.
185
+ :rtype: int
186
+ """
187
+ return self._id
188
+
189
+ @id.setter
190
+ def id(self, id):
191
+ r"""Sets the id of this ListSimSimulationsRequest.
192
+
193
+ :param id: The id of this ListSimSimulationsRequest.
194
+ :type id: int
195
+ """
196
+ self._id = id
197
+
198
+ @property
199
+ def label(self):
200
+ r"""Gets the label of this ListSimSimulationsRequest.
201
+
202
+ 场景标签
203
+
204
+ :return: The label of this ListSimSimulationsRequest.
205
+ :rtype: float
206
+ """
207
+ return self._label
208
+
209
+ @label.setter
210
+ def label(self, label):
211
+ r"""Sets the label of this ListSimSimulationsRequest.
212
+
213
+ 场景标签
214
+
215
+ :param label: The label of this ListSimSimulationsRequest.
216
+ :type label: float
217
+ """
218
+ self._label = label
219
+
220
+ @property
221
+ def limit(self):
222
+ r"""Gets the limit of this ListSimSimulationsRequest.
223
+
224
+ 每页返回的结果数
225
+
226
+ :return: The limit of this ListSimSimulationsRequest.
227
+ :rtype: int
228
+ """
229
+ return self._limit
230
+
231
+ @limit.setter
232
+ def limit(self, limit):
233
+ r"""Sets the limit of this ListSimSimulationsRequest.
234
+
235
+ 每页返回的结果数
236
+
237
+ :param limit: The limit of this ListSimSimulationsRequest.
238
+ :type limit: int
239
+ """
240
+ self._limit = limit
241
+
242
+ @property
243
+ def offset(self):
244
+ r"""Gets the offset of this ListSimSimulationsRequest.
245
+
246
+ 要从中返回结果的初始索引
247
+
248
+ :return: The offset of this ListSimSimulationsRequest.
249
+ :rtype: int
250
+ """
251
+ return self._offset
252
+
253
+ @offset.setter
254
+ def offset(self, offset):
255
+ r"""Sets the offset of this ListSimSimulationsRequest.
256
+
257
+ 要从中返回结果的初始索引
258
+
259
+ :param offset: The offset of this ListSimSimulationsRequest.
260
+ :type offset: int
261
+ """
262
+ self._offset = offset
263
+
264
+ @property
265
+ def ordering(self):
266
+ r"""Gets the ordering of this ListSimSimulationsRequest.
267
+
268
+ 使用哪个字段排序结果
269
+
270
+ :return: The ordering of this ListSimSimulationsRequest.
271
+ :rtype: str
272
+ """
273
+ return self._ordering
274
+
275
+ @ordering.setter
276
+ def ordering(self, ordering):
277
+ r"""Sets the ordering of this ListSimSimulationsRequest.
278
+
279
+ 使用哪个字段排序结果
280
+
281
+ :param ordering: The ordering of this ListSimSimulationsRequest.
282
+ :type ordering: str
283
+ """
284
+ self._ordering = ordering
285
+
286
+ @property
287
+ def scenario_resource_id(self):
288
+ r"""Gets the scenario_resource_id of this ListSimSimulationsRequest.
289
+
290
+ 场景资源id
291
+
292
+ :return: The scenario_resource_id of this ListSimSimulationsRequest.
293
+ :rtype: int
294
+ """
295
+ return self._scenario_resource_id
296
+
297
+ @scenario_resource_id.setter
298
+ def scenario_resource_id(self, scenario_resource_id):
299
+ r"""Sets the scenario_resource_id of this ListSimSimulationsRequest.
300
+
301
+ 场景资源id
302
+
303
+ :param scenario_resource_id: The scenario_resource_id of this ListSimSimulationsRequest.
304
+ :type scenario_resource_id: int
305
+ """
306
+ self._scenario_resource_id = scenario_resource_id
307
+
308
+ @property
309
+ def scenario_resource_type(self):
310
+ r"""Gets the scenario_resource_type of this ListSimSimulationsRequest.
311
+
312
+ 场景资源类型
313
+
314
+ :return: The scenario_resource_type of this ListSimSimulationsRequest.
315
+ :rtype: int
316
+ """
317
+ return self._scenario_resource_type
318
+
319
+ @scenario_resource_type.setter
320
+ def scenario_resource_type(self, scenario_resource_type):
321
+ r"""Sets the scenario_resource_type of this ListSimSimulationsRequest.
322
+
323
+ 场景资源类型
324
+
325
+ :param scenario_resource_type: The scenario_resource_type of this ListSimSimulationsRequest.
326
+ :type scenario_resource_type: int
327
+ """
328
+ self._scenario_resource_type = scenario_resource_type
329
+
330
+ @property
331
+ def status(self):
332
+ r"""Gets the status of this ListSimSimulationsRequest.
333
+
334
+ 子任务状态 * `0` - Success 成功 * `1` - Pending 等待中 * `2` - Scheduling 调度 * `3` - Running 运行 * `4` - Canceled 取消 * `10` - Prepare Fail 准备失败 * `11` - Controller Fail 控制失败 * `12` - License Fail 许可失效 * `13` - Simulator Fail 仿真器失败 * `14` - Algorithm Fail 算法失败 * `15` - Evaluation Fail 评测失败 * `16` - Evicted 丢失 * `31` - Timeout 超时 * `32` - Unknown 未知
335
+
336
+ :return: The status of this ListSimSimulationsRequest.
337
+ :rtype: int
338
+ """
339
+ return self._status
340
+
341
+ @status.setter
342
+ def status(self, status):
343
+ r"""Sets the status of this ListSimSimulationsRequest.
344
+
345
+ 子任务状态 * `0` - Success 成功 * `1` - Pending 等待中 * `2` - Scheduling 调度 * `3` - Running 运行 * `4` - Canceled 取消 * `10` - Prepare Fail 准备失败 * `11` - Controller Fail 控制失败 * `12` - License Fail 许可失效 * `13` - Simulator Fail 仿真器失败 * `14` - Algorithm Fail 算法失败 * `15` - Evaluation Fail 评测失败 * `16` - Evicted 丢失 * `31` - Timeout 超时 * `32` - Unknown 未知
346
+
347
+ :param status: The status of this ListSimSimulationsRequest.
348
+ :type status: int
349
+ """
350
+ self._status = status
351
+
352
+ def to_dict(self):
353
+ """Returns the model properties as a dict"""
354
+ result = {}
355
+
356
+ for attr, _ in six.iteritems(self.openapi_types):
357
+ value = getattr(self, attr)
358
+ if isinstance(value, list):
359
+ result[attr] = list(map(
360
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
361
+ value
362
+ ))
363
+ elif hasattr(value, "to_dict"):
364
+ result[attr] = value.to_dict()
365
+ elif isinstance(value, dict):
366
+ result[attr] = dict(map(
367
+ lambda item: (item[0], item[1].to_dict())
368
+ if hasattr(item[1], "to_dict") else item,
369
+ value.items()
370
+ ))
371
+ else:
372
+ if attr in self.sensitive_list:
373
+ result[attr] = "****"
374
+ else:
375
+ result[attr] = value
376
+
377
+ return result
378
+
379
+ def to_str(self):
380
+ """Returns the string representation of the model"""
381
+ import simplejson as json
382
+ if six.PY2:
383
+ import sys
384
+ reload(sys)
385
+ sys.setdefaultencoding("utf-8")
386
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
387
+
388
+ def __repr__(self):
389
+ """For `print`"""
390
+ return self.to_str()
391
+
392
+ def __eq__(self, other):
393
+ """Returns true if both objects are equal"""
394
+ if not isinstance(other, ListSimSimulationsRequest):
395
+ return False
396
+
397
+ return self.__dict__ == other.__dict__
398
+
399
+ def __ne__(self, other):
400
+ """Returns true if both objects are not equal"""
401
+ return not self == other
@@ -0,0 +1,189 @@
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 ListSimSimulationsResponse(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
+ 'count': 'int',
22
+ 'next': 'str',
23
+ 'previous': 'str',
24
+ 'results': 'list[SimulationSrlz]'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'count': 'count',
29
+ 'next': 'next',
30
+ 'previous': 'previous',
31
+ 'results': 'results'
32
+ }
33
+
34
+ def __init__(self, count=None, next=None, previous=None, results=None):
35
+ r"""ListSimSimulationsResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param count: 返回子任务总数
40
+ :type count: int
41
+ :param next:
42
+ :type next: str
43
+ :param previous:
44
+ :type previous: str
45
+ :param results:
46
+ :type results: list[:class:`huaweicloudsdkoctopus.v2.SimulationSrlz`]
47
+ """
48
+
49
+ super(ListSimSimulationsResponse, self).__init__()
50
+
51
+ self._count = None
52
+ self._next = None
53
+ self._previous = None
54
+ self._results = None
55
+ self.discriminator = None
56
+
57
+ if count is not None:
58
+ self.count = count
59
+ self.next = next
60
+ self.previous = previous
61
+ if results is not None:
62
+ self.results = results
63
+
64
+ @property
65
+ def count(self):
66
+ r"""Gets the count of this ListSimSimulationsResponse.
67
+
68
+ 返回子任务总数
69
+
70
+ :return: The count of this ListSimSimulationsResponse.
71
+ :rtype: int
72
+ """
73
+ return self._count
74
+
75
+ @count.setter
76
+ def count(self, count):
77
+ r"""Sets the count of this ListSimSimulationsResponse.
78
+
79
+ 返回子任务总数
80
+
81
+ :param count: The count of this ListSimSimulationsResponse.
82
+ :type count: int
83
+ """
84
+ self._count = count
85
+
86
+ @property
87
+ def next(self):
88
+ r"""Gets the next of this ListSimSimulationsResponse.
89
+
90
+ :return: The next of this ListSimSimulationsResponse.
91
+ :rtype: str
92
+ """
93
+ return self._next
94
+
95
+ @next.setter
96
+ def next(self, next):
97
+ r"""Sets the next of this ListSimSimulationsResponse.
98
+
99
+ :param next: The next of this ListSimSimulationsResponse.
100
+ :type next: str
101
+ """
102
+ self._next = next
103
+
104
+ @property
105
+ def previous(self):
106
+ r"""Gets the previous of this ListSimSimulationsResponse.
107
+
108
+ :return: The previous of this ListSimSimulationsResponse.
109
+ :rtype: str
110
+ """
111
+ return self._previous
112
+
113
+ @previous.setter
114
+ def previous(self, previous):
115
+ r"""Sets the previous of this ListSimSimulationsResponse.
116
+
117
+ :param previous: The previous of this ListSimSimulationsResponse.
118
+ :type previous: str
119
+ """
120
+ self._previous = previous
121
+
122
+ @property
123
+ def results(self):
124
+ r"""Gets the results of this ListSimSimulationsResponse.
125
+
126
+ :return: The results of this ListSimSimulationsResponse.
127
+ :rtype: list[:class:`huaweicloudsdkoctopus.v2.SimulationSrlz`]
128
+ """
129
+ return self._results
130
+
131
+ @results.setter
132
+ def results(self, results):
133
+ r"""Sets the results of this ListSimSimulationsResponse.
134
+
135
+ :param results: The results of this ListSimSimulationsResponse.
136
+ :type results: list[:class:`huaweicloudsdkoctopus.v2.SimulationSrlz`]
137
+ """
138
+ self._results = results
139
+
140
+ def to_dict(self):
141
+ """Returns the model properties as a dict"""
142
+ result = {}
143
+
144
+ for attr, _ in six.iteritems(self.openapi_types):
145
+ value = getattr(self, attr)
146
+ if isinstance(value, list):
147
+ result[attr] = list(map(
148
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
149
+ value
150
+ ))
151
+ elif hasattr(value, "to_dict"):
152
+ result[attr] = value.to_dict()
153
+ elif isinstance(value, dict):
154
+ result[attr] = dict(map(
155
+ lambda item: (item[0], item[1].to_dict())
156
+ if hasattr(item[1], "to_dict") else item,
157
+ value.items()
158
+ ))
159
+ else:
160
+ if attr in self.sensitive_list:
161
+ result[attr] = "****"
162
+ else:
163
+ result[attr] = value
164
+
165
+ return result
166
+
167
+ def to_str(self):
168
+ """Returns the string representation of the model"""
169
+ import simplejson as json
170
+ if six.PY2:
171
+ import sys
172
+ reload(sys)
173
+ sys.setdefaultencoding("utf-8")
174
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
175
+
176
+ def __repr__(self):
177
+ """For `print`"""
178
+ return self.to_str()
179
+
180
+ def __eq__(self, other):
181
+ """Returns true if both objects are equal"""
182
+ if not isinstance(other, ListSimSimulationsResponse):
183
+ return False
184
+
185
+ return self.__dict__ == other.__dict__
186
+
187
+ def __ne__(self, other):
188
+ """Returns true if both objects are not equal"""
189
+ return not self == other
@@ -85,7 +85,7 @@ class ListSimSmScenariosRequest:
85
85
  :type limit: int
86
86
  :param search: A search term.
87
87
  :type search: str
88
- :param simulator: * `VTD` - VTD * `SimPro` - SimPro
88
+ :param simulator: 仿真器名称,取值范围:A,B,C,D,E
89
89
  :type simulator: str
90
90
  :param source: Choices: generalization, road, upload
91
91
  :type source: str
@@ -393,7 +393,7 @@ class ListSimSmScenariosRequest:
393
393
  def simulator(self):
394
394
  r"""Gets the simulator of this ListSimSmScenariosRequest.
395
395
 
396
- * `VTD` - VTD * `SimPro` - SimPro
396
+ 仿真器名称,取值范围:A,B,C,D,E
397
397
 
398
398
  :return: The simulator of this ListSimSmScenariosRequest.
399
399
  :rtype: str
@@ -404,7 +404,7 @@ class ListSimSmScenariosRequest:
404
404
  def simulator(self, simulator):
405
405
  r"""Sets the simulator of this ListSimSmScenariosRequest.
406
406
 
407
- * `VTD` - VTD * `SimPro` - SimPro
407
+ 仿真器名称,取值范围:A,B,C,D,E
408
408
 
409
409
  :param simulator: The simulator of this ListSimSmScenariosRequest.
410
410
  :type simulator: str
@@ -18,15 +18,17 @@ class MapCreateReqSrlz:
18
18
 
19
19
  openapi_types = {
20
20
  'file': 'FileCreateReqSrlz',
21
- 'version': 'MapVersionEnum'
21
+ 'version': 'MapVersionEnum',
22
+ 'agreement_confirm': 'bool'
22
23
  }
23
24
 
24
25
  attribute_map = {
25
26
  'file': 'file',
26
- 'version': 'version'
27
+ 'version': 'version',
28
+ 'agreement_confirm': 'agreement_confirm'
27
29
  }
28
30
 
29
- def __init__(self, file=None, version=None):
31
+ def __init__(self, file=None, version=None, agreement_confirm=None):
30
32
  r"""MapCreateReqSrlz
31
33
 
32
34
  The model defined in huaweicloud sdk
@@ -35,16 +37,20 @@ class MapCreateReqSrlz:
35
37
  :type file: :class:`huaweicloudsdkoctopus.v2.FileCreateReqSrlz`
36
38
  :param version:
37
39
  :type version: :class:`huaweicloudsdkoctopus.v2.MapVersionEnum`
40
+ :param agreement_confirm: 是否同意协议,必须为true
41
+ :type agreement_confirm: bool
38
42
  """
39
43
 
40
44
 
41
45
 
42
46
  self._file = None
43
47
  self._version = None
48
+ self._agreement_confirm = None
44
49
  self.discriminator = None
45
50
 
46
51
  self.file = file
47
52
  self.version = version
53
+ self.agreement_confirm = agreement_confirm
48
54
 
49
55
  @property
50
56
  def file(self):
@@ -82,6 +88,28 @@ class MapCreateReqSrlz:
82
88
  """
83
89
  self._version = version
84
90
 
91
+ @property
92
+ def agreement_confirm(self):
93
+ r"""Gets the agreement_confirm of this MapCreateReqSrlz.
94
+
95
+ 是否同意协议,必须为true
96
+
97
+ :return: The agreement_confirm of this MapCreateReqSrlz.
98
+ :rtype: bool
99
+ """
100
+ return self._agreement_confirm
101
+
102
+ @agreement_confirm.setter
103
+ def agreement_confirm(self, agreement_confirm):
104
+ r"""Sets the agreement_confirm of this MapCreateReqSrlz.
105
+
106
+ 是否同意协议,必须为true
107
+
108
+ :param agreement_confirm: The agreement_confirm of this MapCreateReqSrlz.
109
+ :type agreement_confirm: bool
110
+ """
111
+ self._agreement_confirm = agreement_confirm
112
+
85
113
  def to_dict(self):
86
114
  """Returns the model properties as a dict"""
87
115
  result = {}