teamdbapi 3.10.1__py3-none-any.whl → 3.11.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/api/assembly_api.py +21 -21
- teamdbapi/api/car_api.py +9 -9
- teamdbapi/api/component_api.py +12 -12
- teamdbapi/api/config_api.py +1 -1
- teamdbapi/api/criteria_api.py +6 -6
- teamdbapi/api/edit_api.py +6 -6
- teamdbapi/api/event_api.py +9 -9
- teamdbapi/api/fixed_field_api.py +3 -3
- teamdbapi/api/group_api.py +6 -6
- teamdbapi/api/import_export_api.py +7 -7
- teamdbapi/api/issue_api.py +18 -18
- teamdbapi/api/lap_api.py +7 -7
- teamdbapi/api/lap_report_api.py +5 -5
- teamdbapi/api/model_field_api.py +7 -7
- teamdbapi/api/mounting_api.py +3 -3
- teamdbapi/api/notes_authorization_api.py +3 -3
- teamdbapi/api/overall_api.py +1 -1
- teamdbapi/api/parameter_api.py +11 -11
- teamdbapi/api/parameter_binding_api.py +5 -5
- teamdbapi/api/part_api.py +9 -9
- teamdbapi/api/report_api.py +1 -1
- teamdbapi/api/revision_api.py +14 -14
- teamdbapi/api/revision_editor_selector_api.py +9 -9
- teamdbapi/api/run_api.py +6 -6
- teamdbapi/api/script_api.py +5 -5
- teamdbapi/api/session_api.py +7 -7
- teamdbapi/api/target_api.py +4 -4
- teamdbapi/api/team_db_list_api.py +10 -10
- teamdbapi/api/team_db_view_api.py +5 -5
- teamdbapi/api/tire_api.py +6 -6
- teamdbapi/api/tire_set_api.py +5 -5
- teamdbapi/api/track_api.py +5 -5
- teamdbapi/api/track_layout_api.py +5 -5
- teamdbapi/api/update_request_api.py +2 -2
- teamdbapi/api/user_api.py +5 -5
- teamdbapi/api/value_field_api.py +6 -6
- teamdbapi/api/version_api.py +4 -4
- teamdbapi/configuration.py +7 -0
- teamdbapi/models/part_count.py +2 -2
- teamdbapi/models/team_db_list_item.py +31 -3
- teamdbapi-3.11.0.dist-info/METADATA +135 -0
- {teamdbapi-3.10.1.dist-info → teamdbapi-3.11.0.dist-info}/RECORD +44 -44
- {teamdbapi-3.10.1.dist-info → teamdbapi-3.11.0.dist-info}/licenses/LICENSE +1 -1
- teamdbapi-3.10.1.dist-info/METADATA +0 -91
- {teamdbapi-3.10.1.dist-info → teamdbapi-3.11.0.dist-info}/WHEEL +0 -0
teamdbapi/api/tire_api.py
CHANGED
|
@@ -112,7 +112,7 @@ class TireApi(object):
|
|
|
112
112
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
113
113
|
|
|
114
114
|
# Authentication setting
|
|
115
|
-
auth_settings = [] # noqa: E501
|
|
115
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
116
116
|
|
|
117
117
|
return self.api_client.call_api(
|
|
118
118
|
'/teamdbapi/v2.0/tire', 'POST',
|
|
@@ -205,7 +205,7 @@ class TireApi(object):
|
|
|
205
205
|
['application/json', 'text/json']) # noqa: E501
|
|
206
206
|
|
|
207
207
|
# Authentication setting
|
|
208
|
-
auth_settings = [] # noqa: E501
|
|
208
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
209
209
|
|
|
210
210
|
return self.api_client.call_api(
|
|
211
211
|
'/teamdbapi/v2.0/tire/{tireId}', 'DELETE',
|
|
@@ -298,7 +298,7 @@ class TireApi(object):
|
|
|
298
298
|
['application/json', 'text/json']) # noqa: E501
|
|
299
299
|
|
|
300
300
|
# Authentication setting
|
|
301
|
-
auth_settings = [] # noqa: E501
|
|
301
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
302
302
|
|
|
303
303
|
return self.api_client.call_api(
|
|
304
304
|
'/teamdbapi/v2.0/tire/{tireId}', 'GET',
|
|
@@ -391,7 +391,7 @@ class TireApi(object):
|
|
|
391
391
|
['application/json', 'text/json']) # noqa: E501
|
|
392
392
|
|
|
393
393
|
# Authentication setting
|
|
394
|
-
auth_settings = [] # noqa: E501
|
|
394
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
395
395
|
|
|
396
396
|
return self.api_client.call_api(
|
|
397
397
|
'/teamdbapi/v2.0/event/{eventId}/tires', 'GET',
|
|
@@ -476,7 +476,7 @@ class TireApi(object):
|
|
|
476
476
|
['application/json', 'text/json']) # noqa: E501
|
|
477
477
|
|
|
478
478
|
# Authentication setting
|
|
479
|
-
auth_settings = [] # noqa: E501
|
|
479
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
480
480
|
|
|
481
481
|
return self.api_client.call_api(
|
|
482
482
|
'/teamdbapi/v2.0/typeTireRubbers', 'GET',
|
|
@@ -581,7 +581,7 @@ class TireApi(object):
|
|
|
581
581
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
582
582
|
|
|
583
583
|
# Authentication setting
|
|
584
|
-
auth_settings = [] # noqa: E501
|
|
584
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
585
585
|
|
|
586
586
|
return self.api_client.call_api(
|
|
587
587
|
'/teamdbapi/v2.0/tire/{tireId}', 'PUT',
|
teamdbapi/api/tire_set_api.py
CHANGED
|
@@ -112,7 +112,7 @@ class TireSetApi(object):
|
|
|
112
112
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
113
113
|
|
|
114
114
|
# Authentication setting
|
|
115
|
-
auth_settings = [] # noqa: E501
|
|
115
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
116
116
|
|
|
117
117
|
return self.api_client.call_api(
|
|
118
118
|
'/teamdbapi/v2.0/tireset', 'POST',
|
|
@@ -205,7 +205,7 @@ class TireSetApi(object):
|
|
|
205
205
|
['application/json', 'text/json']) # noqa: E501
|
|
206
206
|
|
|
207
207
|
# Authentication setting
|
|
208
|
-
auth_settings = [] # noqa: E501
|
|
208
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
209
209
|
|
|
210
210
|
return self.api_client.call_api(
|
|
211
211
|
'/teamdbapi/v2.0/tireset/{tireSetId}', 'DELETE',
|
|
@@ -298,7 +298,7 @@ class TireSetApi(object):
|
|
|
298
298
|
['application/json', 'text/json']) # noqa: E501
|
|
299
299
|
|
|
300
300
|
# Authentication setting
|
|
301
|
-
auth_settings = [] # noqa: E501
|
|
301
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
302
302
|
|
|
303
303
|
return self.api_client.call_api(
|
|
304
304
|
'/teamdbapi/v2.0/tireset/{tireSetId}', 'GET',
|
|
@@ -391,7 +391,7 @@ class TireSetApi(object):
|
|
|
391
391
|
['application/json', 'text/json']) # noqa: E501
|
|
392
392
|
|
|
393
393
|
# Authentication setting
|
|
394
|
-
auth_settings = [] # noqa: E501
|
|
394
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
395
395
|
|
|
396
396
|
return self.api_client.call_api(
|
|
397
397
|
'/teamdbapi/v2.0/event/{eventId}/tiresets', 'GET',
|
|
@@ -496,7 +496,7 @@ class TireSetApi(object):
|
|
|
496
496
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
497
497
|
|
|
498
498
|
# Authentication setting
|
|
499
|
-
auth_settings = [] # noqa: E501
|
|
499
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
500
500
|
|
|
501
501
|
return self.api_client.call_api(
|
|
502
502
|
'/teamdbapi/v2.0/tireset/{tireSetId}', 'PUT',
|
teamdbapi/api/track_api.py
CHANGED
|
@@ -112,7 +112,7 @@ class TrackApi(object):
|
|
|
112
112
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
113
113
|
|
|
114
114
|
# Authentication setting
|
|
115
|
-
auth_settings = [] # noqa: E501
|
|
115
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
116
116
|
|
|
117
117
|
return self.api_client.call_api(
|
|
118
118
|
'/teamdbapi/v2.0/track', 'POST',
|
|
@@ -205,7 +205,7 @@ class TrackApi(object):
|
|
|
205
205
|
['application/json', 'text/json']) # noqa: E501
|
|
206
206
|
|
|
207
207
|
# Authentication setting
|
|
208
|
-
auth_settings = [] # noqa: E501
|
|
208
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
209
209
|
|
|
210
210
|
return self.api_client.call_api(
|
|
211
211
|
'/teamdbapi/v2.0/track/{trackId}', 'DELETE',
|
|
@@ -298,7 +298,7 @@ class TrackApi(object):
|
|
|
298
298
|
['application/json', 'text/json']) # noqa: E501
|
|
299
299
|
|
|
300
300
|
# Authentication setting
|
|
301
|
-
auth_settings = [] # noqa: E501
|
|
301
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
302
302
|
|
|
303
303
|
return self.api_client.call_api(
|
|
304
304
|
'/teamdbapi/v2.0/track/{trackId}', 'GET',
|
|
@@ -383,7 +383,7 @@ class TrackApi(object):
|
|
|
383
383
|
['application/json', 'text/json']) # noqa: E501
|
|
384
384
|
|
|
385
385
|
# Authentication setting
|
|
386
|
-
auth_settings = [] # noqa: E501
|
|
386
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
387
387
|
|
|
388
388
|
return self.api_client.call_api(
|
|
389
389
|
'/teamdbapi/v2.0/tracks', 'GET',
|
|
@@ -488,7 +488,7 @@ class TrackApi(object):
|
|
|
488
488
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
489
489
|
|
|
490
490
|
# Authentication setting
|
|
491
|
-
auth_settings = [] # noqa: E501
|
|
491
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
492
492
|
|
|
493
493
|
return self.api_client.call_api(
|
|
494
494
|
'/teamdbapi/v2.0/track/{trackId}', 'PUT',
|
|
@@ -112,7 +112,7 @@ class TrackLayoutApi(object):
|
|
|
112
112
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
113
113
|
|
|
114
114
|
# Authentication setting
|
|
115
|
-
auth_settings = [] # noqa: E501
|
|
115
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
116
116
|
|
|
117
117
|
return self.api_client.call_api(
|
|
118
118
|
'/teamdbapi/v2.0/tracklayout', 'POST',
|
|
@@ -205,7 +205,7 @@ class TrackLayoutApi(object):
|
|
|
205
205
|
['application/json', 'text/json']) # noqa: E501
|
|
206
206
|
|
|
207
207
|
# Authentication setting
|
|
208
|
-
auth_settings = [] # noqa: E501
|
|
208
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
209
209
|
|
|
210
210
|
return self.api_client.call_api(
|
|
211
211
|
'/teamdbapi/v2.0/tracklayout/{trackLayoutId}', 'DELETE',
|
|
@@ -298,7 +298,7 @@ class TrackLayoutApi(object):
|
|
|
298
298
|
['application/json', 'text/json']) # noqa: E501
|
|
299
299
|
|
|
300
300
|
# Authentication setting
|
|
301
|
-
auth_settings = [] # noqa: E501
|
|
301
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
302
302
|
|
|
303
303
|
return self.api_client.call_api(
|
|
304
304
|
'/teamdbapi/v2.0/tracklayout/{trackLayoutId}', 'GET',
|
|
@@ -391,7 +391,7 @@ class TrackLayoutApi(object):
|
|
|
391
391
|
['application/json', 'text/json']) # noqa: E501
|
|
392
392
|
|
|
393
393
|
# Authentication setting
|
|
394
|
-
auth_settings = [] # noqa: E501
|
|
394
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
395
395
|
|
|
396
396
|
return self.api_client.call_api(
|
|
397
397
|
'/teamdbapi/v2.0/track/{trackId}/layouts', 'GET',
|
|
@@ -496,7 +496,7 @@ class TrackLayoutApi(object):
|
|
|
496
496
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
497
497
|
|
|
498
498
|
# Authentication setting
|
|
499
|
-
auth_settings = [] # noqa: E501
|
|
499
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
500
500
|
|
|
501
501
|
return self.api_client.call_api(
|
|
502
502
|
'/teamdbapi/v2.0/tracklayout/{trackLayoutId}', 'PUT',
|
|
@@ -116,7 +116,7 @@ class UpdateRequestApi(object):
|
|
|
116
116
|
['application/json', 'text/json']) # noqa: E501
|
|
117
117
|
|
|
118
118
|
# Authentication setting
|
|
119
|
-
auth_settings = [] # noqa: E501
|
|
119
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
120
120
|
|
|
121
121
|
return self.api_client.call_api(
|
|
122
122
|
'/updaterequeststatus/target/{targetId}/car/{carId}', 'GET',
|
|
@@ -217,7 +217,7 @@ class UpdateRequestApi(object):
|
|
|
217
217
|
['application/json', 'text/json']) # noqa: E501
|
|
218
218
|
|
|
219
219
|
# Authentication setting
|
|
220
|
-
auth_settings = [] # noqa: E501
|
|
220
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
221
221
|
|
|
222
222
|
return self.api_client.call_api(
|
|
223
223
|
'/updaterequeststatus/reset/target/{targetId}/car/{carId}', 'POST',
|
teamdbapi/api/user_api.py
CHANGED
|
@@ -100,7 +100,7 @@ class UserApi(object):
|
|
|
100
100
|
['application/json', 'text/json']) # noqa: E501
|
|
101
101
|
|
|
102
102
|
# Authentication setting
|
|
103
|
-
auth_settings = [] # noqa: E501
|
|
103
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
104
104
|
|
|
105
105
|
return self.api_client.call_api(
|
|
106
106
|
'/teamdbapi/v2.0/user/current', 'GET',
|
|
@@ -193,7 +193,7 @@ class UserApi(object):
|
|
|
193
193
|
['application/json', 'text/json']) # noqa: E501
|
|
194
194
|
|
|
195
195
|
# Authentication setting
|
|
196
|
-
auth_settings = [] # noqa: E501
|
|
196
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
197
197
|
|
|
198
198
|
return self.api_client.call_api(
|
|
199
199
|
'/teamdbapi/v2.0/user/{userId}', 'GET',
|
|
@@ -286,7 +286,7 @@ class UserApi(object):
|
|
|
286
286
|
['application/json', 'text/json']) # noqa: E501
|
|
287
287
|
|
|
288
288
|
# Authentication setting
|
|
289
|
-
auth_settings = [] # noqa: E501
|
|
289
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
290
290
|
|
|
291
291
|
return self.api_client.call_api(
|
|
292
292
|
'/teamdbapi/v2.0/usergroup/{userGroupId}', 'GET',
|
|
@@ -371,7 +371,7 @@ class UserApi(object):
|
|
|
371
371
|
['application/json', 'text/json']) # noqa: E501
|
|
372
372
|
|
|
373
373
|
# Authentication setting
|
|
374
|
-
auth_settings = [] # noqa: E501
|
|
374
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
375
375
|
|
|
376
376
|
return self.api_client.call_api(
|
|
377
377
|
'/teamdbapi/v2.0/usergroups', 'GET',
|
|
@@ -456,7 +456,7 @@ class UserApi(object):
|
|
|
456
456
|
['application/json', 'text/json']) # noqa: E501
|
|
457
457
|
|
|
458
458
|
# Authentication setting
|
|
459
|
-
auth_settings = [] # noqa: E501
|
|
459
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
460
460
|
|
|
461
461
|
return self.api_client.call_api(
|
|
462
462
|
'/teamdbapi/v2.0/users', 'GET',
|
teamdbapi/api/value_field_api.py
CHANGED
|
@@ -112,7 +112,7 @@ class ValueFieldApi(object):
|
|
|
112
112
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
113
113
|
|
|
114
114
|
# Authentication setting
|
|
115
|
-
auth_settings = [] # noqa: E501
|
|
115
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
116
116
|
|
|
117
117
|
return self.api_client.call_api(
|
|
118
118
|
'/teamdbapi/v2.0/valuefields', 'POST',
|
|
@@ -221,7 +221,7 @@ class ValueFieldApi(object):
|
|
|
221
221
|
['application/json', 'text/json']) # noqa: E501
|
|
222
222
|
|
|
223
223
|
# Authentication setting
|
|
224
|
-
auth_settings = [] # noqa: E501
|
|
224
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
225
225
|
|
|
226
226
|
return self.api_client.call_api(
|
|
227
227
|
'/teamdbapi/v2.0/modelfield/{modelFieldId}/valuefield', 'GET',
|
|
@@ -330,7 +330,7 @@ class ValueFieldApi(object):
|
|
|
330
330
|
['application/json', 'text/json']) # noqa: E501
|
|
331
331
|
|
|
332
332
|
# Authentication setting
|
|
333
|
-
auth_settings = [] # noqa: E501
|
|
333
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
334
334
|
|
|
335
335
|
return self.api_client.call_api(
|
|
336
336
|
'/teamdbapi/v2.0/modelfield/{fieldName}/fieldType/{fieldType}/valuefield', 'GET',
|
|
@@ -431,7 +431,7 @@ class ValueFieldApi(object):
|
|
|
431
431
|
['application/json', 'text/json']) # noqa: E501
|
|
432
432
|
|
|
433
433
|
# Authentication setting
|
|
434
|
-
auth_settings = [] # noqa: E501
|
|
434
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
435
435
|
|
|
436
436
|
return self.api_client.call_api(
|
|
437
437
|
'/teamdbapi/v2.0/modelfield/{modelFieldId}/openMediaFile', 'POST',
|
|
@@ -528,7 +528,7 @@ class ValueFieldApi(object):
|
|
|
528
528
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
529
529
|
|
|
530
530
|
# Authentication setting
|
|
531
|
-
auth_settings = [] # noqa: E501
|
|
531
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
532
532
|
|
|
533
533
|
return self.api_client.call_api(
|
|
534
534
|
'/teamdbapi/v2.0/valuefields', 'PUT',
|
|
@@ -641,7 +641,7 @@ class ValueFieldApi(object):
|
|
|
641
641
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
642
642
|
|
|
643
643
|
# Authentication setting
|
|
644
|
-
auth_settings = [] # noqa: E501
|
|
644
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
645
645
|
|
|
646
646
|
return self.api_client.call_api(
|
|
647
647
|
'/teamdbapi/v2.0/modelfield/{modelFieldId}/valuefield', 'PUT',
|
teamdbapi/api/version_api.py
CHANGED
|
@@ -140,7 +140,7 @@ class VersionApi(object):
|
|
|
140
140
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
141
141
|
|
|
142
142
|
# Authentication setting
|
|
143
|
-
auth_settings = [] # noqa: E501
|
|
143
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
144
144
|
|
|
145
145
|
return self.api_client.call_api(
|
|
146
146
|
'/teamdbapi/v2.0/version', 'POST',
|
|
@@ -233,7 +233,7 @@ class VersionApi(object):
|
|
|
233
233
|
['application/json', 'text/json']) # noqa: E501
|
|
234
234
|
|
|
235
235
|
# Authentication setting
|
|
236
|
-
auth_settings = [] # noqa: E501
|
|
236
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
237
237
|
|
|
238
238
|
return self.api_client.call_api(
|
|
239
239
|
'/teamdbapi/v2.0/version/{versionId}', 'GET',
|
|
@@ -326,7 +326,7 @@ class VersionApi(object):
|
|
|
326
326
|
['application/json', 'text/json']) # noqa: E501
|
|
327
327
|
|
|
328
328
|
# Authentication setting
|
|
329
|
-
auth_settings = [] # noqa: E501
|
|
329
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
330
330
|
|
|
331
331
|
return self.api_client.call_api(
|
|
332
332
|
'/teamdbapi/v2.0/target/{targetId}/versions', 'GET',
|
|
@@ -431,7 +431,7 @@ class VersionApi(object):
|
|
|
431
431
|
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
432
432
|
|
|
433
433
|
# Authentication setting
|
|
434
|
-
auth_settings = [] # noqa: E501
|
|
434
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
435
435
|
|
|
436
436
|
return self.api_client.call_api(
|
|
437
437
|
'/teamdbapi/v2.0/version/{versionId}', 'PUT',
|
teamdbapi/configuration.py
CHANGED
|
@@ -235,6 +235,13 @@ class Configuration(object):
|
|
|
235
235
|
:return: The Auth Settings information dict.
|
|
236
236
|
"""
|
|
237
237
|
return {
|
|
238
|
+
'TdbApiKey':
|
|
239
|
+
{
|
|
240
|
+
'type': 'api_key',
|
|
241
|
+
'in': 'header',
|
|
242
|
+
'key': 'TDB_API_Key',
|
|
243
|
+
'value': self.get_api_key_with_prefix('TDB_API_Key')
|
|
244
|
+
},
|
|
238
245
|
|
|
239
246
|
}
|
|
240
247
|
|
teamdbapi/models/part_count.py
CHANGED
|
@@ -123,7 +123,7 @@ class PartCount(object):
|
|
|
123
123
|
def Count(self):
|
|
124
124
|
"""Gets the Count of this PartCount. # noqa: E501
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
Nombre d'occurence du part enfant dans le parent # noqa: E501
|
|
127
127
|
|
|
128
128
|
:return: The Count of this PartCount. # noqa: E501
|
|
129
129
|
:rtype: int
|
|
@@ -134,7 +134,7 @@ class PartCount(object):
|
|
|
134
134
|
def Count(self, Count):
|
|
135
135
|
"""Sets the Count of this PartCount.
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
Nombre d'occurence du part enfant dans le parent # noqa: E501
|
|
138
138
|
|
|
139
139
|
:param Count: The Count of this PartCount. # noqa: E501
|
|
140
140
|
:type: int
|
|
@@ -36,17 +36,19 @@ class TeamDBListItem(object):
|
|
|
36
36
|
'Id': 'str',
|
|
37
37
|
'ListId': 'str',
|
|
38
38
|
'Name': 'str',
|
|
39
|
-
'ItemOrder': 'int'
|
|
39
|
+
'ItemOrder': 'int',
|
|
40
|
+
'Enabled': 'bool'
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
attribute_map = {
|
|
43
44
|
'Id': 'Id',
|
|
44
45
|
'ListId': 'ListId',
|
|
45
46
|
'Name': 'Name',
|
|
46
|
-
'ItemOrder': 'ItemOrder'
|
|
47
|
+
'ItemOrder': 'ItemOrder',
|
|
48
|
+
'Enabled': 'Enabled'
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
def __init__(self, Id=None, ListId=None, Name=None, ItemOrder=None, _configuration=None): # noqa: E501
|
|
51
|
+
def __init__(self, Id=None, ListId=None, Name=None, ItemOrder=None, Enabled=None, _configuration=None): # noqa: E501
|
|
50
52
|
"""TeamDBListItem - a model defined in Swagger""" # noqa: E501
|
|
51
53
|
if _configuration is None:
|
|
52
54
|
_configuration = Configuration()
|
|
@@ -56,6 +58,7 @@ class TeamDBListItem(object):
|
|
|
56
58
|
self._ListId = None
|
|
57
59
|
self._Name = None
|
|
58
60
|
self._ItemOrder = None
|
|
61
|
+
self._Enabled = None
|
|
59
62
|
self.discriminator = None
|
|
60
63
|
|
|
61
64
|
self.Id = Id
|
|
@@ -63,6 +66,8 @@ class TeamDBListItem(object):
|
|
|
63
66
|
self.Name = Name
|
|
64
67
|
if ItemOrder is not None:
|
|
65
68
|
self.ItemOrder = ItemOrder
|
|
69
|
+
if Enabled is not None:
|
|
70
|
+
self.Enabled = Enabled
|
|
66
71
|
|
|
67
72
|
@property
|
|
68
73
|
def Id(self):
|
|
@@ -165,6 +170,29 @@ class TeamDBListItem(object):
|
|
|
165
170
|
|
|
166
171
|
self._ItemOrder = ItemOrder
|
|
167
172
|
|
|
173
|
+
@property
|
|
174
|
+
def Enabled(self):
|
|
175
|
+
"""Gets the Enabled of this TeamDBListItem. # noqa: E501
|
|
176
|
+
|
|
177
|
+
Indique si l'item est activé # noqa: E501
|
|
178
|
+
|
|
179
|
+
:return: The Enabled of this TeamDBListItem. # noqa: E501
|
|
180
|
+
:rtype: bool
|
|
181
|
+
"""
|
|
182
|
+
return self._Enabled
|
|
183
|
+
|
|
184
|
+
@Enabled.setter
|
|
185
|
+
def Enabled(self, Enabled):
|
|
186
|
+
"""Sets the Enabled of this TeamDBListItem.
|
|
187
|
+
|
|
188
|
+
Indique si l'item est activé # noqa: E501
|
|
189
|
+
|
|
190
|
+
:param Enabled: The Enabled of this TeamDBListItem. # noqa: E501
|
|
191
|
+
:type: bool
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
self._Enabled = Enabled
|
|
195
|
+
|
|
168
196
|
def to_dict(self):
|
|
169
197
|
"""Returns the model properties as a dict"""
|
|
170
198
|
result = {}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: teamdbapi
|
|
3
|
+
Version: 3.11.0
|
|
4
|
+
Summary: Easily access the TeamDB Web API.
|
|
5
|
+
Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
|
|
6
|
+
Author-email: Trackside Software <support@trackside.fr>
|
|
7
|
+
Requires-Python: >=3.4
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: certifi >= 14.05.14
|
|
14
|
+
Requires-Dist: six >= 1.10
|
|
15
|
+
Requires-Dist: python_dateutil >= 2.5.3
|
|
16
|
+
Requires-Dist: setuptools >= 21.0.0
|
|
17
|
+
Requires-Dist: urllib3 >= 1.15.1
|
|
18
|
+
Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
19
|
+
|
|
20
|
+
# teamdbapi
|
|
21
|
+
This module enables you to easily access the TeamDB Web API.
|
|
22
|
+
|
|
23
|
+
- Package version: 3.11.0
|
|
24
|
+
- TeamDB Web API version: 2.0
|
|
25
|
+
|
|
26
|
+
## Requirements.
|
|
27
|
+
|
|
28
|
+
- Python 3.4+
|
|
29
|
+
- TeamDB 3.11.0
|
|
30
|
+
|
|
31
|
+
## Installation and usage
|
|
32
|
+
### pip install
|
|
33
|
+
|
|
34
|
+
Install via [pip](https://pypi.org/project/pip/).
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
pip install teamdbapi
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Then import the package:
|
|
41
|
+
```python
|
|
42
|
+
import teamdbapi
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Getting Started
|
|
46
|
+
|
|
47
|
+
Please follow the installation procedure above and then, depending your TeamDB WebApi configuration, try the following :
|
|
48
|
+
|
|
49
|
+
### Using the HTTP protocole
|
|
50
|
+
|
|
51
|
+
```python
|
|
52
|
+
import teamdbapi
|
|
53
|
+
from teamdbapi.rest import ApiException
|
|
54
|
+
|
|
55
|
+
# Create a Configuration object
|
|
56
|
+
configuration = teamdbapi.Configuration()
|
|
57
|
+
configuration.host = "http://localhost:9001" # Replace with your TeamDB API address if different
|
|
58
|
+
|
|
59
|
+
# Create an instance of the Client API
|
|
60
|
+
client_api = teamdbapi.ApiClient(configuration)
|
|
61
|
+
|
|
62
|
+
# Create an instance of the Assembly API using the client_api
|
|
63
|
+
assembly_api = teamdbapi.AssemblyApi(client_api)
|
|
64
|
+
|
|
65
|
+
# Try to execute the request
|
|
66
|
+
try:
|
|
67
|
+
|
|
68
|
+
# Retrieve and print the current assembly before modification
|
|
69
|
+
result = assembly_api.get_current_assembly()
|
|
70
|
+
print(result)
|
|
71
|
+
|
|
72
|
+
# Set the desired current assembly, and print the response details
|
|
73
|
+
result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
|
|
74
|
+
print(result)
|
|
75
|
+
|
|
76
|
+
# Retrieve and print the current assembly after modification
|
|
77
|
+
result = assembly_api.get_current_assembly()
|
|
78
|
+
print(result)
|
|
79
|
+
|
|
80
|
+
except ApiException as e:
|
|
81
|
+
print("Exception when selecting the current assembly : %s\n" % e)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Using the HTTPS protocole
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
import teamdbapi
|
|
88
|
+
from teamdbapi.rest import ApiException
|
|
89
|
+
|
|
90
|
+
# Create a Configuration object
|
|
91
|
+
configuration = teamdbapi.Configuration()
|
|
92
|
+
configuration.host = "https://localhost:9001" # Replace with your TeamDB API address if different
|
|
93
|
+
configuration.api_key['TDB_API_Key'] = 'user_token' # Replace {user_token} by a valid TeamDB WebApi user token.
|
|
94
|
+
|
|
95
|
+
# Create an instance of the Client API
|
|
96
|
+
client_api = teamdbapi.ApiClient(configuration)
|
|
97
|
+
|
|
98
|
+
# Create an instance of the Assembly API using the client_api
|
|
99
|
+
assembly_api = teamdbapi.AssemblyApi(client_api)
|
|
100
|
+
|
|
101
|
+
# Try to execute the request
|
|
102
|
+
try:
|
|
103
|
+
|
|
104
|
+
# Retrieve and print the current assembly before modification
|
|
105
|
+
result = assembly_api.get_current_assembly()
|
|
106
|
+
print(result)
|
|
107
|
+
|
|
108
|
+
# Set the desired current assembly, and print the response details
|
|
109
|
+
result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
|
|
110
|
+
print(result)
|
|
111
|
+
|
|
112
|
+
# Retrieve and print the current assembly after modification
|
|
113
|
+
result = assembly_api.get_current_assembly()
|
|
114
|
+
print(result)
|
|
115
|
+
|
|
116
|
+
except ApiException as e:
|
|
117
|
+
print("Exception when selecting the current assembly : %s\n" % e)
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**_NOTE:_** Each method has a detailed version (for example: select_current_assembly => select_current_assembly_with_http_info). This can be useful, for example, if you want to retrieve a detailed response: content, HTTP status code, HTTP header.
|
|
121
|
+
|
|
122
|
+
## Documentation for API Endpoints
|
|
123
|
+
|
|
124
|
+
With a TeamDB Client, check the documentation at *http://localhost:9001* (Default value for the TeamDB Web API URL)
|
|
125
|
+
|
|
126
|
+
## Documentation For Authorization
|
|
127
|
+
|
|
128
|
+
Endpoints are subject to the same authorization as in TeamDB.
|
|
129
|
+
|
|
130
|
+
## Author
|
|
131
|
+
|
|
132
|
+
Trackside Software
|
|
133
|
+
support@trackside.fr
|
|
134
|
+
|
|
135
|
+
|