rebrickable.api.models.part_list module¶
The version of the OpenAPI document: Generated by: https://openapi-generator.tech
-
class
rebrickable.api.models.part_list.
PartList
(id=None, is_buildable=None, name=None, num_parts=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
= {'id': 'id', 'is_buildable': 'is_buildable', 'name': 'name', 'num_parts': 'num_parts'}¶
-
property
id
¶ Gets the id of this PartList. # noqa: E501
- Returns
The id of this PartList. # noqa: E501
- Return type
int
-
property
is_buildable
¶ Gets the is_buildable of this PartList. # noqa: E501
- Returns
The is_buildable of this PartList. # noqa: E501
- Return type
bool
-
property
name
¶ Gets the name of this PartList. # noqa: E501
- Returns
The name of this PartList. # noqa: E501
- Return type
str
-
property
num_parts
¶ Gets the num_parts of this PartList. # noqa: E501
- Returns
The num_parts of this PartList. # noqa: E501
- Return type
int
-
openapi_types
= {'id': 'int', 'is_buildable': 'bool', 'name': 'str', 'num_parts': 'int'}¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-