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