teamdbapi 3.0.0__py3-none-any.whl → 3.3.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 +15 -0
- teamdbapi/api/__init__.py +1 -0
- teamdbapi/api/assembly_api.py +4 -4
- teamdbapi/api/component_api.py +117 -0
- teamdbapi/api/edit_api.py +89 -0
- teamdbapi/api/import_export_api.py +12 -12
- teamdbapi/api/issue_api.py +1537 -0
- teamdbapi/api/lap_report_api.py +2 -2
- teamdbapi/api/part_api.py +481 -0
- teamdbapi/api/report_api.py +2 -2
- teamdbapi/api/revision_api.py +111 -6
- teamdbapi/api/value_field_api.py +2 -2
- teamdbapi/models/__init__.py +14 -0
- teamdbapi/models/add_part_car_parameter_arg.py +396 -0
- teamdbapi/models/car_parameters_context.py +31 -3
- teamdbapi/models/compare_options.py +2 -2
- teamdbapi/models/component.py +87 -3
- teamdbapi/models/file_revision_info.py +199 -0
- teamdbapi/models/import_parameters_args.py +2 -2
- 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/lap_report_options.py +2 -2
- teamdbapi/models/parameter_cross_table.py +4 -4
- teamdbapi/models/part.py +31 -3
- teamdbapi/models/part_car_parameters.py +561 -0
- teamdbapi/models/revision.py +37 -9
- teamdbapi/models/revision_value.py +31 -3
- teamdbapi/models/script.py +2 -2
- teamdbapi/models/target.py +4 -4
- teamdbapi/models/version.py +4 -4
- {teamdbapi-3.0.0.dist-info → teamdbapi-3.3.0.dist-info}/METADATA +3 -3
- {teamdbapi-3.0.0.dist-info → teamdbapi-3.3.0.dist-info}/RECORD +43 -28
- {teamdbapi-3.0.0.dist-info → teamdbapi-3.3.0.dist-info}/LICENSE +0 -0
- {teamdbapi-3.0.0.dist-info → teamdbapi-3.3.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,561 @@
|
|
|
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 PartCarParameters(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_id': 'str',
|
|
33
|
+
'part_number': 'str',
|
|
34
|
+
'parameter_id': 'str',
|
|
35
|
+
'parameter_path': 'str',
|
|
36
|
+
'target_id': 'str',
|
|
37
|
+
'target_name': 'str',
|
|
38
|
+
'parameter_binding': 'str',
|
|
39
|
+
'redirect_part_id': 'str',
|
|
40
|
+
'redirect_part_number': 'str',
|
|
41
|
+
'redirect_parameter_id': 'str',
|
|
42
|
+
'redirect_parameter_path': 'str',
|
|
43
|
+
'redirect_target_id': 'str',
|
|
44
|
+
'redirect_target_name': 'str',
|
|
45
|
+
'redirect_coeff_a': 'float',
|
|
46
|
+
'redirect_coeff_b': 'float',
|
|
47
|
+
'redirect_coeff_c': 'float',
|
|
48
|
+
'redirect_coeff_d': 'float'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
attribute_map = {
|
|
52
|
+
'part_id': 'PartId',
|
|
53
|
+
'part_number': 'PartNumber',
|
|
54
|
+
'parameter_id': 'ParameterId',
|
|
55
|
+
'parameter_path': 'ParameterPath',
|
|
56
|
+
'target_id': 'TargetId',
|
|
57
|
+
'target_name': 'TargetName',
|
|
58
|
+
'parameter_binding': 'ParameterBinding',
|
|
59
|
+
'redirect_part_id': 'RedirectPartId',
|
|
60
|
+
'redirect_part_number': 'RedirectPartNumber',
|
|
61
|
+
'redirect_parameter_id': 'RedirectParameterId',
|
|
62
|
+
'redirect_parameter_path': 'RedirectParameterPath',
|
|
63
|
+
'redirect_target_id': 'RedirectTargetId',
|
|
64
|
+
'redirect_target_name': 'RedirectTargetName',
|
|
65
|
+
'redirect_coeff_a': 'RedirectCoeffA',
|
|
66
|
+
'redirect_coeff_b': 'RedirectCoeffB',
|
|
67
|
+
'redirect_coeff_c': 'RedirectCoeffC',
|
|
68
|
+
'redirect_coeff_d': 'RedirectCoeffD'
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
def __init__(self, part_id=None, part_number=None, parameter_id=None, parameter_path=None, target_id=None, target_name=None, parameter_binding=None, redirect_part_id=None, redirect_part_number=None, redirect_parameter_id=None, redirect_parameter_path=None, redirect_target_id=None, redirect_target_name=None, redirect_coeff_a=None, redirect_coeff_b=None, redirect_coeff_c=None, redirect_coeff_d=None): # noqa: E501
|
|
72
|
+
"""PartCarParameters - a model defined in Swagger""" # noqa: E501
|
|
73
|
+
self._part_id = None
|
|
74
|
+
self._part_number = None
|
|
75
|
+
self._parameter_id = None
|
|
76
|
+
self._parameter_path = None
|
|
77
|
+
self._target_id = None
|
|
78
|
+
self._target_name = None
|
|
79
|
+
self._parameter_binding = None
|
|
80
|
+
self._redirect_part_id = None
|
|
81
|
+
self._redirect_part_number = None
|
|
82
|
+
self._redirect_parameter_id = None
|
|
83
|
+
self._redirect_parameter_path = None
|
|
84
|
+
self._redirect_target_id = None
|
|
85
|
+
self._redirect_target_name = None
|
|
86
|
+
self._redirect_coeff_a = None
|
|
87
|
+
self._redirect_coeff_b = None
|
|
88
|
+
self._redirect_coeff_c = None
|
|
89
|
+
self._redirect_coeff_d = None
|
|
90
|
+
self.discriminator = None
|
|
91
|
+
if part_id is not None:
|
|
92
|
+
self.part_id = part_id
|
|
93
|
+
if part_number is not None:
|
|
94
|
+
self.part_number = part_number
|
|
95
|
+
if parameter_id is not None:
|
|
96
|
+
self.parameter_id = parameter_id
|
|
97
|
+
if parameter_path is not None:
|
|
98
|
+
self.parameter_path = parameter_path
|
|
99
|
+
if target_id is not None:
|
|
100
|
+
self.target_id = target_id
|
|
101
|
+
if target_name is not None:
|
|
102
|
+
self.target_name = target_name
|
|
103
|
+
if parameter_binding is not None:
|
|
104
|
+
self.parameter_binding = parameter_binding
|
|
105
|
+
if redirect_part_id is not None:
|
|
106
|
+
self.redirect_part_id = redirect_part_id
|
|
107
|
+
if redirect_part_number is not None:
|
|
108
|
+
self.redirect_part_number = redirect_part_number
|
|
109
|
+
if redirect_parameter_id is not None:
|
|
110
|
+
self.redirect_parameter_id = redirect_parameter_id
|
|
111
|
+
if redirect_parameter_path is not None:
|
|
112
|
+
self.redirect_parameter_path = redirect_parameter_path
|
|
113
|
+
if redirect_target_id is not None:
|
|
114
|
+
self.redirect_target_id = redirect_target_id
|
|
115
|
+
if redirect_target_name is not None:
|
|
116
|
+
self.redirect_target_name = redirect_target_name
|
|
117
|
+
if redirect_coeff_a is not None:
|
|
118
|
+
self.redirect_coeff_a = redirect_coeff_a
|
|
119
|
+
if redirect_coeff_b is not None:
|
|
120
|
+
self.redirect_coeff_b = redirect_coeff_b
|
|
121
|
+
if redirect_coeff_c is not None:
|
|
122
|
+
self.redirect_coeff_c = redirect_coeff_c
|
|
123
|
+
if redirect_coeff_d is not None:
|
|
124
|
+
self.redirect_coeff_d = redirect_coeff_d
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def part_id(self):
|
|
128
|
+
"""Gets the part_id of this PartCarParameters. # noqa: E501
|
|
129
|
+
|
|
130
|
+
The unique part identifier # noqa: E501
|
|
131
|
+
|
|
132
|
+
:return: The part_id of this PartCarParameters. # noqa: E501
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._part_id
|
|
136
|
+
|
|
137
|
+
@part_id.setter
|
|
138
|
+
def part_id(self, part_id):
|
|
139
|
+
"""Sets the part_id of this PartCarParameters.
|
|
140
|
+
|
|
141
|
+
The unique part identifier # noqa: E501
|
|
142
|
+
|
|
143
|
+
:param part_id: The part_id of this PartCarParameters. # noqa: E501
|
|
144
|
+
:type: str
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
self._part_id = part_id
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def part_number(self):
|
|
151
|
+
"""Gets the part_number of this PartCarParameters. # noqa: E501
|
|
152
|
+
|
|
153
|
+
The part number # noqa: E501
|
|
154
|
+
|
|
155
|
+
:return: The part_number of this PartCarParameters. # noqa: E501
|
|
156
|
+
:rtype: str
|
|
157
|
+
"""
|
|
158
|
+
return self._part_number
|
|
159
|
+
|
|
160
|
+
@part_number.setter
|
|
161
|
+
def part_number(self, part_number):
|
|
162
|
+
"""Sets the part_number of this PartCarParameters.
|
|
163
|
+
|
|
164
|
+
The part number # noqa: E501
|
|
165
|
+
|
|
166
|
+
:param part_number: The part_number of this PartCarParameters. # noqa: E501
|
|
167
|
+
:type: str
|
|
168
|
+
"""
|
|
169
|
+
|
|
170
|
+
self._part_number = part_number
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def parameter_id(self):
|
|
174
|
+
"""Gets the parameter_id of this PartCarParameters. # noqa: E501
|
|
175
|
+
|
|
176
|
+
The unique car parameter identifier # noqa: E501
|
|
177
|
+
|
|
178
|
+
:return: The parameter_id of this PartCarParameters. # noqa: E501
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._parameter_id
|
|
182
|
+
|
|
183
|
+
@parameter_id.setter
|
|
184
|
+
def parameter_id(self, parameter_id):
|
|
185
|
+
"""Sets the parameter_id of this PartCarParameters.
|
|
186
|
+
|
|
187
|
+
The unique car parameter identifier # noqa: E501
|
|
188
|
+
|
|
189
|
+
:param parameter_id: The parameter_id of this PartCarParameters. # noqa: E501
|
|
190
|
+
:type: str
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
self._parameter_id = parameter_id
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
def parameter_path(self):
|
|
197
|
+
"""Gets the parameter_path of this PartCarParameters. # noqa: E501
|
|
198
|
+
|
|
199
|
+
The car parameters reference path # noqa: E501
|
|
200
|
+
|
|
201
|
+
:return: The parameter_path of this PartCarParameters. # noqa: E501
|
|
202
|
+
:rtype: str
|
|
203
|
+
"""
|
|
204
|
+
return self._parameter_path
|
|
205
|
+
|
|
206
|
+
@parameter_path.setter
|
|
207
|
+
def parameter_path(self, parameter_path):
|
|
208
|
+
"""Sets the parameter_path of this PartCarParameters.
|
|
209
|
+
|
|
210
|
+
The car parameters reference path # noqa: E501
|
|
211
|
+
|
|
212
|
+
:param parameter_path: The parameter_path of this PartCarParameters. # noqa: E501
|
|
213
|
+
:type: str
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
self._parameter_path = parameter_path
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
def target_id(self):
|
|
220
|
+
"""Gets the target_id of this PartCarParameters. # noqa: E501
|
|
221
|
+
|
|
222
|
+
The unique car parameter target identifier # noqa: E501
|
|
223
|
+
|
|
224
|
+
:return: The target_id of this PartCarParameters. # noqa: E501
|
|
225
|
+
:rtype: str
|
|
226
|
+
"""
|
|
227
|
+
return self._target_id
|
|
228
|
+
|
|
229
|
+
@target_id.setter
|
|
230
|
+
def target_id(self, target_id):
|
|
231
|
+
"""Sets the target_id of this PartCarParameters.
|
|
232
|
+
|
|
233
|
+
The unique car parameter target identifier # noqa: E501
|
|
234
|
+
|
|
235
|
+
:param target_id: The target_id of this PartCarParameters. # noqa: E501
|
|
236
|
+
:type: str
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
self._target_id = target_id
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
def target_name(self):
|
|
243
|
+
"""Gets the target_name of this PartCarParameters. # noqa: E501
|
|
244
|
+
|
|
245
|
+
The car parameters target name # noqa: E501
|
|
246
|
+
|
|
247
|
+
:return: The target_name of this PartCarParameters. # noqa: E501
|
|
248
|
+
:rtype: str
|
|
249
|
+
"""
|
|
250
|
+
return self._target_name
|
|
251
|
+
|
|
252
|
+
@target_name.setter
|
|
253
|
+
def target_name(self, target_name):
|
|
254
|
+
"""Sets the target_name of this PartCarParameters.
|
|
255
|
+
|
|
256
|
+
The car parameters target name # noqa: E501
|
|
257
|
+
|
|
258
|
+
:param target_name: The target_name of this PartCarParameters. # noqa: E501
|
|
259
|
+
:type: str
|
|
260
|
+
"""
|
|
261
|
+
|
|
262
|
+
self._target_name = target_name
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
def parameter_binding(self):
|
|
266
|
+
"""Gets the parameter_binding of this PartCarParameters. # noqa: E501
|
|
267
|
+
|
|
268
|
+
The parameter binfing used to identify the component to import from a mounting to a car parameter assembly # noqa: E501
|
|
269
|
+
|
|
270
|
+
:return: The parameter_binding of this PartCarParameters. # noqa: E501
|
|
271
|
+
:rtype: str
|
|
272
|
+
"""
|
|
273
|
+
return self._parameter_binding
|
|
274
|
+
|
|
275
|
+
@parameter_binding.setter
|
|
276
|
+
def parameter_binding(self, parameter_binding):
|
|
277
|
+
"""Sets the parameter_binding of this PartCarParameters.
|
|
278
|
+
|
|
279
|
+
The parameter binfing used to identify the component to import from a mounting to a car parameter assembly # noqa: E501
|
|
280
|
+
|
|
281
|
+
:param parameter_binding: The parameter_binding of this PartCarParameters. # noqa: E501
|
|
282
|
+
:type: str
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
self._parameter_binding = parameter_binding
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
def redirect_part_id(self):
|
|
289
|
+
"""Gets the redirect_part_id of this PartCarParameters. # noqa: E501
|
|
290
|
+
|
|
291
|
+
The unique identifier of the redirected part. Optional field. Only valid with a group part. # noqa: E501
|
|
292
|
+
|
|
293
|
+
:return: The redirect_part_id of this PartCarParameters. # noqa: E501
|
|
294
|
+
:rtype: str
|
|
295
|
+
"""
|
|
296
|
+
return self._redirect_part_id
|
|
297
|
+
|
|
298
|
+
@redirect_part_id.setter
|
|
299
|
+
def redirect_part_id(self, redirect_part_id):
|
|
300
|
+
"""Sets the redirect_part_id of this PartCarParameters.
|
|
301
|
+
|
|
302
|
+
The unique identifier of the redirected part. Optional field. Only valid with a group part. # noqa: E501
|
|
303
|
+
|
|
304
|
+
:param redirect_part_id: The redirect_part_id of this PartCarParameters. # noqa: E501
|
|
305
|
+
:type: str
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
self._redirect_part_id = redirect_part_id
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def redirect_part_number(self):
|
|
312
|
+
"""Gets the redirect_part_number of this PartCarParameters. # noqa: E501
|
|
313
|
+
|
|
314
|
+
The redirect part name. Optional field. Only valid with a group part. # noqa: E501
|
|
315
|
+
|
|
316
|
+
:return: The redirect_part_number of this PartCarParameters. # noqa: E501
|
|
317
|
+
:rtype: str
|
|
318
|
+
"""
|
|
319
|
+
return self._redirect_part_number
|
|
320
|
+
|
|
321
|
+
@redirect_part_number.setter
|
|
322
|
+
def redirect_part_number(self, redirect_part_number):
|
|
323
|
+
"""Sets the redirect_part_number of this PartCarParameters.
|
|
324
|
+
|
|
325
|
+
The redirect part name. Optional field. Only valid with a group part. # noqa: E501
|
|
326
|
+
|
|
327
|
+
:param redirect_part_number: The redirect_part_number of this PartCarParameters. # noqa: E501
|
|
328
|
+
:type: str
|
|
329
|
+
"""
|
|
330
|
+
|
|
331
|
+
self._redirect_part_number = redirect_part_number
|
|
332
|
+
|
|
333
|
+
@property
|
|
334
|
+
def redirect_parameter_id(self):
|
|
335
|
+
"""Gets the redirect_parameter_id of this PartCarParameters. # noqa: E501
|
|
336
|
+
|
|
337
|
+
The unique identifier of the redirected car parameter Optional field. Only valid with a group part. # noqa: E501
|
|
338
|
+
|
|
339
|
+
:return: The redirect_parameter_id of this PartCarParameters. # noqa: E501
|
|
340
|
+
:rtype: str
|
|
341
|
+
"""
|
|
342
|
+
return self._redirect_parameter_id
|
|
343
|
+
|
|
344
|
+
@redirect_parameter_id.setter
|
|
345
|
+
def redirect_parameter_id(self, redirect_parameter_id):
|
|
346
|
+
"""Sets the redirect_parameter_id of this PartCarParameters.
|
|
347
|
+
|
|
348
|
+
The unique identifier of the redirected car parameter Optional field. Only valid with a group part. # noqa: E501
|
|
349
|
+
|
|
350
|
+
:param redirect_parameter_id: The redirect_parameter_id of this PartCarParameters. # noqa: E501
|
|
351
|
+
:type: str
|
|
352
|
+
"""
|
|
353
|
+
|
|
354
|
+
self._redirect_parameter_id = redirect_parameter_id
|
|
355
|
+
|
|
356
|
+
@property
|
|
357
|
+
def redirect_parameter_path(self):
|
|
358
|
+
"""Gets the redirect_parameter_path of this PartCarParameters. # noqa: E501
|
|
359
|
+
|
|
360
|
+
The redirected car parameters path Optional field. Only valid with a group part. # noqa: E501
|
|
361
|
+
|
|
362
|
+
:return: The redirect_parameter_path of this PartCarParameters. # noqa: E501
|
|
363
|
+
:rtype: str
|
|
364
|
+
"""
|
|
365
|
+
return self._redirect_parameter_path
|
|
366
|
+
|
|
367
|
+
@redirect_parameter_path.setter
|
|
368
|
+
def redirect_parameter_path(self, redirect_parameter_path):
|
|
369
|
+
"""Sets the redirect_parameter_path of this PartCarParameters.
|
|
370
|
+
|
|
371
|
+
The redirected car parameters path Optional field. Only valid with a group part. # noqa: E501
|
|
372
|
+
|
|
373
|
+
:param redirect_parameter_path: The redirect_parameter_path of this PartCarParameters. # noqa: E501
|
|
374
|
+
:type: str
|
|
375
|
+
"""
|
|
376
|
+
|
|
377
|
+
self._redirect_parameter_path = redirect_parameter_path
|
|
378
|
+
|
|
379
|
+
@property
|
|
380
|
+
def redirect_target_id(self):
|
|
381
|
+
"""Gets the redirect_target_id of this PartCarParameters. # noqa: E501
|
|
382
|
+
|
|
383
|
+
The target unique identifier of the redirected car parameter Optional field. Only valid with a group part. # noqa: E501
|
|
384
|
+
|
|
385
|
+
:return: The redirect_target_id of this PartCarParameters. # noqa: E501
|
|
386
|
+
:rtype: str
|
|
387
|
+
"""
|
|
388
|
+
return self._redirect_target_id
|
|
389
|
+
|
|
390
|
+
@redirect_target_id.setter
|
|
391
|
+
def redirect_target_id(self, redirect_target_id):
|
|
392
|
+
"""Sets the redirect_target_id of this PartCarParameters.
|
|
393
|
+
|
|
394
|
+
The target unique identifier of the redirected car parameter Optional field. Only valid with a group part. # noqa: E501
|
|
395
|
+
|
|
396
|
+
:param redirect_target_id: The redirect_target_id of this PartCarParameters. # noqa: E501
|
|
397
|
+
:type: str
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
self._redirect_target_id = redirect_target_id
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
def redirect_target_name(self):
|
|
404
|
+
"""Gets the redirect_target_name of this PartCarParameters. # noqa: E501
|
|
405
|
+
|
|
406
|
+
The target name of the redirected car parameter Optional field. Only valid with a group part. # noqa: E501
|
|
407
|
+
|
|
408
|
+
:return: The redirect_target_name of this PartCarParameters. # noqa: E501
|
|
409
|
+
:rtype: str
|
|
410
|
+
"""
|
|
411
|
+
return self._redirect_target_name
|
|
412
|
+
|
|
413
|
+
@redirect_target_name.setter
|
|
414
|
+
def redirect_target_name(self, redirect_target_name):
|
|
415
|
+
"""Sets the redirect_target_name of this PartCarParameters.
|
|
416
|
+
|
|
417
|
+
The target name of the redirected car parameter Optional field. Only valid with a group part. # noqa: E501
|
|
418
|
+
|
|
419
|
+
:param redirect_target_name: The redirect_target_name of this PartCarParameters. # noqa: E501
|
|
420
|
+
:type: str
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
self._redirect_target_name = redirect_target_name
|
|
424
|
+
|
|
425
|
+
@property
|
|
426
|
+
def redirect_coeff_a(self):
|
|
427
|
+
"""Gets the redirect_coeff_a of this PartCarParameters. # noqa: E501
|
|
428
|
+
|
|
429
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
430
|
+
|
|
431
|
+
:return: The redirect_coeff_a of this PartCarParameters. # noqa: E501
|
|
432
|
+
:rtype: float
|
|
433
|
+
"""
|
|
434
|
+
return self._redirect_coeff_a
|
|
435
|
+
|
|
436
|
+
@redirect_coeff_a.setter
|
|
437
|
+
def redirect_coeff_a(self, redirect_coeff_a):
|
|
438
|
+
"""Sets the redirect_coeff_a of this PartCarParameters.
|
|
439
|
+
|
|
440
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
441
|
+
|
|
442
|
+
:param redirect_coeff_a: The redirect_coeff_a of this PartCarParameters. # noqa: E501
|
|
443
|
+
:type: float
|
|
444
|
+
"""
|
|
445
|
+
|
|
446
|
+
self._redirect_coeff_a = redirect_coeff_a
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
def redirect_coeff_b(self):
|
|
450
|
+
"""Gets the redirect_coeff_b of this PartCarParameters. # noqa: E501
|
|
451
|
+
|
|
452
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
453
|
+
|
|
454
|
+
:return: The redirect_coeff_b of this PartCarParameters. # noqa: E501
|
|
455
|
+
:rtype: float
|
|
456
|
+
"""
|
|
457
|
+
return self._redirect_coeff_b
|
|
458
|
+
|
|
459
|
+
@redirect_coeff_b.setter
|
|
460
|
+
def redirect_coeff_b(self, redirect_coeff_b):
|
|
461
|
+
"""Sets the redirect_coeff_b of this PartCarParameters.
|
|
462
|
+
|
|
463
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
464
|
+
|
|
465
|
+
:param redirect_coeff_b: The redirect_coeff_b of this PartCarParameters. # noqa: E501
|
|
466
|
+
:type: float
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
self._redirect_coeff_b = redirect_coeff_b
|
|
470
|
+
|
|
471
|
+
@property
|
|
472
|
+
def redirect_coeff_c(self):
|
|
473
|
+
"""Gets the redirect_coeff_c of this PartCarParameters. # noqa: E501
|
|
474
|
+
|
|
475
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
476
|
+
|
|
477
|
+
:return: The redirect_coeff_c of this PartCarParameters. # noqa: E501
|
|
478
|
+
:rtype: float
|
|
479
|
+
"""
|
|
480
|
+
return self._redirect_coeff_c
|
|
481
|
+
|
|
482
|
+
@redirect_coeff_c.setter
|
|
483
|
+
def redirect_coeff_c(self, redirect_coeff_c):
|
|
484
|
+
"""Sets the redirect_coeff_c of this PartCarParameters.
|
|
485
|
+
|
|
486
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
487
|
+
|
|
488
|
+
:param redirect_coeff_c: The redirect_coeff_c of this PartCarParameters. # noqa: E501
|
|
489
|
+
:type: float
|
|
490
|
+
"""
|
|
491
|
+
|
|
492
|
+
self._redirect_coeff_c = redirect_coeff_c
|
|
493
|
+
|
|
494
|
+
@property
|
|
495
|
+
def redirect_coeff_d(self):
|
|
496
|
+
"""Gets the redirect_coeff_d of this PartCarParameters. # noqa: E501
|
|
497
|
+
|
|
498
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
499
|
+
|
|
500
|
+
:return: The redirect_coeff_d of this PartCarParameters. # noqa: E501
|
|
501
|
+
:rtype: float
|
|
502
|
+
"""
|
|
503
|
+
return self._redirect_coeff_d
|
|
504
|
+
|
|
505
|
+
@redirect_coeff_d.setter
|
|
506
|
+
def redirect_coeff_d(self, redirect_coeff_d):
|
|
507
|
+
"""Sets the redirect_coeff_d of this PartCarParameters.
|
|
508
|
+
|
|
509
|
+
Coeff A applied to convert a car parameters revision when a redirection is specified. Optional field. Only valid with a group part. # noqa: E501
|
|
510
|
+
|
|
511
|
+
:param redirect_coeff_d: The redirect_coeff_d of this PartCarParameters. # noqa: E501
|
|
512
|
+
:type: float
|
|
513
|
+
"""
|
|
514
|
+
|
|
515
|
+
self._redirect_coeff_d = redirect_coeff_d
|
|
516
|
+
|
|
517
|
+
def to_dict(self):
|
|
518
|
+
"""Returns the model properties as a dict"""
|
|
519
|
+
result = {}
|
|
520
|
+
|
|
521
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
522
|
+
value = getattr(self, attr)
|
|
523
|
+
if isinstance(value, list):
|
|
524
|
+
result[attr] = list(map(
|
|
525
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
526
|
+
value
|
|
527
|
+
))
|
|
528
|
+
elif hasattr(value, "to_dict"):
|
|
529
|
+
result[attr] = value.to_dict()
|
|
530
|
+
elif isinstance(value, dict):
|
|
531
|
+
result[attr] = dict(map(
|
|
532
|
+
lambda item: (item[0], item[1].to_dict())
|
|
533
|
+
if hasattr(item[1], "to_dict") else item,
|
|
534
|
+
value.items()
|
|
535
|
+
))
|
|
536
|
+
else:
|
|
537
|
+
result[attr] = value
|
|
538
|
+
if issubclass(PartCarParameters, dict):
|
|
539
|
+
for key, value in self.items():
|
|
540
|
+
result[key] = value
|
|
541
|
+
|
|
542
|
+
return result
|
|
543
|
+
|
|
544
|
+
def to_str(self):
|
|
545
|
+
"""Returns the string representation of the model"""
|
|
546
|
+
return pprint.pformat(self.to_dict())
|
|
547
|
+
|
|
548
|
+
def __repr__(self):
|
|
549
|
+
"""For `print` and `pprint`"""
|
|
550
|
+
return self.to_str()
|
|
551
|
+
|
|
552
|
+
def __eq__(self, other):
|
|
553
|
+
"""Returns true if both objects are equal"""
|
|
554
|
+
if not isinstance(other, PartCarParameters):
|
|
555
|
+
return False
|
|
556
|
+
|
|
557
|
+
return self.__dict__ == other.__dict__
|
|
558
|
+
|
|
559
|
+
def __ne__(self, other):
|
|
560
|
+
"""Returns true if both objects are not equal"""
|
|
561
|
+
return not self == other
|
teamdbapi/models/revision.py
CHANGED
|
@@ -47,7 +47,8 @@ class Revision(object):
|
|
|
47
47
|
'data_axe_z': 'list[float]',
|
|
48
48
|
'linked_x_axis_id': 'str',
|
|
49
49
|
'linked_y_axis_id': 'str',
|
|
50
|
-
'linked_z_axis_id': 'str'
|
|
50
|
+
'linked_z_axis_id': 'str',
|
|
51
|
+
'is_lifing_sensor_main_revision': 'bool'
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
attribute_map = {
|
|
@@ -69,10 +70,11 @@ class Revision(object):
|
|
|
69
70
|
'data_axe_z': 'DataAxeZ',
|
|
70
71
|
'linked_x_axis_id': 'LinkedXAxisId',
|
|
71
72
|
'linked_y_axis_id': 'LinkedYAxisId',
|
|
72
|
-
'linked_z_axis_id': 'LinkedZAxisId'
|
|
73
|
+
'linked_z_axis_id': 'LinkedZAxisId',
|
|
74
|
+
'is_lifing_sensor_main_revision': 'IsLifingSensorMainRevision'
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
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): # 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
|
|
76
78
|
"""Revision - a model defined in Swagger""" # noqa: E501
|
|
77
79
|
self._id = None
|
|
78
80
|
self._name = None
|
|
@@ -93,6 +95,7 @@ class Revision(object):
|
|
|
93
95
|
self._linked_x_axis_id = None
|
|
94
96
|
self._linked_y_axis_id = None
|
|
95
97
|
self._linked_z_axis_id = None
|
|
98
|
+
self._is_lifing_sensor_main_revision = None
|
|
96
99
|
self.discriminator = None
|
|
97
100
|
self.id = id
|
|
98
101
|
self.name = name
|
|
@@ -127,6 +130,8 @@ class Revision(object):
|
|
|
127
130
|
self.linked_y_axis_id = linked_y_axis_id
|
|
128
131
|
if linked_z_axis_id is not None:
|
|
129
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
|
|
130
135
|
|
|
131
136
|
@property
|
|
132
137
|
def id(self):
|
|
@@ -510,7 +515,7 @@ class Revision(object):
|
|
|
510
515
|
def linked_x_axis_id(self):
|
|
511
516
|
"""Gets the linked_x_axis_id of this Revision. # noqa: E501
|
|
512
517
|
|
|
513
|
-
|
|
518
|
+
If Target.LinkMapToAxis is enabled then the field contains the X axis revision Id associated with the map/curve revision # noqa: E501
|
|
514
519
|
|
|
515
520
|
:return: The linked_x_axis_id of this Revision. # noqa: E501
|
|
516
521
|
:rtype: str
|
|
@@ -521,7 +526,7 @@ class Revision(object):
|
|
|
521
526
|
def linked_x_axis_id(self, linked_x_axis_id):
|
|
522
527
|
"""Sets the linked_x_axis_id of this Revision.
|
|
523
528
|
|
|
524
|
-
|
|
529
|
+
If Target.LinkMapToAxis is enabled then the field contains the X axis revision Id associated with the map/curve revision # noqa: E501
|
|
525
530
|
|
|
526
531
|
:param linked_x_axis_id: The linked_x_axis_id of this Revision. # noqa: E501
|
|
527
532
|
:type: str
|
|
@@ -533,7 +538,7 @@ class Revision(object):
|
|
|
533
538
|
def linked_y_axis_id(self):
|
|
534
539
|
"""Gets the linked_y_axis_id of this Revision. # noqa: E501
|
|
535
540
|
|
|
536
|
-
|
|
541
|
+
If Target.LinkMapToAxis is enabled then the field contains the Y axis revision Id associated with the map/curve revision # noqa: E501
|
|
537
542
|
|
|
538
543
|
:return: The linked_y_axis_id of this Revision. # noqa: E501
|
|
539
544
|
:rtype: str
|
|
@@ -544,7 +549,7 @@ class Revision(object):
|
|
|
544
549
|
def linked_y_axis_id(self, linked_y_axis_id):
|
|
545
550
|
"""Sets the linked_y_axis_id of this Revision.
|
|
546
551
|
|
|
547
|
-
|
|
552
|
+
If Target.LinkMapToAxis is enabled then the field contains the Y axis revision Id associated with the map/curve revision # noqa: E501
|
|
548
553
|
|
|
549
554
|
:param linked_y_axis_id: The linked_y_axis_id of this Revision. # noqa: E501
|
|
550
555
|
:type: str
|
|
@@ -556,7 +561,7 @@ class Revision(object):
|
|
|
556
561
|
def linked_z_axis_id(self):
|
|
557
562
|
"""Gets the linked_z_axis_id of this Revision. # noqa: E501
|
|
558
563
|
|
|
559
|
-
|
|
564
|
+
If Target.LinkMapToAxis is enabled then the field contains the Z axis revision Id associated with the map/curve revision # noqa: E501
|
|
560
565
|
|
|
561
566
|
:return: The linked_z_axis_id of this Revision. # noqa: E501
|
|
562
567
|
:rtype: str
|
|
@@ -567,7 +572,7 @@ class Revision(object):
|
|
|
567
572
|
def linked_z_axis_id(self, linked_z_axis_id):
|
|
568
573
|
"""Sets the linked_z_axis_id of this Revision.
|
|
569
574
|
|
|
570
|
-
|
|
575
|
+
If Target.LinkMapToAxis is enabled then the field contains the Z axis revision Id associated with the map/curve revision # noqa: E501
|
|
571
576
|
|
|
572
577
|
:param linked_z_axis_id: The linked_z_axis_id of this Revision. # noqa: E501
|
|
573
578
|
:type: str
|
|
@@ -575,6 +580,29 @@ class Revision(object):
|
|
|
575
580
|
|
|
576
581
|
self._linked_z_axis_id = linked_z_axis_id
|
|
577
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
|
+
|
|
578
606
|
def to_dict(self):
|
|
579
607
|
"""Returns the model properties as a dict"""
|
|
580
608
|
result = {}
|