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,170 @@
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
+ from teamdbapi.models.import_revisions_info import ImportRevisionsInfo # noqa: F401,E501
18
+
19
+
20
+ class ImportRevisionsResults(object):
21
+ """NOTE: This class is auto generated by the swagger code generator program.
22
+
23
+ Do not edit the class manually.
24
+ """
25
+ """
26
+ Attributes:
27
+ swagger_types (dict): The key is attribute name
28
+ and the value is attribute type.
29
+ attribute_map (dict): The key is attribute name
30
+ and the value is json key in definition.
31
+ """
32
+ swagger_types = {
33
+ 'before_import_warning': 'str',
34
+ 'import_report_result': 'str',
35
+ 'revisions': 'list[ImportRevisionsInfo]'
36
+ }
37
+
38
+ attribute_map = {
39
+ 'before_import_warning': 'BeforeImportWarning',
40
+ 'import_report_result': 'ImportReportResult',
41
+ 'revisions': 'Revisions'
42
+ }
43
+
44
+ def __init__(self, before_import_warning=None, import_report_result=None, revisions=None): # noqa: E501
45
+ """ImportRevisionsResults - a model defined in Swagger""" # noqa: E501
46
+ self._before_import_warning = None
47
+ self._import_report_result = None
48
+ self._revisions = None
49
+ self.discriminator = None
50
+ if before_import_warning is not None:
51
+ self.before_import_warning = before_import_warning
52
+ if import_report_result is not None:
53
+ self.import_report_result = import_report_result
54
+ if revisions is not None:
55
+ self.revisions = revisions
56
+
57
+ @property
58
+ def before_import_warning(self):
59
+ """Gets the before_import_warning of this ImportRevisionsResults. # noqa: E501
60
+
61
+ Warning before import # noqa: E501
62
+
63
+ :return: The before_import_warning of this ImportRevisionsResults. # noqa: E501
64
+ :rtype: str
65
+ """
66
+ return self._before_import_warning
67
+
68
+ @before_import_warning.setter
69
+ def before_import_warning(self, before_import_warning):
70
+ """Sets the before_import_warning of this ImportRevisionsResults.
71
+
72
+ Warning before import # noqa: E501
73
+
74
+ :param before_import_warning: The before_import_warning of this ImportRevisionsResults. # noqa: E501
75
+ :type: str
76
+ """
77
+
78
+ self._before_import_warning = before_import_warning
79
+
80
+ @property
81
+ def import_report_result(self):
82
+ """Gets the import_report_result of this ImportRevisionsResults. # noqa: E501
83
+
84
+ The import report result # noqa: E501
85
+
86
+ :return: The import_report_result of this ImportRevisionsResults. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._import_report_result
90
+
91
+ @import_report_result.setter
92
+ def import_report_result(self, import_report_result):
93
+ """Sets the import_report_result of this ImportRevisionsResults.
94
+
95
+ The import report result # noqa: E501
96
+
97
+ :param import_report_result: The import_report_result of this ImportRevisionsResults. # noqa: E501
98
+ :type: str
99
+ """
100
+
101
+ self._import_report_result = import_report_result
102
+
103
+ @property
104
+ def revisions(self):
105
+ """Gets the revisions of this ImportRevisionsResults. # noqa: E501
106
+
107
+ The revisions created for each parameter or not # noqa: E501
108
+
109
+ :return: The revisions of this ImportRevisionsResults. # noqa: E501
110
+ :rtype: list[ImportRevisionsInfo]
111
+ """
112
+ return self._revisions
113
+
114
+ @revisions.setter
115
+ def revisions(self, revisions):
116
+ """Sets the revisions of this ImportRevisionsResults.
117
+
118
+ The revisions created for each parameter or not # noqa: E501
119
+
120
+ :param revisions: The revisions of this ImportRevisionsResults. # noqa: E501
121
+ :type: list[ImportRevisionsInfo]
122
+ """
123
+
124
+ self._revisions = revisions
125
+
126
+ def to_dict(self):
127
+ """Returns the model properties as a dict"""
128
+ result = {}
129
+
130
+ for attr, _ in six.iteritems(self.swagger_types):
131
+ value = getattr(self, attr)
132
+ if isinstance(value, list):
133
+ result[attr] = list(map(
134
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
135
+ value
136
+ ))
137
+ elif hasattr(value, "to_dict"):
138
+ result[attr] = value.to_dict()
139
+ elif isinstance(value, dict):
140
+ result[attr] = dict(map(
141
+ lambda item: (item[0], item[1].to_dict())
142
+ if hasattr(item[1], "to_dict") else item,
143
+ value.items()
144
+ ))
145
+ else:
146
+ result[attr] = value
147
+ if issubclass(ImportRevisionsResults, dict):
148
+ for key, value in self.items():
149
+ result[key] = value
150
+
151
+ return result
152
+
153
+ def to_str(self):
154
+ """Returns the string representation of the model"""
155
+ return pprint.pformat(self.to_dict())
156
+
157
+ def __repr__(self):
158
+ """For `print` and `pprint`"""
159
+ return self.to_str()
160
+
161
+ def __eq__(self, other):
162
+ """Returns true if both objects are equal"""
163
+ if not isinstance(other, ImportRevisionsResults):
164
+ return False
165
+
166
+ return self.__dict__ == other.__dict__
167
+
168
+ def __ne__(self, other):
169
+ """Returns true if both objects are not equal"""
170
+ return not self == other