import dynamix_sdk.base as _base
import dynamix_sdk.api._nested as _nested


class CloudapiZoneListResultModel(_base.BaseAPIResultModel):
    data: list[_nested.ZoneForListAPIResultNM]
    entry_count: int


class CloudapiZoneListProtocol(_base.BasePostAPIFunctionProtocol):
    def list(
        self,
        *,
        deletable: bool | None = None,
        description: str | None = None,
        grid_id: int | None = None,
        id: int | None = None,
        name: str | None = None,
        node_id: int | None = None,
        page_number: int | None = None,
        page_size: int | None = None,
        sort_by: str | None = None,
        status: _nested.ZoneStatus | None = None,
    ) -> CloudapiZoneListResultModel:
        ...
