public class MembersListBuilder extends 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(Boolean includeRemoved)
Set value for optional field.
|
MembersListBuilder |
withLimit(Long limit)
Set value for optional field.
|
public MembersListBuilder withLimit(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
.IllegalArgumentException
- If any argument does not meet its
preconditions.public MembersListBuilder withIncludeRemoved(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