Package com.dropbox.core.v2.teamlog
Class PaperDocOwnershipChangedDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.PaperDocOwnershipChangedDetails
-
public class PaperDocOwnershipChangedDetails extends java.lang.Object
Transferred ownership of Paper doc.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
eventUuid
protected java.lang.String
newOwnerUserId
protected java.lang.String
oldOwnerUserId
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
PaperDocOwnershipChangedDetails
public PaperDocOwnershipChangedDetails(@Nonnull java.lang.String eventUuid, @Nonnull java.lang.String newOwnerUserId, @Nullable java.lang.String oldOwnerUserId)
Transferred ownership of Paper doc.- Parameters:
eventUuid
- Event unique identifier. Must not benull
.newOwnerUserId
- New owner. Must have length of at least 40, have length of at most 40, and not benull
.oldOwnerUserId
- Previous owner. Must have length of at least 40 and have length of at most 40.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
PaperDocOwnershipChangedDetails
public PaperDocOwnershipChangedDetails(@Nonnull java.lang.String eventUuid, @Nonnull java.lang.String newOwnerUserId)
Transferred ownership of Paper doc.The default values for unset fields will be used.
- Parameters:
eventUuid
- Event unique identifier. Must not benull
.newOwnerUserId
- New owner. Must have length of at least 40, have length of at most 40, and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getEventUuid
@Nonnull public java.lang.String getEventUuid()
Event unique identifier.- Returns:
- value for this field, never
null
.
-
getNewOwnerUserId
@Nonnull public java.lang.String getNewOwnerUserId()
New owner.- Returns:
- value for this field, never
null
.
-
getOldOwnerUserId
@Nullable public java.lang.String getOldOwnerUserId()
Previous owner.- Returns:
- value for this field, or
null
if not present.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public 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
-
-