| Name |
Type |
Description |
Notes |
| created_at |
datetime |
|
|
| email |
str |
|
|
| is_active |
bool |
Inactive users cannot authenticate |
|
| profile |
UserProfile |
|
|
| role |
str |
|
|
| signs_in_with |
str |
How the user re-authenticates to delete their account: 'password' sends their current password, 'sso' signs in again at their identity provider. |
|
| tier |
str |
|
[optional] |
| user_id |
int |
|
|
from revengai.models.current_user import CurrentUser
# TODO update the JSON string below
json = "{}"
# create an instance of CurrentUser from a JSON string
current_user_instance = CurrentUser.from_json(json)
# print the JSON string representation of the object
print(CurrentUser.to_json())
# convert the object into a dict
current_user_dict = current_user_instance.to_dict()
# create an instance of CurrentUser from a dict
current_user_from_dict = CurrentUser.from_dict(current_user_dict)
[Back to Model list] [Back to API list] [Back to README]