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.
Files changed (84) hide show
  1. teamdbapi/__init__.py +26 -0
  2. teamdbapi/api/__init__.py +6 -0
  3. teamdbapi/api/assembly_api.py +23 -23
  4. teamdbapi/api/component_api.py +1071 -0
  5. teamdbapi/api/criteria_api.py +126 -0
  6. teamdbapi/api/import_export_api.py +85 -0
  7. teamdbapi/api/issue_api.py +1537 -0
  8. teamdbapi/api/lap_report_api.py +5 -1
  9. teamdbapi/api/mounting_api.py +219 -0
  10. teamdbapi/api/part_api.py +785 -0
  11. teamdbapi/api/revision_api.py +109 -4
  12. teamdbapi/api/update_request_api.py +235 -0
  13. teamdbapi/api_client.py +4 -8
  14. teamdbapi/configuration.py +5 -12
  15. teamdbapi/models/__init__.py +20 -0
  16. teamdbapi/models/add_part_car_parameter_arg.py +396 -0
  17. teamdbapi/models/assembly.py +1 -0
  18. teamdbapi/models/bleed_adjustment.py +1 -0
  19. teamdbapi/models/calibration.py +1 -0
  20. teamdbapi/models/car.py +1 -0
  21. teamdbapi/models/car_parameters_context.py +1 -0
  22. teamdbapi/models/compare_options.py +1 -0
  23. teamdbapi/models/compare_result.py +1 -0
  24. teamdbapi/models/compare_result_detail.py +2 -0
  25. teamdbapi/models/component.py +1301 -0
  26. teamdbapi/models/copy_from_tags_args.py +2 -0
  27. teamdbapi/models/couple_guid_text.py +1 -0
  28. teamdbapi/models/criteria.py +430 -0
  29. teamdbapi/models/criteria_value.py +197 -0
  30. teamdbapi/models/event.py +1 -0
  31. teamdbapi/models/file_revision_info.py +199 -0
  32. teamdbapi/models/fixed_field.py +2 -1
  33. teamdbapi/models/group.py +1 -0
  34. teamdbapi/models/import_parameters_args.py +1 -0
  35. teamdbapi/models/import_parameters_results.py +2 -0
  36. teamdbapi/models/import_revisions_args.py +173 -0
  37. teamdbapi/models/import_revisions_info.py +197 -0
  38. teamdbapi/models/import_revisions_results.py +170 -0
  39. teamdbapi/models/issue.py +674 -0
  40. teamdbapi/models/issue_custom_field_value.py +319 -0
  41. teamdbapi/models/issue_priority.py +227 -0
  42. teamdbapi/models/issue_project.py +229 -0
  43. teamdbapi/models/issue_sector.py +199 -0
  44. teamdbapi/models/issue_status.py +284 -0
  45. teamdbapi/models/issue_type.py +199 -0
  46. teamdbapi/models/issue_workflow.py +199 -0
  47. teamdbapi/models/item_value.py +1 -0
  48. teamdbapi/models/item_value_key.py +1 -0
  49. teamdbapi/models/lap.py +1 -0
  50. teamdbapi/models/lap_report_options.py +1 -0
  51. teamdbapi/models/model_field.py +3 -1
  52. teamdbapi/models/model_field_authorization.py +1 -0
  53. teamdbapi/models/mounting.py +489 -0
  54. teamdbapi/models/notes_authorization.py +1 -0
  55. teamdbapi/models/notes_context.py +1 -0
  56. teamdbapi/models/parameter.py +2 -0
  57. teamdbapi/models/parameter_cross_table.py +1 -0
  58. teamdbapi/models/part.py +991 -0
  59. teamdbapi/models/part_car_parameters.py +561 -0
  60. teamdbapi/models/part_count.py +228 -0
  61. teamdbapi/models/problem_details.py +2 -6
  62. teamdbapi/models/revision.py +116 -3
  63. teamdbapi/models/revision_value.py +32 -3
  64. teamdbapi/models/run.py +1 -0
  65. teamdbapi/models/script.py +1 -0
  66. teamdbapi/models/session.py +1 -0
  67. teamdbapi/models/string_with_font_style.py +1 -0
  68. teamdbapi/models/target.py +64 -7
  69. teamdbapi/models/team_db_list.py +1 -0
  70. teamdbapi/models/team_db_list_item.py +1 -0
  71. teamdbapi/models/tire.py +2 -0
  72. teamdbapi/models/tire_set.py +2 -0
  73. teamdbapi/models/track.py +1 -0
  74. teamdbapi/models/track_layout.py +1 -0
  75. teamdbapi/models/user.py +1 -0
  76. teamdbapi/models/user_group.py +1 -0
  77. teamdbapi/models/value_field.py +1 -0
  78. teamdbapi/models/version.py +1 -0
  79. teamdbapi/rest.py +6 -1
  80. {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/METADATA +3 -3
  81. teamdbapi-3.2.0.dist-info/RECORD +108 -0
  82. teamdbapi-2.37.2.dist-info/RECORD +0 -82
  83. {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/LICENSE +0 -0
  84. {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.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