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