public class ParentFolderAccessInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
folderName |
protected List<MemberPermission> |
permissions |
protected String |
sharedFolderId |
Constructor and Description |
---|
ParentFolderAccessInfo(String folderName,
String sharedFolderId,
List<MemberPermission> permissions)
Contains information about a parent folder that a member has access to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFolderName()
Display name for the folder.
|
List<MemberPermission> |
getPermissions()
The user's permissions for the parent shared folder.
|
String |
getSharedFolderId()
The identifier of the parent shared folder.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final String folderName
protected final String sharedFolderId
protected final List<MemberPermission> permissions
public ParentFolderAccessInfo(String folderName, String sharedFolderId, List<MemberPermission> permissions)
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
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getFolderName()
null
.public String getSharedFolderId()
null
.public List<MemberPermission> getPermissions()
null
.public String toStringMultiline()
The returned String may contain newlines.