Package com.dropbox.core.v2.sharing
Class ListFoldersBuilder
- java.lang.Object
- 
- com.dropbox.core.v2.sharing.ListFoldersBuilder
 
- 
 public class ListFoldersBuilder extends java.lang.ObjectThe request builder returned byDbxUserSharingRequests.listFoldersBuilder().Use this class to set optional request parameters and complete the request. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFoldersResultstart()Issues the request.ListFoldersBuilderwithActions(java.util.List<FolderAction> actions)Set value for optional field.ListFoldersBuilderwithLimit(java.lang.Long limit)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withLimitpublic ListFoldersBuilder withLimit(java.lang.Long limit) Set value for optional field.If left unset or set to null, defaults to1000L.- Parameters:
- limit- The maximum number of results to return per request. Must be greater than or equal to 1 and be less than or equal to 1000. Defaults to- 1000Lwhen set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withActionspublic ListFoldersBuilder withActions(java.util.List<FolderAction> actions) Set value for optional field.- Parameters:
- actions- A list of `FolderAction`s corresponding to `FolderPermission`s that should appear in the response's- SharedFolderMetadata.getPermissions()field describing the actions the authenticated user can perform on the folder. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
startpublic ListFoldersResult start() throws DbxApiException, DbxException Issues the request.- Throws:
- DbxApiException
- DbxException
 
 
- 
 
-