AIFileListResult

Base interface for a paginated list of files.

Type Parameters

T

The file type.

Inheritors

Properties

Link copied to clipboard
abstract val files: List<T>

The list of files.

Functions

Link copied to clipboard
open operator override fun iterator(): Iterator<T>
Link copied to clipboard
inline fun <T : AIFileResult> AIFileListResult<T>.onEachFile(block: (T) -> Unit)

Iterates over each file in the list result.