teamdbapi 2.37.1__py3-none-any.whl → 3.0.0__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.
- teamdbapi/__init__.py +11 -0
- teamdbapi/api/__init__.py +39 -34
- teamdbapi/api/assembly_api.py +2108 -2108
- teamdbapi/api/car_api.py +874 -874
- teamdbapi/api/component_api.py +954 -0
- teamdbapi/api/config_api.py +118 -118
- teamdbapi/api/criteria_api.py +126 -0
- teamdbapi/api/edit_api.py +433 -433
- teamdbapi/api/event_api.py +878 -878
- teamdbapi/api/fixed_field_api.py +320 -320
- teamdbapi/api/group_api.py +609 -609
- teamdbapi/api/import_export_api.py +828 -743
- teamdbapi/api/lap_api.py +708 -708
- teamdbapi/api/lap_report_api.py +490 -486
- teamdbapi/api/model_field_api.py +708 -708
- teamdbapi/api/mounting_api.py +219 -0
- teamdbapi/api/notes_authorization_api.py +324 -324
- teamdbapi/api/parameter_api.py +1176 -1176
- teamdbapi/api/part_api.py +304 -0
- teamdbapi/api/report_api.py +142 -142
- teamdbapi/api/revision_api.py +1420 -1420
- teamdbapi/api/revision_editor_selector_api.py +990 -990
- teamdbapi/api/run_api.py +603 -603
- teamdbapi/api/script_api.py +490 -490
- teamdbapi/api/session_api.py +720 -720
- teamdbapi/api/target_api.py +415 -415
- teamdbapi/api/team_db_list_api.py +987 -987
- teamdbapi/api/team_db_view_api.py +482 -482
- teamdbapi/api/tire_api.py +599 -599
- teamdbapi/api/tire_set_api.py +514 -514
- teamdbapi/api/track_api.py +506 -506
- teamdbapi/api/track_layout_api.py +514 -514
- teamdbapi/api/update_request_api.py +235 -0
- teamdbapi/api/user_api.py +474 -474
- teamdbapi/api/value_field_api.py +558 -558
- teamdbapi/api/version_api.py +449 -449
- teamdbapi/api_client.py +4 -8
- teamdbapi/configuration.py +6 -13
- teamdbapi/models/__init__.py +6 -0
- teamdbapi/models/assembly.py +1 -0
- teamdbapi/models/bleed_adjustment.py +1 -0
- teamdbapi/models/calibration.py +1 -0
- teamdbapi/models/car.py +1 -0
- teamdbapi/models/car_parameters_context.py +1 -0
- teamdbapi/models/compare_options.py +1 -0
- teamdbapi/models/compare_result.py +1 -0
- teamdbapi/models/compare_result_detail.py +2 -0
- teamdbapi/models/component.py +1217 -0
- teamdbapi/models/copy_from_tags_args.py +2 -0
- teamdbapi/models/couple_guid_text.py +1 -0
- teamdbapi/models/criteria.py +430 -0
- teamdbapi/models/criteria_value.py +197 -0
- teamdbapi/models/event.py +1 -0
- teamdbapi/models/fixed_field.py +2 -1
- teamdbapi/models/group.py +1 -0
- teamdbapi/models/import_parameters_args.py +1 -0
- teamdbapi/models/import_parameters_results.py +2 -0
- teamdbapi/models/item_value.py +1 -0
- teamdbapi/models/item_value_key.py +1 -0
- teamdbapi/models/lap.py +1 -0
- teamdbapi/models/lap_report_options.py +1 -0
- teamdbapi/models/model_field.py +3 -1
- teamdbapi/models/model_field_authorization.py +1 -0
- teamdbapi/models/mounting.py +489 -0
- teamdbapi/models/notes_authorization.py +1 -0
- teamdbapi/models/notes_context.py +1 -0
- teamdbapi/models/parameter.py +2 -0
- teamdbapi/models/parameter_cross_table.py +1 -0
- teamdbapi/models/part.py +963 -0
- teamdbapi/models/part_count.py +228 -0
- teamdbapi/models/problem_details.py +2 -6
- teamdbapi/models/revision.py +88 -3
- teamdbapi/models/revision_value.py +1 -0
- teamdbapi/models/run.py +1 -0
- teamdbapi/models/script.py +1 -0
- teamdbapi/models/session.py +1 -0
- teamdbapi/models/string_with_font_style.py +1 -0
- teamdbapi/models/target.py +64 -7
- teamdbapi/models/team_db_list.py +1 -0
- teamdbapi/models/team_db_list_item.py +1 -0
- teamdbapi/models/tire.py +2 -0
- teamdbapi/models/tire_set.py +2 -0
- teamdbapi/models/track.py +1 -0
- teamdbapi/models/track_layout.py +1 -0
- teamdbapi/models/user.py +1 -0
- teamdbapi/models/user_group.py +1 -0
- teamdbapi/models/value_field.py +1 -0
- teamdbapi/models/version.py +1 -0
- teamdbapi/rest.py +6 -1
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/METADATA +5 -5
- teamdbapi-3.0.0.dist-info/RECORD +93 -0
- teamdbapi-2.37.1.dist-info/RECORD +0 -82
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/LICENSE +0 -0
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/WHEEL +0 -0
teamdbapi/api/lap_report_api.py
CHANGED
|
@@ -1,486 +1,490 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Trackside Software TeamDB API v2.0
|
|
5
|
-
|
|
6
|
-
This API enables you to access TeamDB data # noqa: E501
|
|
7
|
-
|
|
8
|
-
OpenAPI spec version: 2.0
|
|
9
|
-
Contact: support@trackside.fr
|
|
10
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
from __future__ import absolute_import
|
|
14
|
-
|
|
15
|
-
import re # noqa: F401
|
|
16
|
-
|
|
17
|
-
# python 2 and python 3 compatibility library
|
|
18
|
-
import six
|
|
19
|
-
|
|
20
|
-
from teamdbapi.api_client import ApiClient
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class LapReportApi(object):
|
|
24
|
-
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
|
-
|
|
26
|
-
Do not edit the class manually.
|
|
27
|
-
Ref: https://github.com/swagger-api/swagger-codegen
|
|
28
|
-
"""
|
|
29
|
-
|
|
30
|
-
def __init__(self, api_client=None):
|
|
31
|
-
if api_client is None:
|
|
32
|
-
api_client = ApiClient()
|
|
33
|
-
self.api_client = api_client
|
|
34
|
-
|
|
35
|
-
def disable_lap_report_reading(self, **kwargs): # noqa: E501
|
|
36
|
-
"""[Command] Disables the lap report reading # noqa: E501
|
|
37
|
-
|
|
38
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
39
|
-
asynchronous HTTP request, please pass async_req=True
|
|
40
|
-
>>> thread = api.disable_lap_report_reading(async_req=True)
|
|
41
|
-
>>> result = thread.get()
|
|
42
|
-
|
|
43
|
-
:param async_req bool
|
|
44
|
-
:return: None
|
|
45
|
-
If the method is called asynchronously,
|
|
46
|
-
returns the request thread.
|
|
47
|
-
"""
|
|
48
|
-
kwargs['_return_http_data_only'] = True
|
|
49
|
-
if kwargs.get('async_req'):
|
|
50
|
-
return self.disable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
51
|
-
else:
|
|
52
|
-
(data) = self.disable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
53
|
-
return data
|
|
54
|
-
|
|
55
|
-
def disable_lap_report_reading_with_http_info(self, **kwargs): # noqa: E501
|
|
56
|
-
"""[Command] Disables the lap report reading # noqa: E501
|
|
57
|
-
|
|
58
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
59
|
-
asynchronous HTTP request, please pass async_req=True
|
|
60
|
-
>>> thread = api.disable_lap_report_reading_with_http_info(async_req=True)
|
|
61
|
-
>>> result = thread.get()
|
|
62
|
-
|
|
63
|
-
:param async_req bool
|
|
64
|
-
:return: None
|
|
65
|
-
If the method is called asynchronously,
|
|
66
|
-
returns the request thread.
|
|
67
|
-
"""
|
|
68
|
-
|
|
69
|
-
all_params = [] # noqa: E501
|
|
70
|
-
all_params.append('async_req')
|
|
71
|
-
all_params.append('_return_http_data_only')
|
|
72
|
-
all_params.append('_preload_content')
|
|
73
|
-
all_params.append('_request_timeout')
|
|
74
|
-
|
|
75
|
-
params = locals()
|
|
76
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
77
|
-
if key not in all_params:
|
|
78
|
-
raise TypeError(
|
|
79
|
-
"Got an unexpected keyword argument '%s'"
|
|
80
|
-
" to method disable_lap_report_reading" % key
|
|
81
|
-
)
|
|
82
|
-
params[key] = val
|
|
83
|
-
del params['kwargs']
|
|
84
|
-
|
|
85
|
-
collection_formats = {}
|
|
86
|
-
|
|
87
|
-
path_params = {}
|
|
88
|
-
|
|
89
|
-
query_params = []
|
|
90
|
-
|
|
91
|
-
header_params = {}
|
|
92
|
-
|
|
93
|
-
form_params = []
|
|
94
|
-
local_var_files = {}
|
|
95
|
-
|
|
96
|
-
body_params = None
|
|
97
|
-
# HTTP header `Accept`
|
|
98
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
99
|
-
['application/json', 'text/json']) # noqa: E501
|
|
100
|
-
|
|
101
|
-
# Authentication setting
|
|
102
|
-
auth_settings = [] # noqa: E501
|
|
103
|
-
|
|
104
|
-
return self.api_client.call_api(
|
|
105
|
-
'/teamdbapi/v2.0/disablelapreportreading', 'POST',
|
|
106
|
-
path_params,
|
|
107
|
-
query_params,
|
|
108
|
-
header_params,
|
|
109
|
-
body=body_params,
|
|
110
|
-
post_params=form_params,
|
|
111
|
-
files=local_var_files,
|
|
112
|
-
response_type=None, # noqa: E501
|
|
113
|
-
auth_settings=auth_settings,
|
|
114
|
-
async_req=params.get('async_req'),
|
|
115
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
116
|
-
_preload_content=params.get('_preload_content', True),
|
|
117
|
-
_request_timeout=params.get('_request_timeout'),
|
|
118
|
-
collection_formats=collection_formats)
|
|
119
|
-
|
|
120
|
-
def enable_lap_report_reading(self, **kwargs): # noqa: E501
|
|
121
|
-
"""[Command] Enables the lap report reading # noqa: E501
|
|
122
|
-
|
|
123
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
124
|
-
asynchronous HTTP request, please pass async_req=True
|
|
125
|
-
>>> thread = api.enable_lap_report_reading(async_req=True)
|
|
126
|
-
>>> result = thread.get()
|
|
127
|
-
|
|
128
|
-
:param async_req bool
|
|
129
|
-
:return: None
|
|
130
|
-
If the method is called asynchronously,
|
|
131
|
-
returns the request thread.
|
|
132
|
-
"""
|
|
133
|
-
kwargs['_return_http_data_only'] = True
|
|
134
|
-
if kwargs.get('async_req'):
|
|
135
|
-
return self.enable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
136
|
-
else:
|
|
137
|
-
(data) = self.enable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
138
|
-
return data
|
|
139
|
-
|
|
140
|
-
def enable_lap_report_reading_with_http_info(self, **kwargs): # noqa: E501
|
|
141
|
-
"""[Command] Enables the lap report reading # noqa: E501
|
|
142
|
-
|
|
143
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
144
|
-
asynchronous HTTP request, please pass async_req=True
|
|
145
|
-
>>> thread = api.enable_lap_report_reading_with_http_info(async_req=True)
|
|
146
|
-
>>> result = thread.get()
|
|
147
|
-
|
|
148
|
-
:param async_req bool
|
|
149
|
-
:return: None
|
|
150
|
-
If the method is called asynchronously,
|
|
151
|
-
returns the request thread.
|
|
152
|
-
"""
|
|
153
|
-
|
|
154
|
-
all_params = [] # noqa: E501
|
|
155
|
-
all_params.append('async_req')
|
|
156
|
-
all_params.append('_return_http_data_only')
|
|
157
|
-
all_params.append('_preload_content')
|
|
158
|
-
all_params.append('_request_timeout')
|
|
159
|
-
|
|
160
|
-
params = locals()
|
|
161
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
162
|
-
if key not in all_params:
|
|
163
|
-
raise TypeError(
|
|
164
|
-
"Got an unexpected keyword argument '%s'"
|
|
165
|
-
" to method enable_lap_report_reading" % key
|
|
166
|
-
)
|
|
167
|
-
params[key] = val
|
|
168
|
-
del params['kwargs']
|
|
169
|
-
|
|
170
|
-
collection_formats = {}
|
|
171
|
-
|
|
172
|
-
path_params = {}
|
|
173
|
-
|
|
174
|
-
query_params = []
|
|
175
|
-
|
|
176
|
-
header_params = {}
|
|
177
|
-
|
|
178
|
-
form_params = []
|
|
179
|
-
local_var_files = {}
|
|
180
|
-
|
|
181
|
-
body_params = None
|
|
182
|
-
# HTTP header `Accept`
|
|
183
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
184
|
-
['application/json', 'text/json']) # noqa: E501
|
|
185
|
-
|
|
186
|
-
# Authentication setting
|
|
187
|
-
auth_settings = [] # noqa: E501
|
|
188
|
-
|
|
189
|
-
return self.api_client.call_api(
|
|
190
|
-
'/teamdbapi/v2.0/enablelapreportreading', 'POST',
|
|
191
|
-
path_params,
|
|
192
|
-
query_params,
|
|
193
|
-
header_params,
|
|
194
|
-
body=body_params,
|
|
195
|
-
post_params=form_params,
|
|
196
|
-
files=local_var_files,
|
|
197
|
-
response_type=None, # noqa: E501
|
|
198
|
-
auth_settings=auth_settings,
|
|
199
|
-
async_req=params.get('async_req'),
|
|
200
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
201
|
-
_preload_content=params.get('_preload_content', True),
|
|
202
|
-
_request_timeout=params.get('_request_timeout'),
|
|
203
|
-
collection_formats=collection_formats)
|
|
204
|
-
|
|
205
|
-
def get_lap_report_options(self, **kwargs): # noqa: E501
|
|
206
|
-
"""Get the current lap report options # noqa: E501
|
|
207
|
-
|
|
208
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
209
|
-
asynchronous HTTP request, please pass async_req=True
|
|
210
|
-
>>> thread = api.get_lap_report_options(async_req=True)
|
|
211
|
-
>>> result = thread.get()
|
|
212
|
-
|
|
213
|
-
:param async_req bool
|
|
214
|
-
:return: LapReportOptions
|
|
215
|
-
If the method is called asynchronously,
|
|
216
|
-
returns the request thread.
|
|
217
|
-
"""
|
|
218
|
-
kwargs['_return_http_data_only'] = True
|
|
219
|
-
if kwargs.get('async_req'):
|
|
220
|
-
return self.get_lap_report_options_with_http_info(**kwargs) # noqa: E501
|
|
221
|
-
else:
|
|
222
|
-
(data) = self.get_lap_report_options_with_http_info(**kwargs) # noqa: E501
|
|
223
|
-
return data
|
|
224
|
-
|
|
225
|
-
def get_lap_report_options_with_http_info(self, **kwargs): # noqa: E501
|
|
226
|
-
"""Get the current lap report options # noqa: E501
|
|
227
|
-
|
|
228
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
229
|
-
asynchronous HTTP request, please pass async_req=True
|
|
230
|
-
>>> thread = api.get_lap_report_options_with_http_info(async_req=True)
|
|
231
|
-
>>> result = thread.get()
|
|
232
|
-
|
|
233
|
-
:param async_req bool
|
|
234
|
-
:return: LapReportOptions
|
|
235
|
-
If the method is called asynchronously,
|
|
236
|
-
returns the request thread.
|
|
237
|
-
"""
|
|
238
|
-
|
|
239
|
-
all_params = [] # noqa: E501
|
|
240
|
-
all_params.append('async_req')
|
|
241
|
-
all_params.append('_return_http_data_only')
|
|
242
|
-
all_params.append('_preload_content')
|
|
243
|
-
all_params.append('_request_timeout')
|
|
244
|
-
|
|
245
|
-
params = locals()
|
|
246
|
-
for key, val in six.iteritems(params['kwargs']):
|
|
247
|
-
if key not in all_params:
|
|
248
|
-
raise TypeError(
|
|
249
|
-
"Got an unexpected keyword argument '%s'"
|
|
250
|
-
" to method get_lap_report_options" % key
|
|
251
|
-
)
|
|
252
|
-
params[key] = val
|
|
253
|
-
del params['kwargs']
|
|
254
|
-
|
|
255
|
-
collection_formats = {}
|
|
256
|
-
|
|
257
|
-
path_params = {}
|
|
258
|
-
|
|
259
|
-
query_params = []
|
|
260
|
-
|
|
261
|
-
header_params = {}
|
|
262
|
-
|
|
263
|
-
form_params = []
|
|
264
|
-
local_var_files = {}
|
|
265
|
-
|
|
266
|
-
body_params = None
|
|
267
|
-
# HTTP header `Accept`
|
|
268
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
|
269
|
-
['application/json', 'text/json']) # noqa: E501
|
|
270
|
-
|
|
271
|
-
# Authentication setting
|
|
272
|
-
auth_settings = [] # noqa: E501
|
|
273
|
-
|
|
274
|
-
return self.api_client.call_api(
|
|
275
|
-
'/teamdbapi/v2.0/LapReportOptions', 'GET',
|
|
276
|
-
path_params,
|
|
277
|
-
query_params,
|
|
278
|
-
header_params,
|
|
279
|
-
body=body_params,
|
|
280
|
-
post_params=form_params,
|
|
281
|
-
files=local_var_files,
|
|
282
|
-
response_type='LapReportOptions', # noqa: E501
|
|
283
|
-
auth_settings=auth_settings,
|
|
284
|
-
async_req=params.get('async_req'),
|
|
285
|
-
_return_http_data_only=params.get('_return_http_data_only'),
|
|
286
|
-
_preload_content=params.get('_preload_content', True),
|
|
287
|
-
_request_timeout=params.get('_request_timeout'),
|
|
288
|
-
collection_formats=collection_formats)
|
|
289
|
-
|
|
290
|
-
def load_lap_report(self, file_path, lap_report_file_format, **kwargs): # noqa: E501
|
|
291
|
-
"""Load a full lap report # noqa: E501
|
|
292
|
-
|
|
293
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
294
|
-
asynchronous HTTP request, please pass async_req=True
|
|
295
|
-
>>> thread = api.load_lap_report(file_path, lap_report_file_format, async_req=True)
|
|
296
|
-
>>> result = thread.get()
|
|
297
|
-
|
|
298
|
-
:param async_req bool
|
|
299
|
-
:param str file_path: The lap report path (required)
|
|
300
|
-
:param str lap_report_file_format: The lap report file format: Wintax or Atlas (required)
|
|
301
|
-
:
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
>>>
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
:param
|
|
322
|
-
:param str
|
|
323
|
-
:
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
all_params
|
|
331
|
-
all_params.append('
|
|
332
|
-
all_params.append('
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
if '
|
|
360
|
-
query_params.append(('
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
#
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
all_params
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
# HTTP header `
|
|
466
|
-
header_params['
|
|
467
|
-
['application/json
|
|
468
|
-
|
|
469
|
-
#
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Trackside Software TeamDB API v2.0
|
|
5
|
+
|
|
6
|
+
This API enables you to access TeamDB data # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 2.0
|
|
9
|
+
Contact: support@trackside.fr
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
# python 2 and python 3 compatibility library
|
|
18
|
+
import six
|
|
19
|
+
|
|
20
|
+
from teamdbapi.api_client import ApiClient
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class LapReportApi(object):
|
|
24
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
|
+
|
|
26
|
+
Do not edit the class manually.
|
|
27
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_client=None):
|
|
31
|
+
if api_client is None:
|
|
32
|
+
api_client = ApiClient()
|
|
33
|
+
self.api_client = api_client
|
|
34
|
+
|
|
35
|
+
def disable_lap_report_reading(self, **kwargs): # noqa: E501
|
|
36
|
+
"""[Command] Disables the lap report reading # noqa: E501
|
|
37
|
+
|
|
38
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
39
|
+
asynchronous HTTP request, please pass async_req=True
|
|
40
|
+
>>> thread = api.disable_lap_report_reading(async_req=True)
|
|
41
|
+
>>> result = thread.get()
|
|
42
|
+
|
|
43
|
+
:param async_req bool
|
|
44
|
+
:return: None
|
|
45
|
+
If the method is called asynchronously,
|
|
46
|
+
returns the request thread.
|
|
47
|
+
"""
|
|
48
|
+
kwargs['_return_http_data_only'] = True
|
|
49
|
+
if kwargs.get('async_req'):
|
|
50
|
+
return self.disable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
51
|
+
else:
|
|
52
|
+
(data) = self.disable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
53
|
+
return data
|
|
54
|
+
|
|
55
|
+
def disable_lap_report_reading_with_http_info(self, **kwargs): # noqa: E501
|
|
56
|
+
"""[Command] Disables the lap report reading # noqa: E501
|
|
57
|
+
|
|
58
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
59
|
+
asynchronous HTTP request, please pass async_req=True
|
|
60
|
+
>>> thread = api.disable_lap_report_reading_with_http_info(async_req=True)
|
|
61
|
+
>>> result = thread.get()
|
|
62
|
+
|
|
63
|
+
:param async_req bool
|
|
64
|
+
:return: None
|
|
65
|
+
If the method is called asynchronously,
|
|
66
|
+
returns the request thread.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
all_params = [] # noqa: E501
|
|
70
|
+
all_params.append('async_req')
|
|
71
|
+
all_params.append('_return_http_data_only')
|
|
72
|
+
all_params.append('_preload_content')
|
|
73
|
+
all_params.append('_request_timeout')
|
|
74
|
+
|
|
75
|
+
params = locals()
|
|
76
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
77
|
+
if key not in all_params:
|
|
78
|
+
raise TypeError(
|
|
79
|
+
"Got an unexpected keyword argument '%s'"
|
|
80
|
+
" to method disable_lap_report_reading" % key
|
|
81
|
+
)
|
|
82
|
+
params[key] = val
|
|
83
|
+
del params['kwargs']
|
|
84
|
+
|
|
85
|
+
collection_formats = {}
|
|
86
|
+
|
|
87
|
+
path_params = {}
|
|
88
|
+
|
|
89
|
+
query_params = []
|
|
90
|
+
|
|
91
|
+
header_params = {}
|
|
92
|
+
|
|
93
|
+
form_params = []
|
|
94
|
+
local_var_files = {}
|
|
95
|
+
|
|
96
|
+
body_params = None
|
|
97
|
+
# HTTP header `Accept`
|
|
98
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
99
|
+
['application/json', 'text/json']) # noqa: E501
|
|
100
|
+
|
|
101
|
+
# Authentication setting
|
|
102
|
+
auth_settings = [] # noqa: E501
|
|
103
|
+
|
|
104
|
+
return self.api_client.call_api(
|
|
105
|
+
'/teamdbapi/v2.0/disablelapreportreading', 'POST',
|
|
106
|
+
path_params,
|
|
107
|
+
query_params,
|
|
108
|
+
header_params,
|
|
109
|
+
body=body_params,
|
|
110
|
+
post_params=form_params,
|
|
111
|
+
files=local_var_files,
|
|
112
|
+
response_type=None, # noqa: E501
|
|
113
|
+
auth_settings=auth_settings,
|
|
114
|
+
async_req=params.get('async_req'),
|
|
115
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
116
|
+
_preload_content=params.get('_preload_content', True),
|
|
117
|
+
_request_timeout=params.get('_request_timeout'),
|
|
118
|
+
collection_formats=collection_formats)
|
|
119
|
+
|
|
120
|
+
def enable_lap_report_reading(self, **kwargs): # noqa: E501
|
|
121
|
+
"""[Command] Enables the lap report reading # noqa: E501
|
|
122
|
+
|
|
123
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
124
|
+
asynchronous HTTP request, please pass async_req=True
|
|
125
|
+
>>> thread = api.enable_lap_report_reading(async_req=True)
|
|
126
|
+
>>> result = thread.get()
|
|
127
|
+
|
|
128
|
+
:param async_req bool
|
|
129
|
+
:return: None
|
|
130
|
+
If the method is called asynchronously,
|
|
131
|
+
returns the request thread.
|
|
132
|
+
"""
|
|
133
|
+
kwargs['_return_http_data_only'] = True
|
|
134
|
+
if kwargs.get('async_req'):
|
|
135
|
+
return self.enable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
136
|
+
else:
|
|
137
|
+
(data) = self.enable_lap_report_reading_with_http_info(**kwargs) # noqa: E501
|
|
138
|
+
return data
|
|
139
|
+
|
|
140
|
+
def enable_lap_report_reading_with_http_info(self, **kwargs): # noqa: E501
|
|
141
|
+
"""[Command] Enables the lap report reading # noqa: E501
|
|
142
|
+
|
|
143
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
144
|
+
asynchronous HTTP request, please pass async_req=True
|
|
145
|
+
>>> thread = api.enable_lap_report_reading_with_http_info(async_req=True)
|
|
146
|
+
>>> result = thread.get()
|
|
147
|
+
|
|
148
|
+
:param async_req bool
|
|
149
|
+
:return: None
|
|
150
|
+
If the method is called asynchronously,
|
|
151
|
+
returns the request thread.
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
all_params = [] # noqa: E501
|
|
155
|
+
all_params.append('async_req')
|
|
156
|
+
all_params.append('_return_http_data_only')
|
|
157
|
+
all_params.append('_preload_content')
|
|
158
|
+
all_params.append('_request_timeout')
|
|
159
|
+
|
|
160
|
+
params = locals()
|
|
161
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
162
|
+
if key not in all_params:
|
|
163
|
+
raise TypeError(
|
|
164
|
+
"Got an unexpected keyword argument '%s'"
|
|
165
|
+
" to method enable_lap_report_reading" % key
|
|
166
|
+
)
|
|
167
|
+
params[key] = val
|
|
168
|
+
del params['kwargs']
|
|
169
|
+
|
|
170
|
+
collection_formats = {}
|
|
171
|
+
|
|
172
|
+
path_params = {}
|
|
173
|
+
|
|
174
|
+
query_params = []
|
|
175
|
+
|
|
176
|
+
header_params = {}
|
|
177
|
+
|
|
178
|
+
form_params = []
|
|
179
|
+
local_var_files = {}
|
|
180
|
+
|
|
181
|
+
body_params = None
|
|
182
|
+
# HTTP header `Accept`
|
|
183
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
184
|
+
['application/json', 'text/json']) # noqa: E501
|
|
185
|
+
|
|
186
|
+
# Authentication setting
|
|
187
|
+
auth_settings = [] # noqa: E501
|
|
188
|
+
|
|
189
|
+
return self.api_client.call_api(
|
|
190
|
+
'/teamdbapi/v2.0/enablelapreportreading', 'POST',
|
|
191
|
+
path_params,
|
|
192
|
+
query_params,
|
|
193
|
+
header_params,
|
|
194
|
+
body=body_params,
|
|
195
|
+
post_params=form_params,
|
|
196
|
+
files=local_var_files,
|
|
197
|
+
response_type=None, # noqa: E501
|
|
198
|
+
auth_settings=auth_settings,
|
|
199
|
+
async_req=params.get('async_req'),
|
|
200
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
201
|
+
_preload_content=params.get('_preload_content', True),
|
|
202
|
+
_request_timeout=params.get('_request_timeout'),
|
|
203
|
+
collection_formats=collection_formats)
|
|
204
|
+
|
|
205
|
+
def get_lap_report_options(self, **kwargs): # noqa: E501
|
|
206
|
+
"""Get the current lap report options # noqa: E501
|
|
207
|
+
|
|
208
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
209
|
+
asynchronous HTTP request, please pass async_req=True
|
|
210
|
+
>>> thread = api.get_lap_report_options(async_req=True)
|
|
211
|
+
>>> result = thread.get()
|
|
212
|
+
|
|
213
|
+
:param async_req bool
|
|
214
|
+
:return: LapReportOptions
|
|
215
|
+
If the method is called asynchronously,
|
|
216
|
+
returns the request thread.
|
|
217
|
+
"""
|
|
218
|
+
kwargs['_return_http_data_only'] = True
|
|
219
|
+
if kwargs.get('async_req'):
|
|
220
|
+
return self.get_lap_report_options_with_http_info(**kwargs) # noqa: E501
|
|
221
|
+
else:
|
|
222
|
+
(data) = self.get_lap_report_options_with_http_info(**kwargs) # noqa: E501
|
|
223
|
+
return data
|
|
224
|
+
|
|
225
|
+
def get_lap_report_options_with_http_info(self, **kwargs): # noqa: E501
|
|
226
|
+
"""Get the current lap report options # noqa: E501
|
|
227
|
+
|
|
228
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
229
|
+
asynchronous HTTP request, please pass async_req=True
|
|
230
|
+
>>> thread = api.get_lap_report_options_with_http_info(async_req=True)
|
|
231
|
+
>>> result = thread.get()
|
|
232
|
+
|
|
233
|
+
:param async_req bool
|
|
234
|
+
:return: LapReportOptions
|
|
235
|
+
If the method is called asynchronously,
|
|
236
|
+
returns the request thread.
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
all_params = [] # noqa: E501
|
|
240
|
+
all_params.append('async_req')
|
|
241
|
+
all_params.append('_return_http_data_only')
|
|
242
|
+
all_params.append('_preload_content')
|
|
243
|
+
all_params.append('_request_timeout')
|
|
244
|
+
|
|
245
|
+
params = locals()
|
|
246
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
247
|
+
if key not in all_params:
|
|
248
|
+
raise TypeError(
|
|
249
|
+
"Got an unexpected keyword argument '%s'"
|
|
250
|
+
" to method get_lap_report_options" % key
|
|
251
|
+
)
|
|
252
|
+
params[key] = val
|
|
253
|
+
del params['kwargs']
|
|
254
|
+
|
|
255
|
+
collection_formats = {}
|
|
256
|
+
|
|
257
|
+
path_params = {}
|
|
258
|
+
|
|
259
|
+
query_params = []
|
|
260
|
+
|
|
261
|
+
header_params = {}
|
|
262
|
+
|
|
263
|
+
form_params = []
|
|
264
|
+
local_var_files = {}
|
|
265
|
+
|
|
266
|
+
body_params = None
|
|
267
|
+
# HTTP header `Accept`
|
|
268
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
269
|
+
['application/json', 'text/json']) # noqa: E501
|
|
270
|
+
|
|
271
|
+
# Authentication setting
|
|
272
|
+
auth_settings = [] # noqa: E501
|
|
273
|
+
|
|
274
|
+
return self.api_client.call_api(
|
|
275
|
+
'/teamdbapi/v2.0/LapReportOptions', 'GET',
|
|
276
|
+
path_params,
|
|
277
|
+
query_params,
|
|
278
|
+
header_params,
|
|
279
|
+
body=body_params,
|
|
280
|
+
post_params=form_params,
|
|
281
|
+
files=local_var_files,
|
|
282
|
+
response_type='LapReportOptions', # noqa: E501
|
|
283
|
+
auth_settings=auth_settings,
|
|
284
|
+
async_req=params.get('async_req'),
|
|
285
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
286
|
+
_preload_content=params.get('_preload_content', True),
|
|
287
|
+
_request_timeout=params.get('_request_timeout'),
|
|
288
|
+
collection_formats=collection_formats)
|
|
289
|
+
|
|
290
|
+
def load_lap_report(self, file_path, lap_report_file_format, **kwargs): # noqa: E501
|
|
291
|
+
"""Load a full lap report # noqa: E501
|
|
292
|
+
|
|
293
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
294
|
+
asynchronous HTTP request, please pass async_req=True
|
|
295
|
+
>>> thread = api.load_lap_report(file_path, lap_report_file_format, async_req=True)
|
|
296
|
+
>>> result = thread.get()
|
|
297
|
+
|
|
298
|
+
:param async_req bool
|
|
299
|
+
:param str file_path: The lap report path (required)
|
|
300
|
+
:param str lap_report_file_format: The lap report file format: Wintax or Atlas (required)
|
|
301
|
+
:param str session_id: The identifier of the session in which the report is to be loaded; if there is none, the report is imported into the current session.
|
|
302
|
+
:return: None
|
|
303
|
+
If the method is called asynchronously,
|
|
304
|
+
returns the request thread.
|
|
305
|
+
"""
|
|
306
|
+
kwargs['_return_http_data_only'] = True
|
|
307
|
+
if kwargs.get('async_req'):
|
|
308
|
+
return self.load_lap_report_with_http_info(file_path, lap_report_file_format, **kwargs) # noqa: E501
|
|
309
|
+
else:
|
|
310
|
+
(data) = self.load_lap_report_with_http_info(file_path, lap_report_file_format, **kwargs) # noqa: E501
|
|
311
|
+
return data
|
|
312
|
+
|
|
313
|
+
def load_lap_report_with_http_info(self, file_path, lap_report_file_format, **kwargs): # noqa: E501
|
|
314
|
+
"""Load a full lap report # noqa: E501
|
|
315
|
+
|
|
316
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
317
|
+
asynchronous HTTP request, please pass async_req=True
|
|
318
|
+
>>> thread = api.load_lap_report_with_http_info(file_path, lap_report_file_format, async_req=True)
|
|
319
|
+
>>> result = thread.get()
|
|
320
|
+
|
|
321
|
+
:param async_req bool
|
|
322
|
+
:param str file_path: The lap report path (required)
|
|
323
|
+
:param str lap_report_file_format: The lap report file format: Wintax or Atlas (required)
|
|
324
|
+
:param str session_id: The identifier of the session in which the report is to be loaded; if there is none, the report is imported into the current session.
|
|
325
|
+
:return: None
|
|
326
|
+
If the method is called asynchronously,
|
|
327
|
+
returns the request thread.
|
|
328
|
+
"""
|
|
329
|
+
|
|
330
|
+
all_params = ['file_path', 'lap_report_file_format', 'session_id'] # noqa: E501
|
|
331
|
+
all_params.append('async_req')
|
|
332
|
+
all_params.append('_return_http_data_only')
|
|
333
|
+
all_params.append('_preload_content')
|
|
334
|
+
all_params.append('_request_timeout')
|
|
335
|
+
|
|
336
|
+
params = locals()
|
|
337
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
338
|
+
if key not in all_params:
|
|
339
|
+
raise TypeError(
|
|
340
|
+
"Got an unexpected keyword argument '%s'"
|
|
341
|
+
" to method load_lap_report" % key
|
|
342
|
+
)
|
|
343
|
+
params[key] = val
|
|
344
|
+
del params['kwargs']
|
|
345
|
+
# verify the required parameter 'file_path' is set
|
|
346
|
+
if ('file_path' not in params or
|
|
347
|
+
params['file_path'] is None):
|
|
348
|
+
raise ValueError("Missing the required parameter `file_path` when calling `load_lap_report`") # noqa: E501
|
|
349
|
+
# verify the required parameter 'lap_report_file_format' is set
|
|
350
|
+
if ('lap_report_file_format' not in params or
|
|
351
|
+
params['lap_report_file_format'] is None):
|
|
352
|
+
raise ValueError("Missing the required parameter `lap_report_file_format` when calling `load_lap_report`") # noqa: E501
|
|
353
|
+
|
|
354
|
+
collection_formats = {}
|
|
355
|
+
|
|
356
|
+
path_params = {}
|
|
357
|
+
|
|
358
|
+
query_params = []
|
|
359
|
+
if 'file_path' in params:
|
|
360
|
+
query_params.append(('filePath', params['file_path'])) # noqa: E501
|
|
361
|
+
if 'lap_report_file_format' in params:
|
|
362
|
+
query_params.append(('lapReportFileFormat', params['lap_report_file_format'])) # noqa: E501
|
|
363
|
+
if 'session_id' in params:
|
|
364
|
+
query_params.append(('sessionId', params['session_id'])) # noqa: E501
|
|
365
|
+
|
|
366
|
+
header_params = {}
|
|
367
|
+
|
|
368
|
+
form_params = []
|
|
369
|
+
local_var_files = {}
|
|
370
|
+
|
|
371
|
+
body_params = None
|
|
372
|
+
# HTTP header `Accept`
|
|
373
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
374
|
+
['application/json', 'text/json']) # noqa: E501
|
|
375
|
+
|
|
376
|
+
# Authentication setting
|
|
377
|
+
auth_settings = [] # noqa: E501
|
|
378
|
+
|
|
379
|
+
return self.api_client.call_api(
|
|
380
|
+
'/teamdbapi/v2.0/loadlapreport', 'POST',
|
|
381
|
+
path_params,
|
|
382
|
+
query_params,
|
|
383
|
+
header_params,
|
|
384
|
+
body=body_params,
|
|
385
|
+
post_params=form_params,
|
|
386
|
+
files=local_var_files,
|
|
387
|
+
response_type=None, # noqa: E501
|
|
388
|
+
auth_settings=auth_settings,
|
|
389
|
+
async_req=params.get('async_req'),
|
|
390
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
391
|
+
_preload_content=params.get('_preload_content', True),
|
|
392
|
+
_request_timeout=params.get('_request_timeout'),
|
|
393
|
+
collection_formats=collection_formats)
|
|
394
|
+
|
|
395
|
+
def set_lap_report_options(self, body, **kwargs): # noqa: E501
|
|
396
|
+
"""[Command] Set the lap report options # noqa: E501
|
|
397
|
+
|
|
398
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
399
|
+
asynchronous HTTP request, please pass async_req=True
|
|
400
|
+
>>> thread = api.set_lap_report_options(body, async_req=True)
|
|
401
|
+
>>> result = thread.get()
|
|
402
|
+
|
|
403
|
+
:param async_req bool
|
|
404
|
+
:param LapReportOptions body: The lap report options (isSingleMode, file format, file path) (required)
|
|
405
|
+
:return: None
|
|
406
|
+
If the method is called asynchronously,
|
|
407
|
+
returns the request thread.
|
|
408
|
+
"""
|
|
409
|
+
kwargs['_return_http_data_only'] = True
|
|
410
|
+
if kwargs.get('async_req'):
|
|
411
|
+
return self.set_lap_report_options_with_http_info(body, **kwargs) # noqa: E501
|
|
412
|
+
else:
|
|
413
|
+
(data) = self.set_lap_report_options_with_http_info(body, **kwargs) # noqa: E501
|
|
414
|
+
return data
|
|
415
|
+
|
|
416
|
+
def set_lap_report_options_with_http_info(self, body, **kwargs): # noqa: E501
|
|
417
|
+
"""[Command] Set the lap report options # noqa: E501
|
|
418
|
+
|
|
419
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
420
|
+
asynchronous HTTP request, please pass async_req=True
|
|
421
|
+
>>> thread = api.set_lap_report_options_with_http_info(body, async_req=True)
|
|
422
|
+
>>> result = thread.get()
|
|
423
|
+
|
|
424
|
+
:param async_req bool
|
|
425
|
+
:param LapReportOptions body: The lap report options (isSingleMode, file format, file path) (required)
|
|
426
|
+
:return: None
|
|
427
|
+
If the method is called asynchronously,
|
|
428
|
+
returns the request thread.
|
|
429
|
+
"""
|
|
430
|
+
|
|
431
|
+
all_params = ['body'] # noqa: E501
|
|
432
|
+
all_params.append('async_req')
|
|
433
|
+
all_params.append('_return_http_data_only')
|
|
434
|
+
all_params.append('_preload_content')
|
|
435
|
+
all_params.append('_request_timeout')
|
|
436
|
+
|
|
437
|
+
params = locals()
|
|
438
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
439
|
+
if key not in all_params:
|
|
440
|
+
raise TypeError(
|
|
441
|
+
"Got an unexpected keyword argument '%s'"
|
|
442
|
+
" to method set_lap_report_options" % key
|
|
443
|
+
)
|
|
444
|
+
params[key] = val
|
|
445
|
+
del params['kwargs']
|
|
446
|
+
# verify the required parameter 'body' is set
|
|
447
|
+
if ('body' not in params or
|
|
448
|
+
params['body'] is None):
|
|
449
|
+
raise ValueError("Missing the required parameter `body` when calling `set_lap_report_options`") # noqa: E501
|
|
450
|
+
|
|
451
|
+
collection_formats = {}
|
|
452
|
+
|
|
453
|
+
path_params = {}
|
|
454
|
+
|
|
455
|
+
query_params = []
|
|
456
|
+
|
|
457
|
+
header_params = {}
|
|
458
|
+
|
|
459
|
+
form_params = []
|
|
460
|
+
local_var_files = {}
|
|
461
|
+
|
|
462
|
+
body_params = None
|
|
463
|
+
if 'body' in params:
|
|
464
|
+
body_params = params['body']
|
|
465
|
+
# HTTP header `Accept`
|
|
466
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
467
|
+
['application/json', 'text/json']) # noqa: E501
|
|
468
|
+
|
|
469
|
+
# HTTP header `Content-Type`
|
|
470
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
471
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
472
|
+
|
|
473
|
+
# Authentication setting
|
|
474
|
+
auth_settings = [] # noqa: E501
|
|
475
|
+
|
|
476
|
+
return self.api_client.call_api(
|
|
477
|
+
'/teamdbapi/v2.0/lapreportoptions', 'POST',
|
|
478
|
+
path_params,
|
|
479
|
+
query_params,
|
|
480
|
+
header_params,
|
|
481
|
+
body=body_params,
|
|
482
|
+
post_params=form_params,
|
|
483
|
+
files=local_var_files,
|
|
484
|
+
response_type=None, # noqa: E501
|
|
485
|
+
auth_settings=auth_settings,
|
|
486
|
+
async_req=params.get('async_req'),
|
|
487
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
488
|
+
_preload_content=params.get('_preload_content', True),
|
|
489
|
+
_request_timeout=params.get('_request_timeout'),
|
|
490
|
+
collection_formats=collection_formats)
|