teamdbapi 3.3.0__py3-none-any.whl → 3.5.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 +5 -0
- teamdbapi/api/__init__.py +2 -0
- teamdbapi/api/component_api.py +186 -0
- teamdbapi/api/edit_api.py +97 -0
- teamdbapi/api/mounting_api.py +93 -0
- teamdbapi/api/overall_api.py +118 -0
- teamdbapi/api/parameter_binding_api.py +508 -0
- teamdbapi/api/script_api.py +6 -6
- teamdbapi/api/value_field_api.py +101 -0
- teamdbapi/models/__init__.py +3 -0
- teamdbapi/models/car_parameters_context.py +2 -2
- teamdbapi/models/component.py +31 -3
- teamdbapi/models/criteria.py +3 -3
- teamdbapi/models/criteria_value_detail.py +673 -0
- teamdbapi/models/fixed_field.py +1 -1
- teamdbapi/models/model_field.py +1 -1
- teamdbapi/models/overall.py +198 -0
- teamdbapi/models/parameter_binding.py +401 -0
- teamdbapi/models/target.py +31 -3
- {teamdbapi-3.3.0.dist-info → teamdbapi-3.5.0.dist-info}/METADATA +5 -4
- {teamdbapi-3.3.0.dist-info → teamdbapi-3.5.0.dist-info}/RECORD +23 -18
- {teamdbapi-3.3.0.dist-info → teamdbapi-3.5.0.dist-info}/WHEEL +1 -1
- {teamdbapi-3.3.0.dist-info → teamdbapi-3.5.0.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,198 @@
|
|
|
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 Overall(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
|
+
'last_update_date_utc': 'datetime',
|
|
34
|
+
'last_update_user': 'str',
|
|
35
|
+
'revision': 'int'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
'id': 'Id',
|
|
40
|
+
'last_update_date_utc': 'LastUpdateDateUtc',
|
|
41
|
+
'last_update_user': 'LastUpdateUser',
|
|
42
|
+
'revision': 'Revision'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, id=None, last_update_date_utc=None, last_update_user=None, revision=None): # noqa: E501
|
|
46
|
+
"""Overall - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
self._id = None
|
|
48
|
+
self._last_update_date_utc = None
|
|
49
|
+
self._last_update_user = None
|
|
50
|
+
self._revision = None
|
|
51
|
+
self.discriminator = None
|
|
52
|
+
self.id = id
|
|
53
|
+
if last_update_date_utc is not None:
|
|
54
|
+
self.last_update_date_utc = last_update_date_utc
|
|
55
|
+
if last_update_user is not None:
|
|
56
|
+
self.last_update_user = last_update_user
|
|
57
|
+
if revision is not None:
|
|
58
|
+
self.revision = revision
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def id(self):
|
|
62
|
+
"""Gets the id of this Overall. # noqa: E501
|
|
63
|
+
|
|
64
|
+
The unique Overall Id. # noqa: E501
|
|
65
|
+
|
|
66
|
+
:return: The id of this Overall. # noqa: E501
|
|
67
|
+
:rtype: str
|
|
68
|
+
"""
|
|
69
|
+
return self._id
|
|
70
|
+
|
|
71
|
+
@id.setter
|
|
72
|
+
def id(self, id):
|
|
73
|
+
"""Sets the id of this Overall.
|
|
74
|
+
|
|
75
|
+
The unique Overall Id. # noqa: E501
|
|
76
|
+
|
|
77
|
+
:param id: The id of this Overall. # noqa: E501
|
|
78
|
+
:type: str
|
|
79
|
+
"""
|
|
80
|
+
if id is None:
|
|
81
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
82
|
+
|
|
83
|
+
self._id = id
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def last_update_date_utc(self):
|
|
87
|
+
"""Gets the last_update_date_utc of this Overall. # noqa: E501
|
|
88
|
+
|
|
89
|
+
The last utc date time when the properties of this object have been updated. This field will be automatically updated from the server side each time you update the object. # noqa: E501
|
|
90
|
+
|
|
91
|
+
:return: The last_update_date_utc of this Overall. # noqa: E501
|
|
92
|
+
:rtype: datetime
|
|
93
|
+
"""
|
|
94
|
+
return self._last_update_date_utc
|
|
95
|
+
|
|
96
|
+
@last_update_date_utc.setter
|
|
97
|
+
def last_update_date_utc(self, last_update_date_utc):
|
|
98
|
+
"""Sets the last_update_date_utc of this Overall.
|
|
99
|
+
|
|
100
|
+
The last utc date time when the properties of this object have been updated. This field will be automatically updated from the server side each time you update the object. # noqa: E501
|
|
101
|
+
|
|
102
|
+
:param last_update_date_utc: The last_update_date_utc of this Overall. # noqa: E501
|
|
103
|
+
:type: datetime
|
|
104
|
+
"""
|
|
105
|
+
|
|
106
|
+
self._last_update_date_utc = last_update_date_utc
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def last_update_user(self):
|
|
110
|
+
"""Gets the last_update_user of this Overall. # noqa: E501
|
|
111
|
+
|
|
112
|
+
The name of the last user having updated this object. This field will be automatically updated from the server side each time you update the object. # noqa: E501
|
|
113
|
+
|
|
114
|
+
:return: The last_update_user of this Overall. # noqa: E501
|
|
115
|
+
:rtype: str
|
|
116
|
+
"""
|
|
117
|
+
return self._last_update_user
|
|
118
|
+
|
|
119
|
+
@last_update_user.setter
|
|
120
|
+
def last_update_user(self, last_update_user):
|
|
121
|
+
"""Sets the last_update_user of this Overall.
|
|
122
|
+
|
|
123
|
+
The name of the last user having updated this object. This field will be automatically updated from the server side each time you update the object. # noqa: E501
|
|
124
|
+
|
|
125
|
+
:param last_update_user: The last_update_user of this Overall. # noqa: E501
|
|
126
|
+
:type: str
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
self._last_update_user = last_update_user
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def revision(self):
|
|
133
|
+
"""Gets the revision of this Overall. # noqa: E501
|
|
134
|
+
|
|
135
|
+
The revision number of the object. # noqa: E501
|
|
136
|
+
|
|
137
|
+
:return: The revision of this Overall. # noqa: E501
|
|
138
|
+
:rtype: int
|
|
139
|
+
"""
|
|
140
|
+
return self._revision
|
|
141
|
+
|
|
142
|
+
@revision.setter
|
|
143
|
+
def revision(self, revision):
|
|
144
|
+
"""Sets the revision of this Overall.
|
|
145
|
+
|
|
146
|
+
The revision number of the object. # noqa: E501
|
|
147
|
+
|
|
148
|
+
:param revision: The revision of this Overall. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._revision = revision
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(Overall, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, Overall):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.__dict__ == other.__dict__
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
return not self == other
|
|
@@ -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
|
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):
|
|
@@ -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 = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.5.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>
|
|
@@ -9,6 +9,7 @@ Description-Content-Type: text/markdown
|
|
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Programming Language :: Python
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
License-File: LICENSE
|
|
12
13
|
Requires-Dist: certifi >= 14.05.14
|
|
13
14
|
Requires-Dist: six >= 1.10
|
|
14
15
|
Requires-Dist: python_dateutil >= 2.5.3
|
|
@@ -19,13 +20,13 @@ Project-URL: Homepage, https://www.tracksidesoftware.fr/teamdb
|
|
|
19
20
|
# teamdbapi
|
|
20
21
|
This module enables you to easily access the TeamDB Web API.
|
|
21
22
|
|
|
22
|
-
- Package version: 3.
|
|
23
|
+
- Package version: 3.5.0
|
|
23
24
|
- TeamDB Web API version: 2.0
|
|
24
25
|
|
|
25
26
|
## Requirements.
|
|
26
27
|
|
|
27
28
|
- Python 3.4+
|
|
28
|
-
- TeamDB 3.
|
|
29
|
+
- TeamDB 3.5.0
|
|
29
30
|
|
|
30
31
|
## Installation and usage
|
|
31
32
|
### pip install
|