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

NameTypeDescriptionNotes
created_atdatetime
emailstr
profileUserProfile
rolestr
tierstr[optional]
user_idint

Example

fromrevengai.models.userimportUser# TODO update the JSON string belowjson="{}"# create an instance of User from a JSON stringuser_instance=User.from_json(json)
# print the JSON string representation of the objectprint(User.to_json())
# convert the object into a dictuser_dict=user_instance.to_dict()
# create an instance of User from a dictuser_from_dict=User.from_dict(user_dict)

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