rebrickable.api.models.part_category module

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

class rebrickable.api.models.part_category.PartCategory(id=None, name=None, part_count=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', 'part_count': 'part_count'}
property id

Gets the id of this PartCategory. # noqa: E501

Returns

The id of this PartCategory. # noqa: E501

Return type

int

property name

Gets the name of this PartCategory. # noqa: E501

Returns

The name of this PartCategory. # noqa: E501

Return type

str

openapi_types = {'id': 'int', 'name': 'str', 'part_count': 'int'}
property part_count

Gets the part_count of this PartCategory. # noqa: E501

Returns

The part_count of this PartCategory. # noqa: E501

Return type

int

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model