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