Note: no pagination actually occurs yet, this is for forwards-compatibility.

Type Parameters

  • Item

Hierarchy (view full)

Implements

Constructors

  • Type Parameters

    • Item

    Parameters

    • client: APIClient
    • response: Response
    • body: PageResponse<Item>
    • options: FinalRequestOptions

    Returns OpenAIClient.Page<Item>

Properties

body: unknown
data: Item[]
object: string
options: FinalRequestOptions<unknown>
response: Response

Methods

  • Returns AsyncGenerator<Awaited<Item>, void, unknown>

  • Returns Item[]

  • Returns boolean

  • Returns AsyncGenerator<AbstractPage<Item>, void, unknown>

  • Returns null

  • This page represents a response that isn't actually paginated at the API level so there will never be any next page params.

    Returns null