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 class
FileListPage.Builder
A builder for FileListPage.
public final class
FileListPage.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 Optional<FileListPage>
getNextPage()
final FileListPage.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 FileListPage.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileListPage.Builder
builder()
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()
-
-
-
-