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