admin_api_user module#

class edgeimpulse_api.models.admin_api_user.AdminApiUser(
*,
id: StrictInt,
username: StrictStr,
name: StrictStr,
email: StrictStr,
photo: StrictStr | None = None,
created: datetime,
lastSeen: datetime | None = None,
staffInfo: StaffInfo,
pending: StrictBool,
lastTosAcceptanceDate: datetime | None = None,
jobTitle: StrictStr | None = None,
permissions: List[Permission] | None = None,
companyName: StrictStr | None = None,
activated: StrictBool,
mfaConfigured: StrictBool,
organizations: List[UserOrganization],
projects: List[Project],
experiments: List[UserExperiment],
evaluation: StrictBool | None = None,
ambassador: StrictBool | None = None,
tier: UserTierEnum,
suspended: StrictBool,
trials: List[EnterpriseTrial],
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
activated: StrictBool#
ambassador: StrictBool | None#
company_name: StrictStr | None#
created: datetime#
email: StrictStr#
evaluation: StrictBool | None#
experiments: List[UserExperiment]#
classmethod from_dict(
obj: dict,
) AdminApiUser[source]#

Create an instance of AdminApiUser from a dict

classmethod from_json(
json_str: str,
) AdminApiUser[source]#

Create an instance of AdminApiUser from a JSON string

id: StrictInt#
job_title: StrictStr | None#
last_seen: datetime | None#
last_tos_acceptance_date: datetime | None#
mfa_configured: StrictBool#
name: StrictStr#
organizations: List[UserOrganization]#
pending: StrictBool#
permissions: List[Permission] | None#
photo: StrictStr | None#
projects: List[Project]#
staff_info: StaffInfo#
suspended: StrictBool#
tier: UserTierEnum#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias

trials: List[EnterpriseTrial]#
username: StrictStr#