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
|
@@ -131,7 +131,7 @@ class CarParametersContext(object):
|
|
|
131
131
|
def name(self):
|
|
132
132
|
"""Gets the name of this CarParametersContext. # noqa: E501
|
|
133
133
|
|
|
134
|
-
Context name (ie the layout name) or
|
|
134
|
+
Context name (ie the layout name) or GLOBAL_CONTEXT for the global context # noqa: E501
|
|
135
135
|
|
|
136
136
|
:return: The name of this CarParametersContext. # noqa: E501
|
|
137
137
|
:rtype: str
|
|
@@ -142,7 +142,7 @@ class CarParametersContext(object):
|
|
|
142
142
|
def name(self, name):
|
|
143
143
|
"""Sets the name of this CarParametersContext.
|
|
144
144
|
|
|
145
|
-
Context name (ie the layout name) or
|
|
145
|
+
Context name (ie the layout name) or GLOBAL_CONTEXT for the global context # noqa: E501
|
|
146
146
|
|
|
147
147
|
:param name: The name of this CarParametersContext. # noqa: E501
|
|
148
148
|
:type: str
|
teamdbapi/models/component.py
CHANGED
|
@@ -71,7 +71,8 @@ class Component(object):
|
|
|
71
71
|
'energy_total': 'float',
|
|
72
72
|
'intended_purpose': 'str',
|
|
73
73
|
'is_special_equipment': 'bool',
|
|
74
|
-
'sub_component_parameter_binding': 'str'
|
|
74
|
+
'sub_component_parameter_binding': 'str',
|
|
75
|
+
'manufacturer_serial_number': 'str'
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
attribute_map = {
|
|
@@ -117,10 +118,11 @@ class Component(object):
|
|
|
117
118
|
'energy_total': 'EnergyTotal',
|
|
118
119
|
'intended_purpose': 'IntendedPurpose',
|
|
119
120
|
'is_special_equipment': 'IsSpecialEquipment',
|
|
120
|
-
'sub_component_parameter_binding': 'SubComponentParameterBinding'
|
|
121
|
+
'sub_component_parameter_binding': 'SubComponentParameterBinding',
|
|
122
|
+
'manufacturer_serial_number': 'ManufacturerSerialNumber'
|
|
121
123
|
}
|
|
122
124
|
|
|
123
|
-
def __init__(self, revision_id=None, component_id=None, part_id=None, type_component=None, name=None, batch_number=None, expiration_date_utc=None, initial_distance=None, initial_time=None, accident_damaged=None, status=None, issues_human_id=None, distance_run=None, time_run=None, creation_date_utc=None, creator=None, department=None, last_update_date_utc=None, last_update_user=None, production_date_utc=None, weight=None, revision_date_utc=None, revision_name=None, tags=None, annotation=None, manufacturer=None, manufacturer_number=None, user_update_date_utc=None, user_update_name=None, distance_run_factored=None, distance_run_pwr=None, time_run_pwr=None, distance_total=None, time_total=None, distance_pwr_total=None, time_pwr_total=None, distance_factored_total=None, has_check_rule_alert=None, energy_run=None, energy_total=None, intended_purpose=None, is_special_equipment=None, sub_component_parameter_binding=None): # noqa: E501
|
|
125
|
+
def __init__(self, revision_id=None, component_id=None, part_id=None, type_component=None, name=None, batch_number=None, expiration_date_utc=None, initial_distance=None, initial_time=None, accident_damaged=None, status=None, issues_human_id=None, distance_run=None, time_run=None, creation_date_utc=None, creator=None, department=None, last_update_date_utc=None, last_update_user=None, production_date_utc=None, weight=None, revision_date_utc=None, revision_name=None, tags=None, annotation=None, manufacturer=None, manufacturer_number=None, user_update_date_utc=None, user_update_name=None, distance_run_factored=None, distance_run_pwr=None, time_run_pwr=None, distance_total=None, time_total=None, distance_pwr_total=None, time_pwr_total=None, distance_factored_total=None, has_check_rule_alert=None, energy_run=None, energy_total=None, intended_purpose=None, is_special_equipment=None, sub_component_parameter_binding=None, manufacturer_serial_number=None): # noqa: E501
|
|
124
126
|
"""Component - a model defined in Swagger""" # noqa: E501
|
|
125
127
|
self._revision_id = None
|
|
126
128
|
self._component_id = None
|
|
@@ -165,6 +167,7 @@ class Component(object):
|
|
|
165
167
|
self._intended_purpose = None
|
|
166
168
|
self._is_special_equipment = None
|
|
167
169
|
self._sub_component_parameter_binding = None
|
|
170
|
+
self._manufacturer_serial_number = None
|
|
168
171
|
self.discriminator = None
|
|
169
172
|
self.revision_id = revision_id
|
|
170
173
|
self.component_id = component_id
|
|
@@ -246,6 +249,8 @@ class Component(object):
|
|
|
246
249
|
self.is_special_equipment = is_special_equipment
|
|
247
250
|
if sub_component_parameter_binding is not None:
|
|
248
251
|
self.sub_component_parameter_binding = sub_component_parameter_binding
|
|
252
|
+
if manufacturer_serial_number is not None:
|
|
253
|
+
self.manufacturer_serial_number = manufacturer_serial_number
|
|
249
254
|
|
|
250
255
|
@property
|
|
251
256
|
def revision_id(self):
|
|
@@ -1254,6 +1259,29 @@ class Component(object):
|
|
|
1254
1259
|
|
|
1255
1260
|
self._sub_component_parameter_binding = sub_component_parameter_binding
|
|
1256
1261
|
|
|
1262
|
+
@property
|
|
1263
|
+
def manufacturer_serial_number(self):
|
|
1264
|
+
"""Gets the manufacturer_serial_number of this Component. # noqa: E501
|
|
1265
|
+
|
|
1266
|
+
The manufacturer serial number. Allows you to store your own manufacturer number. # noqa: E501
|
|
1267
|
+
|
|
1268
|
+
:return: The manufacturer_serial_number of this Component. # noqa: E501
|
|
1269
|
+
:rtype: str
|
|
1270
|
+
"""
|
|
1271
|
+
return self._manufacturer_serial_number
|
|
1272
|
+
|
|
1273
|
+
@manufacturer_serial_number.setter
|
|
1274
|
+
def manufacturer_serial_number(self, manufacturer_serial_number):
|
|
1275
|
+
"""Sets the manufacturer_serial_number of this Component.
|
|
1276
|
+
|
|
1277
|
+
The manufacturer serial number. Allows you to store your own manufacturer number. # noqa: E501
|
|
1278
|
+
|
|
1279
|
+
:param manufacturer_serial_number: The manufacturer_serial_number of this Component. # noqa: E501
|
|
1280
|
+
:type: str
|
|
1281
|
+
"""
|
|
1282
|
+
|
|
1283
|
+
self._manufacturer_serial_number = manufacturer_serial_number
|
|
1284
|
+
|
|
1257
1285
|
def to_dict(self):
|
|
1258
1286
|
"""Returns the model properties as a dict"""
|
|
1259
1287
|
result = {}
|
teamdbapi/models/criteria.py
CHANGED
|
@@ -99,7 +99,7 @@ class Criteria(object):
|
|
|
99
99
|
def id(self):
|
|
100
100
|
"""Gets the id of this Criteria. # noqa: E501
|
|
101
101
|
|
|
102
|
-
Criteria unique identifier. Set the
|
|
102
|
+
Criteria unique identifier. Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new criteria. # noqa: E501
|
|
103
103
|
|
|
104
104
|
:return: The id of this Criteria. # noqa: E501
|
|
105
105
|
:rtype: str
|
|
@@ -110,7 +110,7 @@ class Criteria(object):
|
|
|
110
110
|
def id(self, id):
|
|
111
111
|
"""Sets the id of this Criteria.
|
|
112
112
|
|
|
113
|
-
Criteria unique identifier. Set the
|
|
113
|
+
Criteria unique identifier. Set the Id to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new criteria. # noqa: E501
|
|
114
114
|
|
|
115
115
|
:param id: The id of this Criteria. # noqa: E501
|
|
116
116
|
:type: str
|
|
@@ -213,7 +213,7 @@ class Criteria(object):
|
|
|
213
213
|
:param aggregation_type: The aggregation_type of this Criteria. # noqa: E501
|
|
214
214
|
:type: str
|
|
215
215
|
"""
|
|
216
|
-
allowed_values = ["None", "Sum", "Min", "Max"] # noqa: E501
|
|
216
|
+
allowed_values = ["None", "Sum", "Min", "Max", "First", "Last"] # noqa: E501
|
|
217
217
|
if aggregation_type not in allowed_values:
|
|
218
218
|
raise ValueError(
|
|
219
219
|
"Invalid value for `aggregation_type` ({0}), must be one of {1}" # noqa: E501
|