rebrickable.api.models.rewards module

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

class rebrickable.api.models.rewards.Rewards(badges=None, level=None, points=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 = {'badges': 'badges', 'level': 'level', 'points': 'points'}
property badges

Gets the badges of this Rewards. # noqa: E501

Returns

The badges of this Rewards. # noqa: E501

Return type

list[int]

property level

Gets the level of this Rewards. # noqa: E501

Returns

The level of this Rewards. # noqa: E501

Return type

int

openapi_types = {'badges': 'list[int]', 'level': 'int', 'points': 'int'}
property points

Gets the points of this Rewards. # noqa: E501

Returns

The points of this Rewards. # noqa: E501

Return type

int

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model