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


class CloudbrokerAuditListResultModel(_base.BaseAPIResultModel):
    data: list[_nested.AuditAPIResultNM]
    entry_count: int


class CloudbrokerAuditListProtocol(_base.BasePostAPIFunctionProtocol):
    def list(
        self,
        *,
        account_id: int | None = None,
        api_url_path: str | None = None,
        bservice_id: int | None = None,
        exclude_audit_lines: bool = False,
        flip_group_id: int | None = None,
        request_id: str | None = None,
        k8s_id: int | None = None,
        lb_id: int | None = None,
        max_status_code: int | None = None,
        min_status_code: int | None = None,
        node_id: int | None = None,
        page_number: int = 1,
        page_size: int = 100,
        request_timestamp_end: int | None = None,
        request_timestamp_start: int | None = None,
        rg_id: int | None = None,
        sep_id: int | None = None,
        sort_by: str | None = None,
        user_name: str | None = None,
        vins_id: int | None = None,
        vm_id: int | None = None,
    ) -> CloudbrokerAuditListResultModel:
        ...
