rebrickable.api.models.color module

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

class rebrickable.api.models.color.Color(external_ids=None, id=None, is_trans=None, name=None, rgb=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 = {'external_ids': 'external_ids', 'id': 'id', 'is_trans': 'is_trans', 'name': 'name', 'rgb': 'rgb'}
property external_ids

Gets the external_ids of this Color. # noqa: E501

Returns

The external_ids of this Color. # noqa: E501

Return type

ExternalColorIds

property id

Gets the id of this Color. # noqa: E501

Returns

The id of this Color. # noqa: E501

Return type

int

property is_trans

Gets the is_trans of this Color. # noqa: E501

Returns

The is_trans of this Color. # noqa: E501

Return type

bool

property name

Gets the name of this Color. # noqa: E501

Returns

The name of this Color. # noqa: E501

Return type

str

openapi_types = {'external_ids': 'ExternalColorIds', 'id': 'int', 'is_trans': 'bool', 'name': 'str', 'rgb': 'str'}
property rgb

Gets the rgb of this Color. # noqa: E501

Returns

The rgb of this Color. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model