Class JobListPageAsync
-
- All Implemented Interfaces:
public final class JobListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJobListPageAsync.BuilderA builder for JobListPageAsync.
public final classJobListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final List<FineTuningJob>data()Delegates to JobListPageResponse, but gracefully handles missing data. final Optional<Boolean>hasMore()Delegates to JobListPageResponse, but gracefully handles missing data. final BooleanhasNextPage()final Optional<JobListParams>getNextPageParams()final CompletableFuture<Optional<JobListPageAsync>>getNextPage()final JobListPageAsync.AutoPagerautoPager()final JobListParamsparams()The parameters that were used to request this page. final JobListPageResponseresponse()The response that this page was parsed from. final JobListPageAsync.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JobListPageAsync.Builderbuilder()Returns a mutable builder for constructing an instance of JobListPageAsync. -
-
Method Detail
-
data
final List<FineTuningJob> data()
Delegates to JobListPageResponse, but gracefully handles missing data.
-
hasMore
final Optional<Boolean> hasMore()
Delegates to JobListPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<JobListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<JobListPageAsync>> getNextPage()
-
autoPager
final JobListPageAsync.AutoPager autoPager()
-
params
final JobListParams params()
The parameters that were used to request this page.
-
response
final JobListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final JobListPageAsync.Builder toBuilder()
-
builder
final static JobListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of JobListPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-