Package com.dropbox.core.v2.files
Class ListFolderGetLatestCursorBuilder
- java.lang.Object
-
- com.dropbox.core.v2.files.ListFolderGetLatestCursorBuilder
-
public class ListFolderGetLatestCursorBuilder extends java.lang.ObjectThe request builder returned byDbxUserFilesRequests.listFolderGetLatestCursorBuilder(java.lang.String).Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFolderGetLatestCursorResultstart()Issues the request.ListFolderGetLatestCursorBuilderwithIncludeDeleted(java.lang.Boolean includeDeleted)Set value for optional field.ListFolderGetLatestCursorBuilderwithIncludeHasExplicitSharedMembers(java.lang.Boolean includeHasExplicitSharedMembers)Set value for optional field.ListFolderGetLatestCursorBuilderwithIncludeMediaInfo(java.lang.Boolean includeMediaInfo)Set value for optional field.ListFolderGetLatestCursorBuilderwithIncludeMountedFolders(java.lang.Boolean includeMountedFolders)Set value for optional field.ListFolderGetLatestCursorBuilderwithIncludeNonDownloadableFiles(java.lang.Boolean includeNonDownloadableFiles)Set value for optional field.ListFolderGetLatestCursorBuilderwithIncludePropertyGroups(TemplateFilterBase includePropertyGroups)Set value for optional field.ListFolderGetLatestCursorBuilderwithLimit(java.lang.Long limit)Set value for optional field.ListFolderGetLatestCursorBuilderwithRecursive(java.lang.Boolean recursive)Set value for optional field.ListFolderGetLatestCursorBuilderwithSharedLink(SharedLink sharedLink)Set value for optional field.
-
-
-
Method Detail
-
withRecursive
public ListFolderGetLatestCursorBuilder withRecursive(java.lang.Boolean recursive)
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
recursive- If true, the list folder operation will be applied recursively to all subfolders and the response will contain contents of all subfolders. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withIncludeMediaInfo
public ListFolderGetLatestCursorBuilder withIncludeMediaInfo(java.lang.Boolean includeMediaInfo)
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
includeMediaInfo- If true,FileMetadata.getMediaInfo()is set for photo and video. This parameter will no longer have an effect starting December 2, 2019. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withIncludeDeleted
public ListFolderGetLatestCursorBuilder withIncludeDeleted(java.lang.Boolean includeDeleted)
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
includeDeleted- If true, the results will include entries for files and folders that used to exist but were deleted. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withIncludeHasExplicitSharedMembers
public ListFolderGetLatestCursorBuilder withIncludeHasExplicitSharedMembers(java.lang.Boolean includeHasExplicitSharedMembers)
Set value for optional field.If left unset or set to
null, defaults tofalse.- Parameters:
includeHasExplicitSharedMembers- If true, the results will include a flag for each file indicating whether or not that file has any explicit members. Defaults tofalsewhen set tonull.- Returns:
- this builder
-
withIncludeMountedFolders
public ListFolderGetLatestCursorBuilder withIncludeMountedFolders(java.lang.Boolean includeMountedFolders)
Set value for optional field.If left unset or set to
null, defaults totrue.- Parameters:
includeMountedFolders- If true, the results will include entries under mounted folders which includes app folder, shared folder and team folder. Defaults totruewhen set tonull.- Returns:
- this builder
-
withLimit
public ListFolderGetLatestCursorBuilder withLimit(java.lang.Long limit)
Set value for optional field.- Parameters:
limit- The maximum number of results to return per request. Note: This is an approximate number and there can be slightly more entries returned in some cases. Must be greater than or equal to 1 and be less than or equal to 2000.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
withSharedLink
public ListFolderGetLatestCursorBuilder withSharedLink(SharedLink sharedLink)
Set value for optional field.- Parameters:
sharedLink- A shared link to list the contents of. If the link is password-protected, the password must be provided. If this field is present,ListFolderArg.getPath()will be relative to root of the shared link. Only non-recursive mode is supported for shared link.- Returns:
- this builder
-
withIncludePropertyGroups
public ListFolderGetLatestCursorBuilder withIncludePropertyGroups(TemplateFilterBase includePropertyGroups)
Set value for optional field.- Parameters:
includePropertyGroups- If set to a valid list of template IDs,FileMetadata.getPropertyGroups()is set if there exists property data associated with the file and each of the listed templates.- Returns:
- this builder
-
withIncludeNonDownloadableFiles
public ListFolderGetLatestCursorBuilder withIncludeNonDownloadableFiles(java.lang.Boolean includeNonDownloadableFiles)
Set value for optional field.If left unset or set to
null, defaults totrue.- Parameters:
includeNonDownloadableFiles- If true, include files that are not downloadable, i.e. Google Docs. Defaults totruewhen set tonull.- Returns:
- this builder
-
start
public ListFolderGetLatestCursorResult start() throws ListFolderErrorException, DbxException
Issues the request.- Throws:
ListFolderErrorExceptionDbxException
-
-