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

from __future__ import annotations
from .objectresponse import ObjectResponse, ObjectResponseTypedDict
from .paginationresponse import PaginationResponse, PaginationResponseTypedDict
from mixpeek.types import BaseModel
from typing import List
from typing_extensions import TypedDict


class ListObjectsResponseTypedDict(TypedDict):
    r"""Response model for listing objects in a bucket"""

    results: List[ObjectResponseTypedDict]
    r"""List of objects matching the query"""
    pagination: PaginationResponseTypedDict


class ListObjectsResponse(BaseModel):
    r"""Response model for listing objects in a bucket"""

    results: List[ObjectResponse]
    r"""List of objects matching the query"""

    pagination: PaginationResponse
