public class PaperPublishedLinkChangePermissionDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
eventUuid |
protected java.lang.String |
newPermissionLevel |
protected java.lang.String |
previousPermissionLevel |
Constructor and Description |
---|
PaperPublishedLinkChangePermissionDetails(java.lang.String eventUuid,
java.lang.String newPermissionLevel,
java.lang.String previousPermissionLevel)
Changed permissions for published doc.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEventUuid()
Event unique identifier.
|
java.lang.String |
getNewPermissionLevel()
New permission level.
|
java.lang.String |
getPreviousPermissionLevel()
Previous permission level.
|
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 eventUuid
protected final java.lang.String newPermissionLevel
protected final java.lang.String previousPermissionLevel
public PaperPublishedLinkChangePermissionDetails(java.lang.String eventUuid, java.lang.String newPermissionLevel, java.lang.String previousPermissionLevel)
eventUuid
- Event unique identifier. Must not be null
.newPermissionLevel
- New permission level. Must not be null
.previousPermissionLevel
- Previous permission level. Must not be
null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getEventUuid()
null
.public java.lang.String getNewPermissionLevel()
null
.public java.lang.String getPreviousPermissionLevel()
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.