Package com.dropbox.core.v2.team
Class MembersListBuilder
- java.lang.Object
-
- com.dropbox.core.v2.team.MembersListBuilder
-
public class MembersListBuilder extends java.lang.Object
The request builder returned byDbxTeamTeamRequests.membersListBuilder()
.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 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.
-
-
-
Method Detail
-
withLimit
public MembersListBuilder withLimit(java.lang.Long limit)
Set value for optional field.If left unset or set to
null
, defaults to1000L
.- Parameters:
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 to1000L
when set tonull
.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withIncludeRemoved
public MembersListBuilder withIncludeRemoved(java.lang.Boolean includeRemoved)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
includeRemoved
- Whether to return removed members. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
start
public MembersListResult start() throws MembersListErrorException, DbxException
Issues the request.
-
-