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

from typing import List
from typing_extensions import Literal

from pydantic import Field as FieldInfo

from .account import Account
from ..._models import BaseModel

__all__ = ["AccountListResponse"]


class AccountListResponse(BaseModel):
    data: List[Account]
    """The array of accounts."""

    object_type: Literal["list"] = FieldInfo(alias="objectType")
    """The type of object. This value is always `"list"`."""

    url: str
    """The endpoint URL where this list can be accessed."""
