Class 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.
    • Field Detail

      • eventUuid

        protected final java.lang.String eventUuid
      • oldOwnerUserId

        protected final java.lang.String oldOwnerUserId
      • newOwnerUserId

        protected final java.lang.String newOwnerUserId
    • Constructor Detail

      • PaperDocOwnershipChangedDetails

        public PaperDocOwnershipChangedDetails​(java.lang.String eventUuid,
                                               java.lang.String newOwnerUserId,
                                               java.lang.String oldOwnerUserId)
        Transferred ownership of Paper doc.
        Parameters:
        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.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • PaperDocOwnershipChangedDetails

        public PaperDocOwnershipChangedDetails​(java.lang.String eventUuid,
                                               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 be null.
        newOwnerUserId - New owner. Must have length of at least 40, have length of at most 40, and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getEventUuid

        public java.lang.String getEventUuid()
        Event unique identifier.
        Returns:
        value for this field, never null.
      • getNewOwnerUserId

        public java.lang.String getNewOwnerUserId()
        New owner.
        Returns:
        value for this field, never null.
      • getOldOwnerUserId

        public java.lang.String getOldOwnerUserId()
        Previous owner.
        Returns:
        value for this field, or null if not present.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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