Package app.knock.api.models.objects
Class ObjectListParams
-
- All Implemented Interfaces:
-
app.knock.api.core.Params
public final class ObjectListParams implements Params
Returns a paginated list of objects from the specified collection. Optionally includes preference data for the objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classObjectListParams.BuilderA builder for ObjectListParams.
public final classObjectListParams.Include
-
Method Summary
Modifier and Type Method Description final Optional<String>collection()final Optional<String>after()The cursor to fetch entries after. final Optional<String>before()The cursor to fetch entries before. final Optional<List<ObjectListParams.Include>>include()Includes preferences of the objects in the response. final Optional<Long>pageSize()The number of items per page. final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final ObjectListParams.BuildertoBuilder()final String_pathParam(Integer index)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. Booleanequals(Object other)IntegerhashCode()StringtoString()final static ObjectListParamsnone()final static ObjectListParams.Builderbuilder()Returns a mutable builder for constructing an instance of ObjectListParams. -
-
Method Detail
-
collection
final Optional<String> collection()
-
include
final Optional<List<ObjectListParams.Include>> include()
Includes preferences of the objects in the response.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final ObjectListParams.Builder toBuilder()
-
_pathParam
final String _pathParam(Integer index)
-
_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.
-
none
final static ObjectListParams none()
-
builder
final static ObjectListParams.Builder builder()
Returns a mutable builder for constructing an instance of ObjectListParams.
-
-
-
-