rebrickable.api.models.profile module¶
The version of the OpenAPI document: Generated by: https://openapi-generator.tech
-
class
rebrickable.api.models.profile.
Profile
(avatar_img=None, email=None, last_activity=None, last_ip=None, lego=None, location=None, real_name=None, rewards=None, user_id=None, username=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
= {'avatar_img': 'avatar_img', 'email': 'email', 'last_activity': 'last_activity', 'last_ip': 'last_ip', 'lego': 'lego', 'location': 'location', 'real_name': 'real_name', 'rewards': 'rewards', 'user_id': 'user_id', 'username': 'username'}¶
-
property
avatar_img
¶ Gets the avatar_img of this Profile. # noqa: E501
- Returns
The avatar_img of this Profile. # noqa: E501
- Return type
str
-
property
email
¶ Gets the email of this Profile. # noqa: E501
- Returns
The email of this Profile. # noqa: E501
- Return type
str
-
property
last_activity
¶ Gets the last_activity of this Profile. # noqa: E501
- Returns
The last_activity of this Profile. # noqa: E501
- Return type
datetime
-
property
last_ip
¶ Gets the last_ip of this Profile. # noqa: E501
- Returns
The last_ip of this Profile. # noqa: E501
- Return type
str
-
property
lego
¶ Gets the lego of this Profile. # noqa: E501
- Returns
The lego of this Profile. # noqa: E501
- Return type
-
property
location
¶ Gets the location of this Profile. # noqa: E501
- Returns
The location of this Profile. # noqa: E501
- Return type
str
-
openapi_types
= {'avatar_img': 'str', 'email': 'str', 'last_activity': 'datetime', 'last_ip': 'str', 'lego': 'Lego', 'location': 'str', 'real_name': 'str', 'rewards': 'Rewards', 'user_id': 'int', 'username': 'str'}¶
-
property
real_name
¶ Gets the real_name of this Profile. # noqa: E501
- Returns
The real_name of this Profile. # noqa: E501
- Return type
str
-
property
rewards
¶ Gets the rewards of this Profile. # noqa: E501
- Returns
The rewards of this Profile. # noqa: E501
- Return type
-
to_dict
()¶ Returns the model properties as a dict
-
to_str
()¶ Returns the string representation of the model
-
property
user_id
¶ Gets the user_id of this Profile. # noqa: E501
- Returns
The user_id of this Profile. # noqa: E501
- Return type
int
-
property
username
¶ Gets the username of this Profile. # noqa: E501
- Returns
The username of this Profile. # noqa: E501
- Return type
str
-