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