BaseModel
Class Attributes
| Attribute | Type | Default |
|---|---|---|
id | str | — |
role | UserRole | — |
email | str | — |
created_at | AwareDatetime | — |
Methods
async staticmethod get
async staticmethod get
Parameters
Returns:
| Name | Type | Default |
|---|---|---|
client | PlatformClient | None | None |
'User'async staticmethod list
async staticmethod list
Parameters
Returns:
| Name | Type | Default |
|---|---|---|
email | str | None | None |
limit | int | 40 |
page_token | str | None | None |
client | PlatformClient | None | None |
PaginatedResult['User']async staticmethod set_role
async staticmethod set_role
Parameters
Returns:
| Name | Type | Default |
|---|---|---|
user_id | str | — |
new_role | UserRole | — |
client | PlatformClient | None | None |
ChangeRoleResponse