User¶
- class icometrix_sdk.models.user_entity.Role(*, id, name, user_id, entity_id, entity_type, second_entity_id=None)¶
- Parameters:
id (str)
name (str)
user_id (str)
entity_id (str)
entity_type (str)
second_entity_id (str | None)
- entity_id: str¶
- entity_type: str¶
- id: str¶
- name: str¶
- second_entity_id: str | None¶
- user_id: str¶
- class icometrix_sdk.models.user_entity.User(*, id, firstname, lastname, email, hospital, country, language, region, roles, blocked, verified, type, note, refresh_token, exp, token_expire_time, password_setup_required, otp_active=None, update_timestamp=None, creation_timestamp=None)¶
- Parameters:
id (str)
firstname (str)
lastname (str)
email (str)
hospital (str)
country (str)
language (str)
region (str)
roles (List[Role])
blocked (bool)
verified (bool)
type (str)
note (str)
refresh_token (str)
exp (int)
token_expire_time (str)
password_setup_required (bool)
otp_active (str | bool | None)
update_timestamp (Annotated[datetime | None, BeforeValidator(func=~icometrix_sdk.models.base.utc_datetime_parser, json_schema_input_type=PydanticUndefined)] | None)
creation_timestamp (Annotated[datetime | None, BeforeValidator(func=~icometrix_sdk.models.base.utc_datetime_parser, json_schema_input_type=PydanticUndefined)] | None)
- blocked: bool¶
- country: str¶
- creation_timestamp: Annotated[datetime | None, BeforeValidator(func=utc_datetime_parser, json_schema_input_type=PydanticUndefined)] | None¶
- email: str¶
- exp: int¶
- firstname: str¶
- hospital: str¶
- id: str¶
- language: str¶
- lastname: str¶
- note: str¶
- otp_active: str | bool | None¶
- password_setup_required: bool¶
- refresh_token: str¶
- region: str¶
- token_expire_time: str¶
- type: str¶
- update_timestamp: Annotated[datetime | None, BeforeValidator(func=utc_datetime_parser, json_schema_input_type=PydanticUndefined)] | None¶
- verified: bool¶