Skip to content

@ralphschuler.ai function caller.index.<internal>.OpenAI.Beta.Threads.Messages.Files.MessageFilesPage

github-actions edited this page Nov 26, 2023 · 1 revision

Class: MessageFilesPage

Messages.Files.MessageFilesPage

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MessageFilesPage(client, response, body, options): MessageFilesPage

Parameters

Name Type
client APIClient
response Response
body CursorPageResponse<MessageFile>
options FinalRequestOptions

Returns

MessageFilesPage

Inherited from

CursorPage.constructor

Defined in

node_modules/openai/pagination.d.ts:38

Properties

#private

Private #private: any

Inherited from

CursorPage.#private

Defined in

node_modules/openai/core.d.ts:135


body

Protected body: unknown

Inherited from

CursorPage.body

Defined in

node_modules/openai/core.d.ts:138


data

data: MessageFile[]

Inherited from

CursorPage.data

Defined in

node_modules/openai/pagination.d.ts:37


options

Protected options: FinalRequestOptions<Readable | Record<string, unknown>>

Inherited from

CursorPage.options

Defined in

node_modules/openai/core.d.ts:136


response

Protected response: Response

Inherited from

CursorPage.response

Defined in

node_modules/openai/core.d.ts:137

Methods

[asyncIterator]

[asyncIterator](): AsyncGenerator<MessageFile, void, unknown>

Returns

AsyncGenerator<MessageFile, void, unknown>

Inherited from

CursorPage.[asyncIterator]

Defined in

node_modules/openai/core.d.ts:149


getNextPage

getNextPage(): Promise<MessageFilesPage>

Returns

Promise<MessageFilesPage>

Inherited from

CursorPage.getNextPage

Defined in

node_modules/openai/core.d.ts:147


getPaginatedItems

getPaginatedItems(): MessageFile[]

Returns

MessageFile[]

Inherited from

CursorPage.getPaginatedItems

Defined in

node_modules/openai/pagination.d.ts:39


hasNextPage

hasNextPage(): boolean

Returns

boolean

Inherited from

CursorPage.hasNextPage

Defined in

node_modules/openai/core.d.ts:146


iterPages

iterPages(): AsyncGenerator<AbstractPage<MessageFile>, void, unknown>

Returns

AsyncGenerator<AbstractPage<MessageFile>, void, unknown>

Inherited from

CursorPage.iterPages

Defined in

node_modules/openai/core.d.ts:148


nextPageInfo

nextPageInfo(): null | PageInfo

Returns

null | PageInfo

Inherited from

CursorPage.nextPageInfo

Defined in

node_modules/openai/pagination.d.ts:41


nextPageParams

nextPageParams(): null | Partial<CursorPageParams>

Returns

null | Partial<CursorPageParams>

Deprecated

Use nextPageInfo instead

Inherited from

CursorPage.nextPageParams

Defined in

node_modules/openai/pagination.d.ts:40

Typescript Libraries

Modules

Namespaces

Clone this wiki locally