Class ViewListParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class ViewListParams implements Params
List out all views. The views are sorted by creation date, with the most recently-created views coming first
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classViewListParams.BuilderA builder for ViewListParams.
public final classViewListParams.IdsFilter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
-
Method Summary
Modifier and Type Method Description final StringobjectId()The id of the object the ACL applies to final AclObjectTypeobjectType()The object type that the ACL applies to final Optional<String>endingBefore()Pagination cursor id. final Optional<ViewListParams.Ids>ids()Filter search results to a particular set of object IDs. final Optional<Long>limit()Limit the number of objects to return final Optional<String>startingAfter()Pagination cursor id. final Optional<String>viewName()Name of the view to search for final Optional<ViewType>viewType()Type of table that the view corresponds to. final Headers_additionalHeaders()final QueryParams_additionalQueryParams()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final ViewListParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ViewListParams.Builderbuilder()Returns a mutable builder for constructing an instance of ViewListParams. -
-
Method Detail
-
objectType
final AclObjectType objectType()
The object type that the ACL applies to
-
endingBefore
final Optional<String> endingBefore()
Pagination cursor id.
For example, if the initial item in the last page you fetched had an id of
foo, passending_before=footo fetch the previous page. Note: you may only pass one ofstarting_afterandending_before
-
ids
final Optional<ViewListParams.Ids> ids()
Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
-
startingAfter
final Optional<String> startingAfter()
Pagination cursor id.
For example, if the final item in the last page you fetched had an id of
foo, passstarting_after=footo fetch the next page. Note: you may only pass one ofstarting_afterandending_before
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
toBuilder
final ViewListParams.Builder toBuilder()
-
builder
final static ViewListParams.Builder builder()
Returns a mutable builder for constructing an instance of ViewListParams.
The following fields are required:
.objectId() .objectType()
-
-
-
-