Class UserMergeEventAllOfPayloadMergedClients


  • public class UserMergeEventAllOfPayloadMergedClients
    extends java.lang.Object
    Contains information about the clients that were merged together as a result of the operation, if applicable. If no clients were merged, this property is omitted.
    • Field Detail

      • JSON_PROPERTY_SURVIVING

        public static final java.lang.String JSON_PROPERTY_SURVIVING
        See Also:
        Constant Field Values
      • JSON_PROPERTY_DISCARDED

        public static final java.lang.String JSON_PROPERTY_DISCARDED
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserMergeEventAllOfPayloadMergedClients

        public UserMergeEventAllOfPayloadMergedClients()
    • Method Detail

      • getSurviving

        @Nullable
        public Client getSurviving()
        The client that already existed before the merge started.
        Returns:
        surviving
      • setSurviving

        public void setSurviving​(Client surviving)
      • getDiscarded

        @Nullable
        public Client getDiscarded()
        The pending client that was discarded during the merge event.
        Returns:
        discarded
      • setDiscarded

        public void setDiscarded​(Client discarded)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object