Package com.dropbox.core.v2.team
Class MembersListV2Builder
- java.lang.Object
-
- com.dropbox.core.v2.team.MembersListV2Builder
-
public class MembersListV2Builder extends java.lang.Object
The request builder returned byDbxTeamTeamRequests.membersListV2Builder()
.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 MembersListV2Result
start()
Issues the request.MembersListV2Builder
withIncludeRemoved(java.lang.Boolean includeRemoved)
Set value for optional field.MembersListV2Builder
withLimit(java.lang.Long limit)
Set value for optional field.
-
-
-
Method Detail
-
withLimit
public MembersListV2Builder 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 MembersListV2Builder 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 MembersListV2Result start() throws MembersListErrorException, DbxException
Issues the request.
-
-