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

from typing import List as TypingList, Optional

from pydantic import Field as FieldInfo

from .list import List as ListList
from .._models import BaseModel

__all__ = ["ListListResponse", "Pagination"]


class Pagination(BaseModel):
    limit: Optional[int] = None

    page: Optional[int] = None

    total: Optional[int] = None

    total_pages: Optional[int] = FieldInfo(alias="totalPages", default=None)


class ListListResponse(BaseModel):
    lists: Optional[TypingList[ListList]] = None

    pagination: Optional[Pagination] = None
