Package app.knock.api.models.schedules
Class ScheduleListPageAsync
-
- All Implemented Interfaces:
public final class ScheduleListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScheduleListPageAsync.BuilderA builder for ScheduleListPageAsync.
public final classScheduleListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final List<Schedule>entries()Delegates to ScheduleListPageResponse, but gracefully handles missing data. final Optional<PageInfo>pageInfo()Delegates to ScheduleListPageResponse, but gracefully handles missing data. final BooleanhasNextPage()final Optional<ScheduleListParams>getNextPageParams()final CompletableFuture<Optional<ScheduleListPageAsync>>getNextPage()final ScheduleListPageAsync.AutoPagerautoPager()final ScheduleListParamsparams()The parameters that were used to request this page. final ScheduleListPageResponseresponse()The response that this page was parsed from. final ScheduleListPageAsync.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScheduleListPageAsync.Builderbuilder()Returns a mutable builder for constructing an instance of ScheduleListPageAsync. -
-
Method Detail
-
entries
final List<Schedule> entries()
Delegates to ScheduleListPageResponse, but gracefully handles missing data.
-
pageInfo
final Optional<PageInfo> pageInfo()
Delegates to ScheduleListPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ScheduleListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<ScheduleListPageAsync>> getNextPage()
-
autoPager
final ScheduleListPageAsync.AutoPager autoPager()
-
params
final ScheduleListParams params()
The parameters that were used to request this page.
-
response
final ScheduleListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final ScheduleListPageAsync.Builder toBuilder()
-
builder
final static ScheduleListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of ScheduleListPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-