public class DocsUsersListBuilder
extends java.lang.Object
DbxUserPaperRequests.docsUsersListBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and 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.
|
public DocsUsersListBuilder withLimit(java.lang.Integer limit)
If left unset or set to null
, defaults to 1000
.
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 to 1000
when set to null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public DocsUsersListBuilder withFilterBy(UserOnPaperDocFilter filterBy)
If left unset or set to null
, defaults to UserOnPaperDocFilter.SHARED
.
filterBy
- Specify this attribute if you want to obtain users that
have already accessed the Paper doc. Must not be null
.
Defaults to UserOnPaperDocFilter.SHARED
when set to null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListUsersOnPaperDocResponse start() throws DocLookupErrorException, DbxException
DocLookupErrorException
DbxException