public class MembersListBuilder
extends java.lang.Object
DbxTeamTeamRequests.membersListBuilder()
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
MembersListResult |
start()
Issues the request.
|
MembersListBuilder |
withIncludeRemoved(java.lang.Boolean includeRemoved)
Set value for optional field.
|
MembersListBuilder |
withLimit(java.lang.Long limit)
Set value for optional field.
|
public MembersListBuilder withLimit(java.lang.Long limit)
If left unset or set to null
, defaults to 1000L
.
limit
- Number of results to return per call. Must be greater than
or equal to 1 and be less than or equal to 1000. Defaults to 1000L
when set to null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersListBuilder withIncludeRemoved(java.lang.Boolean includeRemoved)
If left unset or set to null
, defaults to false
.
includeRemoved
- Whether to return removed members. Defaults to
false
when set to null
.public MembersListResult start() throws MembersListErrorException, DbxException