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