public class InviteeInfoWithPermissionLevel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected InviteeInfo |
invitee |
protected PaperDocPermissionLevel |
permissionLevel |
Constructor and Description |
---|
InviteeInfoWithPermissionLevel(InviteeInfo invitee,
PaperDocPermissionLevel permissionLevel) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
InviteeInfo |
getInvitee()
Email address invited to the Paper doc.
|
PaperDocPermissionLevel |
getPermissionLevel()
Permission level for the invitee.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final InviteeInfo invitee
protected final PaperDocPermissionLevel permissionLevel
public InviteeInfoWithPermissionLevel(InviteeInfo invitee, PaperDocPermissionLevel permissionLevel)
invitee
- Email address invited to the Paper doc. Must not be
null
.permissionLevel
- Permission level for the invitee. Must not be
null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public InviteeInfo getInvitee()
null
.public PaperDocPermissionLevel getPermissionLevel()
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.