Description: User Dataclass that combines info from UserEntity and UserInfo.
Attributes
Name | Type | Description |
---|
id | StrictStr | |
created | datetime.datetime | |
provider_name | StrictStr | |
provider_user_id | StrictStr | |
user_type | UserType | |
personal_access_tokens | List[PersonalAccessToken] | |
provider_user_state | Optional[UserState] | |
user_name | Optional[StrictStr] | |
display_name | Optional[StrictStr] | |
first_name | Optional[StrictStr] | |
last_name | Optional[StrictStr] | |
email | Optional[StrictStr] | |
machine_name | Optional[StrictStr] | |
machine_description | Optional[StrictStr] | |
control_tags | Optional[List[ControlTag]] | |
provider_tenant_id | Optional[StrictStr] | |
tenant_id | Optional[StrictStr] | |
Methods
Name | Description |
---|
to_str | Returns the string representation of the model using alias |
to_json | Returns the JSON representation of the model using alias |
from_json | Create an instance of User from a JSON string |
to_dict | Return the dictionary representation of the model using alias. |
from_dict | Create an instance of User from a dict |