Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 916 Bytes

File metadata and controls

34 lines (25 loc) · 916 Bytes

User

Properties

Name Type Description Notes
created_at datetime
email str
profile UserProfile
role str
tier str [optional]
user_id int

Example

from revengai.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]