teamdbapi 3.2.0__py3-none-any.whl → 3.4.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 +4 -0
- teamdbapi/api/__init__.py +2 -0
- teamdbapi/api/assembly_api.py +4 -4
- teamdbapi/api/component_api.py +85 -0
- teamdbapi/api/edit_api.py +89 -0
- teamdbapi/api/import_export_api.py +12 -12
- teamdbapi/api/lap_report_api.py +2 -2
- teamdbapi/api/overall_api.py +118 -0
- teamdbapi/api/parameter_binding_api.py +508 -0
- teamdbapi/api/report_api.py +2 -2
- teamdbapi/api/revision_api.py +2 -2
- teamdbapi/api/value_field_api.py +103 -2
- teamdbapi/models/__init__.py +2 -0
- teamdbapi/models/car_parameters_context.py +31 -3
- teamdbapi/models/compare_options.py +2 -2
- teamdbapi/models/component.py +31 -3
- teamdbapi/models/criteria.py +2 -2
- teamdbapi/models/file_revision_info.py +2 -2
- teamdbapi/models/fixed_field.py +1 -1
- teamdbapi/models/import_parameters_args.py +2 -2
- teamdbapi/models/lap_report_options.py +2 -2
- teamdbapi/models/model_field.py +1 -1
- teamdbapi/models/overall.py +198 -0
- teamdbapi/models/parameter_binding.py +401 -0
- teamdbapi/models/parameter_cross_table.py +4 -4
- teamdbapi/models/script.py +2 -2
- teamdbapi/models/target.py +35 -7
- teamdbapi/models/version.py +4 -4
- {teamdbapi-3.2.0.dist-info → teamdbapi-3.4.0.dist-info}/METADATA +3 -3
- {teamdbapi-3.2.0.dist-info → teamdbapi-3.4.0.dist-info}/RECORD +32 -28
- {teamdbapi-3.2.0.dist-info → teamdbapi-3.4.0.dist-info}/LICENSE +0 -0
- {teamdbapi-3.2.0.dist-info → teamdbapi-3.4.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,401 @@
|
|
|
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 ParameterBinding(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
|
+
'id': 'str',
|
|
33
|
+
'name': 'str',
|
|
34
|
+
'system': 'str',
|
|
35
|
+
'position': 'str',
|
|
36
|
+
'x_coordinate': 'float',
|
|
37
|
+
'y_coordinate': 'float',
|
|
38
|
+
'z_coordinate': 'float',
|
|
39
|
+
'type': 'str',
|
|
40
|
+
'acquisition': 'str',
|
|
41
|
+
'last_update_date_utc': 'datetime',
|
|
42
|
+
'last_update_user': 'str'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'id': 'Id',
|
|
47
|
+
'name': 'Name',
|
|
48
|
+
'system': 'System',
|
|
49
|
+
'position': 'Position',
|
|
50
|
+
'x_coordinate': 'XCoordinate',
|
|
51
|
+
'y_coordinate': 'YCoordinate',
|
|
52
|
+
'z_coordinate': 'ZCoordinate',
|
|
53
|
+
'type': 'Type',
|
|
54
|
+
'acquisition': 'Acquisition',
|
|
55
|
+
'last_update_date_utc': 'LastUpdateDateUtc',
|
|
56
|
+
'last_update_user': 'LastUpdateUser'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, id=None, name=None, system=None, position=None, x_coordinate=None, y_coordinate=None, z_coordinate=None, type=None, acquisition=None, last_update_date_utc=None, last_update_user=None): # noqa: E501
|
|
60
|
+
"""ParameterBinding - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
self._id = None
|
|
62
|
+
self._name = None
|
|
63
|
+
self._system = None
|
|
64
|
+
self._position = None
|
|
65
|
+
self._x_coordinate = None
|
|
66
|
+
self._y_coordinate = None
|
|
67
|
+
self._z_coordinate = None
|
|
68
|
+
self._type = None
|
|
69
|
+
self._acquisition = None
|
|
70
|
+
self._last_update_date_utc = None
|
|
71
|
+
self._last_update_user = None
|
|
72
|
+
self.discriminator = None
|
|
73
|
+
self.id = id
|
|
74
|
+
self.name = name
|
|
75
|
+
if system is not None:
|
|
76
|
+
self.system = system
|
|
77
|
+
if position is not None:
|
|
78
|
+
self.position = position
|
|
79
|
+
if x_coordinate is not None:
|
|
80
|
+
self.x_coordinate = x_coordinate
|
|
81
|
+
if y_coordinate is not None:
|
|
82
|
+
self.y_coordinate = y_coordinate
|
|
83
|
+
if z_coordinate is not None:
|
|
84
|
+
self.z_coordinate = z_coordinate
|
|
85
|
+
if type is not None:
|
|
86
|
+
self.type = type
|
|
87
|
+
if acquisition is not None:
|
|
88
|
+
self.acquisition = acquisition
|
|
89
|
+
if last_update_date_utc is not None:
|
|
90
|
+
self.last_update_date_utc = last_update_date_utc
|
|
91
|
+
if last_update_user is not None:
|
|
92
|
+
self.last_update_user = last_update_user
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
def id(self):
|
|
96
|
+
"""Gets the id of this ParameterBinding. # noqa: E501
|
|
97
|
+
|
|
98
|
+
ParameterBinding unique identifier. Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new ParameterBinding. # noqa: E501
|
|
99
|
+
|
|
100
|
+
:return: The id of this ParameterBinding. # noqa: E501
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._id
|
|
104
|
+
|
|
105
|
+
@id.setter
|
|
106
|
+
def id(self, id):
|
|
107
|
+
"""Sets the id of this ParameterBinding.
|
|
108
|
+
|
|
109
|
+
ParameterBinding unique identifier. Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new ParameterBinding. # noqa: E501
|
|
110
|
+
|
|
111
|
+
:param id: The id of this ParameterBinding. # noqa: E501
|
|
112
|
+
:type: str
|
|
113
|
+
"""
|
|
114
|
+
if id is None:
|
|
115
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
116
|
+
|
|
117
|
+
self._id = id
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
def name(self):
|
|
121
|
+
"""Gets the name of this ParameterBinding. # noqa: E501
|
|
122
|
+
|
|
123
|
+
Name of the ParameterBinding # noqa: E501
|
|
124
|
+
|
|
125
|
+
:return: The name of this ParameterBinding. # noqa: E501
|
|
126
|
+
:rtype: str
|
|
127
|
+
"""
|
|
128
|
+
return self._name
|
|
129
|
+
|
|
130
|
+
@name.setter
|
|
131
|
+
def name(self, name):
|
|
132
|
+
"""Sets the name of this ParameterBinding.
|
|
133
|
+
|
|
134
|
+
Name of the ParameterBinding # noqa: E501
|
|
135
|
+
|
|
136
|
+
:param name: The name of this ParameterBinding. # noqa: E501
|
|
137
|
+
:type: str
|
|
138
|
+
"""
|
|
139
|
+
if name is None:
|
|
140
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
141
|
+
|
|
142
|
+
self._name = name
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def system(self):
|
|
146
|
+
"""Gets the system of this ParameterBinding. # noqa: E501
|
|
147
|
+
|
|
148
|
+
ParameterBinding system # noqa: E501
|
|
149
|
+
|
|
150
|
+
:return: The system of this ParameterBinding. # noqa: E501
|
|
151
|
+
:rtype: str
|
|
152
|
+
"""
|
|
153
|
+
return self._system
|
|
154
|
+
|
|
155
|
+
@system.setter
|
|
156
|
+
def system(self, system):
|
|
157
|
+
"""Sets the system of this ParameterBinding.
|
|
158
|
+
|
|
159
|
+
ParameterBinding system # noqa: E501
|
|
160
|
+
|
|
161
|
+
:param system: The system of this ParameterBinding. # noqa: E501
|
|
162
|
+
:type: str
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
self._system = system
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
def position(self):
|
|
169
|
+
"""Gets the position of this ParameterBinding. # noqa: E501
|
|
170
|
+
|
|
171
|
+
ParameterBinding position # noqa: E501
|
|
172
|
+
|
|
173
|
+
:return: The position of this ParameterBinding. # noqa: E501
|
|
174
|
+
:rtype: str
|
|
175
|
+
"""
|
|
176
|
+
return self._position
|
|
177
|
+
|
|
178
|
+
@position.setter
|
|
179
|
+
def position(self, position):
|
|
180
|
+
"""Sets the position of this ParameterBinding.
|
|
181
|
+
|
|
182
|
+
ParameterBinding position # noqa: E501
|
|
183
|
+
|
|
184
|
+
:param position: The position of this ParameterBinding. # noqa: E501
|
|
185
|
+
:type: str
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._position = position
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def x_coordinate(self):
|
|
192
|
+
"""Gets the x_coordinate of this ParameterBinding. # noqa: E501
|
|
193
|
+
|
|
194
|
+
X coordinate of the ParameterBinding # noqa: E501
|
|
195
|
+
|
|
196
|
+
:return: The x_coordinate of this ParameterBinding. # noqa: E501
|
|
197
|
+
:rtype: float
|
|
198
|
+
"""
|
|
199
|
+
return self._x_coordinate
|
|
200
|
+
|
|
201
|
+
@x_coordinate.setter
|
|
202
|
+
def x_coordinate(self, x_coordinate):
|
|
203
|
+
"""Sets the x_coordinate of this ParameterBinding.
|
|
204
|
+
|
|
205
|
+
X coordinate of the ParameterBinding # noqa: E501
|
|
206
|
+
|
|
207
|
+
:param x_coordinate: The x_coordinate of this ParameterBinding. # noqa: E501
|
|
208
|
+
:type: float
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
self._x_coordinate = x_coordinate
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
def y_coordinate(self):
|
|
215
|
+
"""Gets the y_coordinate of this ParameterBinding. # noqa: E501
|
|
216
|
+
|
|
217
|
+
Y coordinate of the ParameterBinding # noqa: E501
|
|
218
|
+
|
|
219
|
+
:return: The y_coordinate of this ParameterBinding. # noqa: E501
|
|
220
|
+
:rtype: float
|
|
221
|
+
"""
|
|
222
|
+
return self._y_coordinate
|
|
223
|
+
|
|
224
|
+
@y_coordinate.setter
|
|
225
|
+
def y_coordinate(self, y_coordinate):
|
|
226
|
+
"""Sets the y_coordinate of this ParameterBinding.
|
|
227
|
+
|
|
228
|
+
Y coordinate of the ParameterBinding # noqa: E501
|
|
229
|
+
|
|
230
|
+
:param y_coordinate: The y_coordinate of this ParameterBinding. # noqa: E501
|
|
231
|
+
:type: float
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
self._y_coordinate = y_coordinate
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
def z_coordinate(self):
|
|
238
|
+
"""Gets the z_coordinate of this ParameterBinding. # noqa: E501
|
|
239
|
+
|
|
240
|
+
Z coordinate of the ParameterBinding # noqa: E501
|
|
241
|
+
|
|
242
|
+
:return: The z_coordinate of this ParameterBinding. # noqa: E501
|
|
243
|
+
:rtype: float
|
|
244
|
+
"""
|
|
245
|
+
return self._z_coordinate
|
|
246
|
+
|
|
247
|
+
@z_coordinate.setter
|
|
248
|
+
def z_coordinate(self, z_coordinate):
|
|
249
|
+
"""Sets the z_coordinate of this ParameterBinding.
|
|
250
|
+
|
|
251
|
+
Z coordinate of the ParameterBinding # noqa: E501
|
|
252
|
+
|
|
253
|
+
:param z_coordinate: The z_coordinate of this ParameterBinding. # noqa: E501
|
|
254
|
+
:type: float
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
self._z_coordinate = z_coordinate
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
def type(self):
|
|
261
|
+
"""Gets the type of this ParameterBinding. # noqa: E501
|
|
262
|
+
|
|
263
|
+
ParameterBinding type # noqa: E501
|
|
264
|
+
|
|
265
|
+
:return: The type of this ParameterBinding. # noqa: E501
|
|
266
|
+
:rtype: str
|
|
267
|
+
"""
|
|
268
|
+
return self._type
|
|
269
|
+
|
|
270
|
+
@type.setter
|
|
271
|
+
def type(self, type):
|
|
272
|
+
"""Sets the type of this ParameterBinding.
|
|
273
|
+
|
|
274
|
+
ParameterBinding type # noqa: E501
|
|
275
|
+
|
|
276
|
+
:param type: The type of this ParameterBinding. # noqa: E501
|
|
277
|
+
:type: str
|
|
278
|
+
"""
|
|
279
|
+
|
|
280
|
+
self._type = type
|
|
281
|
+
|
|
282
|
+
@property
|
|
283
|
+
def acquisition(self):
|
|
284
|
+
"""Gets the acquisition of this ParameterBinding. # noqa: E501
|
|
285
|
+
|
|
286
|
+
ParameterBinding acquisition mode # noqa: E501
|
|
287
|
+
|
|
288
|
+
:return: The acquisition of this ParameterBinding. # noqa: E501
|
|
289
|
+
:rtype: str
|
|
290
|
+
"""
|
|
291
|
+
return self._acquisition
|
|
292
|
+
|
|
293
|
+
@acquisition.setter
|
|
294
|
+
def acquisition(self, acquisition):
|
|
295
|
+
"""Sets the acquisition of this ParameterBinding.
|
|
296
|
+
|
|
297
|
+
ParameterBinding acquisition mode # noqa: E501
|
|
298
|
+
|
|
299
|
+
:param acquisition: The acquisition of this ParameterBinding. # noqa: E501
|
|
300
|
+
:type: str
|
|
301
|
+
"""
|
|
302
|
+
allowed_values = ["None", "Standard", "Virtual", "xCB"] # noqa: E501
|
|
303
|
+
if acquisition not in allowed_values:
|
|
304
|
+
raise ValueError(
|
|
305
|
+
"Invalid value for `acquisition` ({0}), must be one of {1}" # noqa: E501
|
|
306
|
+
.format(acquisition, allowed_values)
|
|
307
|
+
)
|
|
308
|
+
|
|
309
|
+
self._acquisition = acquisition
|
|
310
|
+
|
|
311
|
+
@property
|
|
312
|
+
def last_update_date_utc(self):
|
|
313
|
+
"""Gets the last_update_date_utc of this ParameterBinding. # noqa: E501
|
|
314
|
+
|
|
315
|
+
Last update utc date of the ParameterBinding # noqa: E501
|
|
316
|
+
|
|
317
|
+
:return: The last_update_date_utc of this ParameterBinding. # noqa: E501
|
|
318
|
+
:rtype: datetime
|
|
319
|
+
"""
|
|
320
|
+
return self._last_update_date_utc
|
|
321
|
+
|
|
322
|
+
@last_update_date_utc.setter
|
|
323
|
+
def last_update_date_utc(self, last_update_date_utc):
|
|
324
|
+
"""Sets the last_update_date_utc of this ParameterBinding.
|
|
325
|
+
|
|
326
|
+
Last update utc date of the ParameterBinding # noqa: E501
|
|
327
|
+
|
|
328
|
+
:param last_update_date_utc: The last_update_date_utc of this ParameterBinding. # noqa: E501
|
|
329
|
+
:type: datetime
|
|
330
|
+
"""
|
|
331
|
+
|
|
332
|
+
self._last_update_date_utc = last_update_date_utc
|
|
333
|
+
|
|
334
|
+
@property
|
|
335
|
+
def last_update_user(self):
|
|
336
|
+
"""Gets the last_update_user of this ParameterBinding. # noqa: E501
|
|
337
|
+
|
|
338
|
+
The name of the user who performed the last update on the ParameterBinding # noqa: E501
|
|
339
|
+
|
|
340
|
+
:return: The last_update_user of this ParameterBinding. # noqa: E501
|
|
341
|
+
:rtype: str
|
|
342
|
+
"""
|
|
343
|
+
return self._last_update_user
|
|
344
|
+
|
|
345
|
+
@last_update_user.setter
|
|
346
|
+
def last_update_user(self, last_update_user):
|
|
347
|
+
"""Sets the last_update_user of this ParameterBinding.
|
|
348
|
+
|
|
349
|
+
The name of the user who performed the last update on the ParameterBinding # noqa: E501
|
|
350
|
+
|
|
351
|
+
:param last_update_user: The last_update_user of this ParameterBinding. # noqa: E501
|
|
352
|
+
:type: str
|
|
353
|
+
"""
|
|
354
|
+
|
|
355
|
+
self._last_update_user = last_update_user
|
|
356
|
+
|
|
357
|
+
def to_dict(self):
|
|
358
|
+
"""Returns the model properties as a dict"""
|
|
359
|
+
result = {}
|
|
360
|
+
|
|
361
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
362
|
+
value = getattr(self, attr)
|
|
363
|
+
if isinstance(value, list):
|
|
364
|
+
result[attr] = list(map(
|
|
365
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
366
|
+
value
|
|
367
|
+
))
|
|
368
|
+
elif hasattr(value, "to_dict"):
|
|
369
|
+
result[attr] = value.to_dict()
|
|
370
|
+
elif isinstance(value, dict):
|
|
371
|
+
result[attr] = dict(map(
|
|
372
|
+
lambda item: (item[0], item[1].to_dict())
|
|
373
|
+
if hasattr(item[1], "to_dict") else item,
|
|
374
|
+
value.items()
|
|
375
|
+
))
|
|
376
|
+
else:
|
|
377
|
+
result[attr] = value
|
|
378
|
+
if issubclass(ParameterBinding, dict):
|
|
379
|
+
for key, value in self.items():
|
|
380
|
+
result[key] = value
|
|
381
|
+
|
|
382
|
+
return result
|
|
383
|
+
|
|
384
|
+
def to_str(self):
|
|
385
|
+
"""Returns the string representation of the model"""
|
|
386
|
+
return pprint.pformat(self.to_dict())
|
|
387
|
+
|
|
388
|
+
def __repr__(self):
|
|
389
|
+
"""For `print` and `pprint`"""
|
|
390
|
+
return self.to_str()
|
|
391
|
+
|
|
392
|
+
def __eq__(self, other):
|
|
393
|
+
"""Returns true if both objects are equal"""
|
|
394
|
+
if not isinstance(other, ParameterBinding):
|
|
395
|
+
return False
|
|
396
|
+
|
|
397
|
+
return self.__dict__ == other.__dict__
|
|
398
|
+
|
|
399
|
+
def __ne__(self, other):
|
|
400
|
+
"""Returns true if both objects are not equal"""
|
|
401
|
+
return not self == other
|
|
@@ -50,7 +50,7 @@ class ParameterCrossTable(object):
|
|
|
50
50
|
def from_parameter_path(self):
|
|
51
51
|
"""Gets the from_parameter_path of this ParameterCrossTable. # noqa: E501
|
|
52
52
|
|
|
53
|
-
The full parameter path which belongs to the From version # noqa: E501
|
|
53
|
+
The full parameter path which belongs to the From version The path must be described only by / or \\\\\\\\. # noqa: E501
|
|
54
54
|
|
|
55
55
|
:return: The from_parameter_path of this ParameterCrossTable. # noqa: E501
|
|
56
56
|
:rtype: str
|
|
@@ -61,7 +61,7 @@ class ParameterCrossTable(object):
|
|
|
61
61
|
def from_parameter_path(self, from_parameter_path):
|
|
62
62
|
"""Sets the from_parameter_path of this ParameterCrossTable.
|
|
63
63
|
|
|
64
|
-
The full parameter path which belongs to the From version # noqa: E501
|
|
64
|
+
The full parameter path which belongs to the From version The path must be described only by / or \\\\\\\\. # noqa: E501
|
|
65
65
|
|
|
66
66
|
:param from_parameter_path: The from_parameter_path of this ParameterCrossTable. # noqa: E501
|
|
67
67
|
:type: str
|
|
@@ -75,7 +75,7 @@ class ParameterCrossTable(object):
|
|
|
75
75
|
def to_parameter_path(self):
|
|
76
76
|
"""Gets the to_parameter_path of this ParameterCrossTable. # noqa: E501
|
|
77
77
|
|
|
78
|
-
The full parameter path which belongs to the To version # noqa: E501
|
|
78
|
+
The full parameter path which belongs to the To version The path must be described only by / or \\\\\\\\. # noqa: E501
|
|
79
79
|
|
|
80
80
|
:return: The to_parameter_path of this ParameterCrossTable. # noqa: E501
|
|
81
81
|
:rtype: str
|
|
@@ -86,7 +86,7 @@ class ParameterCrossTable(object):
|
|
|
86
86
|
def to_parameter_path(self, to_parameter_path):
|
|
87
87
|
"""Sets the to_parameter_path of this ParameterCrossTable.
|
|
88
88
|
|
|
89
|
-
The full parameter path which belongs to the To version # noqa: E501
|
|
89
|
+
The full parameter path which belongs to the To version The path must be described only by / or \\\\\\\\. # noqa: E501
|
|
90
90
|
|
|
91
91
|
:param to_parameter_path: The to_parameter_path of this ParameterCrossTable. # noqa: E501
|
|
92
92
|
:type: str
|
teamdbapi/models/script.py
CHANGED
|
@@ -120,7 +120,7 @@ class Script(object):
|
|
|
120
120
|
def path(self):
|
|
121
121
|
"""Gets the path of this Script. # noqa: E501
|
|
122
122
|
|
|
123
|
-
The script file path. # noqa: E501
|
|
123
|
+
The script file path. The path must be described only by / or \\\\\\\\. # noqa: E501
|
|
124
124
|
|
|
125
125
|
:return: The path of this Script. # noqa: E501
|
|
126
126
|
:rtype: str
|
|
@@ -131,7 +131,7 @@ class Script(object):
|
|
|
131
131
|
def path(self, path):
|
|
132
132
|
"""Sets the path of this Script.
|
|
133
133
|
|
|
134
|
-
The script file path. # noqa: E501
|
|
134
|
+
The script file path. The path must be described only by / or \\\\\\\\. # noqa: E501
|
|
135
135
|
|
|
136
136
|
:param path: The path of this Script. # noqa: E501
|
|
137
137
|
:type: str
|
teamdbapi/models/target.py
CHANGED
|
@@ -40,7 +40,8 @@ class Target(object):
|
|
|
40
40
|
'assembly_name_suffix': 'str',
|
|
41
41
|
'show_param_has_new_revision': 'bool',
|
|
42
42
|
'link_map_to_axis': 'bool',
|
|
43
|
-
'reuse_previous_run_assembly': 'bool'
|
|
43
|
+
'reuse_previous_run_assembly': 'bool',
|
|
44
|
+
'auto_generate_assembly_event_type': 'str'
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
attribute_map = {
|
|
@@ -55,10 +56,11 @@ class Target(object):
|
|
|
55
56
|
'assembly_name_suffix': 'AssemblyNameSuffix',
|
|
56
57
|
'show_param_has_new_revision': 'ShowParamHasNewRevision',
|
|
57
58
|
'link_map_to_axis': 'LinkMapToAxis',
|
|
58
|
-
'reuse_previous_run_assembly': 'ReusePreviousRunAssembly'
|
|
59
|
+
'reuse_previous_run_assembly': 'ReusePreviousRunAssembly',
|
|
60
|
+
'auto_generate_assembly_event_type': 'AutoGenerateAssemblyEventType'
|
|
59
61
|
}
|
|
60
62
|
|
|
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
|
|
63
|
+
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, auto_generate_assembly_event_type=None): # noqa: E501
|
|
62
64
|
"""Target - a model defined in Swagger""" # noqa: E501
|
|
63
65
|
self._id = None
|
|
64
66
|
self._name = None
|
|
@@ -72,6 +74,7 @@ class Target(object):
|
|
|
72
74
|
self._show_param_has_new_revision = None
|
|
73
75
|
self._link_map_to_axis = None
|
|
74
76
|
self._reuse_previous_run_assembly = None
|
|
77
|
+
self._auto_generate_assembly_event_type = None
|
|
75
78
|
self.discriminator = None
|
|
76
79
|
self.id = id
|
|
77
80
|
self.name = name
|
|
@@ -94,6 +97,8 @@ class Target(object):
|
|
|
94
97
|
self.link_map_to_axis = link_map_to_axis
|
|
95
98
|
if reuse_previous_run_assembly is not None:
|
|
96
99
|
self.reuse_previous_run_assembly = reuse_previous_run_assembly
|
|
100
|
+
if auto_generate_assembly_event_type is not None:
|
|
101
|
+
self.auto_generate_assembly_event_type = auto_generate_assembly_event_type
|
|
97
102
|
|
|
98
103
|
@property
|
|
99
104
|
def id(self):
|
|
@@ -203,7 +208,7 @@ class Target(object):
|
|
|
203
208
|
def auto_generate_assembly(self):
|
|
204
209
|
"""Gets the auto_generate_assembly of this Target. # noqa: E501
|
|
205
210
|
|
|
206
|
-
True if we want to automatically generate assemblies when new Runs are created If true, then ReusePreviousRunAssembly is disabled # noqa: E501
|
|
211
|
+
True if we want to automatically generate assemblies when new Runs are created If true, then ReusePreviousRunAssembly is disabled Must be set to false when creating a new Target # noqa: E501
|
|
207
212
|
|
|
208
213
|
:return: The auto_generate_assembly of this Target. # noqa: E501
|
|
209
214
|
:rtype: bool
|
|
@@ -214,7 +219,7 @@ class Target(object):
|
|
|
214
219
|
def auto_generate_assembly(self, auto_generate_assembly):
|
|
215
220
|
"""Sets the auto_generate_assembly of this Target.
|
|
216
221
|
|
|
217
|
-
True if we want to automatically generate assemblies when new Runs are created If true, then ReusePreviousRunAssembly is disabled # noqa: E501
|
|
222
|
+
True if we want to automatically generate assemblies when new Runs are created If true, then ReusePreviousRunAssembly is disabled Must be set to false when creating a new Target # noqa: E501
|
|
218
223
|
|
|
219
224
|
:param auto_generate_assembly: The auto_generate_assembly of this Target. # noqa: E501
|
|
220
225
|
:type: bool
|
|
@@ -226,7 +231,7 @@ class Target(object):
|
|
|
226
231
|
def auto_generate_assembly_version_id(self):
|
|
227
232
|
"""Gets the auto_generate_assembly_version_id of this Target. # noqa: E501
|
|
228
233
|
|
|
229
|
-
The version unqiue Id used as reference to create the assemblies when AutoGenerateAssembly is true. It is also used to display the current version in the drop down list. # noqa: E501
|
|
234
|
+
The version unqiue Id used as reference to create the assemblies when AutoGenerateAssembly is true. It is also used to display the current version in the drop down list. Must be set to Guid.Empty (00000000-0000-0000-0000-000000000000) when creating a new Target. # noqa: E501
|
|
230
235
|
|
|
231
236
|
:return: The auto_generate_assembly_version_id of this Target. # noqa: E501
|
|
232
237
|
:rtype: str
|
|
@@ -237,7 +242,7 @@ class Target(object):
|
|
|
237
242
|
def auto_generate_assembly_version_id(self, auto_generate_assembly_version_id):
|
|
238
243
|
"""Sets the auto_generate_assembly_version_id of this Target.
|
|
239
244
|
|
|
240
|
-
The version unqiue Id used as reference to create the assemblies when AutoGenerateAssembly is true. It is also used to display the current version in the drop down list. # noqa: E501
|
|
245
|
+
The version unqiue Id used as reference to create the assemblies when AutoGenerateAssembly is true. It is also used to display the current version in the drop down list. Must be set to Guid.Empty (00000000-0000-0000-0000-000000000000) when creating a new Target. # noqa: E501
|
|
241
246
|
|
|
242
247
|
:param auto_generate_assembly_version_id: The auto_generate_assembly_version_id of this Target. # noqa: E501
|
|
243
248
|
:type: str
|
|
@@ -383,6 +388,29 @@ class Target(object):
|
|
|
383
388
|
|
|
384
389
|
self._reuse_previous_run_assembly = reuse_previous_run_assembly
|
|
385
390
|
|
|
391
|
+
@property
|
|
392
|
+
def auto_generate_assembly_event_type(self):
|
|
393
|
+
"""Gets the auto_generate_assembly_event_type of this Target. # noqa: E501
|
|
394
|
+
|
|
395
|
+
List of event types separated with ; for which auto generate assembly is allowed. If empty, all the event types are allowed. Example: Race;Test # noqa: E501
|
|
396
|
+
|
|
397
|
+
:return: The auto_generate_assembly_event_type of this Target. # noqa: E501
|
|
398
|
+
:rtype: str
|
|
399
|
+
"""
|
|
400
|
+
return self._auto_generate_assembly_event_type
|
|
401
|
+
|
|
402
|
+
@auto_generate_assembly_event_type.setter
|
|
403
|
+
def auto_generate_assembly_event_type(self, auto_generate_assembly_event_type):
|
|
404
|
+
"""Sets the auto_generate_assembly_event_type of this Target.
|
|
405
|
+
|
|
406
|
+
List of event types separated with ; for which auto generate assembly is allowed. If empty, all the event types are allowed. Example: Race;Test # noqa: E501
|
|
407
|
+
|
|
408
|
+
:param auto_generate_assembly_event_type: The auto_generate_assembly_event_type of this Target. # noqa: E501
|
|
409
|
+
:type: str
|
|
410
|
+
"""
|
|
411
|
+
|
|
412
|
+
self._auto_generate_assembly_event_type = auto_generate_assembly_event_type
|
|
413
|
+
|
|
386
414
|
def to_dict(self):
|
|
387
415
|
"""Returns the model properties as a dict"""
|
|
388
416
|
result = {}
|
teamdbapi/models/version.py
CHANGED
|
@@ -190,7 +190,7 @@ class Version(object):
|
|
|
190
190
|
def reference_files(self):
|
|
191
191
|
"""Gets the reference_files of this Version. # noqa: E501
|
|
192
192
|
|
|
193
|
-
The path to the file used to create the version.
|
|
193
|
+
The path to the file used to create the version. The path must be described only by / or \\\\\\\\. For example : C:/path/MyFile.m To specify multiple files, separate each path with: \\r\\n # noqa: E501
|
|
194
194
|
|
|
195
195
|
:return: The reference_files of this Version. # noqa: E501
|
|
196
196
|
:rtype: str
|
|
@@ -201,7 +201,7 @@ class Version(object):
|
|
|
201
201
|
def reference_files(self, reference_files):
|
|
202
202
|
"""Sets the reference_files of this Version.
|
|
203
203
|
|
|
204
|
-
The path to the file used to create the version.
|
|
204
|
+
The path to the file used to create the version. The path must be described only by / or \\\\\\\\. For example : C:/path/MyFile.m To specify multiple files, separate each path with: \\r\\n # noqa: E501
|
|
205
205
|
|
|
206
206
|
:param reference_files: The reference_files of this Version. # noqa: E501
|
|
207
207
|
:type: str
|
|
@@ -338,7 +338,7 @@ class Version(object):
|
|
|
338
338
|
def a2l_files(self):
|
|
339
339
|
"""Gets the a2l_files of this Version. # noqa: E501
|
|
340
340
|
|
|
341
|
-
The path to the A2L files used to create the version.
|
|
341
|
+
The path to the A2L files used to create the version. The path must be described only by / or \\\\\\\\. For example : C:/path/MyFile.m To specify multiple files, separate each path with: \\r\\n # noqa: E501
|
|
342
342
|
|
|
343
343
|
:return: The a2l_files of this Version. # noqa: E501
|
|
344
344
|
:rtype: str
|
|
@@ -349,7 +349,7 @@ class Version(object):
|
|
|
349
349
|
def a2l_files(self, a2l_files):
|
|
350
350
|
"""Sets the a2l_files of this Version.
|
|
351
351
|
|
|
352
|
-
The path to the A2L files used to create the version.
|
|
352
|
+
The path to the A2L files used to create the version. The path must be described only by / or \\\\\\\\. For example : C:/path/MyFile.m To specify multiple files, separate each path with: \\r\\n # noqa: E501
|
|
353
353
|
|
|
354
354
|
:param a2l_files: The a2l_files of this Version. # noqa: E501
|
|
355
355
|
:type: str
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.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>
|
|
@@ -19,13 +19,13 @@ Project-URL: Homepage, https://www.tracksidesoftware.fr/teamdb
|
|
|
19
19
|
# teamdbapi
|
|
20
20
|
This module enables you to easily access the TeamDB Web API.
|
|
21
21
|
|
|
22
|
-
- Package version: 3.
|
|
22
|
+
- Package version: 3.4.0
|
|
23
23
|
- TeamDB Web API version: 2.0
|
|
24
24
|
|
|
25
25
|
## Requirements.
|
|
26
26
|
|
|
27
27
|
- Python 3.4+
|
|
28
|
-
- TeamDB 3.
|
|
28
|
+
- TeamDB 3.4.0
|
|
29
29
|
|
|
30
30
|
## Installation and usage
|
|
31
31
|
### pip install
|