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


class CloudapiPcideviceListResultModel(_base.BaseAPIResultModel):
    data: list[_nested.PCIDeviceAPIResultNM]
    entry_count: int


class CloudapiPcideviceListProtocol(_base.BasePostAPIFunctionProtocol):
    def list(
        self,
        *,
        id: int | None = None,
        name: str | None = None,
        status: _nested.PCIDeviceStatus | None = None,
        vm_id: int | None = None,
        rg_id: int | None = None,
        sort_by: str | None = None,
        page_number: int | None = None,
        page_size: int | None = None,
    ) -> CloudapiPcideviceListResultModel:
        ...
