Package com.dropbox.core.v2.sharing
Class ParentFolderAccessInfo
java.lang.Object
com.dropbox.core.v2.sharing.ParentFolderAccessInfo
Contains information about a parent folder that a member has access to.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final List<MemberPermission> protected final String -
Constructor Summary
ConstructorsConstructorDescriptionParentFolderAccessInfo(String folderName, String sharedFolderId, List<MemberPermission> permissions, String path) Contains information about a parent folder that a member has access to. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDisplay name for the folder.getPath()The full path to the parent shared folder relative to the acting user's root.The user's permissions for the parent shared folder.The identifier of the parent shared folder.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
folderName
-
permissions
-
path
-
-
Constructor Details
-
ParentFolderAccessInfo
public ParentFolderAccessInfo(@Nonnull String folderName, @Nonnull String sharedFolderId, @Nonnull List<MemberPermission> permissions, @Nonnull String path) Contains information about a parent folder that a member has access to.- Parameters:
folderName- Display name for the folder. Must not benull.sharedFolderId- The identifier of the parent shared folder. Must match pattern "[-_0-9a-zA-Z:]+" and not benull.permissions- The user's permissions for the parent shared folder. Must not contain anullitem and not benull.path- The full path to the parent shared folder relative to the acting user's root. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getFolderName
Display name for the folder.- Returns:
- value for this field, never
null.
-
getPermissions
The user's permissions for the parent shared folder.- Returns:
- value for this field, never
null.
-
getPath
The full path to the parent shared folder relative to the acting user's root.- Returns:
- value for this field, never
null.
-
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
-