public class ParentFolderAccessInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
folderName |
protected java.lang.String |
path |
protected java.util.List<MemberPermission> |
permissions |
protected java.lang.String |
sharedFolderId |
Constructor and Description |
---|
ParentFolderAccessInfo(java.lang.String folderName,
java.lang.String sharedFolderId,
java.util.List<MemberPermission> permissions,
java.lang.String path)
Contains information about a parent folder that a member has access to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFolderName()
Display name for the folder.
|
java.lang.String |
getPath()
The full path to the parent shared folder relative to the acting user's
root.
|
java.util.List<MemberPermission> |
getPermissions()
The user's permissions for the parent shared folder.
|
java.lang.String |
getSharedFolderId()
The identifier of the parent shared folder.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String folderName
protected final java.lang.String sharedFolderId
protected final java.util.List<MemberPermission> permissions
protected final java.lang.String path
public ParentFolderAccessInfo(java.lang.String folderName, java.lang.String sharedFolderId, java.util.List<MemberPermission> permissions, java.lang.String path)
folderName
- Display name for the folder. Must not be null
.sharedFolderId
- The identifier of the parent shared folder. Must
match pattern "[-_0-9a-zA-Z:]+
" and not be null
.permissions
- The user's permissions for the parent shared folder.
Must not contain a null
item and not be null
.path
- The full path to the parent shared folder relative to the
acting user's root. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getFolderName()
null
.public java.lang.String getSharedFolderId()
null
.public java.util.List<MemberPermission> getPermissions()
null
.public java.lang.String getPath()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.