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