Package com.dropbox.core.v2.files
Class ListRevisionsBuilder
- java.lang.Object
- 
- com.dropbox.core.v2.files.ListRevisionsBuilder
 
- 
 public class ListRevisionsBuilder extends java.lang.ObjectThe request builder returned byDbxUserFilesRequests.listRevisionsBuilder(java.lang.String).Use this class to set optional request parameters and complete the request. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRevisionsResultstart()Issues the request.ListRevisionsBuilderwithLimit(java.lang.Long limit)Set value for optional field.ListRevisionsBuilderwithMode(ListRevisionsMode mode)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withModepublic ListRevisionsBuilder withMode(ListRevisionsMode mode) Set value for optional field.If left unset or set to null, defaults toListRevisionsMode.PATH.- Parameters:
- 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.PATHwhen set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withLimitpublic ListRevisionsBuilder withLimit(java.lang.Long limit) Set value for optional field.If left unset or set to null, defaults to10L.- Parameters:
- 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- 10Lwhen set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
startpublic ListRevisionsResult start() throws ListRevisionsErrorException, DbxException Issues the request.
 
- 
 
-