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