rebrickable.api.models.badge module¶
The version of the OpenAPI document: Generated by: https://openapi-generator.tech
-
class
rebrickable.api.models.badge.
Badge
(code=None, descr=None, id=None, level=None, name=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
= {'code': 'code', 'descr': 'descr', 'id': 'id', 'level': 'level', 'name': 'name'}¶
-
property
code
¶ Gets the code of this Badge. # noqa: E501
- Returns
The code of this Badge. # noqa: E501
- Return type
str
-
property
descr
¶ Gets the descr of this Badge. # noqa: E501
- Returns
The descr of this Badge. # noqa: E501
- Return type
str
-
property
id
¶ Gets the id of this Badge. # noqa: E501
- Returns
The id of this Badge. # noqa: E501
- Return type
int
-
property
level
¶ Gets the level of this Badge. # noqa: E501
- Returns
The level of this Badge. # noqa: E501
- Return type
int
-
property
name
¶ Gets the name of this Badge. # noqa: E501
- Returns
The name of this Badge. # noqa: E501
- Return type
str
-
openapi_types
= {'code': 'str', 'descr': 'str', 'id': 'int', 'level': 'int', 'name': 'str'}¶
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-