1.4.0
This commit is contained in:
@@ -15,18 +15,19 @@ class CloudapiZoneGetResultModel(_base.BaseAPIResultModel):
|
||||
k8s_ids: list[int]
|
||||
lb_ids: list[int]
|
||||
name: str
|
||||
node_auto_start: bool
|
||||
node_ids: list[int]
|
||||
status: _nested.ZoneStatus
|
||||
updated_timestamp: int
|
||||
vins_ids: list[int]
|
||||
vm_ids: list[int]
|
||||
|
||||
@property
|
||||
def created_datetime(self):
|
||||
@_base.computed_field
|
||||
def created_datetime(self) -> _base.datetime | None:
|
||||
return self._get_datetime_from_timestamp(self.created_timestamp)
|
||||
|
||||
@property
|
||||
def updated_datetime(self):
|
||||
@_base.computed_field
|
||||
def updated_datetime(self) -> _base.datetime | None:
|
||||
return self._get_datetime_from_timestamp(self.updated_timestamp)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user