Package com.dropbox.core.v2.sharing
Class ListFolderMembersBuilder
- java.lang.Object
-
- com.dropbox.core.v2.sharing.ListFolderMembersBuilder
-
public class ListFolderMembersBuilder extends java.lang.Object
The request builder returned byDbxUserSharingRequests.listFolderMembersBuilder(java.lang.String)
.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 SharedFolderMembers
start()
Issues the request.ListFolderMembersBuilder
withActions(java.util.List<MemberAction> actions)
Set value for optional field.ListFolderMembersBuilder
withLimit(java.lang.Long limit)
Set value for optional field.
-
-
-
Method Detail
-
withActions
public ListFolderMembersBuilder withActions(java.util.List<MemberAction> actions)
Set value for optional field.- Parameters:
actions
- This is a list indicating whether each returned member will include a boolean valueMemberPermission.getAllow()
that describes whether the current user can perform the MemberAction on the member. Must not contain anull
item.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withLimit
public ListFolderMembersBuilder withLimit(java.lang.Long limit)
Set value for optional field.If left unset or set to
null
, defaults to1000L
.- Parameters:
limit
- The maximum number of results that include members, groups and invitees to return per request. 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.
-
start
public SharedFolderMembers start() throws SharedFolderAccessErrorException, DbxException
Issues the request.
-
-