Package com.openai.models.files
Class FileListPage
-
- All Implemented Interfaces:
public final class FileListPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileListPage.BuilderA builder for FileListPage.
public final classFileListPage.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 BooleanhasNextPage()final Optional<FileListParams>getNextPageParams()final Optional<FileListPage>getNextPage()final FileListPage.AutoPagerautoPager()final FileListParamsparams()The parameters that were used to request this page. final FileListPageResponseresponse()The response that this page was parsed from. final FileListPage.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileListPage.Builderbuilder()Returns a mutable builder for constructing an instance of FileListPage. -
-
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 Optional<FileListPage> getNextPage()
-
autoPager
final FileListPage.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 FileListPage.Builder toBuilder()
-
builder
final static FileListPage.Builder builder()
Returns a mutable builder for constructing an instance of FileListPage.
The following fields are required:
.service() .params() .response()
-
-
-
-