Package com.dropbox.core.v2.sharing
Class ListFileMembersBuilder
- java.lang.Object
-
- com.dropbox.core.v2.sharing.ListFileMembersBuilder
-
public class ListFileMembersBuilder extends java.lang.Object
The request builder returned byDbxUserSharingRequests.listFileMembersBuilder(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 SharedFileMembers
start()
Issues the request.ListFileMembersBuilder
withActions(java.util.List<MemberAction> actions)
Set value for optional field.ListFileMembersBuilder
withIncludeInherited(java.lang.Boolean includeInherited)
Set value for optional field.ListFileMembersBuilder
withLimit(java.lang.Long limit)
Set value for optional field.
-
-
-
Method Detail
-
withActions
public ListFileMembersBuilder withActions(java.util.List<MemberAction> actions)
Set value for optional field.- Parameters:
actions
- The actions for which to return permissions on a member. Must not contain anull
item.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withIncludeInherited
public ListFileMembersBuilder withIncludeInherited(java.lang.Boolean includeInherited)
Set value for optional field.If left unset or set to
null
, defaults totrue
.- Parameters:
includeInherited
- Whether to include members who only have access from a parent shared folder. Defaults totrue
when set tonull
.- Returns:
- this builder
-
withLimit
public ListFileMembersBuilder withLimit(java.lang.Long limit)
Set value for optional field.If left unset or set to
null
, defaults to100L
.- Parameters:
limit
- Number of members to return max per query. Defaults to 100 if no limit is specified. Must be greater than or equal to 1 and be less than or equal to 300. Defaults to100L
when set tonull
.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
start
public SharedFileMembers start() throws ListFileMembersErrorException, DbxException
Issues the request.
-
-