Package com.dropbox.core.v2.paper
Class UserInfoWithPermissionLevel
- java.lang.Object
- 
- com.dropbox.core.v2.paper.UserInfoWithPermissionLevel
 
- 
 public class UserInfoWithPermissionLevel extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected PaperDocPermissionLevelpermissionLevelprotected UserInfouser
 - 
Constructor SummaryConstructors Constructor Description UserInfoWithPermissionLevel(UserInfo user, PaperDocPermissionLevel permissionLevel)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)PaperDocPermissionLevelgetPermissionLevel()Permission level for the user.UserInfogetUser()User shared on the Paper doc.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
userprotected final UserInfo user 
 - 
permissionLevelprotected final PaperDocPermissionLevel permissionLevel 
 
- 
 - 
Constructor Detail- 
UserInfoWithPermissionLevelpublic UserInfoWithPermissionLevel(UserInfo user, PaperDocPermissionLevel permissionLevel) - Parameters:
- user- User shared on the Paper doc. Must not be- null.
- permissionLevel- Permission level for the user. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getUserpublic UserInfo getUser() User shared on the Paper doc.- Returns:
- value for this field, never null.
 
 - 
getPermissionLevelpublic PaperDocPermissionLevel getPermissionLevel() Permission level for the user.- Returns:
- value for this field, never null.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String 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
 
 
- 
 
-