1.0.0
This commit is contained in:
12
src/dynamix_sdk/api/system/usermanager/whoami.py
Normal file
12
src/dynamix_sdk/api/system/usermanager/whoami.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import dynamix_sdk.base as _base
|
||||
|
||||
|
||||
class SystemUsermanagerWhoamiResultModel(_base.BaseAPIResultModel):
|
||||
admin: bool
|
||||
name: str
|
||||
roles: list[str]
|
||||
|
||||
|
||||
class SystemUsermanagerWhoamiProtocol(_base.BasePostAPIFunctionProtocol):
|
||||
def whoami(self) -> SystemUsermanagerWhoamiResultModel:
|
||||
...
|
||||
Reference in New Issue
Block a user