2.1.2
This commit is contained in:
1 parent
ea196f03a0
commit
68064479d2
78 files changed
+1834
-31
No files matched your search
@@ -0,0 +1,36 @@
|
||||
from pydantic import Field
|
||||
|
||||
import dynamix_sdk.base as _base
|
||||
|
||||
|
||||
class DataItem(_base.ResultModel):
|
||||
active: bool
|
||||
description: str = Field(validation_alias='description')
|
||||
domain: str
|
||||
gid: int
|
||||
guid: str
|
||||
id: str
|
||||
lastcheck: int
|
||||
roles: list[str]
|
||||
users: list[str]
|
||||
|
||||
|
||||
class CloudbrokerGroupListResult(_base.ResultModel):
|
||||
data: list[DataItem]
|
||||
entry_count: int
|
||||
|
||||
|
||||
class CloudbrokerGroupListImpl(_base.APIFunctionImpl):
|
||||
http_method = _base.HTTPMethod.POST
|
||||
|
||||
def __call__(
|
||||
self,
|
||||
*,
|
||||
active: bool = True,
|
||||
by_id: str | None = None,
|
||||
page: int = 1,
|
||||
size: int = 100,
|
||||
sort_by: str | None = None,
|
||||
user: str | None = None,
|
||||
) -> CloudbrokerGroupListResult:
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user