2.0.0
This commit is contained in:
1 parent
a52ec3f1bb
commit
1ee16914bc
438 files changed
+5153
-3282
No files matched your search
@@ -5,7 +5,7 @@ import dynamix_sdk.api._nested as _nested
|
||||
from dynamix_sdk.utils import EmptyStr as _EmptyStr
|
||||
|
||||
|
||||
class CloudapiImageGetResultModel(_base.BaseAPIResultModel):
|
||||
class CloudapiImageGetResultModel(_base.BaseModel):
|
||||
account_id: int
|
||||
acl: list[_typing.Any]
|
||||
arch: str
|
||||
@@ -59,11 +59,13 @@ class CloudapiImageGetResultModel(_base.BaseAPIResultModel):
|
||||
return self._get_datetime_from_timestamp(self.deleted_timestamp)
|
||||
|
||||
|
||||
class CloudapiImageGetProtocol(_base.BasePostAPIFunctionProtocol):
|
||||
def get(
|
||||
class CloudapiImageGetImpl(_base.APIFunctionImpl):
|
||||
http_method = _base.HTTPMethod.POST
|
||||
|
||||
def __call__(
|
||||
self,
|
||||
*,
|
||||
image_id: int,
|
||||
show_all: bool = False,
|
||||
) -> CloudapiImageGetResultModel:
|
||||
...
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user