teamdbapi 3.12.3__tar.gz → 3.14.0__tar.gz
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-3.12.3 → teamdbapi-3.14.0}/PKG-INFO +3 -3
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/README.md +2 -2
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/pyproject.toml +1 -1
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/__init__.py +6 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/__init__.py +1 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/assembly_api.py +198 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/component_api.py +194 -0
- teamdbapi-3.14.0/teamdbapi/api/measure_api.py +531 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/tire_set_api.py +93 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/version_api.py +9 -1
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/__init__.py +5 -0
- teamdbapi-3.14.0/teamdbapi/models/assembly_authorization.py +184 -0
- teamdbapi-3.14.0/teamdbapi/models/component_location.py +463 -0
- teamdbapi-3.14.0/teamdbapi/models/measure_field.py +504 -0
- teamdbapi-3.14.0/teamdbapi/models/measure_value.py +294 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/model_field_authorization.py +1 -30
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/notes_authorization.py +1 -30
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/part_count.py +33 -5
- teamdbapi-3.14.0/teamdbapi/models/tire_set_with_tires.py +1009 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/.gitignore +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/.swagger-codegen/VERSION +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/.swagger-codegen-ignore +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/.travis.yml +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/LICENSE +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/git_push.sh +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/requirements.txt +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/setup.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/car_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/config_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/criteria_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/edit_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/event_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/fixed_field_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/group_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/import_export_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/issue_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/lap_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/lap_report_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/model_field_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/mounting_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/notes_authorization_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/overall_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/parameter_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/parameter_binding_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/part_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/report_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/revision_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/revision_editor_selector_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/run_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/script_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/session_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/target_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/team_db_list_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/team_db_view_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/tire_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/track_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/track_layout_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/update_request_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/user_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api/value_field_api.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/configuration.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/calibration.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/car_parameters_context.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/compare_options.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/component.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/criteria.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/criteria_set.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/criteria_value_detail.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/file_revision_info.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/fixed_field.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/import_parameters_args.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/lap_report_options.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/model_field.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/overall.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/parameter_binding.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/parameter_cross_table.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/script.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/target.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/team_db_list_item.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/models/version.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/teamdbapi/rest.py +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/test-requirements.txt +0 -0
- {teamdbapi-3.12.3 → teamdbapi-3.14.0}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.14.0
|
|
4
4
|
Summary: Easily access the TeamDB Web API.
|
|
5
5
|
Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
|
|
6
6
|
Author-email: Trackside Software <support@trackside.fr>
|
|
@@ -20,13 +20,13 @@ Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
|
20
20
|
# teamdbapi
|
|
21
21
|
This module enables you to easily access the TeamDB Web API.
|
|
22
22
|
|
|
23
|
-
- Package version: 3.
|
|
23
|
+
- Package version: 3.14.0
|
|
24
24
|
- TeamDB Web API version: 2.0
|
|
25
25
|
|
|
26
26
|
## Requirements.
|
|
27
27
|
|
|
28
28
|
- Python 3.4+
|
|
29
|
-
- TeamDB 3.
|
|
29
|
+
- TeamDB 3.14.0
|
|
30
30
|
|
|
31
31
|
## Installation and usage
|
|
32
32
|
### pip install
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# teamdbapi
|
|
2
2
|
This module enables you to easily access the TeamDB Web API.
|
|
3
3
|
|
|
4
|
-
- Package version: 3.
|
|
4
|
+
- Package version: 3.14.0
|
|
5
5
|
- TeamDB Web API version: 2.0
|
|
6
6
|
|
|
7
7
|
## Requirements.
|
|
8
8
|
|
|
9
9
|
- Python 3.4+
|
|
10
|
-
- TeamDB 3.
|
|
10
|
+
- TeamDB 3.14.0
|
|
11
11
|
|
|
12
12
|
## Installation and usage
|
|
13
13
|
### pip install
|
|
@@ -29,6 +29,7 @@ from teamdbapi.api.import_export_api import ImportExportApi
|
|
|
29
29
|
from teamdbapi.api.issue_api import IssueApi
|
|
30
30
|
from teamdbapi.api.lap_api import LapApi
|
|
31
31
|
from teamdbapi.api.lap_report_api import LapReportApi
|
|
32
|
+
from teamdbapi.api.measure_api import MeasureApi
|
|
32
33
|
from teamdbapi.api.model_field_api import ModelFieldApi
|
|
33
34
|
from teamdbapi.api.mounting_api import MountingApi
|
|
34
35
|
from teamdbapi.api.notes_authorization_api import NotesAuthorizationApi
|
|
@@ -60,6 +61,7 @@ from teamdbapi.configuration import Configuration
|
|
|
60
61
|
# import models into sdk package
|
|
61
62
|
from teamdbapi.models.add_part_car_parameter_arg import AddPartCarParameterArg
|
|
62
63
|
from teamdbapi.models.assembly import Assembly
|
|
64
|
+
from teamdbapi.models.assembly_authorization import AssemblyAuthorization
|
|
63
65
|
from teamdbapi.models.bleed_adjustment import BleedAdjustment
|
|
64
66
|
from teamdbapi.models.calibration import Calibration
|
|
65
67
|
from teamdbapi.models.car import Car
|
|
@@ -68,6 +70,7 @@ from teamdbapi.models.compare_options import CompareOptions
|
|
|
68
70
|
from teamdbapi.models.compare_result import CompareResult
|
|
69
71
|
from teamdbapi.models.compare_result_detail import CompareResultDetail
|
|
70
72
|
from teamdbapi.models.component import Component
|
|
73
|
+
from teamdbapi.models.component_location import ComponentLocation
|
|
71
74
|
from teamdbapi.models.copy_from_tags_args import CopyFromTagsArgs
|
|
72
75
|
from teamdbapi.models.couple_guid_text import CoupleGuidText
|
|
73
76
|
from teamdbapi.models.criteria import Criteria
|
|
@@ -95,6 +98,8 @@ from teamdbapi.models.item_value import ItemValue
|
|
|
95
98
|
from teamdbapi.models.item_value_key import ItemValueKey
|
|
96
99
|
from teamdbapi.models.lap import Lap
|
|
97
100
|
from teamdbapi.models.lap_report_options import LapReportOptions
|
|
101
|
+
from teamdbapi.models.measure_field import MeasureField
|
|
102
|
+
from teamdbapi.models.measure_value import MeasureValue
|
|
98
103
|
from teamdbapi.models.model_field import ModelField
|
|
99
104
|
from teamdbapi.models.model_field_authorization import ModelFieldAuthorization
|
|
100
105
|
from teamdbapi.models.mounting import Mounting
|
|
@@ -118,6 +123,7 @@ from teamdbapi.models.team_db_list import TeamDBList
|
|
|
118
123
|
from teamdbapi.models.team_db_list_item import TeamDBListItem
|
|
119
124
|
from teamdbapi.models.tire import Tire
|
|
120
125
|
from teamdbapi.models.tire_set import TireSet
|
|
126
|
+
from teamdbapi.models.tire_set_with_tires import TireSetWithTires
|
|
121
127
|
from teamdbapi.models.track import Track
|
|
122
128
|
from teamdbapi.models.track_layout import TrackLayout
|
|
123
129
|
from teamdbapi.models.user import User
|
|
@@ -16,6 +16,7 @@ from teamdbapi.api.import_export_api import ImportExportApi
|
|
|
16
16
|
from teamdbapi.api.issue_api import IssueApi
|
|
17
17
|
from teamdbapi.api.lap_api import LapApi
|
|
18
18
|
from teamdbapi.api.lap_report_api import LapReportApi
|
|
19
|
+
from teamdbapi.api.measure_api import MeasureApi
|
|
19
20
|
from teamdbapi.api.model_field_api import ModelFieldApi
|
|
20
21
|
from teamdbapi.api.mounting_api import MountingApi
|
|
21
22
|
from teamdbapi.api.notes_authorization_api import NotesAuthorizationApi
|
|
@@ -1021,6 +1021,99 @@ class AssemblyApi(object):
|
|
|
1021
1021
|
_request_timeout=params.get('_request_timeout'),
|
|
1022
1022
|
collection_formats=collection_formats)
|
|
1023
1023
|
|
|
1024
|
+
def get_assembly_authorizations(self, assembly_id, **kwargs): # noqa: E501
|
|
1025
|
+
"""Get the list of authorisations for a given Id of an assembly. # noqa: E501
|
|
1026
|
+
|
|
1027
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1028
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1029
|
+
>>> thread = api.get_assembly_authorizations(assembly_id, async_req=True)
|
|
1030
|
+
>>> result = thread.get()
|
|
1031
|
+
|
|
1032
|
+
:param async_req bool
|
|
1033
|
+
:param str assembly_id: Unique Id of an assembly (required)
|
|
1034
|
+
:return: list[AssemblyAuthorization]
|
|
1035
|
+
If the method is called asynchronously,
|
|
1036
|
+
returns the request thread.
|
|
1037
|
+
"""
|
|
1038
|
+
kwargs['_return_http_data_only'] = True
|
|
1039
|
+
if kwargs.get('async_req'):
|
|
1040
|
+
return self.get_assembly_authorizations_with_http_info(assembly_id, **kwargs) # noqa: E501
|
|
1041
|
+
else:
|
|
1042
|
+
(data) = self.get_assembly_authorizations_with_http_info(assembly_id, **kwargs) # noqa: E501
|
|
1043
|
+
return data
|
|
1044
|
+
|
|
1045
|
+
def get_assembly_authorizations_with_http_info(self, assembly_id, **kwargs): # noqa: E501
|
|
1046
|
+
"""Get the list of authorisations for a given Id of an assembly. # noqa: E501
|
|
1047
|
+
|
|
1048
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1049
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1050
|
+
>>> thread = api.get_assembly_authorizations_with_http_info(assembly_id, async_req=True)
|
|
1051
|
+
>>> result = thread.get()
|
|
1052
|
+
|
|
1053
|
+
:param async_req bool
|
|
1054
|
+
:param str assembly_id: Unique Id of an assembly (required)
|
|
1055
|
+
:return: list[AssemblyAuthorization]
|
|
1056
|
+
If the method is called asynchronously,
|
|
1057
|
+
returns the request thread.
|
|
1058
|
+
"""
|
|
1059
|
+
|
|
1060
|
+
all_params = ['assembly_id'] # noqa: E501
|
|
1061
|
+
all_params.append('async_req')
|
|
1062
|
+
all_params.append('_return_http_data_only')
|
|
1063
|
+
all_params.append('_preload_content')
|
|
1064
|
+
all_params.append('_request_timeout')
|
|
1065
|
+
|
|
1066
|
+
params = locals()
|
|
1067
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1068
|
+
if key not in all_params:
|
|
1069
|
+
raise TypeError(
|
|
1070
|
+
"Got an unexpected keyword argument '%s'"
|
|
1071
|
+
" to method get_assembly_authorizations" % key
|
|
1072
|
+
)
|
|
1073
|
+
params[key] = val
|
|
1074
|
+
del params['kwargs']
|
|
1075
|
+
# verify the required parameter 'assembly_id' is set
|
|
1076
|
+
if self.api_client.client_side_validation and ('assembly_id' not in params or
|
|
1077
|
+
params['assembly_id'] is None): # noqa: E501
|
|
1078
|
+
raise ValueError("Missing the required parameter `assembly_id` when calling `get_assembly_authorizations`") # noqa: E501
|
|
1079
|
+
|
|
1080
|
+
collection_formats = {}
|
|
1081
|
+
|
|
1082
|
+
path_params = {}
|
|
1083
|
+
if 'assembly_id' in params:
|
|
1084
|
+
path_params['assemblyId'] = params['assembly_id'] # noqa: E501
|
|
1085
|
+
|
|
1086
|
+
query_params = []
|
|
1087
|
+
|
|
1088
|
+
header_params = {}
|
|
1089
|
+
|
|
1090
|
+
form_params = []
|
|
1091
|
+
local_var_files = {}
|
|
1092
|
+
|
|
1093
|
+
body_params = None
|
|
1094
|
+
# HTTP header `Accept`
|
|
1095
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1096
|
+
['application/json', 'text/json']) # noqa: E501
|
|
1097
|
+
|
|
1098
|
+
# Authentication setting
|
|
1099
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1100
|
+
|
|
1101
|
+
return self.api_client.call_api(
|
|
1102
|
+
'/teamdbapi/v2.0/assembly/{assemblyId}/authorizations', 'GET',
|
|
1103
|
+
path_params,
|
|
1104
|
+
query_params,
|
|
1105
|
+
header_params,
|
|
1106
|
+
body=body_params,
|
|
1107
|
+
post_params=form_params,
|
|
1108
|
+
files=local_var_files,
|
|
1109
|
+
response_type='list[AssemblyAuthorization]', # noqa: E501
|
|
1110
|
+
auth_settings=auth_settings,
|
|
1111
|
+
async_req=params.get('async_req'),
|
|
1112
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1113
|
+
_preload_content=params.get('_preload_content', True),
|
|
1114
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1115
|
+
collection_formats=collection_formats)
|
|
1116
|
+
|
|
1024
1117
|
def get_current_assembly(self, **kwargs): # noqa: E501
|
|
1025
1118
|
"""Get the current selected assembly # noqa: E501
|
|
1026
1119
|
|
|
@@ -1902,6 +1995,111 @@ class AssemblyApi(object):
|
|
|
1902
1995
|
_request_timeout=params.get('_request_timeout'),
|
|
1903
1996
|
collection_formats=collection_formats)
|
|
1904
1997
|
|
|
1998
|
+
def set_assembly_authorizations(self, assembly_id, authorization, **kwargs): # noqa: E501
|
|
1999
|
+
"""[Command] Set an authorization to a user group for an assembly. To restrict the writing on an assembly, fill the AssemblyId, the GroupId, and set IsWriteRestriction to true. To remove the writing restriction an assembly, fill the AssemblyId, the GroupId, and set IsWriteRestriction to false. Note : AssemblyAutorization.Id is ignored, it should be set to empty (00000000-0000-0000-0000-000000000000). # noqa: E501
|
|
2000
|
+
|
|
2001
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2002
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2003
|
+
>>> thread = api.set_assembly_authorizations(assembly_id, authorization, async_req=True)
|
|
2004
|
+
>>> result = thread.get()
|
|
2005
|
+
|
|
2006
|
+
:param async_req bool
|
|
2007
|
+
:param str assembly_id: The unique Id of the assembly (required)
|
|
2008
|
+
:param AssemblyAuthorization authorization: The authorization to set (required)
|
|
2009
|
+
:return: None
|
|
2010
|
+
If the method is called asynchronously,
|
|
2011
|
+
returns the request thread.
|
|
2012
|
+
"""
|
|
2013
|
+
kwargs['_return_http_data_only'] = True
|
|
2014
|
+
if kwargs.get('async_req'):
|
|
2015
|
+
return self.set_assembly_authorizations_with_http_info(assembly_id, authorization, **kwargs) # noqa: E501
|
|
2016
|
+
else:
|
|
2017
|
+
(data) = self.set_assembly_authorizations_with_http_info(assembly_id, authorization, **kwargs) # noqa: E501
|
|
2018
|
+
return data
|
|
2019
|
+
|
|
2020
|
+
def set_assembly_authorizations_with_http_info(self, assembly_id, authorization, **kwargs): # noqa: E501
|
|
2021
|
+
"""[Command] Set an authorization to a user group for an assembly. To restrict the writing on an assembly, fill the AssemblyId, the GroupId, and set IsWriteRestriction to true. To remove the writing restriction an assembly, fill the AssemblyId, the GroupId, and set IsWriteRestriction to false. Note : AssemblyAutorization.Id is ignored, it should be set to empty (00000000-0000-0000-0000-000000000000). # noqa: E501
|
|
2022
|
+
|
|
2023
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2024
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2025
|
+
>>> thread = api.set_assembly_authorizations_with_http_info(assembly_id, authorization, async_req=True)
|
|
2026
|
+
>>> result = thread.get()
|
|
2027
|
+
|
|
2028
|
+
:param async_req bool
|
|
2029
|
+
:param str assembly_id: The unique Id of the assembly (required)
|
|
2030
|
+
:param AssemblyAuthorization authorization: The authorization to set (required)
|
|
2031
|
+
:return: None
|
|
2032
|
+
If the method is called asynchronously,
|
|
2033
|
+
returns the request thread.
|
|
2034
|
+
"""
|
|
2035
|
+
|
|
2036
|
+
all_params = ['assembly_id', 'authorization'] # noqa: E501
|
|
2037
|
+
all_params.append('async_req')
|
|
2038
|
+
all_params.append('_return_http_data_only')
|
|
2039
|
+
all_params.append('_preload_content')
|
|
2040
|
+
all_params.append('_request_timeout')
|
|
2041
|
+
|
|
2042
|
+
params = locals()
|
|
2043
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2044
|
+
if key not in all_params:
|
|
2045
|
+
raise TypeError(
|
|
2046
|
+
"Got an unexpected keyword argument '%s'"
|
|
2047
|
+
" to method set_assembly_authorizations" % key
|
|
2048
|
+
)
|
|
2049
|
+
params[key] = val
|
|
2050
|
+
del params['kwargs']
|
|
2051
|
+
# verify the required parameter 'assembly_id' is set
|
|
2052
|
+
if self.api_client.client_side_validation and ('assembly_id' not in params or
|
|
2053
|
+
params['assembly_id'] is None): # noqa: E501
|
|
2054
|
+
raise ValueError("Missing the required parameter `assembly_id` when calling `set_assembly_authorizations`") # noqa: E501
|
|
2055
|
+
# verify the required parameter 'authorization' is set
|
|
2056
|
+
if self.api_client.client_side_validation and ('authorization' not in params or
|
|
2057
|
+
params['authorization'] is None): # noqa: E501
|
|
2058
|
+
raise ValueError("Missing the required parameter `authorization` when calling `set_assembly_authorizations`") # noqa: E501
|
|
2059
|
+
|
|
2060
|
+
collection_formats = {}
|
|
2061
|
+
|
|
2062
|
+
path_params = {}
|
|
2063
|
+
if 'assembly_id' in params:
|
|
2064
|
+
path_params['assemblyId'] = params['assembly_id'] # noqa: E501
|
|
2065
|
+
|
|
2066
|
+
query_params = []
|
|
2067
|
+
|
|
2068
|
+
header_params = {}
|
|
2069
|
+
|
|
2070
|
+
form_params = []
|
|
2071
|
+
local_var_files = {}
|
|
2072
|
+
|
|
2073
|
+
body_params = None
|
|
2074
|
+
if 'authorization' in params:
|
|
2075
|
+
body_params = params['authorization']
|
|
2076
|
+
# HTTP header `Accept`
|
|
2077
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2078
|
+
['application/json', 'text/json']) # noqa: E501
|
|
2079
|
+
|
|
2080
|
+
# HTTP header `Content-Type`
|
|
2081
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2082
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
2083
|
+
|
|
2084
|
+
# Authentication setting
|
|
2085
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
2086
|
+
|
|
2087
|
+
return self.api_client.call_api(
|
|
2088
|
+
'/teamdbapi/v2.0/assembly/{assemblyId}/authorizations', 'POST',
|
|
2089
|
+
path_params,
|
|
2090
|
+
query_params,
|
|
2091
|
+
header_params,
|
|
2092
|
+
body=body_params,
|
|
2093
|
+
post_params=form_params,
|
|
2094
|
+
files=local_var_files,
|
|
2095
|
+
response_type=None, # noqa: E501
|
|
2096
|
+
auth_settings=auth_settings,
|
|
2097
|
+
async_req=params.get('async_req'),
|
|
2098
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2099
|
+
_preload_content=params.get('_preload_content', True),
|
|
2100
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2101
|
+
collection_formats=collection_formats)
|
|
2102
|
+
|
|
1905
2103
|
def unlink_assembly(self, run_id, assembly_id, **kwargs): # noqa: E501
|
|
1906
2104
|
"""[Command] Remove an assembly from a run # noqa: E501
|
|
1907
2105
|
|
|
@@ -243,6 +243,107 @@ class ComponentApi(object):
|
|
|
243
243
|
_request_timeout=params.get('_request_timeout'),
|
|
244
244
|
collection_formats=collection_formats)
|
|
245
245
|
|
|
246
|
+
def get_component_location(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
247
|
+
"""Get the current location of a component revision. The current location can be a store, or a mounting. # noqa: E501
|
|
248
|
+
|
|
249
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
250
|
+
asynchronous HTTP request, please pass async_req=True
|
|
251
|
+
>>> thread = api.get_component_location(component_id, revision_id, async_req=True)
|
|
252
|
+
>>> result = thread.get()
|
|
253
|
+
|
|
254
|
+
:param async_req bool
|
|
255
|
+
:param str component_id: The unique identifier of the component. (required)
|
|
256
|
+
:param str revision_id: The unique identifier of the component revision. (required)
|
|
257
|
+
:return: ComponentLocation
|
|
258
|
+
If the method is called asynchronously,
|
|
259
|
+
returns the request thread.
|
|
260
|
+
"""
|
|
261
|
+
kwargs['_return_http_data_only'] = True
|
|
262
|
+
if kwargs.get('async_req'):
|
|
263
|
+
return self.get_component_location_with_http_info(component_id, revision_id, **kwargs) # noqa: E501
|
|
264
|
+
else:
|
|
265
|
+
(data) = self.get_component_location_with_http_info(component_id, revision_id, **kwargs) # noqa: E501
|
|
266
|
+
return data
|
|
267
|
+
|
|
268
|
+
def get_component_location_with_http_info(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
269
|
+
"""Get the current location of a component revision. The current location can be a store, or a mounting. # noqa: E501
|
|
270
|
+
|
|
271
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
272
|
+
asynchronous HTTP request, please pass async_req=True
|
|
273
|
+
>>> thread = api.get_component_location_with_http_info(component_id, revision_id, async_req=True)
|
|
274
|
+
>>> result = thread.get()
|
|
275
|
+
|
|
276
|
+
:param async_req bool
|
|
277
|
+
:param str component_id: The unique identifier of the component. (required)
|
|
278
|
+
:param str revision_id: The unique identifier of the component revision. (required)
|
|
279
|
+
:return: ComponentLocation
|
|
280
|
+
If the method is called asynchronously,
|
|
281
|
+
returns the request thread.
|
|
282
|
+
"""
|
|
283
|
+
|
|
284
|
+
all_params = ['component_id', 'revision_id'] # noqa: E501
|
|
285
|
+
all_params.append('async_req')
|
|
286
|
+
all_params.append('_return_http_data_only')
|
|
287
|
+
all_params.append('_preload_content')
|
|
288
|
+
all_params.append('_request_timeout')
|
|
289
|
+
|
|
290
|
+
params = locals()
|
|
291
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
292
|
+
if key not in all_params:
|
|
293
|
+
raise TypeError(
|
|
294
|
+
"Got an unexpected keyword argument '%s'"
|
|
295
|
+
" to method get_component_location" % key
|
|
296
|
+
)
|
|
297
|
+
params[key] = val
|
|
298
|
+
del params['kwargs']
|
|
299
|
+
# verify the required parameter 'component_id' is set
|
|
300
|
+
if self.api_client.client_side_validation and ('component_id' not in params or
|
|
301
|
+
params['component_id'] is None): # noqa: E501
|
|
302
|
+
raise ValueError("Missing the required parameter `component_id` when calling `get_component_location`") # noqa: E501
|
|
303
|
+
# verify the required parameter 'revision_id' is set
|
|
304
|
+
if self.api_client.client_side_validation and ('revision_id' not in params or
|
|
305
|
+
params['revision_id'] is None): # noqa: E501
|
|
306
|
+
raise ValueError("Missing the required parameter `revision_id` when calling `get_component_location`") # noqa: E501
|
|
307
|
+
|
|
308
|
+
collection_formats = {}
|
|
309
|
+
|
|
310
|
+
path_params = {}
|
|
311
|
+
if 'component_id' in params:
|
|
312
|
+
path_params['componentId'] = params['component_id'] # noqa: E501
|
|
313
|
+
if 'revision_id' in params:
|
|
314
|
+
path_params['revisionId'] = params['revision_id'] # noqa: E501
|
|
315
|
+
|
|
316
|
+
query_params = []
|
|
317
|
+
|
|
318
|
+
header_params = {}
|
|
319
|
+
|
|
320
|
+
form_params = []
|
|
321
|
+
local_var_files = {}
|
|
322
|
+
|
|
323
|
+
body_params = None
|
|
324
|
+
# HTTP header `Accept`
|
|
325
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
326
|
+
['application/json', 'text/json']) # noqa: E501
|
|
327
|
+
|
|
328
|
+
# Authentication setting
|
|
329
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
330
|
+
|
|
331
|
+
return self.api_client.call_api(
|
|
332
|
+
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/location', 'GET',
|
|
333
|
+
path_params,
|
|
334
|
+
query_params,
|
|
335
|
+
header_params,
|
|
336
|
+
body=body_params,
|
|
337
|
+
post_params=form_params,
|
|
338
|
+
files=local_var_files,
|
|
339
|
+
response_type='ComponentLocation', # noqa: E501
|
|
340
|
+
auth_settings=auth_settings,
|
|
341
|
+
async_req=params.get('async_req'),
|
|
342
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
343
|
+
_preload_content=params.get('_preload_content', True),
|
|
344
|
+
_request_timeout=params.get('_request_timeout'),
|
|
345
|
+
collection_formats=collection_formats)
|
|
346
|
+
|
|
246
347
|
def get_component_revision(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
247
348
|
"""Get a component revision from it's unique identifier. # noqa: E501
|
|
248
349
|
|
|
@@ -833,6 +934,99 @@ class ComponentApi(object):
|
|
|
833
934
|
_request_timeout=params.get('_request_timeout'),
|
|
834
935
|
collection_formats=collection_formats)
|
|
835
936
|
|
|
937
|
+
def get_tire_component(self, tire_id, **kwargs): # noqa: E501
|
|
938
|
+
"""Get the component associated with a tire given from its unique id. # noqa: E501
|
|
939
|
+
|
|
940
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
941
|
+
asynchronous HTTP request, please pass async_req=True
|
|
942
|
+
>>> thread = api.get_tire_component(tire_id, async_req=True)
|
|
943
|
+
>>> result = thread.get()
|
|
944
|
+
|
|
945
|
+
:param async_req bool
|
|
946
|
+
:param str tire_id: The unique tire id for which you want to get the component associated with the tire (required)
|
|
947
|
+
:return: Component
|
|
948
|
+
If the method is called asynchronously,
|
|
949
|
+
returns the request thread.
|
|
950
|
+
"""
|
|
951
|
+
kwargs['_return_http_data_only'] = True
|
|
952
|
+
if kwargs.get('async_req'):
|
|
953
|
+
return self.get_tire_component_with_http_info(tire_id, **kwargs) # noqa: E501
|
|
954
|
+
else:
|
|
955
|
+
(data) = self.get_tire_component_with_http_info(tire_id, **kwargs) # noqa: E501
|
|
956
|
+
return data
|
|
957
|
+
|
|
958
|
+
def get_tire_component_with_http_info(self, tire_id, **kwargs): # noqa: E501
|
|
959
|
+
"""Get the component associated with a tire given from its unique id. # noqa: E501
|
|
960
|
+
|
|
961
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
962
|
+
asynchronous HTTP request, please pass async_req=True
|
|
963
|
+
>>> thread = api.get_tire_component_with_http_info(tire_id, async_req=True)
|
|
964
|
+
>>> result = thread.get()
|
|
965
|
+
|
|
966
|
+
:param async_req bool
|
|
967
|
+
:param str tire_id: The unique tire id for which you want to get the component associated with the tire (required)
|
|
968
|
+
:return: Component
|
|
969
|
+
If the method is called asynchronously,
|
|
970
|
+
returns the request thread.
|
|
971
|
+
"""
|
|
972
|
+
|
|
973
|
+
all_params = ['tire_id'] # noqa: E501
|
|
974
|
+
all_params.append('async_req')
|
|
975
|
+
all_params.append('_return_http_data_only')
|
|
976
|
+
all_params.append('_preload_content')
|
|
977
|
+
all_params.append('_request_timeout')
|
|
978
|
+
|
|
979
|
+
params = locals()
|
|
980
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
981
|
+
if key not in all_params:
|
|
982
|
+
raise TypeError(
|
|
983
|
+
"Got an unexpected keyword argument '%s'"
|
|
984
|
+
" to method get_tire_component" % key
|
|
985
|
+
)
|
|
986
|
+
params[key] = val
|
|
987
|
+
del params['kwargs']
|
|
988
|
+
# verify the required parameter 'tire_id' is set
|
|
989
|
+
if self.api_client.client_side_validation and ('tire_id' not in params or
|
|
990
|
+
params['tire_id'] is None): # noqa: E501
|
|
991
|
+
raise ValueError("Missing the required parameter `tire_id` when calling `get_tire_component`") # noqa: E501
|
|
992
|
+
|
|
993
|
+
collection_formats = {}
|
|
994
|
+
|
|
995
|
+
path_params = {}
|
|
996
|
+
if 'tire_id' in params:
|
|
997
|
+
path_params['tireId'] = params['tire_id'] # noqa: E501
|
|
998
|
+
|
|
999
|
+
query_params = []
|
|
1000
|
+
|
|
1001
|
+
header_params = {}
|
|
1002
|
+
|
|
1003
|
+
form_params = []
|
|
1004
|
+
local_var_files = {}
|
|
1005
|
+
|
|
1006
|
+
body_params = None
|
|
1007
|
+
# HTTP header `Accept`
|
|
1008
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1009
|
+
['application/json', 'text/json']) # noqa: E501
|
|
1010
|
+
|
|
1011
|
+
# Authentication setting
|
|
1012
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
1013
|
+
|
|
1014
|
+
return self.api_client.call_api(
|
|
1015
|
+
'/teamdbapi/v2.0/tire/{tireId}/component', 'GET',
|
|
1016
|
+
path_params,
|
|
1017
|
+
query_params,
|
|
1018
|
+
header_params,
|
|
1019
|
+
body=body_params,
|
|
1020
|
+
post_params=form_params,
|
|
1021
|
+
files=local_var_files,
|
|
1022
|
+
response_type='Component', # noqa: E501
|
|
1023
|
+
auth_settings=auth_settings,
|
|
1024
|
+
async_req=params.get('async_req'),
|
|
1025
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1026
|
+
_preload_content=params.get('_preload_content', True),
|
|
1027
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1028
|
+
collection_formats=collection_formats)
|
|
1029
|
+
|
|
836
1030
|
def remove_components_from_component_group_revision_content(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
837
1031
|
"""[Command] Remove a list of component from the content of a component group revision from it's unique identifiers. # noqa: E501
|
|
838
1032
|
|