public class PaperDocOwnershipChangedDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
eventUuid |
protected java.lang.String |
newOwnerUserId |
protected java.lang.String |
oldOwnerUserId |
Constructor and Description |
---|
PaperDocOwnershipChangedDetails(java.lang.String eventUuid,
java.lang.String newOwnerUserId)
Transferred ownership of Paper doc.
|
PaperDocOwnershipChangedDetails(java.lang.String eventUuid,
java.lang.String newOwnerUserId,
java.lang.String oldOwnerUserId)
Transferred ownership of Paper doc.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEventUuid()
Event unique identifier.
|
java.lang.String |
getNewOwnerUserId()
New owner.
|
java.lang.String |
getOldOwnerUserId()
Previous owner.
|
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 oldOwnerUserId
protected final java.lang.String newOwnerUserId
public PaperDocOwnershipChangedDetails(java.lang.String eventUuid, java.lang.String newOwnerUserId, java.lang.String oldOwnerUserId)
eventUuid
- Event unique identifier. Must not be null
.newOwnerUserId
- New owner. Must have length of at least 40, have
length of at most 40, and not be null
.oldOwnerUserId
- Previous owner. Must have length of at least 40
and have length of at most 40.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PaperDocOwnershipChangedDetails(java.lang.String eventUuid, java.lang.String newOwnerUserId)
The default values for unset fields will be used.
eventUuid
- Event unique identifier. Must not be null
.newOwnerUserId
- New owner. Must have length of at least 40, have
length of at most 40, and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getEventUuid()
null
.public java.lang.String getNewOwnerUserId()
null
.public java.lang.String getOldOwnerUserId()
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.