rebrickable.api.models.set module

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

class rebrickable.api.models.set.Set(last_modified_dt=None, name=None, num_parts=None, set_img_url=None, set_num=None, set_url=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 = {'last_modified_dt': 'last_modified_dt', 'name': 'name', 'num_parts': 'num_parts', 'set_img_url': 'set_img_url', 'set_num': 'set_num', 'set_url': 'set_url', 'theme_id': 'theme_id', 'year': 'year'}
property last_modified_dt

Gets the last_modified_dt of this Set. # noqa: E501

Returns

The last_modified_dt of this Set. # noqa: E501

Return type

datetime

property name

Gets the name of this Set. # noqa: E501

Returns

The name of this Set. # noqa: E501

Return type

str

property num_parts

Gets the num_parts of this Set. # noqa: E501

Returns

The num_parts of this Set. # noqa: E501

Return type

int

openapi_types = {'last_modified_dt': 'datetime', 'name': 'str', 'num_parts': 'int', 'set_img_url': 'str', 'set_num': 'str', 'set_url': 'str', 'theme_id': 'int', 'year': 'int'}
property set_img_url

Gets the set_img_url of this Set. # noqa: E501

Returns

The set_img_url of this Set. # noqa: E501

Return type

str

property set_num

Gets the set_num of this Set. # noqa: E501

Returns

The set_num of this Set. # noqa: E501

Return type

str

property set_url

Gets the set_url of this Set. # noqa: E501

Returns

The set_url of this Set. # noqa: E501

Return type

str

property theme_id

Gets the theme_id of this Set. # noqa: E501

Returns

The theme_id of this Set. # 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 Set. # noqa: E501

Returns

The year of this Set. # noqa: E501

Return type

int