Package com.dropbox.core.v2.sharing
Class ListReceivedFilesBuilder
- java.lang.Object
- 
- com.dropbox.core.v2.sharing.ListReceivedFilesBuilder
 
- 
 public class ListReceivedFilesBuilder extends java.lang.ObjectThe request builder returned byDbxUserSharingRequests.listReceivedFilesBuilder().Use this class to set optional request parameters and complete the request. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFilesResultstart()Issues the request.ListReceivedFilesBuilderwithActions(java.util.List<FileAction> actions)Set value for optional field.ListReceivedFilesBuilderwithLimit(java.lang.Long limit)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withLimitpublic ListReceivedFilesBuilder withLimit(java.lang.Long limit) Set value for optional field.If left unset or set to null, defaults to100L.- Parameters:
- limit- Number of files to return max per query. Defaults to 100 if no limit is specified. Must be greater than or equal to 1 and be less than or equal to 300. Defaults to- 100Lwhen set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withActionspublic ListReceivedFilesBuilder withActions(java.util.List<FileAction> actions) Set value for optional field.- Parameters:
- actions- A list of `FileAction`s corresponding to `FilePermission`s that should appear in the response's- SharedFileMetadata.getPermissions()field describing the actions the authenticated user can perform on the file. Must not contain a- nullitem.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
startpublic ListFilesResult start() throws SharingUserErrorException, DbxException Issues the request.
 
- 
 
-