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.
- teamdbapi/__init__.py +26 -0
- teamdbapi/api/__init__.py +6 -0
- teamdbapi/api/assembly_api.py +23 -23
- teamdbapi/api/component_api.py +1071 -0
- teamdbapi/api/criteria_api.py +126 -0
- teamdbapi/api/import_export_api.py +85 -0
- teamdbapi/api/issue_api.py +1537 -0
- teamdbapi/api/lap_report_api.py +5 -1
- teamdbapi/api/mounting_api.py +219 -0
- teamdbapi/api/part_api.py +785 -0
- teamdbapi/api/revision_api.py +109 -4
- teamdbapi/api/update_request_api.py +235 -0
- teamdbapi/api_client.py +4 -8
- teamdbapi/configuration.py +5 -12
- teamdbapi/models/__init__.py +20 -0
- teamdbapi/models/add_part_car_parameter_arg.py +396 -0
- teamdbapi/models/assembly.py +1 -0
- teamdbapi/models/bleed_adjustment.py +1 -0
- teamdbapi/models/calibration.py +1 -0
- teamdbapi/models/car.py +1 -0
- teamdbapi/models/car_parameters_context.py +1 -0
- teamdbapi/models/compare_options.py +1 -0
- teamdbapi/models/compare_result.py +1 -0
- teamdbapi/models/compare_result_detail.py +2 -0
- teamdbapi/models/component.py +1301 -0
- teamdbapi/models/copy_from_tags_args.py +2 -0
- teamdbapi/models/couple_guid_text.py +1 -0
- teamdbapi/models/criteria.py +430 -0
- teamdbapi/models/criteria_value.py +197 -0
- teamdbapi/models/event.py +1 -0
- teamdbapi/models/file_revision_info.py +199 -0
- teamdbapi/models/fixed_field.py +2 -1
- teamdbapi/models/group.py +1 -0
- teamdbapi/models/import_parameters_args.py +1 -0
- teamdbapi/models/import_parameters_results.py +2 -0
- 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/item_value.py +1 -0
- teamdbapi/models/item_value_key.py +1 -0
- teamdbapi/models/lap.py +1 -0
- teamdbapi/models/lap_report_options.py +1 -0
- teamdbapi/models/model_field.py +3 -1
- teamdbapi/models/model_field_authorization.py +1 -0
- teamdbapi/models/mounting.py +489 -0
- teamdbapi/models/notes_authorization.py +1 -0
- teamdbapi/models/notes_context.py +1 -0
- teamdbapi/models/parameter.py +2 -0
- teamdbapi/models/parameter_cross_table.py +1 -0
- teamdbapi/models/part.py +991 -0
- teamdbapi/models/part_car_parameters.py +561 -0
- teamdbapi/models/part_count.py +228 -0
- teamdbapi/models/problem_details.py +2 -6
- teamdbapi/models/revision.py +116 -3
- teamdbapi/models/revision_value.py +32 -3
- teamdbapi/models/run.py +1 -0
- teamdbapi/models/script.py +1 -0
- teamdbapi/models/session.py +1 -0
- teamdbapi/models/string_with_font_style.py +1 -0
- teamdbapi/models/target.py +64 -7
- teamdbapi/models/team_db_list.py +1 -0
- teamdbapi/models/team_db_list_item.py +1 -0
- teamdbapi/models/tire.py +2 -0
- teamdbapi/models/tire_set.py +2 -0
- teamdbapi/models/track.py +1 -0
- teamdbapi/models/track_layout.py +1 -0
- teamdbapi/models/user.py +1 -0
- teamdbapi/models/user_group.py +1 -0
- teamdbapi/models/value_field.py +1 -0
- teamdbapi/models/version.py +1 -0
- teamdbapi/rest.py +6 -1
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/METADATA +3 -3
- teamdbapi-3.2.0.dist-info/RECORD +108 -0
- teamdbapi-2.37.2.dist-info/RECORD +0 -82
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/LICENSE +0 -0
- {teamdbapi-2.37.2.dist-info → teamdbapi-3.2.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,1301 @@
|
|
|
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 Component(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
|
+
'revision_id': 'str',
|
|
33
|
+
'component_id': 'str',
|
|
34
|
+
'part_id': 'str',
|
|
35
|
+
'type_component': 'str',
|
|
36
|
+
'name': 'str',
|
|
37
|
+
'batch_number': 'str',
|
|
38
|
+
'expiration_date_utc': 'datetime',
|
|
39
|
+
'initial_distance': 'float',
|
|
40
|
+
'initial_time': 'int',
|
|
41
|
+
'accident_damaged': 'bool',
|
|
42
|
+
'status': 'str',
|
|
43
|
+
'issues_human_id': 'str',
|
|
44
|
+
'distance_run': 'float',
|
|
45
|
+
'time_run': 'int',
|
|
46
|
+
'creation_date_utc': 'datetime',
|
|
47
|
+
'creator': 'str',
|
|
48
|
+
'department': 'str',
|
|
49
|
+
'last_update_date_utc': 'datetime',
|
|
50
|
+
'last_update_user': 'str',
|
|
51
|
+
'production_date_utc': 'datetime',
|
|
52
|
+
'weight': 'float',
|
|
53
|
+
'revision_date_utc': 'datetime',
|
|
54
|
+
'revision_name': 'str',
|
|
55
|
+
'tags': 'str',
|
|
56
|
+
'annotation': 'str',
|
|
57
|
+
'manufacturer': 'str',
|
|
58
|
+
'manufacturer_number': 'str',
|
|
59
|
+
'user_update_date_utc': 'datetime',
|
|
60
|
+
'user_update_name': 'str',
|
|
61
|
+
'distance_run_factored': 'float',
|
|
62
|
+
'distance_run_pwr': 'float',
|
|
63
|
+
'time_run_pwr': 'int',
|
|
64
|
+
'distance_total': 'float',
|
|
65
|
+
'time_total': 'int',
|
|
66
|
+
'distance_pwr_total': 'float',
|
|
67
|
+
'time_pwr_total': 'int',
|
|
68
|
+
'distance_factored_total': 'float',
|
|
69
|
+
'has_check_rule_alert': 'bool',
|
|
70
|
+
'energy_run': 'float',
|
|
71
|
+
'energy_total': 'float',
|
|
72
|
+
'intended_purpose': 'str',
|
|
73
|
+
'is_special_equipment': 'bool',
|
|
74
|
+
'sub_component_parameter_binding': 'str'
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
attribute_map = {
|
|
78
|
+
'revision_id': 'RevisionId',
|
|
79
|
+
'component_id': 'ComponentId',
|
|
80
|
+
'part_id': 'PartId',
|
|
81
|
+
'type_component': 'TypeComponent',
|
|
82
|
+
'name': 'Name',
|
|
83
|
+
'batch_number': 'BatchNumber',
|
|
84
|
+
'expiration_date_utc': 'ExpirationDateUtc',
|
|
85
|
+
'initial_distance': 'InitialDistance',
|
|
86
|
+
'initial_time': 'InitialTime',
|
|
87
|
+
'accident_damaged': 'AccidentDamaged',
|
|
88
|
+
'status': 'Status',
|
|
89
|
+
'issues_human_id': 'IssuesHumanId',
|
|
90
|
+
'distance_run': 'DistanceRun',
|
|
91
|
+
'time_run': 'TimeRun',
|
|
92
|
+
'creation_date_utc': 'CreationDateUtc',
|
|
93
|
+
'creator': 'Creator',
|
|
94
|
+
'department': 'Department',
|
|
95
|
+
'last_update_date_utc': 'LastUpdateDateUtc',
|
|
96
|
+
'last_update_user': 'LastUpdateUser',
|
|
97
|
+
'production_date_utc': 'ProductionDateUtc',
|
|
98
|
+
'weight': 'Weight',
|
|
99
|
+
'revision_date_utc': 'RevisionDateUtc',
|
|
100
|
+
'revision_name': 'RevisionName',
|
|
101
|
+
'tags': 'Tags',
|
|
102
|
+
'annotation': 'Annotation',
|
|
103
|
+
'manufacturer': 'Manufacturer',
|
|
104
|
+
'manufacturer_number': 'ManufacturerNumber',
|
|
105
|
+
'user_update_date_utc': 'UserUpdateDateUtc',
|
|
106
|
+
'user_update_name': 'UserUpdateName',
|
|
107
|
+
'distance_run_factored': 'DistanceRunFactored',
|
|
108
|
+
'distance_run_pwr': 'DistanceRunPwr',
|
|
109
|
+
'time_run_pwr': 'TimeRunPwr',
|
|
110
|
+
'distance_total': 'DistanceTotal',
|
|
111
|
+
'time_total': 'TimeTotal',
|
|
112
|
+
'distance_pwr_total': 'DistancePwrTotal',
|
|
113
|
+
'time_pwr_total': 'TimePwrTotal',
|
|
114
|
+
'distance_factored_total': 'DistanceFactoredTotal',
|
|
115
|
+
'has_check_rule_alert': 'HasCheckRuleAlert',
|
|
116
|
+
'energy_run': 'EnergyRun',
|
|
117
|
+
'energy_total': 'EnergyTotal',
|
|
118
|
+
'intended_purpose': 'IntendedPurpose',
|
|
119
|
+
'is_special_equipment': 'IsSpecialEquipment',
|
|
120
|
+
'sub_component_parameter_binding': 'SubComponentParameterBinding'
|
|
121
|
+
}
|
|
122
|
+
|
|
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
|
|
124
|
+
"""Component - a model defined in Swagger""" # noqa: E501
|
|
125
|
+
self._revision_id = None
|
|
126
|
+
self._component_id = None
|
|
127
|
+
self._part_id = None
|
|
128
|
+
self._type_component = None
|
|
129
|
+
self._name = None
|
|
130
|
+
self._batch_number = None
|
|
131
|
+
self._expiration_date_utc = None
|
|
132
|
+
self._initial_distance = None
|
|
133
|
+
self._initial_time = None
|
|
134
|
+
self._accident_damaged = None
|
|
135
|
+
self._status = None
|
|
136
|
+
self._issues_human_id = None
|
|
137
|
+
self._distance_run = None
|
|
138
|
+
self._time_run = None
|
|
139
|
+
self._creation_date_utc = None
|
|
140
|
+
self._creator = None
|
|
141
|
+
self._department = None
|
|
142
|
+
self._last_update_date_utc = None
|
|
143
|
+
self._last_update_user = None
|
|
144
|
+
self._production_date_utc = None
|
|
145
|
+
self._weight = None
|
|
146
|
+
self._revision_date_utc = None
|
|
147
|
+
self._revision_name = None
|
|
148
|
+
self._tags = None
|
|
149
|
+
self._annotation = None
|
|
150
|
+
self._manufacturer = None
|
|
151
|
+
self._manufacturer_number = None
|
|
152
|
+
self._user_update_date_utc = None
|
|
153
|
+
self._user_update_name = None
|
|
154
|
+
self._distance_run_factored = None
|
|
155
|
+
self._distance_run_pwr = None
|
|
156
|
+
self._time_run_pwr = None
|
|
157
|
+
self._distance_total = None
|
|
158
|
+
self._time_total = None
|
|
159
|
+
self._distance_pwr_total = None
|
|
160
|
+
self._time_pwr_total = None
|
|
161
|
+
self._distance_factored_total = None
|
|
162
|
+
self._has_check_rule_alert = None
|
|
163
|
+
self._energy_run = None
|
|
164
|
+
self._energy_total = None
|
|
165
|
+
self._intended_purpose = None
|
|
166
|
+
self._is_special_equipment = None
|
|
167
|
+
self._sub_component_parameter_binding = None
|
|
168
|
+
self.discriminator = None
|
|
169
|
+
self.revision_id = revision_id
|
|
170
|
+
self.component_id = component_id
|
|
171
|
+
self.part_id = part_id
|
|
172
|
+
if type_component is not None:
|
|
173
|
+
self.type_component = type_component
|
|
174
|
+
self.name = name
|
|
175
|
+
if batch_number is not None:
|
|
176
|
+
self.batch_number = batch_number
|
|
177
|
+
if expiration_date_utc is not None:
|
|
178
|
+
self.expiration_date_utc = expiration_date_utc
|
|
179
|
+
if initial_distance is not None:
|
|
180
|
+
self.initial_distance = initial_distance
|
|
181
|
+
if initial_time is not None:
|
|
182
|
+
self.initial_time = initial_time
|
|
183
|
+
if accident_damaged is not None:
|
|
184
|
+
self.accident_damaged = accident_damaged
|
|
185
|
+
self.status = status
|
|
186
|
+
if issues_human_id is not None:
|
|
187
|
+
self.issues_human_id = issues_human_id
|
|
188
|
+
if distance_run is not None:
|
|
189
|
+
self.distance_run = distance_run
|
|
190
|
+
if time_run is not None:
|
|
191
|
+
self.time_run = time_run
|
|
192
|
+
if creation_date_utc is not None:
|
|
193
|
+
self.creation_date_utc = creation_date_utc
|
|
194
|
+
if creator is not None:
|
|
195
|
+
self.creator = creator
|
|
196
|
+
self.department = department
|
|
197
|
+
if last_update_date_utc is not None:
|
|
198
|
+
self.last_update_date_utc = last_update_date_utc
|
|
199
|
+
if last_update_user is not None:
|
|
200
|
+
self.last_update_user = last_update_user
|
|
201
|
+
if production_date_utc is not None:
|
|
202
|
+
self.production_date_utc = production_date_utc
|
|
203
|
+
if weight is not None:
|
|
204
|
+
self.weight = weight
|
|
205
|
+
if revision_date_utc is not None:
|
|
206
|
+
self.revision_date_utc = revision_date_utc
|
|
207
|
+
if revision_name is not None:
|
|
208
|
+
self.revision_name = revision_name
|
|
209
|
+
if tags is not None:
|
|
210
|
+
self.tags = tags
|
|
211
|
+
if annotation is not None:
|
|
212
|
+
self.annotation = annotation
|
|
213
|
+
if manufacturer is not None:
|
|
214
|
+
self.manufacturer = manufacturer
|
|
215
|
+
if manufacturer_number is not None:
|
|
216
|
+
self.manufacturer_number = manufacturer_number
|
|
217
|
+
if user_update_date_utc is not None:
|
|
218
|
+
self.user_update_date_utc = user_update_date_utc
|
|
219
|
+
if user_update_name is not None:
|
|
220
|
+
self.user_update_name = user_update_name
|
|
221
|
+
if distance_run_factored is not None:
|
|
222
|
+
self.distance_run_factored = distance_run_factored
|
|
223
|
+
if distance_run_pwr is not None:
|
|
224
|
+
self.distance_run_pwr = distance_run_pwr
|
|
225
|
+
if time_run_pwr is not None:
|
|
226
|
+
self.time_run_pwr = time_run_pwr
|
|
227
|
+
if distance_total is not None:
|
|
228
|
+
self.distance_total = distance_total
|
|
229
|
+
if time_total is not None:
|
|
230
|
+
self.time_total = time_total
|
|
231
|
+
if distance_pwr_total is not None:
|
|
232
|
+
self.distance_pwr_total = distance_pwr_total
|
|
233
|
+
if time_pwr_total is not None:
|
|
234
|
+
self.time_pwr_total = time_pwr_total
|
|
235
|
+
if distance_factored_total is not None:
|
|
236
|
+
self.distance_factored_total = distance_factored_total
|
|
237
|
+
if has_check_rule_alert is not None:
|
|
238
|
+
self.has_check_rule_alert = has_check_rule_alert
|
|
239
|
+
if energy_run is not None:
|
|
240
|
+
self.energy_run = energy_run
|
|
241
|
+
if energy_total is not None:
|
|
242
|
+
self.energy_total = energy_total
|
|
243
|
+
if intended_purpose is not None:
|
|
244
|
+
self.intended_purpose = intended_purpose
|
|
245
|
+
if is_special_equipment is not None:
|
|
246
|
+
self.is_special_equipment = is_special_equipment
|
|
247
|
+
if sub_component_parameter_binding is not None:
|
|
248
|
+
self.sub_component_parameter_binding = sub_component_parameter_binding
|
|
249
|
+
|
|
250
|
+
@property
|
|
251
|
+
def revision_id(self):
|
|
252
|
+
"""Gets the revision_id of this Component. # noqa: E501
|
|
253
|
+
|
|
254
|
+
Component revision unique identifier. Set the RevisionId to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new component revision. # noqa: E501
|
|
255
|
+
|
|
256
|
+
:return: The revision_id of this Component. # noqa: E501
|
|
257
|
+
:rtype: str
|
|
258
|
+
"""
|
|
259
|
+
return self._revision_id
|
|
260
|
+
|
|
261
|
+
@revision_id.setter
|
|
262
|
+
def revision_id(self, revision_id):
|
|
263
|
+
"""Sets the revision_id of this Component.
|
|
264
|
+
|
|
265
|
+
Component revision unique identifier. Set the RevisionId to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new component revision. # noqa: E501
|
|
266
|
+
|
|
267
|
+
:param revision_id: The revision_id of this Component. # noqa: E501
|
|
268
|
+
:type: str
|
|
269
|
+
"""
|
|
270
|
+
if revision_id is None:
|
|
271
|
+
raise ValueError("Invalid value for `revision_id`, must not be `None`") # noqa: E501
|
|
272
|
+
|
|
273
|
+
self._revision_id = revision_id
|
|
274
|
+
|
|
275
|
+
@property
|
|
276
|
+
def component_id(self):
|
|
277
|
+
"""Gets the component_id of this Component. # noqa: E501
|
|
278
|
+
|
|
279
|
+
Component unique identifier, common to all revisions of the same component Set the ComponentId to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new component. # noqa: E501
|
|
280
|
+
|
|
281
|
+
:return: The component_id of this Component. # noqa: E501
|
|
282
|
+
:rtype: str
|
|
283
|
+
"""
|
|
284
|
+
return self._component_id
|
|
285
|
+
|
|
286
|
+
@component_id.setter
|
|
287
|
+
def component_id(self, component_id):
|
|
288
|
+
"""Sets the component_id of this Component.
|
|
289
|
+
|
|
290
|
+
Component unique identifier, common to all revisions of the same component Set the ComponentId to Guid.Empty (00000000-0000-0000-0000-000000000000) if you want to create a new component. # noqa: E501
|
|
291
|
+
|
|
292
|
+
:param component_id: The component_id of this Component. # noqa: E501
|
|
293
|
+
:type: str
|
|
294
|
+
"""
|
|
295
|
+
if component_id is None:
|
|
296
|
+
raise ValueError("Invalid value for `component_id`, must not be `None`") # noqa: E501
|
|
297
|
+
|
|
298
|
+
self._component_id = component_id
|
|
299
|
+
|
|
300
|
+
@property
|
|
301
|
+
def part_id(self):
|
|
302
|
+
"""Gets the part_id of this Component. # noqa: E501
|
|
303
|
+
|
|
304
|
+
Part id associated with the Component # noqa: E501
|
|
305
|
+
|
|
306
|
+
:return: The part_id of this Component. # noqa: E501
|
|
307
|
+
:rtype: str
|
|
308
|
+
"""
|
|
309
|
+
return self._part_id
|
|
310
|
+
|
|
311
|
+
@part_id.setter
|
|
312
|
+
def part_id(self, part_id):
|
|
313
|
+
"""Sets the part_id of this Component.
|
|
314
|
+
|
|
315
|
+
Part id associated with the Component # noqa: E501
|
|
316
|
+
|
|
317
|
+
:param part_id: The part_id of this Component. # noqa: E501
|
|
318
|
+
:type: str
|
|
319
|
+
"""
|
|
320
|
+
if part_id is None:
|
|
321
|
+
raise ValueError("Invalid value for `part_id`, must not be `None`") # noqa: E501
|
|
322
|
+
|
|
323
|
+
self._part_id = part_id
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
def type_component(self):
|
|
327
|
+
"""Gets the type_component of this Component. # noqa: E501
|
|
328
|
+
|
|
329
|
+
Component type # noqa: E501
|
|
330
|
+
|
|
331
|
+
:return: The type_component of this Component. # noqa: E501
|
|
332
|
+
:rtype: str
|
|
333
|
+
"""
|
|
334
|
+
return self._type_component
|
|
335
|
+
|
|
336
|
+
@type_component.setter
|
|
337
|
+
def type_component(self, type_component):
|
|
338
|
+
"""Sets the type_component of this Component.
|
|
339
|
+
|
|
340
|
+
Component type # noqa: E501
|
|
341
|
+
|
|
342
|
+
:param type_component: The type_component of this Component. # noqa: E501
|
|
343
|
+
:type: str
|
|
344
|
+
"""
|
|
345
|
+
allowed_values = ["Single", "Group"] # noqa: E501
|
|
346
|
+
if type_component not in allowed_values:
|
|
347
|
+
raise ValueError(
|
|
348
|
+
"Invalid value for `type_component` ({0}), must be one of {1}" # noqa: E501
|
|
349
|
+
.format(type_component, allowed_values)
|
|
350
|
+
)
|
|
351
|
+
|
|
352
|
+
self._type_component = type_component
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
def name(self):
|
|
356
|
+
"""Gets the name of this Component. # noqa: E501
|
|
357
|
+
|
|
358
|
+
Component name # noqa: E501
|
|
359
|
+
|
|
360
|
+
:return: The name of this Component. # noqa: E501
|
|
361
|
+
:rtype: str
|
|
362
|
+
"""
|
|
363
|
+
return self._name
|
|
364
|
+
|
|
365
|
+
@name.setter
|
|
366
|
+
def name(self, name):
|
|
367
|
+
"""Sets the name of this Component.
|
|
368
|
+
|
|
369
|
+
Component name # noqa: E501
|
|
370
|
+
|
|
371
|
+
:param name: The name of this Component. # noqa: E501
|
|
372
|
+
:type: str
|
|
373
|
+
"""
|
|
374
|
+
if name is None:
|
|
375
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
376
|
+
|
|
377
|
+
self._name = name
|
|
378
|
+
|
|
379
|
+
@property
|
|
380
|
+
def batch_number(self):
|
|
381
|
+
"""Gets the batch_number of this Component. # noqa: E501
|
|
382
|
+
|
|
383
|
+
Component batch number # noqa: E501
|
|
384
|
+
|
|
385
|
+
:return: The batch_number of this Component. # noqa: E501
|
|
386
|
+
:rtype: str
|
|
387
|
+
"""
|
|
388
|
+
return self._batch_number
|
|
389
|
+
|
|
390
|
+
@batch_number.setter
|
|
391
|
+
def batch_number(self, batch_number):
|
|
392
|
+
"""Sets the batch_number of this Component.
|
|
393
|
+
|
|
394
|
+
Component batch number # noqa: E501
|
|
395
|
+
|
|
396
|
+
:param batch_number: The batch_number of this Component. # noqa: E501
|
|
397
|
+
:type: str
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
self._batch_number = batch_number
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
def expiration_date_utc(self):
|
|
404
|
+
"""Gets the expiration_date_utc of this Component. # noqa: E501
|
|
405
|
+
|
|
406
|
+
Component expiry utc date # noqa: E501
|
|
407
|
+
|
|
408
|
+
:return: The expiration_date_utc of this Component. # noqa: E501
|
|
409
|
+
:rtype: datetime
|
|
410
|
+
"""
|
|
411
|
+
return self._expiration_date_utc
|
|
412
|
+
|
|
413
|
+
@expiration_date_utc.setter
|
|
414
|
+
def expiration_date_utc(self, expiration_date_utc):
|
|
415
|
+
"""Sets the expiration_date_utc of this Component.
|
|
416
|
+
|
|
417
|
+
Component expiry utc date # noqa: E501
|
|
418
|
+
|
|
419
|
+
:param expiration_date_utc: The expiration_date_utc of this Component. # noqa: E501
|
|
420
|
+
:type: datetime
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
self._expiration_date_utc = expiration_date_utc
|
|
424
|
+
|
|
425
|
+
@property
|
|
426
|
+
def initial_distance(self):
|
|
427
|
+
"""Gets the initial_distance of this Component. # noqa: E501
|
|
428
|
+
|
|
429
|
+
Initial component distance # noqa: E501
|
|
430
|
+
|
|
431
|
+
:return: The initial_distance of this Component. # noqa: E501
|
|
432
|
+
:rtype: float
|
|
433
|
+
"""
|
|
434
|
+
return self._initial_distance
|
|
435
|
+
|
|
436
|
+
@initial_distance.setter
|
|
437
|
+
def initial_distance(self, initial_distance):
|
|
438
|
+
"""Sets the initial_distance of this Component.
|
|
439
|
+
|
|
440
|
+
Initial component distance # noqa: E501
|
|
441
|
+
|
|
442
|
+
:param initial_distance: The initial_distance of this Component. # noqa: E501
|
|
443
|
+
:type: float
|
|
444
|
+
"""
|
|
445
|
+
|
|
446
|
+
self._initial_distance = initial_distance
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
def initial_time(self):
|
|
450
|
+
"""Gets the initial_time of this Component. # noqa: E501
|
|
451
|
+
|
|
452
|
+
Initial component usage time (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
453
|
+
|
|
454
|
+
:return: The initial_time of this Component. # noqa: E501
|
|
455
|
+
:rtype: int
|
|
456
|
+
"""
|
|
457
|
+
return self._initial_time
|
|
458
|
+
|
|
459
|
+
@initial_time.setter
|
|
460
|
+
def initial_time(self, initial_time):
|
|
461
|
+
"""Sets the initial_time of this Component.
|
|
462
|
+
|
|
463
|
+
Initial component usage time (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
464
|
+
|
|
465
|
+
:param initial_time: The initial_time of this Component. # noqa: E501
|
|
466
|
+
:type: int
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
self._initial_time = initial_time
|
|
470
|
+
|
|
471
|
+
@property
|
|
472
|
+
def accident_damaged(self):
|
|
473
|
+
"""Gets the accident_damaged of this Component. # noqa: E501
|
|
474
|
+
|
|
475
|
+
Indicates whether the component has been involved in an accident # noqa: E501
|
|
476
|
+
|
|
477
|
+
:return: The accident_damaged of this Component. # noqa: E501
|
|
478
|
+
:rtype: bool
|
|
479
|
+
"""
|
|
480
|
+
return self._accident_damaged
|
|
481
|
+
|
|
482
|
+
@accident_damaged.setter
|
|
483
|
+
def accident_damaged(self, accident_damaged):
|
|
484
|
+
"""Sets the accident_damaged of this Component.
|
|
485
|
+
|
|
486
|
+
Indicates whether the component has been involved in an accident # noqa: E501
|
|
487
|
+
|
|
488
|
+
:param accident_damaged: The accident_damaged of this Component. # noqa: E501
|
|
489
|
+
:type: bool
|
|
490
|
+
"""
|
|
491
|
+
|
|
492
|
+
self._accident_damaged = accident_damaged
|
|
493
|
+
|
|
494
|
+
@property
|
|
495
|
+
def status(self):
|
|
496
|
+
"""Gets the status of this Component. # noqa: E501
|
|
497
|
+
|
|
498
|
+
Component status name # noqa: E501
|
|
499
|
+
|
|
500
|
+
:return: The status of this Component. # noqa: E501
|
|
501
|
+
:rtype: str
|
|
502
|
+
"""
|
|
503
|
+
return self._status
|
|
504
|
+
|
|
505
|
+
@status.setter
|
|
506
|
+
def status(self, status):
|
|
507
|
+
"""Sets the status of this Component.
|
|
508
|
+
|
|
509
|
+
Component status name # noqa: E501
|
|
510
|
+
|
|
511
|
+
:param status: The status of this Component. # noqa: E501
|
|
512
|
+
:type: str
|
|
513
|
+
"""
|
|
514
|
+
if status is None:
|
|
515
|
+
raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
|
|
516
|
+
|
|
517
|
+
self._status = status
|
|
518
|
+
|
|
519
|
+
@property
|
|
520
|
+
def issues_human_id(self):
|
|
521
|
+
"""Gets the issues_human_id of this Component. # noqa: E501
|
|
522
|
+
|
|
523
|
+
Component associated issues HumanId. Each HumanId must be separated by a semicolon. Valid characters allowed are: literals, numbers, underscore and semicolon # noqa: E501
|
|
524
|
+
|
|
525
|
+
:return: The issues_human_id of this Component. # noqa: E501
|
|
526
|
+
:rtype: str
|
|
527
|
+
"""
|
|
528
|
+
return self._issues_human_id
|
|
529
|
+
|
|
530
|
+
@issues_human_id.setter
|
|
531
|
+
def issues_human_id(self, issues_human_id):
|
|
532
|
+
"""Sets the issues_human_id of this Component.
|
|
533
|
+
|
|
534
|
+
Component associated issues HumanId. Each HumanId must be separated by a semicolon. Valid characters allowed are: literals, numbers, underscore and semicolon # noqa: E501
|
|
535
|
+
|
|
536
|
+
:param issues_human_id: The issues_human_id of this Component. # noqa: E501
|
|
537
|
+
:type: str
|
|
538
|
+
"""
|
|
539
|
+
|
|
540
|
+
self._issues_human_id = issues_human_id
|
|
541
|
+
|
|
542
|
+
@property
|
|
543
|
+
def distance_run(self):
|
|
544
|
+
"""Gets the distance_run of this Component. # noqa: E501
|
|
545
|
+
|
|
546
|
+
Distance covered by the component # noqa: E501
|
|
547
|
+
|
|
548
|
+
:return: The distance_run of this Component. # noqa: E501
|
|
549
|
+
:rtype: float
|
|
550
|
+
"""
|
|
551
|
+
return self._distance_run
|
|
552
|
+
|
|
553
|
+
@distance_run.setter
|
|
554
|
+
def distance_run(self, distance_run):
|
|
555
|
+
"""Sets the distance_run of this Component.
|
|
556
|
+
|
|
557
|
+
Distance covered by the component # noqa: E501
|
|
558
|
+
|
|
559
|
+
:param distance_run: The distance_run of this Component. # noqa: E501
|
|
560
|
+
:type: float
|
|
561
|
+
"""
|
|
562
|
+
|
|
563
|
+
self._distance_run = distance_run
|
|
564
|
+
|
|
565
|
+
@property
|
|
566
|
+
def time_run(self):
|
|
567
|
+
"""Gets the time_run of this Component. # noqa: E501
|
|
568
|
+
|
|
569
|
+
Total component useful life (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
570
|
+
|
|
571
|
+
:return: The time_run of this Component. # noqa: E501
|
|
572
|
+
:rtype: int
|
|
573
|
+
"""
|
|
574
|
+
return self._time_run
|
|
575
|
+
|
|
576
|
+
@time_run.setter
|
|
577
|
+
def time_run(self, time_run):
|
|
578
|
+
"""Sets the time_run of this Component.
|
|
579
|
+
|
|
580
|
+
Total component useful life (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
581
|
+
|
|
582
|
+
:param time_run: The time_run of this Component. # noqa: E501
|
|
583
|
+
:type: int
|
|
584
|
+
"""
|
|
585
|
+
|
|
586
|
+
self._time_run = time_run
|
|
587
|
+
|
|
588
|
+
@property
|
|
589
|
+
def creation_date_utc(self):
|
|
590
|
+
"""Gets the creation_date_utc of this Component. # noqa: E501
|
|
591
|
+
|
|
592
|
+
Component creation utc date # noqa: E501
|
|
593
|
+
|
|
594
|
+
:return: The creation_date_utc of this Component. # noqa: E501
|
|
595
|
+
:rtype: datetime
|
|
596
|
+
"""
|
|
597
|
+
return self._creation_date_utc
|
|
598
|
+
|
|
599
|
+
@creation_date_utc.setter
|
|
600
|
+
def creation_date_utc(self, creation_date_utc):
|
|
601
|
+
"""Sets the creation_date_utc of this Component.
|
|
602
|
+
|
|
603
|
+
Component creation utc date # noqa: E501
|
|
604
|
+
|
|
605
|
+
:param creation_date_utc: The creation_date_utc of this Component. # noqa: E501
|
|
606
|
+
:type: datetime
|
|
607
|
+
"""
|
|
608
|
+
|
|
609
|
+
self._creation_date_utc = creation_date_utc
|
|
610
|
+
|
|
611
|
+
@property
|
|
612
|
+
def creator(self):
|
|
613
|
+
"""Gets the creator of this Component. # noqa: E501
|
|
614
|
+
|
|
615
|
+
Component creator username # noqa: E501
|
|
616
|
+
|
|
617
|
+
:return: The creator of this Component. # noqa: E501
|
|
618
|
+
:rtype: str
|
|
619
|
+
"""
|
|
620
|
+
return self._creator
|
|
621
|
+
|
|
622
|
+
@creator.setter
|
|
623
|
+
def creator(self, creator):
|
|
624
|
+
"""Sets the creator of this Component.
|
|
625
|
+
|
|
626
|
+
Component creator username # noqa: E501
|
|
627
|
+
|
|
628
|
+
:param creator: The creator of this Component. # noqa: E501
|
|
629
|
+
:type: str
|
|
630
|
+
"""
|
|
631
|
+
|
|
632
|
+
self._creator = creator
|
|
633
|
+
|
|
634
|
+
@property
|
|
635
|
+
def department(self):
|
|
636
|
+
"""Gets the department of this Component. # noqa: E501
|
|
637
|
+
|
|
638
|
+
Department name to which the component belongs # noqa: E501
|
|
639
|
+
|
|
640
|
+
:return: The department of this Component. # noqa: E501
|
|
641
|
+
:rtype: str
|
|
642
|
+
"""
|
|
643
|
+
return self._department
|
|
644
|
+
|
|
645
|
+
@department.setter
|
|
646
|
+
def department(self, department):
|
|
647
|
+
"""Sets the department of this Component.
|
|
648
|
+
|
|
649
|
+
Department name to which the component belongs # noqa: E501
|
|
650
|
+
|
|
651
|
+
:param department: The department of this Component. # noqa: E501
|
|
652
|
+
:type: str
|
|
653
|
+
"""
|
|
654
|
+
if department is None:
|
|
655
|
+
raise ValueError("Invalid value for `department`, must not be `None`") # noqa: E501
|
|
656
|
+
|
|
657
|
+
self._department = department
|
|
658
|
+
|
|
659
|
+
@property
|
|
660
|
+
def last_update_date_utc(self):
|
|
661
|
+
"""Gets the last_update_date_utc of this Component. # noqa: E501
|
|
662
|
+
|
|
663
|
+
Component last update utc date # noqa: E501
|
|
664
|
+
|
|
665
|
+
:return: The last_update_date_utc of this Component. # noqa: E501
|
|
666
|
+
:rtype: datetime
|
|
667
|
+
"""
|
|
668
|
+
return self._last_update_date_utc
|
|
669
|
+
|
|
670
|
+
@last_update_date_utc.setter
|
|
671
|
+
def last_update_date_utc(self, last_update_date_utc):
|
|
672
|
+
"""Sets the last_update_date_utc of this Component.
|
|
673
|
+
|
|
674
|
+
Component last update utc date # noqa: E501
|
|
675
|
+
|
|
676
|
+
:param last_update_date_utc: The last_update_date_utc of this Component. # noqa: E501
|
|
677
|
+
:type: datetime
|
|
678
|
+
"""
|
|
679
|
+
|
|
680
|
+
self._last_update_date_utc = last_update_date_utc
|
|
681
|
+
|
|
682
|
+
@property
|
|
683
|
+
def last_update_user(self):
|
|
684
|
+
"""Gets the last_update_user of this Component. # noqa: E501
|
|
685
|
+
|
|
686
|
+
The name of the user who performed the last update on the component # noqa: E501
|
|
687
|
+
|
|
688
|
+
:return: The last_update_user of this Component. # noqa: E501
|
|
689
|
+
:rtype: str
|
|
690
|
+
"""
|
|
691
|
+
return self._last_update_user
|
|
692
|
+
|
|
693
|
+
@last_update_user.setter
|
|
694
|
+
def last_update_user(self, last_update_user):
|
|
695
|
+
"""Sets the last_update_user of this Component.
|
|
696
|
+
|
|
697
|
+
The name of the user who performed the last update on the component # noqa: E501
|
|
698
|
+
|
|
699
|
+
:param last_update_user: The last_update_user of this Component. # noqa: E501
|
|
700
|
+
:type: str
|
|
701
|
+
"""
|
|
702
|
+
|
|
703
|
+
self._last_update_user = last_update_user
|
|
704
|
+
|
|
705
|
+
@property
|
|
706
|
+
def production_date_utc(self):
|
|
707
|
+
"""Gets the production_date_utc of this Component. # noqa: E501
|
|
708
|
+
|
|
709
|
+
Component production utc date # noqa: E501
|
|
710
|
+
|
|
711
|
+
:return: The production_date_utc of this Component. # noqa: E501
|
|
712
|
+
:rtype: datetime
|
|
713
|
+
"""
|
|
714
|
+
return self._production_date_utc
|
|
715
|
+
|
|
716
|
+
@production_date_utc.setter
|
|
717
|
+
def production_date_utc(self, production_date_utc):
|
|
718
|
+
"""Sets the production_date_utc of this Component.
|
|
719
|
+
|
|
720
|
+
Component production utc date # noqa: E501
|
|
721
|
+
|
|
722
|
+
:param production_date_utc: The production_date_utc of this Component. # noqa: E501
|
|
723
|
+
:type: datetime
|
|
724
|
+
"""
|
|
725
|
+
|
|
726
|
+
self._production_date_utc = production_date_utc
|
|
727
|
+
|
|
728
|
+
@property
|
|
729
|
+
def weight(self):
|
|
730
|
+
"""Gets the weight of this Component. # noqa: E501
|
|
731
|
+
|
|
732
|
+
Component weight # noqa: E501
|
|
733
|
+
|
|
734
|
+
:return: The weight of this Component. # noqa: E501
|
|
735
|
+
:rtype: float
|
|
736
|
+
"""
|
|
737
|
+
return self._weight
|
|
738
|
+
|
|
739
|
+
@weight.setter
|
|
740
|
+
def weight(self, weight):
|
|
741
|
+
"""Sets the weight of this Component.
|
|
742
|
+
|
|
743
|
+
Component weight # noqa: E501
|
|
744
|
+
|
|
745
|
+
:param weight: The weight of this Component. # noqa: E501
|
|
746
|
+
:type: float
|
|
747
|
+
"""
|
|
748
|
+
|
|
749
|
+
self._weight = weight
|
|
750
|
+
|
|
751
|
+
@property
|
|
752
|
+
def revision_date_utc(self):
|
|
753
|
+
"""Gets the revision_date_utc of this Component. # noqa: E501
|
|
754
|
+
|
|
755
|
+
Component revision utc date # noqa: E501
|
|
756
|
+
|
|
757
|
+
:return: The revision_date_utc of this Component. # noqa: E501
|
|
758
|
+
:rtype: datetime
|
|
759
|
+
"""
|
|
760
|
+
return self._revision_date_utc
|
|
761
|
+
|
|
762
|
+
@revision_date_utc.setter
|
|
763
|
+
def revision_date_utc(self, revision_date_utc):
|
|
764
|
+
"""Sets the revision_date_utc of this Component.
|
|
765
|
+
|
|
766
|
+
Component revision utc date # noqa: E501
|
|
767
|
+
|
|
768
|
+
:param revision_date_utc: The revision_date_utc of this Component. # noqa: E501
|
|
769
|
+
:type: datetime
|
|
770
|
+
"""
|
|
771
|
+
|
|
772
|
+
self._revision_date_utc = revision_date_utc
|
|
773
|
+
|
|
774
|
+
@property
|
|
775
|
+
def revision_name(self):
|
|
776
|
+
"""Gets the revision_name of this Component. # noqa: E501
|
|
777
|
+
|
|
778
|
+
Component revison name # noqa: E501
|
|
779
|
+
|
|
780
|
+
:return: The revision_name of this Component. # noqa: E501
|
|
781
|
+
:rtype: str
|
|
782
|
+
"""
|
|
783
|
+
return self._revision_name
|
|
784
|
+
|
|
785
|
+
@revision_name.setter
|
|
786
|
+
def revision_name(self, revision_name):
|
|
787
|
+
"""Sets the revision_name of this Component.
|
|
788
|
+
|
|
789
|
+
Component revison name # noqa: E501
|
|
790
|
+
|
|
791
|
+
:param revision_name: The revision_name of this Component. # noqa: E501
|
|
792
|
+
:type: str
|
|
793
|
+
"""
|
|
794
|
+
|
|
795
|
+
self._revision_name = revision_name
|
|
796
|
+
|
|
797
|
+
@property
|
|
798
|
+
def tags(self):
|
|
799
|
+
"""Gets the tags of this Component. # noqa: E501
|
|
800
|
+
|
|
801
|
+
Component tags. Each tag must be separated by a semicolon. Valid characters allowed are: literals, numbers, underscore and semicolon # noqa: E501
|
|
802
|
+
|
|
803
|
+
:return: The tags of this Component. # noqa: E501
|
|
804
|
+
:rtype: str
|
|
805
|
+
"""
|
|
806
|
+
return self._tags
|
|
807
|
+
|
|
808
|
+
@tags.setter
|
|
809
|
+
def tags(self, tags):
|
|
810
|
+
"""Sets the tags of this Component.
|
|
811
|
+
|
|
812
|
+
Component tags. Each tag must be separated by a semicolon. Valid characters allowed are: literals, numbers, underscore and semicolon # noqa: E501
|
|
813
|
+
|
|
814
|
+
:param tags: The tags of this Component. # noqa: E501
|
|
815
|
+
:type: str
|
|
816
|
+
"""
|
|
817
|
+
|
|
818
|
+
self._tags = tags
|
|
819
|
+
|
|
820
|
+
@property
|
|
821
|
+
def annotation(self):
|
|
822
|
+
"""Gets the annotation of this Component. # noqa: E501
|
|
823
|
+
|
|
824
|
+
Comments associated with the component # noqa: E501
|
|
825
|
+
|
|
826
|
+
:return: The annotation of this Component. # noqa: E501
|
|
827
|
+
:rtype: str
|
|
828
|
+
"""
|
|
829
|
+
return self._annotation
|
|
830
|
+
|
|
831
|
+
@annotation.setter
|
|
832
|
+
def annotation(self, annotation):
|
|
833
|
+
"""Sets the annotation of this Component.
|
|
834
|
+
|
|
835
|
+
Comments associated with the component # noqa: E501
|
|
836
|
+
|
|
837
|
+
:param annotation: The annotation of this Component. # noqa: E501
|
|
838
|
+
:type: str
|
|
839
|
+
"""
|
|
840
|
+
|
|
841
|
+
self._annotation = annotation
|
|
842
|
+
|
|
843
|
+
@property
|
|
844
|
+
def manufacturer(self):
|
|
845
|
+
"""Gets the manufacturer of this Component. # noqa: E501
|
|
846
|
+
|
|
847
|
+
Component manufacturer name (if any) # noqa: E501
|
|
848
|
+
|
|
849
|
+
:return: The manufacturer of this Component. # noqa: E501
|
|
850
|
+
:rtype: str
|
|
851
|
+
"""
|
|
852
|
+
return self._manufacturer
|
|
853
|
+
|
|
854
|
+
@manufacturer.setter
|
|
855
|
+
def manufacturer(self, manufacturer):
|
|
856
|
+
"""Sets the manufacturer of this Component.
|
|
857
|
+
|
|
858
|
+
Component manufacturer name (if any) # noqa: E501
|
|
859
|
+
|
|
860
|
+
:param manufacturer: The manufacturer of this Component. # noqa: E501
|
|
861
|
+
:type: str
|
|
862
|
+
"""
|
|
863
|
+
|
|
864
|
+
self._manufacturer = manufacturer
|
|
865
|
+
|
|
866
|
+
@property
|
|
867
|
+
def manufacturer_number(self):
|
|
868
|
+
"""Gets the manufacturer_number of this Component. # noqa: E501
|
|
869
|
+
|
|
870
|
+
Component manufacturer number (if any) # noqa: E501
|
|
871
|
+
|
|
872
|
+
:return: The manufacturer_number of this Component. # noqa: E501
|
|
873
|
+
:rtype: str
|
|
874
|
+
"""
|
|
875
|
+
return self._manufacturer_number
|
|
876
|
+
|
|
877
|
+
@manufacturer_number.setter
|
|
878
|
+
def manufacturer_number(self, manufacturer_number):
|
|
879
|
+
"""Sets the manufacturer_number of this Component.
|
|
880
|
+
|
|
881
|
+
Component manufacturer number (if any) # noqa: E501
|
|
882
|
+
|
|
883
|
+
:param manufacturer_number: The manufacturer_number of this Component. # noqa: E501
|
|
884
|
+
:type: str
|
|
885
|
+
"""
|
|
886
|
+
|
|
887
|
+
self._manufacturer_number = manufacturer_number
|
|
888
|
+
|
|
889
|
+
@property
|
|
890
|
+
def user_update_date_utc(self):
|
|
891
|
+
"""Gets the user_update_date_utc of this Component. # noqa: E501
|
|
892
|
+
|
|
893
|
+
Date utc of the last \"user update\" # noqa: E501
|
|
894
|
+
|
|
895
|
+
:return: The user_update_date_utc of this Component. # noqa: E501
|
|
896
|
+
:rtype: datetime
|
|
897
|
+
"""
|
|
898
|
+
return self._user_update_date_utc
|
|
899
|
+
|
|
900
|
+
@user_update_date_utc.setter
|
|
901
|
+
def user_update_date_utc(self, user_update_date_utc):
|
|
902
|
+
"""Sets the user_update_date_utc of this Component.
|
|
903
|
+
|
|
904
|
+
Date utc of the last \"user update\" # noqa: E501
|
|
905
|
+
|
|
906
|
+
:param user_update_date_utc: The user_update_date_utc of this Component. # noqa: E501
|
|
907
|
+
:type: datetime
|
|
908
|
+
"""
|
|
909
|
+
|
|
910
|
+
self._user_update_date_utc = user_update_date_utc
|
|
911
|
+
|
|
912
|
+
@property
|
|
913
|
+
def user_update_name(self):
|
|
914
|
+
"""Gets the user_update_name of this Component. # noqa: E501
|
|
915
|
+
|
|
916
|
+
The name of the user who made the last \"user update\" # noqa: E501
|
|
917
|
+
|
|
918
|
+
:return: The user_update_name of this Component. # noqa: E501
|
|
919
|
+
:rtype: str
|
|
920
|
+
"""
|
|
921
|
+
return self._user_update_name
|
|
922
|
+
|
|
923
|
+
@user_update_name.setter
|
|
924
|
+
def user_update_name(self, user_update_name):
|
|
925
|
+
"""Sets the user_update_name of this Component.
|
|
926
|
+
|
|
927
|
+
The name of the user who made the last \"user update\" # noqa: E501
|
|
928
|
+
|
|
929
|
+
:param user_update_name: The user_update_name of this Component. # noqa: E501
|
|
930
|
+
:type: str
|
|
931
|
+
"""
|
|
932
|
+
|
|
933
|
+
self._user_update_name = user_update_name
|
|
934
|
+
|
|
935
|
+
@property
|
|
936
|
+
def distance_run_factored(self):
|
|
937
|
+
"""Gets the distance_run_factored of this Component. # noqa: E501
|
|
938
|
+
|
|
939
|
+
Factored run distance # noqa: E501
|
|
940
|
+
|
|
941
|
+
:return: The distance_run_factored of this Component. # noqa: E501
|
|
942
|
+
:rtype: float
|
|
943
|
+
"""
|
|
944
|
+
return self._distance_run_factored
|
|
945
|
+
|
|
946
|
+
@distance_run_factored.setter
|
|
947
|
+
def distance_run_factored(self, distance_run_factored):
|
|
948
|
+
"""Sets the distance_run_factored of this Component.
|
|
949
|
+
|
|
950
|
+
Factored run distance # noqa: E501
|
|
951
|
+
|
|
952
|
+
:param distance_run_factored: The distance_run_factored of this Component. # noqa: E501
|
|
953
|
+
:type: float
|
|
954
|
+
"""
|
|
955
|
+
|
|
956
|
+
self._distance_run_factored = distance_run_factored
|
|
957
|
+
|
|
958
|
+
@property
|
|
959
|
+
def distance_run_pwr(self):
|
|
960
|
+
"""Gets the distance_run_pwr of this Component. # noqa: E501
|
|
961
|
+
|
|
962
|
+
Powered run distance # noqa: E501
|
|
963
|
+
|
|
964
|
+
:return: The distance_run_pwr of this Component. # noqa: E501
|
|
965
|
+
:rtype: float
|
|
966
|
+
"""
|
|
967
|
+
return self._distance_run_pwr
|
|
968
|
+
|
|
969
|
+
@distance_run_pwr.setter
|
|
970
|
+
def distance_run_pwr(self, distance_run_pwr):
|
|
971
|
+
"""Sets the distance_run_pwr of this Component.
|
|
972
|
+
|
|
973
|
+
Powered run distance # noqa: E501
|
|
974
|
+
|
|
975
|
+
:param distance_run_pwr: The distance_run_pwr of this Component. # noqa: E501
|
|
976
|
+
:type: float
|
|
977
|
+
"""
|
|
978
|
+
|
|
979
|
+
self._distance_run_pwr = distance_run_pwr
|
|
980
|
+
|
|
981
|
+
@property
|
|
982
|
+
def time_run_pwr(self):
|
|
983
|
+
"""Gets the time_run_pwr of this Component. # noqa: E501
|
|
984
|
+
|
|
985
|
+
Powered run time (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
986
|
+
|
|
987
|
+
:return: The time_run_pwr of this Component. # noqa: E501
|
|
988
|
+
:rtype: int
|
|
989
|
+
"""
|
|
990
|
+
return self._time_run_pwr
|
|
991
|
+
|
|
992
|
+
@time_run_pwr.setter
|
|
993
|
+
def time_run_pwr(self, time_run_pwr):
|
|
994
|
+
"""Sets the time_run_pwr of this Component.
|
|
995
|
+
|
|
996
|
+
Powered run time (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
997
|
+
|
|
998
|
+
:param time_run_pwr: The time_run_pwr of this Component. # noqa: E501
|
|
999
|
+
:type: int
|
|
1000
|
+
"""
|
|
1001
|
+
|
|
1002
|
+
self._time_run_pwr = time_run_pwr
|
|
1003
|
+
|
|
1004
|
+
@property
|
|
1005
|
+
def distance_total(self):
|
|
1006
|
+
"""Gets the distance_total of this Component. # noqa: E501
|
|
1007
|
+
|
|
1008
|
+
Total distance for all revisions of a component # noqa: E501
|
|
1009
|
+
|
|
1010
|
+
:return: The distance_total of this Component. # noqa: E501
|
|
1011
|
+
:rtype: float
|
|
1012
|
+
"""
|
|
1013
|
+
return self._distance_total
|
|
1014
|
+
|
|
1015
|
+
@distance_total.setter
|
|
1016
|
+
def distance_total(self, distance_total):
|
|
1017
|
+
"""Sets the distance_total of this Component.
|
|
1018
|
+
|
|
1019
|
+
Total distance for all revisions of a component # noqa: E501
|
|
1020
|
+
|
|
1021
|
+
:param distance_total: The distance_total of this Component. # noqa: E501
|
|
1022
|
+
:type: float
|
|
1023
|
+
"""
|
|
1024
|
+
|
|
1025
|
+
self._distance_total = distance_total
|
|
1026
|
+
|
|
1027
|
+
@property
|
|
1028
|
+
def time_total(self):
|
|
1029
|
+
"""Gets the time_total of this Component. # noqa: E501
|
|
1030
|
+
|
|
1031
|
+
Total duration of all revisions of a component (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
1032
|
+
|
|
1033
|
+
:return: The time_total of this Component. # noqa: E501
|
|
1034
|
+
:rtype: int
|
|
1035
|
+
"""
|
|
1036
|
+
return self._time_total
|
|
1037
|
+
|
|
1038
|
+
@time_total.setter
|
|
1039
|
+
def time_total(self, time_total):
|
|
1040
|
+
"""Sets the time_total of this Component.
|
|
1041
|
+
|
|
1042
|
+
Total duration of all revisions of a component (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
1043
|
+
|
|
1044
|
+
:param time_total: The time_total of this Component. # noqa: E501
|
|
1045
|
+
:type: int
|
|
1046
|
+
"""
|
|
1047
|
+
|
|
1048
|
+
self._time_total = time_total
|
|
1049
|
+
|
|
1050
|
+
@property
|
|
1051
|
+
def distance_pwr_total(self):
|
|
1052
|
+
"""Gets the distance_pwr_total of this Component. # noqa: E501
|
|
1053
|
+
|
|
1054
|
+
The total powered distance for all revisions of a component # noqa: E501
|
|
1055
|
+
|
|
1056
|
+
:return: The distance_pwr_total of this Component. # noqa: E501
|
|
1057
|
+
:rtype: float
|
|
1058
|
+
"""
|
|
1059
|
+
return self._distance_pwr_total
|
|
1060
|
+
|
|
1061
|
+
@distance_pwr_total.setter
|
|
1062
|
+
def distance_pwr_total(self, distance_pwr_total):
|
|
1063
|
+
"""Sets the distance_pwr_total of this Component.
|
|
1064
|
+
|
|
1065
|
+
The total powered distance for all revisions of a component # noqa: E501
|
|
1066
|
+
|
|
1067
|
+
:param distance_pwr_total: The distance_pwr_total of this Component. # noqa: E501
|
|
1068
|
+
:type: float
|
|
1069
|
+
"""
|
|
1070
|
+
|
|
1071
|
+
self._distance_pwr_total = distance_pwr_total
|
|
1072
|
+
|
|
1073
|
+
@property
|
|
1074
|
+
def time_pwr_total(self):
|
|
1075
|
+
"""Gets the time_pwr_total of this Component. # noqa: E501
|
|
1076
|
+
|
|
1077
|
+
Total powered time for all revisions of a component (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
1078
|
+
|
|
1079
|
+
:return: The time_pwr_total of this Component. # noqa: E501
|
|
1080
|
+
:rtype: int
|
|
1081
|
+
"""
|
|
1082
|
+
return self._time_pwr_total
|
|
1083
|
+
|
|
1084
|
+
@time_pwr_total.setter
|
|
1085
|
+
def time_pwr_total(self, time_pwr_total):
|
|
1086
|
+
"""Sets the time_pwr_total of this Component.
|
|
1087
|
+
|
|
1088
|
+
Total powered time for all revisions of a component (in ticks : 1 ticks = 0.0000001 seconds) # noqa: E501
|
|
1089
|
+
|
|
1090
|
+
:param time_pwr_total: The time_pwr_total of this Component. # noqa: E501
|
|
1091
|
+
:type: int
|
|
1092
|
+
"""
|
|
1093
|
+
|
|
1094
|
+
self._time_pwr_total = time_pwr_total
|
|
1095
|
+
|
|
1096
|
+
@property
|
|
1097
|
+
def distance_factored_total(self):
|
|
1098
|
+
"""Gets the distance_factored_total of this Component. # noqa: E501
|
|
1099
|
+
|
|
1100
|
+
Total factored distance for all revisions of a component # noqa: E501
|
|
1101
|
+
|
|
1102
|
+
:return: The distance_factored_total of this Component. # noqa: E501
|
|
1103
|
+
:rtype: float
|
|
1104
|
+
"""
|
|
1105
|
+
return self._distance_factored_total
|
|
1106
|
+
|
|
1107
|
+
@distance_factored_total.setter
|
|
1108
|
+
def distance_factored_total(self, distance_factored_total):
|
|
1109
|
+
"""Sets the distance_factored_total of this Component.
|
|
1110
|
+
|
|
1111
|
+
Total factored distance for all revisions of a component # noqa: E501
|
|
1112
|
+
|
|
1113
|
+
:param distance_factored_total: The distance_factored_total of this Component. # noqa: E501
|
|
1114
|
+
:type: float
|
|
1115
|
+
"""
|
|
1116
|
+
|
|
1117
|
+
self._distance_factored_total = distance_factored_total
|
|
1118
|
+
|
|
1119
|
+
@property
|
|
1120
|
+
def has_check_rule_alert(self):
|
|
1121
|
+
"""Gets the has_check_rule_alert of this Component. # noqa: E501
|
|
1122
|
+
|
|
1123
|
+
Indicates whether there are any checkRule overruns on the component revision # noqa: E501
|
|
1124
|
+
|
|
1125
|
+
:return: The has_check_rule_alert of this Component. # noqa: E501
|
|
1126
|
+
:rtype: bool
|
|
1127
|
+
"""
|
|
1128
|
+
return self._has_check_rule_alert
|
|
1129
|
+
|
|
1130
|
+
@has_check_rule_alert.setter
|
|
1131
|
+
def has_check_rule_alert(self, has_check_rule_alert):
|
|
1132
|
+
"""Sets the has_check_rule_alert of this Component.
|
|
1133
|
+
|
|
1134
|
+
Indicates whether there are any checkRule overruns on the component revision # noqa: E501
|
|
1135
|
+
|
|
1136
|
+
:param has_check_rule_alert: The has_check_rule_alert of this Component. # noqa: E501
|
|
1137
|
+
:type: bool
|
|
1138
|
+
"""
|
|
1139
|
+
|
|
1140
|
+
self._has_check_rule_alert = has_check_rule_alert
|
|
1141
|
+
|
|
1142
|
+
@property
|
|
1143
|
+
def energy_run(self):
|
|
1144
|
+
"""Gets the energy_run of this Component. # noqa: E501
|
|
1145
|
+
|
|
1146
|
+
Component revision energy # noqa: E501
|
|
1147
|
+
|
|
1148
|
+
:return: The energy_run of this Component. # noqa: E501
|
|
1149
|
+
:rtype: float
|
|
1150
|
+
"""
|
|
1151
|
+
return self._energy_run
|
|
1152
|
+
|
|
1153
|
+
@energy_run.setter
|
|
1154
|
+
def energy_run(self, energy_run):
|
|
1155
|
+
"""Sets the energy_run of this Component.
|
|
1156
|
+
|
|
1157
|
+
Component revision energy # noqa: E501
|
|
1158
|
+
|
|
1159
|
+
:param energy_run: The energy_run of this Component. # noqa: E501
|
|
1160
|
+
:type: float
|
|
1161
|
+
"""
|
|
1162
|
+
|
|
1163
|
+
self._energy_run = energy_run
|
|
1164
|
+
|
|
1165
|
+
@property
|
|
1166
|
+
def energy_total(self):
|
|
1167
|
+
"""Gets the energy_total of this Component. # noqa: E501
|
|
1168
|
+
|
|
1169
|
+
Total energy for all revisions of a component # noqa: E501
|
|
1170
|
+
|
|
1171
|
+
:return: The energy_total of this Component. # noqa: E501
|
|
1172
|
+
:rtype: float
|
|
1173
|
+
"""
|
|
1174
|
+
return self._energy_total
|
|
1175
|
+
|
|
1176
|
+
@energy_total.setter
|
|
1177
|
+
def energy_total(self, energy_total):
|
|
1178
|
+
"""Sets the energy_total of this Component.
|
|
1179
|
+
|
|
1180
|
+
Total energy for all revisions of a component # noqa: E501
|
|
1181
|
+
|
|
1182
|
+
:param energy_total: The energy_total of this Component. # noqa: E501
|
|
1183
|
+
:type: float
|
|
1184
|
+
"""
|
|
1185
|
+
|
|
1186
|
+
self._energy_total = energy_total
|
|
1187
|
+
|
|
1188
|
+
@property
|
|
1189
|
+
def intended_purpose(self):
|
|
1190
|
+
"""Gets the intended_purpose of this Component. # noqa: E501
|
|
1191
|
+
|
|
1192
|
+
Sensor database Intended Purpose # noqa: E501
|
|
1193
|
+
|
|
1194
|
+
:return: The intended_purpose of this Component. # noqa: E501
|
|
1195
|
+
:rtype: str
|
|
1196
|
+
"""
|
|
1197
|
+
return self._intended_purpose
|
|
1198
|
+
|
|
1199
|
+
@intended_purpose.setter
|
|
1200
|
+
def intended_purpose(self, intended_purpose):
|
|
1201
|
+
"""Sets the intended_purpose of this Component.
|
|
1202
|
+
|
|
1203
|
+
Sensor database Intended Purpose # noqa: E501
|
|
1204
|
+
|
|
1205
|
+
:param intended_purpose: The intended_purpose of this Component. # noqa: E501
|
|
1206
|
+
:type: str
|
|
1207
|
+
"""
|
|
1208
|
+
|
|
1209
|
+
self._intended_purpose = intended_purpose
|
|
1210
|
+
|
|
1211
|
+
@property
|
|
1212
|
+
def is_special_equipment(self):
|
|
1213
|
+
"""Gets the is_special_equipment of this Component. # noqa: E501
|
|
1214
|
+
|
|
1215
|
+
Sensor database Is Special Equipment # noqa: E501
|
|
1216
|
+
|
|
1217
|
+
:return: The is_special_equipment of this Component. # noqa: E501
|
|
1218
|
+
:rtype: bool
|
|
1219
|
+
"""
|
|
1220
|
+
return self._is_special_equipment
|
|
1221
|
+
|
|
1222
|
+
@is_special_equipment.setter
|
|
1223
|
+
def is_special_equipment(self, is_special_equipment):
|
|
1224
|
+
"""Sets the is_special_equipment of this Component.
|
|
1225
|
+
|
|
1226
|
+
Sensor database Is Special Equipment # noqa: E501
|
|
1227
|
+
|
|
1228
|
+
:param is_special_equipment: The is_special_equipment of this Component. # noqa: E501
|
|
1229
|
+
:type: bool
|
|
1230
|
+
"""
|
|
1231
|
+
|
|
1232
|
+
self._is_special_equipment = is_special_equipment
|
|
1233
|
+
|
|
1234
|
+
@property
|
|
1235
|
+
def sub_component_parameter_binding(self):
|
|
1236
|
+
"""Gets the sub_component_parameter_binding of this Component. # noqa: E501
|
|
1237
|
+
|
|
1238
|
+
The sensor parameter binding specified on the sub component. This field is only filled when calling the route: component/{componentId}/revision/{revisionId}/content # noqa: E501
|
|
1239
|
+
|
|
1240
|
+
:return: The sub_component_parameter_binding of this Component. # noqa: E501
|
|
1241
|
+
:rtype: str
|
|
1242
|
+
"""
|
|
1243
|
+
return self._sub_component_parameter_binding
|
|
1244
|
+
|
|
1245
|
+
@sub_component_parameter_binding.setter
|
|
1246
|
+
def sub_component_parameter_binding(self, sub_component_parameter_binding):
|
|
1247
|
+
"""Sets the sub_component_parameter_binding of this Component.
|
|
1248
|
+
|
|
1249
|
+
The sensor parameter binding specified on the sub component. This field is only filled when calling the route: component/{componentId}/revision/{revisionId}/content # noqa: E501
|
|
1250
|
+
|
|
1251
|
+
:param sub_component_parameter_binding: The sub_component_parameter_binding of this Component. # noqa: E501
|
|
1252
|
+
:type: str
|
|
1253
|
+
"""
|
|
1254
|
+
|
|
1255
|
+
self._sub_component_parameter_binding = sub_component_parameter_binding
|
|
1256
|
+
|
|
1257
|
+
def to_dict(self):
|
|
1258
|
+
"""Returns the model properties as a dict"""
|
|
1259
|
+
result = {}
|
|
1260
|
+
|
|
1261
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
1262
|
+
value = getattr(self, attr)
|
|
1263
|
+
if isinstance(value, list):
|
|
1264
|
+
result[attr] = list(map(
|
|
1265
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
1266
|
+
value
|
|
1267
|
+
))
|
|
1268
|
+
elif hasattr(value, "to_dict"):
|
|
1269
|
+
result[attr] = value.to_dict()
|
|
1270
|
+
elif isinstance(value, dict):
|
|
1271
|
+
result[attr] = dict(map(
|
|
1272
|
+
lambda item: (item[0], item[1].to_dict())
|
|
1273
|
+
if hasattr(item[1], "to_dict") else item,
|
|
1274
|
+
value.items()
|
|
1275
|
+
))
|
|
1276
|
+
else:
|
|
1277
|
+
result[attr] = value
|
|
1278
|
+
if issubclass(Component, dict):
|
|
1279
|
+
for key, value in self.items():
|
|
1280
|
+
result[key] = value
|
|
1281
|
+
|
|
1282
|
+
return result
|
|
1283
|
+
|
|
1284
|
+
def to_str(self):
|
|
1285
|
+
"""Returns the string representation of the model"""
|
|
1286
|
+
return pprint.pformat(self.to_dict())
|
|
1287
|
+
|
|
1288
|
+
def __repr__(self):
|
|
1289
|
+
"""For `print` and `pprint`"""
|
|
1290
|
+
return self.to_str()
|
|
1291
|
+
|
|
1292
|
+
def __eq__(self, other):
|
|
1293
|
+
"""Returns true if both objects are equal"""
|
|
1294
|
+
if not isinstance(other, Component):
|
|
1295
|
+
return False
|
|
1296
|
+
|
|
1297
|
+
return self.__dict__ == other.__dict__
|
|
1298
|
+
|
|
1299
|
+
def __ne__(self, other):
|
|
1300
|
+
"""Returns true if both objects are not equal"""
|
|
1301
|
+
return not self == other
|