Package com.dropbox.core.v2.paper
Class DocsUsersListBuilder
- java.lang.Object
-
- com.dropbox.core.v2.paper.DocsUsersListBuilder
-
public class DocsUsersListBuilder extends java.lang.Object
The request builder returned byDbxUserPaperRequests.docsUsersListBuilder(java.lang.String)
.Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListUsersOnPaperDocResponse
start()
Issues the request.DocsUsersListBuilder
withFilterBy(UserOnPaperDocFilter filterBy)
Set value for optional field.DocsUsersListBuilder
withLimit(java.lang.Integer limit)
Set value for optional field.
-
-
-
Method Detail
-
withLimit
public DocsUsersListBuilder 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 users 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 to1000
when set tonull
.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withFilterBy
public DocsUsersListBuilder withFilterBy(UserOnPaperDocFilter filterBy)
Set value for optional field.If left unset or set to
null
, defaults toUserOnPaperDocFilter.SHARED
.- Parameters:
filterBy
- Specify this attribute if you want to obtain users that have already accessed the Paper doc. Must not benull
. Defaults toUserOnPaperDocFilter.SHARED
when set tonull
.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
start
public ListUsersOnPaperDocResponse start() throws DocLookupErrorException, DbxException
Issues the request.- Throws:
DocLookupErrorException
DbxException
-
-