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