rebrickable.api.models.part_list_part module

The version of the OpenAPI document: Generated by: https://openapi-generator.tech

class rebrickable.api.models.part_list_part.PartListPart(color=None, list_id=None, part=None, quantity=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', 'list_id': 'list_id', 'part': 'part', 'quantity': 'quantity'}
property color

Gets the color of this PartListPart. # noqa: E501

Returns

The color of this PartListPart. # noqa: E501

Return type

Color

property list_id

Gets the list_id of this PartListPart. # noqa: E501

Returns

The list_id of this PartListPart. # noqa: E501

Return type

int

openapi_types = {'color': 'Color', 'list_id': 'int', 'part': 'Part', 'quantity': 'int'}
property part

Gets the part of this PartListPart. # noqa: E501

Returns

The part of this PartListPart. # noqa: E501

Return type

Part

property quantity

Gets the quantity of this PartListPart. # noqa: E501

Returns

The quantity of this PartListPart. # noqa: E501

Return type

int

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model