rebrickable.api.models.set_list module

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

class rebrickable.api.models.set_list.SetList(id=None, is_buildable=None, name=None, num_sets=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', 'is_buildable': 'is_buildable', 'name': 'name', 'num_sets': 'num_sets'}
property id

Gets the id of this SetList. # noqa: E501

Returns

The id of this SetList. # noqa: E501

Return type

int

property is_buildable

Gets the is_buildable of this SetList. # noqa: E501

Returns

The is_buildable of this SetList. # noqa: E501

Return type

bool

property name

Gets the name of this SetList. # noqa: E501

Returns

The name of this SetList. # noqa: E501

Return type

str

property num_sets

Gets the num_sets of this SetList. # noqa: E501

Returns

The num_sets of this SetList. # noqa: E501

Return type

int

openapi_types = {'id': 'int', 'is_buildable': 'bool', 'name': 'str', 'num_sets': 'int'}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model