public class ListFolderBuilder extends Object
DbxUserFilesRequests.listFolderBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
ListFolderResult |
start()
Issues the request.
|
ListFolderBuilder |
withIncludeDeleted(Boolean includeDeleted)
Set value for optional field.
|
ListFolderBuilder |
withIncludeHasExplicitSharedMembers(Boolean includeHasExplicitSharedMembers)
Set value for optional field.
|
ListFolderBuilder |
withIncludeMediaInfo(Boolean includeMediaInfo)
Set value for optional field.
|
ListFolderBuilder |
withRecursive(Boolean recursive)
Set value for optional field.
|
public ListFolderBuilder withRecursive(Boolean recursive)
If left unset or set to null
, defaults to false
.
recursive
- If true, the list folder operation will be applied
recursively to all subfolders and the response will contain contents
of all subfolders. Defaults to false
when set to null
.public ListFolderBuilder withIncludeMediaInfo(Boolean includeMediaInfo)
If left unset or set to null
, defaults to false
.
includeMediaInfo
- If true, FileMetadata.getMediaInfo()
is
set for photo and video. Defaults to false
when set to null
.public ListFolderBuilder withIncludeDeleted(Boolean includeDeleted)
If left unset or set to null
, defaults to false
.
includeDeleted
- If true, the results will include entries for
files and folders that used to exist but were deleted. Defaults to
false
when set to null
.public ListFolderBuilder withIncludeHasExplicitSharedMembers(Boolean includeHasExplicitSharedMembers)
If left unset or set to null
, defaults to false
.
includeHasExplicitSharedMembers
- If true, the results will include
a flag for each file indicating whether or not that file has any
explicit members. Defaults to false
when set to null
.public ListFolderResult start() throws ListFolderErrorException, DbxException
ListFolderErrorException
DbxException