User Serializer
| Name | Type | Description | Notes |
|---|---|---|---|
| pk | int | [readonly] | |
| username | str | ||
| name | str | User's display name. | |
| is_active | bool | Designates whether this user should be treated as active. Unselect this instead of deleting accounts. | [optional] |
| last_login | datetime | [optional] | |
| date_joined | datetime | [readonly] | |
| is_superuser | bool | [readonly] | |
| groups | List[UUID] | [optional] | |
| groups_obj | List[PartialGroup] | [readonly] | |
| roles | List[UUID] | [optional] | |
| roles_obj | List[Role] | [readonly] | |
| str | [optional] | ||
| avatar | str | User's avatar, either a http/https URL or a data URI | [readonly] |
| attributes | Dict[str, object] | [optional] | |
| uid | str | [readonly] | |
| path | str | [optional] | |
| type | UserTypeEnum | [optional] | |
| uuid | UUID | [readonly] | |
| password_change_date | datetime | [readonly] | |
| last_updated | datetime | [readonly] |
from authentik_client.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)