rebrickable.api.models.inventory_part module¶
The version of the OpenAPI document: Generated by: https://openapi-generator.tech
-
class
rebrickable.api.models.inventory_part.
InventoryPart
(color=None, id=None, inv_part_id=None, part=None)¶ Bases:
object
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
-
attribute_map
= {'color': 'color', 'id': 'id', 'inv_part_id': 'inv_part_id', 'part': 'part'}¶
-
property
color
¶ Gets the color of this InventoryPart. # noqa: E501
- Returns
The color of this InventoryPart. # noqa: E501
- Return type
-
property
id
¶ Gets the id of this InventoryPart. # noqa: E501
- Returns
The id of this InventoryPart. # noqa: E501
- Return type
int
-
property
inv_part_id
¶ Gets the inv_part_id of this InventoryPart. # noqa: E501
- Returns
The inv_part_id of this InventoryPart. # noqa: E501
- Return type
int
-
openapi_types
= {'color': 'Color', 'id': 'int', 'inv_part_id': 'int', 'part': 'Part'}¶
-
property
part
¶ Gets the part of this InventoryPart. # noqa: E501
- Returns
The part of this InventoryPart. # noqa: E501
- Return type
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-