Skip to main content
Version: 2025.11

User

Description: User Dataclass that combines info from UserEntity and UserInfo.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
provider_nameStrictStr
provider_user_idStrictStr
user_typeUserType
personal_access_tokensList[PersonalAccessToken]
provider_user_stateOptional[UserState]
user_nameOptional[StrictStr]
display_nameOptional[StrictStr]
first_nameOptional[StrictStr]
last_nameOptional[StrictStr]
emailOptional[StrictStr]
machine_nameOptional[StrictStr]
machine_descriptionOptional[StrictStr]
control_tagsOptional[List[ControlTag]]
provider_tenant_idOptional[StrictStr]
tenant_idOptional[StrictStr]

Methods

NameDescription
to_strReturn the string representation of the model using field aliases.
to_jsonReturn the JSON string representation of the model using field aliases.
from_jsonCreate an instance of the model from a JSON string.
to_dictReturn the dictionary representation of the model using field aliases.
from_dictCreate an instance of User from a dict