public class ListRevisionsBuilder
extends java.lang.Object
DbxUserFilesRequests.listRevisionsBuilder(java.lang.String).
Use this class to set optional request parameters and complete the request.
| Modifier and Type | Method and Description |
|---|---|
ListRevisionsResult |
start()
Issues the request.
|
ListRevisionsBuilder |
withLimit(java.lang.Long limit)
Set value for optional field.
|
ListRevisionsBuilder |
withMode(ListRevisionsMode mode)
Set value for optional field.
|
public ListRevisionsBuilder withMode(ListRevisionsMode mode)
If left unset or set to null, defaults to ListRevisionsMode.PATH.
mode - Determines the behavior of the API in listing the revisions
for a given file path or id. Must not be null. Defaults to
ListRevisionsMode.PATH when set to null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public ListRevisionsBuilder withLimit(java.lang.Long limit)
If left unset or set to null, defaults to 10L.
limit - The maximum number of revision entries returned. Must be
greater than or equal to 1 and be less than or equal to 100. Defaults
to 10L when set to null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public ListRevisionsResult start() throws ListRevisionsErrorException, DbxException