# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing_extensions import Literal, TypedDict

__all__ = ["RoleListParams"]


class RoleListParams(TypedDict, total=False):
    after: str
    """Cursor for pagination.

    Provide the value from the previous response's `next` field to continue listing
    roles.
    """

    limit: int
    """A limit on the number of roles to return. Defaults to 1000."""

    order: Literal["asc", "desc"]
    """Sort order for the returned roles."""
