Package com.openai.models.files
Class FileListPageAsync
-
- All Implemented Interfaces:
public final class FileListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FileListPageAsync.Builder
A builder for FileListPageAsync.
public final class
FileListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final List<FileObject>
data()
Delegates to FileListPageResponse, but gracefully handles missing data. final Optional<Boolean>
hasMore()
Delegates to FileListPageResponse, but gracefully handles missing data. final Boolean
hasNextPage()
final Optional<FileListParams>
getNextPageParams()
final CompletableFuture<Optional<FileListPageAsync>>
getNextPage()
final FileListPageAsync.AutoPager
autoPager()
final FileListParams
params()
The parameters that were used to request this page. final FileListPageResponse
response()
The response that this page was parsed from. final FileListPageAsync.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileListPageAsync.Builder
builder()
Returns a mutable builder for constructing an instance of FileListPageAsync. -
-
Method Detail
-
data
final List<FileObject> data()
Delegates to FileListPageResponse, but gracefully handles missing data.
-
hasMore
final Optional<Boolean> hasMore()
Delegates to FileListPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<FileListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<FileListPageAsync>> getNextPage()
-
autoPager
final FileListPageAsync.AutoPager autoPager()
-
params
final FileListParams params()
The parameters that were used to request this page.
-
response
final FileListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final FileListPageAsync.Builder toBuilder()
-
builder
final static FileListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of FileListPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-