teamdbapi 2.37.2__py3-none-any.whl → 3.2.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 +26 -0
- teamdbapi/api/__init__.py +6 -0
- teamdbapi/api/assembly_api.py +23 -23
- teamdbapi/api/component_api.py +1071 -0
- teamdbapi/api/criteria_api.py +126 -0
- teamdbapi/api/import_export_api.py +85 -0
- teamdbapi/api/issue_api.py +1537 -0
- teamdbapi/api/lap_report_api.py +5 -1
- teamdbapi/api/mounting_api.py +219 -0
- teamdbapi/api/part_api.py +785 -0
- teamdbapi/api/revision_api.py +109 -4
- teamdbapi/api/update_request_api.py +235 -0
- teamdbapi/api_client.py +4 -8
- teamdbapi/configuration.py +5 -12
- teamdbapi/models/__init__.py +20 -0
- teamdbapi/models/add_part_car_parameter_arg.py +396 -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 +1301 -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/file_revision_info.py +199 -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/import_revisions_args.py +173 -0
- teamdbapi/models/import_revisions_info.py +197 -0
- teamdbapi/models/import_revisions_results.py +170 -0
- teamdbapi/models/issue.py +674 -0
- teamdbapi/models/issue_custom_field_value.py +319 -0
- teamdbapi/models/issue_priority.py +227 -0
- teamdbapi/models/issue_project.py +229 -0
- teamdbapi/models/issue_sector.py +199 -0
- teamdbapi/models/issue_status.py +284 -0
- teamdbapi/models/issue_type.py +199 -0
- teamdbapi/models/issue_workflow.py +199 -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 +991 -0
- teamdbapi/models/part_car_parameters.py +561 -0
- teamdbapi/models/part_count.py +228 -0
- teamdbapi/models/problem_details.py +2 -6
- teamdbapi/models/revision.py +116 -3
- teamdbapi/models/revision_value.py +32 -3
- 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.2.dist-info → teamdbapi-3.2.0.dist-info}/METADATA +3 -3
- teamdbapi-3.2.0.dist-info/RECORD +108 -0
- teamdbapi-2.37.2.dist-info/RECORD +0 -82
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/LICENSE +0 -0
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,228 @@
|
|
|
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
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class PartCount(object):
|
|
20
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
21
|
+
|
|
22
|
+
Do not edit the class manually.
|
|
23
|
+
"""
|
|
24
|
+
"""
|
|
25
|
+
Attributes:
|
|
26
|
+
swagger_types (dict): The key is attribute name
|
|
27
|
+
and the value is attribute type.
|
|
28
|
+
attribute_map (dict): The key is attribute name
|
|
29
|
+
and the value is json key in definition.
|
|
30
|
+
"""
|
|
31
|
+
swagger_types = {
|
|
32
|
+
'part_parent_id': 'str',
|
|
33
|
+
'part_child_id': 'str',
|
|
34
|
+
'count': 'int',
|
|
35
|
+
'last_update_date_utc': 'datetime',
|
|
36
|
+
'last_update_user': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'part_parent_id': 'PartParentId',
|
|
41
|
+
'part_child_id': 'PartChildId',
|
|
42
|
+
'count': 'Count',
|
|
43
|
+
'last_update_date_utc': 'LastUpdateDateUtc',
|
|
44
|
+
'last_update_user': 'LastUpdateUser'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, part_parent_id=None, part_child_id=None, count=None, last_update_date_utc=None, last_update_user=None): # noqa: E501
|
|
48
|
+
"""PartCount - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
self._part_parent_id = None
|
|
50
|
+
self._part_child_id = None
|
|
51
|
+
self._count = None
|
|
52
|
+
self._last_update_date_utc = None
|
|
53
|
+
self._last_update_user = None
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
self.part_parent_id = part_parent_id
|
|
56
|
+
self.part_child_id = part_child_id
|
|
57
|
+
self.count = count
|
|
58
|
+
if last_update_date_utc is not None:
|
|
59
|
+
self.last_update_date_utc = last_update_date_utc
|
|
60
|
+
if last_update_user is not None:
|
|
61
|
+
self.last_update_user = last_update_user
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def part_parent_id(self):
|
|
65
|
+
"""Gets the part_parent_id of this PartCount. # noqa: E501
|
|
66
|
+
|
|
67
|
+
Parent part unique identifier, common to all revisions of the same part # noqa: E501
|
|
68
|
+
|
|
69
|
+
:return: The part_parent_id of this PartCount. # noqa: E501
|
|
70
|
+
:rtype: str
|
|
71
|
+
"""
|
|
72
|
+
return self._part_parent_id
|
|
73
|
+
|
|
74
|
+
@part_parent_id.setter
|
|
75
|
+
def part_parent_id(self, part_parent_id):
|
|
76
|
+
"""Sets the part_parent_id of this PartCount.
|
|
77
|
+
|
|
78
|
+
Parent part unique identifier, common to all revisions of the same part # noqa: E501
|
|
79
|
+
|
|
80
|
+
:param part_parent_id: The part_parent_id of this PartCount. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
if part_parent_id is None:
|
|
84
|
+
raise ValueError("Invalid value for `part_parent_id`, must not be `None`") # noqa: E501
|
|
85
|
+
|
|
86
|
+
self._part_parent_id = part_parent_id
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def part_child_id(self):
|
|
90
|
+
"""Gets the part_child_id of this PartCount. # noqa: E501
|
|
91
|
+
|
|
92
|
+
Child part unique identifier, common to all revisions of the same part # noqa: E501
|
|
93
|
+
|
|
94
|
+
:return: The part_child_id of this PartCount. # noqa: E501
|
|
95
|
+
:rtype: str
|
|
96
|
+
"""
|
|
97
|
+
return self._part_child_id
|
|
98
|
+
|
|
99
|
+
@part_child_id.setter
|
|
100
|
+
def part_child_id(self, part_child_id):
|
|
101
|
+
"""Sets the part_child_id of this PartCount.
|
|
102
|
+
|
|
103
|
+
Child part unique identifier, common to all revisions of the same part # noqa: E501
|
|
104
|
+
|
|
105
|
+
:param part_child_id: The part_child_id of this PartCount. # noqa: E501
|
|
106
|
+
:type: str
|
|
107
|
+
"""
|
|
108
|
+
if part_child_id is None:
|
|
109
|
+
raise ValueError("Invalid value for `part_child_id`, must not be `None`") # noqa: E501
|
|
110
|
+
|
|
111
|
+
self._part_child_id = part_child_id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def count(self):
|
|
115
|
+
"""Gets the count of this PartCount. # noqa: E501
|
|
116
|
+
|
|
117
|
+
TODO Nombre d'occurence du part enfant dans le parent # noqa: E501
|
|
118
|
+
|
|
119
|
+
:return: The count of this PartCount. # noqa: E501
|
|
120
|
+
:rtype: int
|
|
121
|
+
"""
|
|
122
|
+
return self._count
|
|
123
|
+
|
|
124
|
+
@count.setter
|
|
125
|
+
def count(self, count):
|
|
126
|
+
"""Sets the count of this PartCount.
|
|
127
|
+
|
|
128
|
+
TODO Nombre d'occurence du part enfant dans le parent # noqa: E501
|
|
129
|
+
|
|
130
|
+
:param count: The count of this PartCount. # noqa: E501
|
|
131
|
+
:type: int
|
|
132
|
+
"""
|
|
133
|
+
if count is None:
|
|
134
|
+
raise ValueError("Invalid value for `count`, must not be `None`") # noqa: E501
|
|
135
|
+
|
|
136
|
+
self._count = count
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def last_update_date_utc(self):
|
|
140
|
+
"""Gets the last_update_date_utc of this PartCount. # noqa: E501
|
|
141
|
+
|
|
142
|
+
Last partCount update utc date # noqa: E501
|
|
143
|
+
|
|
144
|
+
:return: The last_update_date_utc of this PartCount. # noqa: E501
|
|
145
|
+
:rtype: datetime
|
|
146
|
+
"""
|
|
147
|
+
return self._last_update_date_utc
|
|
148
|
+
|
|
149
|
+
@last_update_date_utc.setter
|
|
150
|
+
def last_update_date_utc(self, last_update_date_utc):
|
|
151
|
+
"""Sets the last_update_date_utc of this PartCount.
|
|
152
|
+
|
|
153
|
+
Last partCount update utc date # noqa: E501
|
|
154
|
+
|
|
155
|
+
:param last_update_date_utc: The last_update_date_utc of this PartCount. # noqa: E501
|
|
156
|
+
:type: datetime
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
self._last_update_date_utc = last_update_date_utc
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def last_update_user(self):
|
|
163
|
+
"""Gets the last_update_user of this PartCount. # noqa: E501
|
|
164
|
+
|
|
165
|
+
The name of the user who performed the last update on the partCount # noqa: E501
|
|
166
|
+
|
|
167
|
+
:return: The last_update_user of this PartCount. # noqa: E501
|
|
168
|
+
:rtype: str
|
|
169
|
+
"""
|
|
170
|
+
return self._last_update_user
|
|
171
|
+
|
|
172
|
+
@last_update_user.setter
|
|
173
|
+
def last_update_user(self, last_update_user):
|
|
174
|
+
"""Sets the last_update_user of this PartCount.
|
|
175
|
+
|
|
176
|
+
The name of the user who performed the last update on the partCount # noqa: E501
|
|
177
|
+
|
|
178
|
+
:param last_update_user: The last_update_user of this PartCount. # noqa: E501
|
|
179
|
+
:type: str
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
self._last_update_user = last_update_user
|
|
183
|
+
|
|
184
|
+
def to_dict(self):
|
|
185
|
+
"""Returns the model properties as a dict"""
|
|
186
|
+
result = {}
|
|
187
|
+
|
|
188
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
189
|
+
value = getattr(self, attr)
|
|
190
|
+
if isinstance(value, list):
|
|
191
|
+
result[attr] = list(map(
|
|
192
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
193
|
+
value
|
|
194
|
+
))
|
|
195
|
+
elif hasattr(value, "to_dict"):
|
|
196
|
+
result[attr] = value.to_dict()
|
|
197
|
+
elif isinstance(value, dict):
|
|
198
|
+
result[attr] = dict(map(
|
|
199
|
+
lambda item: (item[0], item[1].to_dict())
|
|
200
|
+
if hasattr(item[1], "to_dict") else item,
|
|
201
|
+
value.items()
|
|
202
|
+
))
|
|
203
|
+
else:
|
|
204
|
+
result[attr] = value
|
|
205
|
+
if issubclass(PartCount, dict):
|
|
206
|
+
for key, value in self.items():
|
|
207
|
+
result[key] = value
|
|
208
|
+
|
|
209
|
+
return result
|
|
210
|
+
|
|
211
|
+
def to_str(self):
|
|
212
|
+
"""Returns the string representation of the model"""
|
|
213
|
+
return pprint.pformat(self.to_dict())
|
|
214
|
+
|
|
215
|
+
def __repr__(self):
|
|
216
|
+
"""For `print` and `pprint`"""
|
|
217
|
+
return self.to_str()
|
|
218
|
+
|
|
219
|
+
def __eq__(self, other):
|
|
220
|
+
"""Returns true if both objects are equal"""
|
|
221
|
+
if not isinstance(other, PartCount):
|
|
222
|
+
return False
|
|
223
|
+
|
|
224
|
+
return self.__dict__ == other.__dict__
|
|
225
|
+
|
|
226
|
+
def __ne__(self, other):
|
|
227
|
+
"""Returns true if both objects are not equal"""
|
|
228
|
+
return not self == other
|
|
@@ -15,6 +15,7 @@ import re # noqa: F401
|
|
|
15
15
|
|
|
16
16
|
import six
|
|
17
17
|
|
|
18
|
+
|
|
18
19
|
class ProblemDetails(dict):
|
|
19
20
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
21
|
|
|
@@ -29,18 +30,13 @@ class ProblemDetails(dict):
|
|
|
29
30
|
"""
|
|
30
31
|
swagger_types = {
|
|
31
32
|
}
|
|
32
|
-
if hasattr(dict, "swagger_types"):
|
|
33
|
-
swagger_types.update(dict.swagger_types)
|
|
34
33
|
|
|
35
34
|
attribute_map = {
|
|
36
35
|
}
|
|
37
|
-
if hasattr(dict, "attribute_map"):
|
|
38
|
-
attribute_map.update(dict.attribute_map)
|
|
39
36
|
|
|
40
|
-
def __init__(self
|
|
37
|
+
def __init__(self): # noqa: E501
|
|
41
38
|
"""ProblemDetails - a model defined in Swagger""" # noqa: E501
|
|
42
39
|
self.discriminator = None
|
|
43
|
-
dict.__init__(self, *args, **kwargs)
|
|
44
40
|
|
|
45
41
|
def to_dict(self):
|
|
46
42
|
"""Returns the model properties as a dict"""
|
teamdbapi/models/revision.py
CHANGED
|
@@ -15,6 +15,7 @@ import re # noqa: F401
|
|
|
15
15
|
|
|
16
16
|
import six
|
|
17
17
|
|
|
18
|
+
|
|
18
19
|
class Revision(object):
|
|
19
20
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
21
|
|
|
@@ -43,7 +44,11 @@ class Revision(object):
|
|
|
43
44
|
'data_updated_date': 'datetime',
|
|
44
45
|
'data_axe_x': 'list[float]',
|
|
45
46
|
'data_axe_y': 'list[float]',
|
|
46
|
-
'data_axe_z': 'list[float]'
|
|
47
|
+
'data_axe_z': 'list[float]',
|
|
48
|
+
'linked_x_axis_id': 'str',
|
|
49
|
+
'linked_y_axis_id': 'str',
|
|
50
|
+
'linked_z_axis_id': 'str',
|
|
51
|
+
'is_lifing_sensor_main_revision': 'bool'
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
attribute_map = {
|
|
@@ -62,10 +67,14 @@ class Revision(object):
|
|
|
62
67
|
'data_updated_date': 'DataUpdatedDate',
|
|
63
68
|
'data_axe_x': 'DataAxeX',
|
|
64
69
|
'data_axe_y': 'DataAxeY',
|
|
65
|
-
'data_axe_z': 'DataAxeZ'
|
|
70
|
+
'data_axe_z': 'DataAxeZ',
|
|
71
|
+
'linked_x_axis_id': 'LinkedXAxisId',
|
|
72
|
+
'linked_y_axis_id': 'LinkedYAxisId',
|
|
73
|
+
'linked_z_axis_id': 'LinkedZAxisId',
|
|
74
|
+
'is_lifing_sensor_main_revision': 'IsLifingSensorMainRevision'
|
|
66
75
|
}
|
|
67
76
|
|
|
68
|
-
def __init__(self, id=None, name=None, date_revision=None, maturity=None, value=None, parameter_id=None, is_obsolete=None, parameter_value_check_sum=None, comment=None, user_name=None, last_update_date_utc=None, is_new=None, data_updated_date=None, data_axe_x=None, data_axe_y=None, data_axe_z=None): # noqa: E501
|
|
77
|
+
def __init__(self, id=None, name=None, date_revision=None, maturity=None, value=None, parameter_id=None, is_obsolete=None, parameter_value_check_sum=None, comment=None, user_name=None, last_update_date_utc=None, is_new=None, data_updated_date=None, data_axe_x=None, data_axe_y=None, data_axe_z=None, linked_x_axis_id=None, linked_y_axis_id=None, linked_z_axis_id=None, is_lifing_sensor_main_revision=None): # noqa: E501
|
|
69
78
|
"""Revision - a model defined in Swagger""" # noqa: E501
|
|
70
79
|
self._id = None
|
|
71
80
|
self._name = None
|
|
@@ -83,6 +92,10 @@ class Revision(object):
|
|
|
83
92
|
self._data_axe_x = None
|
|
84
93
|
self._data_axe_y = None
|
|
85
94
|
self._data_axe_z = None
|
|
95
|
+
self._linked_x_axis_id = None
|
|
96
|
+
self._linked_y_axis_id = None
|
|
97
|
+
self._linked_z_axis_id = None
|
|
98
|
+
self._is_lifing_sensor_main_revision = None
|
|
86
99
|
self.discriminator = None
|
|
87
100
|
self.id = id
|
|
88
101
|
self.name = name
|
|
@@ -111,6 +124,14 @@ class Revision(object):
|
|
|
111
124
|
self.data_axe_y = data_axe_y
|
|
112
125
|
if data_axe_z is not None:
|
|
113
126
|
self.data_axe_z = data_axe_z
|
|
127
|
+
if linked_x_axis_id is not None:
|
|
128
|
+
self.linked_x_axis_id = linked_x_axis_id
|
|
129
|
+
if linked_y_axis_id is not None:
|
|
130
|
+
self.linked_y_axis_id = linked_y_axis_id
|
|
131
|
+
if linked_z_axis_id is not None:
|
|
132
|
+
self.linked_z_axis_id = linked_z_axis_id
|
|
133
|
+
if is_lifing_sensor_main_revision is not None:
|
|
134
|
+
self.is_lifing_sensor_main_revision = is_lifing_sensor_main_revision
|
|
114
135
|
|
|
115
136
|
@property
|
|
116
137
|
def id(self):
|
|
@@ -490,6 +511,98 @@ class Revision(object):
|
|
|
490
511
|
|
|
491
512
|
self._data_axe_z = data_axe_z
|
|
492
513
|
|
|
514
|
+
@property
|
|
515
|
+
def linked_x_axis_id(self):
|
|
516
|
+
"""Gets the linked_x_axis_id of this Revision. # noqa: E501
|
|
517
|
+
|
|
518
|
+
If Target.LinkMapToAxis is enabled then the field contains the X axis revision Id associated with the map/curve revision # noqa: E501
|
|
519
|
+
|
|
520
|
+
:return: The linked_x_axis_id of this Revision. # noqa: E501
|
|
521
|
+
:rtype: str
|
|
522
|
+
"""
|
|
523
|
+
return self._linked_x_axis_id
|
|
524
|
+
|
|
525
|
+
@linked_x_axis_id.setter
|
|
526
|
+
def linked_x_axis_id(self, linked_x_axis_id):
|
|
527
|
+
"""Sets the linked_x_axis_id of this Revision.
|
|
528
|
+
|
|
529
|
+
If Target.LinkMapToAxis is enabled then the field contains the X axis revision Id associated with the map/curve revision # noqa: E501
|
|
530
|
+
|
|
531
|
+
:param linked_x_axis_id: The linked_x_axis_id of this Revision. # noqa: E501
|
|
532
|
+
:type: str
|
|
533
|
+
"""
|
|
534
|
+
|
|
535
|
+
self._linked_x_axis_id = linked_x_axis_id
|
|
536
|
+
|
|
537
|
+
@property
|
|
538
|
+
def linked_y_axis_id(self):
|
|
539
|
+
"""Gets the linked_y_axis_id of this Revision. # noqa: E501
|
|
540
|
+
|
|
541
|
+
If Target.LinkMapToAxis is enabled then the field contains the Y axis revision Id associated with the map/curve revision # noqa: E501
|
|
542
|
+
|
|
543
|
+
:return: The linked_y_axis_id of this Revision. # noqa: E501
|
|
544
|
+
:rtype: str
|
|
545
|
+
"""
|
|
546
|
+
return self._linked_y_axis_id
|
|
547
|
+
|
|
548
|
+
@linked_y_axis_id.setter
|
|
549
|
+
def linked_y_axis_id(self, linked_y_axis_id):
|
|
550
|
+
"""Sets the linked_y_axis_id of this Revision.
|
|
551
|
+
|
|
552
|
+
If Target.LinkMapToAxis is enabled then the field contains the Y axis revision Id associated with the map/curve revision # noqa: E501
|
|
553
|
+
|
|
554
|
+
:param linked_y_axis_id: The linked_y_axis_id of this Revision. # noqa: E501
|
|
555
|
+
:type: str
|
|
556
|
+
"""
|
|
557
|
+
|
|
558
|
+
self._linked_y_axis_id = linked_y_axis_id
|
|
559
|
+
|
|
560
|
+
@property
|
|
561
|
+
def linked_z_axis_id(self):
|
|
562
|
+
"""Gets the linked_z_axis_id of this Revision. # noqa: E501
|
|
563
|
+
|
|
564
|
+
If Target.LinkMapToAxis is enabled then the field contains the Z axis revision Id associated with the map/curve revision # noqa: E501
|
|
565
|
+
|
|
566
|
+
:return: The linked_z_axis_id of this Revision. # noqa: E501
|
|
567
|
+
:rtype: str
|
|
568
|
+
"""
|
|
569
|
+
return self._linked_z_axis_id
|
|
570
|
+
|
|
571
|
+
@linked_z_axis_id.setter
|
|
572
|
+
def linked_z_axis_id(self, linked_z_axis_id):
|
|
573
|
+
"""Sets the linked_z_axis_id of this Revision.
|
|
574
|
+
|
|
575
|
+
If Target.LinkMapToAxis is enabled then the field contains the Z axis revision Id associated with the map/curve revision # noqa: E501
|
|
576
|
+
|
|
577
|
+
:param linked_z_axis_id: The linked_z_axis_id of this Revision. # noqa: E501
|
|
578
|
+
:type: str
|
|
579
|
+
"""
|
|
580
|
+
|
|
581
|
+
self._linked_z_axis_id = linked_z_axis_id
|
|
582
|
+
|
|
583
|
+
@property
|
|
584
|
+
def is_lifing_sensor_main_revision(self):
|
|
585
|
+
"""Gets the is_lifing_sensor_main_revision of this Revision. # noqa: E501
|
|
586
|
+
|
|
587
|
+
When the revision is associated with a lifing component, this flag indicate that the revision will be used as the main revision when importing the parameters data from a lifing mounting to a car parameter assembly. This field is only filled when calling the routes: \"partNumber/{partNumber}/serialNumber/{serialNumber}/revisions\" \"partNumber/{partNumber}/serialNumber/{serialNumber}/parameterPath/{parameterPath}/targetName/{targetName}/revisions\" # noqa: E501
|
|
588
|
+
|
|
589
|
+
:return: The is_lifing_sensor_main_revision of this Revision. # noqa: E501
|
|
590
|
+
:rtype: bool
|
|
591
|
+
"""
|
|
592
|
+
return self._is_lifing_sensor_main_revision
|
|
593
|
+
|
|
594
|
+
@is_lifing_sensor_main_revision.setter
|
|
595
|
+
def is_lifing_sensor_main_revision(self, is_lifing_sensor_main_revision):
|
|
596
|
+
"""Sets the is_lifing_sensor_main_revision of this Revision.
|
|
597
|
+
|
|
598
|
+
When the revision is associated with a lifing component, this flag indicate that the revision will be used as the main revision when importing the parameters data from a lifing mounting to a car parameter assembly. This field is only filled when calling the routes: \"partNumber/{partNumber}/serialNumber/{serialNumber}/revisions\" \"partNumber/{partNumber}/serialNumber/{serialNumber}/parameterPath/{parameterPath}/targetName/{targetName}/revisions\" # noqa: E501
|
|
599
|
+
|
|
600
|
+
:param is_lifing_sensor_main_revision: The is_lifing_sensor_main_revision of this Revision. # noqa: E501
|
|
601
|
+
:type: bool
|
|
602
|
+
"""
|
|
603
|
+
|
|
604
|
+
self._is_lifing_sensor_main_revision = is_lifing_sensor_main_revision
|
|
605
|
+
|
|
493
606
|
def to_dict(self):
|
|
494
607
|
"""Returns the model properties as a dict"""
|
|
495
608
|
result = {}
|
|
@@ -15,6 +15,7 @@ import re # noqa: F401
|
|
|
15
15
|
|
|
16
16
|
import six
|
|
17
17
|
|
|
18
|
+
|
|
18
19
|
class RevisionValue(object):
|
|
19
20
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
21
|
|
|
@@ -31,22 +32,25 @@ class RevisionValue(object):
|
|
|
31
32
|
'value': 'list[object]',
|
|
32
33
|
'data_axe_x': 'list[float]',
|
|
33
34
|
'data_axe_y': 'list[float]',
|
|
34
|
-
'data_axe_z': 'list[float]'
|
|
35
|
+
'data_axe_z': 'list[float]',
|
|
36
|
+
'is_main_revision': 'bool'
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
attribute_map = {
|
|
38
40
|
'value': 'Value',
|
|
39
41
|
'data_axe_x': 'DataAxeX',
|
|
40
42
|
'data_axe_y': 'DataAxeY',
|
|
41
|
-
'data_axe_z': 'DataAxeZ'
|
|
43
|
+
'data_axe_z': 'DataAxeZ',
|
|
44
|
+
'is_main_revision': 'IsMainRevision'
|
|
42
45
|
}
|
|
43
46
|
|
|
44
|
-
def __init__(self, value=None, data_axe_x=None, data_axe_y=None, data_axe_z=None): # noqa: E501
|
|
47
|
+
def __init__(self, value=None, data_axe_x=None, data_axe_y=None, data_axe_z=None, is_main_revision=None): # noqa: E501
|
|
45
48
|
"""RevisionValue - a model defined in Swagger""" # noqa: E501
|
|
46
49
|
self._value = None
|
|
47
50
|
self._data_axe_x = None
|
|
48
51
|
self._data_axe_y = None
|
|
49
52
|
self._data_axe_z = None
|
|
53
|
+
self._is_main_revision = None
|
|
50
54
|
self.discriminator = None
|
|
51
55
|
self.value = value
|
|
52
56
|
if data_axe_x is not None:
|
|
@@ -55,6 +59,8 @@ class RevisionValue(object):
|
|
|
55
59
|
self.data_axe_y = data_axe_y
|
|
56
60
|
if data_axe_z is not None:
|
|
57
61
|
self.data_axe_z = data_axe_z
|
|
62
|
+
if is_main_revision is not None:
|
|
63
|
+
self.is_main_revision = is_main_revision
|
|
58
64
|
|
|
59
65
|
@property
|
|
60
66
|
def value(self):
|
|
@@ -150,6 +156,29 @@ class RevisionValue(object):
|
|
|
150
156
|
|
|
151
157
|
self._data_axe_z = data_axe_z
|
|
152
158
|
|
|
159
|
+
@property
|
|
160
|
+
def is_main_revision(self):
|
|
161
|
+
"""Gets the is_main_revision of this RevisionValue. # noqa: E501
|
|
162
|
+
|
|
163
|
+
When true, the revision is used in priority when importing revision from a Lifing mounting to a car parameters assembly. Otherwise, the most recent revision will be used. # noqa: E501
|
|
164
|
+
|
|
165
|
+
:return: The is_main_revision of this RevisionValue. # noqa: E501
|
|
166
|
+
:rtype: bool
|
|
167
|
+
"""
|
|
168
|
+
return self._is_main_revision
|
|
169
|
+
|
|
170
|
+
@is_main_revision.setter
|
|
171
|
+
def is_main_revision(self, is_main_revision):
|
|
172
|
+
"""Sets the is_main_revision of this RevisionValue.
|
|
173
|
+
|
|
174
|
+
When true, the revision is used in priority when importing revision from a Lifing mounting to a car parameters assembly. Otherwise, the most recent revision will be used. # noqa: E501
|
|
175
|
+
|
|
176
|
+
:param is_main_revision: The is_main_revision of this RevisionValue. # noqa: E501
|
|
177
|
+
:type: bool
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
self._is_main_revision = is_main_revision
|
|
181
|
+
|
|
153
182
|
def to_dict(self):
|
|
154
183
|
"""Returns the model properties as a dict"""
|
|
155
184
|
result = {}
|
teamdbapi/models/run.py
CHANGED
teamdbapi/models/script.py
CHANGED
teamdbapi/models/session.py
CHANGED
teamdbapi/models/target.py
CHANGED
|
@@ -15,6 +15,7 @@ import re # noqa: F401
|
|
|
15
15
|
|
|
16
16
|
import six
|
|
17
17
|
|
|
18
|
+
|
|
18
19
|
class Target(object):
|
|
19
20
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
21
|
|
|
@@ -37,7 +38,9 @@ class Target(object):
|
|
|
37
38
|
'revision_merge_comment_mandatory': 'bool',
|
|
38
39
|
'allow_override_limits': 'bool',
|
|
39
40
|
'assembly_name_suffix': 'str',
|
|
40
|
-
'show_param_has_new_revision': 'bool'
|
|
41
|
+
'show_param_has_new_revision': 'bool',
|
|
42
|
+
'link_map_to_axis': 'bool',
|
|
43
|
+
'reuse_previous_run_assembly': 'bool'
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
attribute_map = {
|
|
@@ -50,10 +53,12 @@ class Target(object):
|
|
|
50
53
|
'revision_merge_comment_mandatory': 'RevisionMergeCommentMandatory',
|
|
51
54
|
'allow_override_limits': 'AllowOverrideLimits',
|
|
52
55
|
'assembly_name_suffix': 'AssemblyNameSuffix',
|
|
53
|
-
'show_param_has_new_revision': 'ShowParamHasNewRevision'
|
|
56
|
+
'show_param_has_new_revision': 'ShowParamHasNewRevision',
|
|
57
|
+
'link_map_to_axis': 'LinkMapToAxis',
|
|
58
|
+
'reuse_previous_run_assembly': 'ReusePreviousRunAssembly'
|
|
54
59
|
}
|
|
55
60
|
|
|
56
|
-
def __init__(self, id=None, name=None, description=None, file_format='M', auto_generate_assembly=None, auto_generate_assembly_version_id=None, revision_merge_comment_mandatory=None, allow_override_limits=None, assembly_name_suffix=None, show_param_has_new_revision=None): # noqa: E501
|
|
61
|
+
def __init__(self, id=None, name=None, description=None, file_format='M', auto_generate_assembly=None, auto_generate_assembly_version_id=None, revision_merge_comment_mandatory=None, allow_override_limits=None, assembly_name_suffix=None, show_param_has_new_revision=None, link_map_to_axis=None, reuse_previous_run_assembly=None): # noqa: E501
|
|
57
62
|
"""Target - a model defined in Swagger""" # noqa: E501
|
|
58
63
|
self._id = None
|
|
59
64
|
self._name = None
|
|
@@ -65,6 +70,8 @@ class Target(object):
|
|
|
65
70
|
self._allow_override_limits = None
|
|
66
71
|
self._assembly_name_suffix = None
|
|
67
72
|
self._show_param_has_new_revision = None
|
|
73
|
+
self._link_map_to_axis = None
|
|
74
|
+
self._reuse_previous_run_assembly = None
|
|
68
75
|
self.discriminator = None
|
|
69
76
|
self.id = id
|
|
70
77
|
self.name = name
|
|
@@ -83,6 +90,10 @@ class Target(object):
|
|
|
83
90
|
self.assembly_name_suffix = assembly_name_suffix
|
|
84
91
|
if show_param_has_new_revision is not None:
|
|
85
92
|
self.show_param_has_new_revision = show_param_has_new_revision
|
|
93
|
+
if link_map_to_axis is not None:
|
|
94
|
+
self.link_map_to_axis = link_map_to_axis
|
|
95
|
+
if reuse_previous_run_assembly is not None:
|
|
96
|
+
self.reuse_previous_run_assembly = reuse_previous_run_assembly
|
|
86
97
|
|
|
87
98
|
@property
|
|
88
99
|
def id(self):
|
|
@@ -192,7 +203,7 @@ class Target(object):
|
|
|
192
203
|
def auto_generate_assembly(self):
|
|
193
204
|
"""Gets the auto_generate_assembly of this Target. # noqa: E501
|
|
194
205
|
|
|
195
|
-
True if we want to automatically generate assemblies when new Runs are created # noqa: E501
|
|
206
|
+
True if we want to automatically generate assemblies when new Runs are created If true, then ReusePreviousRunAssembly is disabled # noqa: E501
|
|
196
207
|
|
|
197
208
|
:return: The auto_generate_assembly of this Target. # noqa: E501
|
|
198
209
|
:rtype: bool
|
|
@@ -203,7 +214,7 @@ class Target(object):
|
|
|
203
214
|
def auto_generate_assembly(self, auto_generate_assembly):
|
|
204
215
|
"""Sets the auto_generate_assembly of this Target.
|
|
205
216
|
|
|
206
|
-
True if we want to automatically generate assemblies when new Runs are created # noqa: E501
|
|
217
|
+
True if we want to automatically generate assemblies when new Runs are created If true, then ReusePreviousRunAssembly is disabled # noqa: E501
|
|
207
218
|
|
|
208
219
|
:param auto_generate_assembly: The auto_generate_assembly of this Target. # noqa: E501
|
|
209
220
|
:type: bool
|
|
@@ -307,7 +318,7 @@ class Target(object):
|
|
|
307
318
|
def show_param_has_new_revision(self):
|
|
308
319
|
"""Gets the show_param_has_new_revision of this Target. # noqa: E501
|
|
309
320
|
|
|
310
|
-
|
|
321
|
+
True to highlight the parameters having new revisions on the parameters grid # noqa: E501
|
|
311
322
|
|
|
312
323
|
:return: The show_param_has_new_revision of this Target. # noqa: E501
|
|
313
324
|
:rtype: bool
|
|
@@ -318,7 +329,7 @@ class Target(object):
|
|
|
318
329
|
def show_param_has_new_revision(self, show_param_has_new_revision):
|
|
319
330
|
"""Sets the show_param_has_new_revision of this Target.
|
|
320
331
|
|
|
321
|
-
|
|
332
|
+
True to highlight the parameters having new revisions on the parameters grid # noqa: E501
|
|
322
333
|
|
|
323
334
|
:param show_param_has_new_revision: The show_param_has_new_revision of this Target. # noqa: E501
|
|
324
335
|
:type: bool
|
|
@@ -326,6 +337,52 @@ class Target(object):
|
|
|
326
337
|
|
|
327
338
|
self._show_param_has_new_revision = show_param_has_new_revision
|
|
328
339
|
|
|
340
|
+
@property
|
|
341
|
+
def link_map_to_axis(self):
|
|
342
|
+
"""Gets the link_map_to_axis of this Target. # noqa: E501
|
|
343
|
+
|
|
344
|
+
true to enabled the option that allows you to select the axis revisions you expect to find when you export an assembly # noqa: E501
|
|
345
|
+
|
|
346
|
+
:return: The link_map_to_axis of this Target. # noqa: E501
|
|
347
|
+
:rtype: bool
|
|
348
|
+
"""
|
|
349
|
+
return self._link_map_to_axis
|
|
350
|
+
|
|
351
|
+
@link_map_to_axis.setter
|
|
352
|
+
def link_map_to_axis(self, link_map_to_axis):
|
|
353
|
+
"""Sets the link_map_to_axis of this Target.
|
|
354
|
+
|
|
355
|
+
true to enabled the option that allows you to select the axis revisions you expect to find when you export an assembly # noqa: E501
|
|
356
|
+
|
|
357
|
+
:param link_map_to_axis: The link_map_to_axis of this Target. # noqa: E501
|
|
358
|
+
:type: bool
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
self._link_map_to_axis = link_map_to_axis
|
|
362
|
+
|
|
363
|
+
@property
|
|
364
|
+
def reuse_previous_run_assembly(self):
|
|
365
|
+
"""Gets the reuse_previous_run_assembly of this Target. # noqa: E501
|
|
366
|
+
|
|
367
|
+
True if we want to automatically reusue the same assemblies associated with the previous run when a new Run is created If true, then AutoGenerateAssembly is disabled # noqa: E501
|
|
368
|
+
|
|
369
|
+
:return: The reuse_previous_run_assembly of this Target. # noqa: E501
|
|
370
|
+
:rtype: bool
|
|
371
|
+
"""
|
|
372
|
+
return self._reuse_previous_run_assembly
|
|
373
|
+
|
|
374
|
+
@reuse_previous_run_assembly.setter
|
|
375
|
+
def reuse_previous_run_assembly(self, reuse_previous_run_assembly):
|
|
376
|
+
"""Sets the reuse_previous_run_assembly of this Target.
|
|
377
|
+
|
|
378
|
+
True if we want to automatically reusue the same assemblies associated with the previous run when a new Run is created If true, then AutoGenerateAssembly is disabled # noqa: E501
|
|
379
|
+
|
|
380
|
+
:param reuse_previous_run_assembly: The reuse_previous_run_assembly of this Target. # noqa: E501
|
|
381
|
+
:type: bool
|
|
382
|
+
"""
|
|
383
|
+
|
|
384
|
+
self._reuse_previous_run_assembly = reuse_previous_run_assembly
|
|
385
|
+
|
|
329
386
|
def to_dict(self):
|
|
330
387
|
"""Returns the model properties as a dict"""
|
|
331
388
|
result = {}
|