"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from censys_platform.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class PaginationInfoTypedDict(TypedDict):
    page_size: int
    r"""The number of members requested per page."""
    next_page_token: NotRequired[str]
    r"""The token to use to retrieve the next page of results."""


class PaginationInfo(BaseModel):
    page_size: int
    r"""The number of members requested per page."""

    next_page_token: Optional[str] = None
    r"""The token to use to retrieve the next page of results."""
