FileList
A list associated with a file query.
Constructors
Constructor
new FileList(book, payload): FileList;Parameters
| Parameter | Type |
|---|---|
book | Book |
payload | FileList |
Returns
FileList
Methods
getCursor()
getCursor(): string | undefined;Gets the cursor associated with the query for pagination.
Returns
string | undefined
The cursor associated with the query for pagination
getFirst()
getFirst(): File | undefined;Gets the first File in the list.
Returns
File | undefined
The first File in the list
getItems()
getItems(): File[];Gets the files in the list.
Returns
File[]
An array of File objects
size()
size(): number;Gets the total number of files in the list.
Returns
number
The total number of files