Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 884 Bytes

File metadata and controls

31 lines (22 loc) · 884 Bytes

User

Properties

Name Type Description Notes
id str ID of the user. [readonly]
avatar_url str Avatar URL of the user. [readonly]
username str Name of the user. [readonly]

Example

from saturn_api.models.user import User

# TODO update the JSON string below
json = "{}"
# create an instance of User from a JSON string
user_instance = User.from_json(json)
# print the JSON string representation of the object
print(User.to_json())

# convert the object into a dict
user_dict = user_instance.to_dict()
# create an instance of User from a dict
user_from_dict = User.from_dict(user_dict)

[Back to Model list] [Back to API list] [Back to README]