Package com.braintrustdata.api.models
Class ApiKeyListPageAsync
-
- All Implemented Interfaces:
public final class ApiKeyListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classApiKeyListPageAsync.BuilderA builder for ApiKeyListPageAsync.
public final classApiKeyListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final List<ApiKey>objects()Delegates to ApiKeyListPageResponse, but gracefully handles missing data. final BooleanhasNextPage()final Optional<ApiKeyListParams>getNextPageParams()final CompletableFuture<Optional<ApiKeyListPageAsync>>getNextPage()final ApiKeyListPageAsync.AutoPagerautoPager()final ApiKeyListParamsparams()The parameters that were used to request this page. final ApiKeyListPageResponseresponse()The response that this page was parsed from. final ApiKeyListPageAsync.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ApiKeyListPageAsync.Builderbuilder()Returns a mutable builder for constructing an instance of ApiKeyListPageAsync. -
-
Method Detail
-
objects
final List<ApiKey> objects()
Delegates to ApiKeyListPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ApiKeyListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<ApiKeyListPageAsync>> getNextPage()
-
autoPager
final ApiKeyListPageAsync.AutoPager autoPager()
-
params
final ApiKeyListParams params()
The parameters that were used to request this page.
-
response
final ApiKeyListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final ApiKeyListPageAsync.Builder toBuilder()
-
builder
final static ApiKeyListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of ApiKeyListPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-