public class GetTrashedItemsQueryParams extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GetTrashedItemsQueryParams.Builder |
| Modifier and Type | Field and Description |
|---|---|
EnumWrapper<GetTrashedItemsQueryParamsDirectionField> |
direction
The direction to sort results in.
|
List<String> |
fields
A comma-separated list of attributes to include in the response.
|
Long |
limit
The maximum number of items to return per page.
|
String |
marker
Defines the position marker at which to begin returning results.
|
Long |
offset
The offset of the item at which to begin the response.
|
EnumWrapper<GetTrashedItemsQueryParamsSortField> |
sort
Defines the **second** attribute by which items are sorted.
|
Boolean |
usemarker
Specifies whether to use marker-based pagination instead of offset-based pagination.
|
| Modifier | Constructor and Description |
|---|---|
|
GetTrashedItemsQueryParams() |
protected |
GetTrashedItemsQueryParams(GetTrashedItemsQueryParams.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
EnumWrapper<GetTrashedItemsQueryParamsDirectionField> |
getDirection() |
List<String> |
getFields() |
Long |
getLimit() |
String |
getMarker() |
Long |
getOffset() |
EnumWrapper<GetTrashedItemsQueryParamsSortField> |
getSort() |
Boolean |
getUsemarker() |
public List<String> fields
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
public Long offset
Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
public Boolean usemarker
By setting this value to true, the API will return a `marker` field that can be passed as a parameter to this endpoint to get the next page of the response.
public String marker
This requires `usemarker` to be set to `true`.
public EnumWrapper<GetTrashedItemsQueryParamsDirectionField> direction
public EnumWrapper<GetTrashedItemsQueryParamsSortField> sort
Items are always sorted by their `type` first, with folders listed before files, and files listed before web links.
This parameter is not supported when using marker-based pagination.
public GetTrashedItemsQueryParams()
protected GetTrashedItemsQueryParams(GetTrashedItemsQueryParams.Builder builder)
public Boolean getUsemarker()
public EnumWrapper<GetTrashedItemsQueryParamsDirectionField> getDirection()
public EnumWrapper<GetTrashedItemsQueryParamsSortField> getSort()