public class ListReceivedFilesBuilder extends Object
DbxUserSharingRequests.listReceivedFilesBuilder()
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
ListFilesResult |
start()
Issues the request.
|
ListReceivedFilesBuilder |
withActions(List<FileAction> actions)
Set value for optional field.
|
ListReceivedFilesBuilder |
withLimit(Long limit)
Set value for optional field.
|
public ListReceivedFilesBuilder withLimit(Long limit)
If left unset or set to null
, defaults to 100L
.
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 100L
when set to null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListReceivedFilesBuilder withActions(List<FileAction> actions)
actions
- File actions to query. Must not contain a null
item.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFilesResult start() throws SharingUserErrorException, DbxException