Files
dynamix-python-sdk/src/dynamix_sdk/api/cloudbroker/user/get.py
T

36 lines
928 B
Python
Raw Normal View History

2025-11-25 18:09:46 +03:00
import typing as _typing
import dynamix_sdk.base as _base
class CloudbrokerUserGetResultModel(_base.BaseAPIResultModel):
active: bool
api_access_groups: dict[str, str]
auth_key: str
auth_keys: list[_typing.Any]
blocked: bool | None = None
ckey: str
data: str
description: str
domain_name: str | None
emails: list[str]
grid_id: int
groups: list[str]
guid: str
id: str
last_check_timestamp: int
meta: list[_typing.Any]
mobile: list[_typing.Any]
password: str
protected: bool | None = None
roles: list[_typing.Any]
service_account: bool
xmpp: list[_typing.Any]
@property
def last_check_datetime(self):
return self._get_datetime_from_timestamp(self.last_check_timestamp)
class CloudbrokerUserGetProtocol(_base.BasePostAPIFunctionProtocol):
def get(self, *, user_name: str) -> CloudbrokerUserGetResultModel:
...