public class PaperFolderChangeSubscriptionDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
eventUuid |
protected java.lang.String |
newSubscriptionLevel |
protected java.lang.String |
previousSubscriptionLevel |
Constructor and Description |
---|
PaperFolderChangeSubscriptionDetails(java.lang.String eventUuid,
java.lang.String newSubscriptionLevel)
Followed/unfollowed Paper folder.
|
PaperFolderChangeSubscriptionDetails(java.lang.String eventUuid,
java.lang.String newSubscriptionLevel,
java.lang.String previousSubscriptionLevel)
Followed/unfollowed Paper folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEventUuid()
Event unique identifier.
|
java.lang.String |
getNewSubscriptionLevel()
New folder subscription level.
|
java.lang.String |
getPreviousSubscriptionLevel()
Previous folder subscription 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 newSubscriptionLevel
protected final java.lang.String previousSubscriptionLevel
public PaperFolderChangeSubscriptionDetails(java.lang.String eventUuid, java.lang.String newSubscriptionLevel, java.lang.String previousSubscriptionLevel)
eventUuid
- Event unique identifier. Must not be null
.newSubscriptionLevel
- New folder subscription level. Must not be
null
.previousSubscriptionLevel
- Previous folder subscription level.
Might be missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PaperFolderChangeSubscriptionDetails(java.lang.String eventUuid, java.lang.String newSubscriptionLevel)
The default values for unset fields will be used.
eventUuid
- Event unique identifier. Must not be null
.newSubscriptionLevel
- New folder subscription 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 getNewSubscriptionLevel()
null
.public java.lang.String getPreviousSubscriptionLevel()
null
if not present.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.