Skip to main content

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_strReturns the string representation of the model using alias
to_jsonReturns the JSON representation of the model using alias
from_jsonCreate an instance of User from a JSON string
to_dictReturn the dictionary representation of the model using alias.
from_dictCreate an instance of User from a dict