Package com.dropbox.core.v2.sharing
Class FolderPolicy
java.lang.Object
com.dropbox.core.v2.sharing.FolderPolicy
A set of policies governing membership and privileges for a shared folder.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AclUpdatePolicyprotected final MemberPolicyprotected final MemberPolicyprotected final SharedLinkPolicyprotected final ViewerInfoPolicy -
Constructor Summary
ConstructorsConstructorDescriptionFolderPolicy(AclUpdatePolicy aclUpdatePolicy, SharedLinkPolicy sharedLinkPolicy) A set of policies governing membership and privileges for a shared folder.FolderPolicy(AclUpdatePolicy aclUpdatePolicy, SharedLinkPolicy sharedLinkPolicy, MemberPolicy memberPolicy, MemberPolicy resolvedMemberPolicy, ViewerInfoPolicy viewerInfoPolicy) A set of policies governing membership and privileges for a shared folder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWho can add and remove members from this shared folder.Who can be a member of this shared folder, as set on the folder itself.Who can be a member of this shared folder, taking into account both the folder and the team-wide policy.Who links can be shared with.Who can enable/disable viewer info for this shared folder.inthashCode()static FolderPolicy.BuildernewBuilder(AclUpdatePolicy aclUpdatePolicy, SharedLinkPolicy sharedLinkPolicy) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
memberPolicy
-
resolvedMemberPolicy
-
aclUpdatePolicy
-
viewerInfoPolicy
-
-
Constructor Details
-
Method Details
-
getAclUpdatePolicy
Who can add and remove members from this shared folder.- Returns:
- value for this field, never
null.
-
getMemberPolicy
Who can be a member of this shared folder, as set on the folder itself. The effective policy may differ from this value if the team-wide policy is more restrictive. Present only if the folder is owned by a team.- Returns:
- value for this field, or
nullif not present.
-
getResolvedMemberPolicy
Who can be a member of this shared folder, taking into account both the folder and the team-wide policy. This value may differ from that of member_policy if the team-wide policy is more restrictive than the folder policy. Present only if the folder is owned by a team.- Returns:
- value for this field, or
nullif not present.
-
getViewerInfoPolicy
Who can enable/disable viewer info for this shared folder.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-