public class GetFolderByIdQueryParams extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GetFolderByIdQueryParams.Builder |
| Modifier and Type | Field and Description |
|---|---|
EnumWrapper<GetFolderByIdQueryParamsDirectionField> |
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.
|
Long |
offset
The offset of the item at which to begin the response.
|
EnumWrapper<GetFolderByIdQueryParamsSortField> |
sort
Defines the **second** attribute by which items are sorted.
|
| Modifier | Constructor and Description |
|---|---|
|
GetFolderByIdQueryParams() |
protected |
GetFolderByIdQueryParams(GetFolderByIdQueryParams.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
EnumWrapper<GetFolderByIdQueryParamsDirectionField> |
getDirection() |
List<String> |
getFields() |
Long |
getLimit() |
Long |
getOffset() |
EnumWrapper<GetFolderByIdQueryParamsSortField> |
getSort() |
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.
Additionally this field can be used to query any metadata applied to the file by specifying the `metadata` field as well as the scope and key of the template to retrieve, for example `?fields=metadata.enterprise_12345.contractTemplate`.
public EnumWrapper<GetFolderByIdQueryParamsSortField> sort
The folder type affects the way the items are sorted:
* **Standard folder**: Items are always sorted by their `type` first, with folders listed before files, and files listed before web links.
* **Root folder**: This parameter is not supported for marker-based pagination on the root folder
(the folder with an `id` of `0`).
* **Shared folder with parent path to the associated folder visible to the collaborator**: Items are always sorted by their `type` first, with folders listed before files, and files listed before web links.
public EnumWrapper<GetFolderByIdQueryParamsDirectionField> direction
public Long offset
Offset-based pagination is not guaranteed to work reliably for high offset values and may fail for large datasets. In those cases, reduce the number of items in the folder (for example, by restructuring the folder into smaller subfolders) before retrying the request.
public GetFolderByIdQueryParams()
protected GetFolderByIdQueryParams(GetFolderByIdQueryParams.Builder builder)
public EnumWrapper<GetFolderByIdQueryParamsSortField> getSort()
public EnumWrapper<GetFolderByIdQueryParamsDirectionField> getDirection()