Package app.knock.api.models.tenants
Class TenantListPageAsync
-
- All Implemented Interfaces:
public final class TenantListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenantListPageAsync.BuilderA builder for TenantListPageAsync.
public final classTenantListPageAsync.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 CompletableFuture<Optional<TenantListPageAsync>>getNextPage()final TenantListPageAsync.AutoPagerautoPager()final TenantListParamsparams()The parameters that were used to request this page. final TenantListPageResponseresponse()The response that this page was parsed from. final TenantListPageAsync.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TenantListPageAsync.Builderbuilder()Returns a mutable builder for constructing an instance of TenantListPageAsync. -
-
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 CompletableFuture<Optional<TenantListPageAsync>> getNextPage()
-
autoPager
final TenantListPageAsync.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 TenantListPageAsync.Builder toBuilder()
-
builder
final static TenantListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of TenantListPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-