rebrickable.api.models.element module¶
The version of the OpenAPI document: Generated by: https://openapi-generator.tech
-
class
rebrickable.api.models.element.
Element
(color=None, design_id=None, element_id=None, element_img_url=None, part=None, part_img_url=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', 'design_id': 'design_id', 'element_id': 'element_id', 'element_img_url': 'element_img_url', 'part': 'part', 'part_img_url': 'part_img_url'}¶
-
property
color
¶ Gets the color of this Element. # noqa: E501
- Returns
The color of this Element. # noqa: E501
- Return type
-
property
design_id
¶ Gets the design_id of this Element. # noqa: E501
- Returns
The design_id of this Element. # noqa: E501
- Return type
str
-
property
element_id
¶ Gets the element_id of this Element. # noqa: E501
- Returns
The element_id of this Element. # noqa: E501
- Return type
str
-
property
element_img_url
¶ Gets the element_img_url of this Element. # noqa: E501
- Returns
The element_img_url of this Element. # noqa: E501
- Return type
str
-
openapi_types
= {'color': 'Color', 'design_id': 'str', 'element_id': 'str', 'element_img_url': 'str', 'part': 'Part', 'part_img_url': 'str'}¶
-
property
part
¶ Gets the part of this Element. # noqa: E501
- Returns
The part of this Element. # noqa: E501
- Return type
-
property
part_img_url
¶ Gets the part_img_url of this Element. # noqa: E501
- Returns
The part_img_url of this Element. # noqa: E501
- Return type
str
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-