Package com.dropbox.core.v2.paper
Class DocsListBuilder
- java.lang.Object
- 
- com.dropbox.core.v2.paper.DocsListBuilder
 
- 
 public class DocsListBuilder extends java.lang.ObjectThe request builder returned byDbxUserPaperRequests.docsListBuilder().Use this class to set optional request parameters and complete the request. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPaperDocsResponsestart()Issues the request.DocsListBuilderwithFilterBy(ListPaperDocsFilterBy filterBy)Set value for optional field.DocsListBuilderwithLimit(java.lang.Integer limit)Set value for optional field.DocsListBuilderwithSortBy(ListPaperDocsSortBy sortBy)Set value for optional field.DocsListBuilderwithSortOrder(ListPaperDocsSortOrder sortOrder)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withFilterBypublic DocsListBuilder withFilterBy(ListPaperDocsFilterBy filterBy) Set value for optional field.If left unset or set to null, defaults toListPaperDocsFilterBy.DOCS_ACCESSED.- Parameters:
- filterBy- Allows user to specify how the Paper docs should be filtered. Must not be- null. Defaults to- ListPaperDocsFilterBy.DOCS_ACCESSEDwhen set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withSortBypublic DocsListBuilder withSortBy(ListPaperDocsSortBy sortBy) Set value for optional field.If left unset or set to null, defaults toListPaperDocsSortBy.ACCESSED.- Parameters:
- sortBy- Allows user to specify how the Paper docs should be sorted. Must not be- null. Defaults to- ListPaperDocsSortBy.ACCESSEDwhen set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withSortOrderpublic DocsListBuilder withSortOrder(ListPaperDocsSortOrder sortOrder) Set value for optional field.If left unset or set to null, defaults toListPaperDocsSortOrder.ASCENDING.- Parameters:
- sortOrder- Allows user to specify the sort order of the result. Must not be- null. Defaults to- ListPaperDocsSortOrder.ASCENDINGwhen set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withLimitpublic DocsListBuilder withLimit(java.lang.Integer limit) Set value for optional field.If left unset or set to null, defaults to1000.- Parameters:
- limit- Size limit per batch. The maximum number of docs that can be retrieved per batch is 1000. Higher value results in invalid arguments error. Must be greater than or equal to 1 and be less than or equal to 1000. Defaults to- 1000when set to- null.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
startpublic ListPaperDocsResponse start() throws DbxApiException, DbxException Issues the request.- Throws:
- DbxApiException
- DbxException
 
 
- 
 
-