rebrickable.api.models.part_list_part_item module

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

class rebrickable.api.models.part_list_part_item.PartListPartItem(color_id=None, part_num=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_id': 'color_id', 'part_num': 'part_num', 'quantity': 'quantity'}
property color_id

Gets the color_id of this PartListPartItem. # noqa: E501

Returns

The color_id of this PartListPartItem. # noqa: E501

Return type

int

openapi_types = {'color_id': 'int', 'part_num': 'str', 'quantity': 'int'}
property part_num

Gets the part_num of this PartListPartItem. # noqa: E501

Returns

The part_num of this PartListPartItem. # noqa: E501

Return type

str

property quantity

Gets the quantity of this PartListPartItem. # noqa: E501

Returns

The quantity of this PartListPartItem. # noqa: E501

Return type

int

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model