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],
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,
Create an instance of AdminApiUser from a dict
- classmethod from_json(
- json_str: str,
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#
- suspended: StrictBool#
- tier: UserTierEnum#
- trials: List[EnterpriseTrial]#
- username: StrictStr#