rebrickable.api.models.moc module

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

class rebrickable.api.models.moc.Moc(designer_name=None, designer_url=None, moc_img_url=None, moc_url=None, name=None, num_parts=None, set_num=None, theme_id=None, year=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 = {'designer_name': 'designer_name', 'designer_url': 'designer_url', 'moc_img_url': 'moc_img_url', 'moc_url': 'moc_url', 'name': 'name', 'num_parts': 'num_parts', 'set_num': 'set_num', 'theme_id': 'theme_id', 'year': 'year'}
property designer_name

Gets the designer_name of this Moc. # noqa: E501

Returns

The designer_name of this Moc. # noqa: E501

Return type

str

property designer_url

Gets the designer_url of this Moc. # noqa: E501

Returns

The designer_url of this Moc. # noqa: E501

Return type

str

property moc_img_url

Gets the moc_img_url of this Moc. # noqa: E501

Returns

The moc_img_url of this Moc. # noqa: E501

Return type

str

property moc_url

Gets the moc_url of this Moc. # noqa: E501

Returns

The moc_url of this Moc. # noqa: E501

Return type

str

property name

Gets the name of this Moc. # noqa: E501

Returns

The name of this Moc. # noqa: E501

Return type

str

property num_parts

Gets the num_parts of this Moc. # noqa: E501

Returns

The num_parts of this Moc. # noqa: E501

Return type

int

openapi_types = {'designer_name': 'str', 'designer_url': 'str', 'moc_img_url': 'str', 'moc_url': 'str', 'name': 'str', 'num_parts': 'int', 'set_num': 'str', 'theme_id': 'int', 'year': 'int'}
property set_num

Gets the set_num of this Moc. # noqa: E501

Returns

The set_num of this Moc. # noqa: E501

Return type

str

property theme_id

Gets the theme_id of this Moc. # noqa: E501

Returns

The theme_id of this Moc. # noqa: E501

Return type

int

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property year

Gets the year of this Moc. # noqa: E501

Returns

The year of this Moc. # noqa: E501

Return type

int