Class UserMergeEventAllOfPayloadMergedClients
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.UserMergeEventAllOfPayloadMergedClients
-
public class UserMergeEventAllOfPayloadMergedClients extends java.lang.ObjectContains 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 Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_DISCARDEDstatic java.lang.StringJSON_PROPERTY_SURVIVING
-
Constructor Summary
Constructors Constructor Description UserMergeEventAllOfPayloadMergedClients()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserMergeEventAllOfPayloadMergedClientsdiscarded(Client discarded)booleanequals(java.lang.Object o)ClientgetDiscarded()The pending client that was discarded during the merge event.ClientgetSurviving()The client that already existed before the merge started.inthashCode()voidsetDiscarded(Client discarded)voidsetSurviving(Client surviving)UserMergeEventAllOfPayloadMergedClientssurviving(Client surviving)java.lang.StringtoString()
-
-
-
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
-
-
Method Detail
-
surviving
public UserMergeEventAllOfPayloadMergedClients surviving(Client surviving)
-
getSurviving
@Nullable public Client getSurviving()
The client that already existed before the merge started.- Returns:
- surviving
-
setSurviving
public void setSurviving(Client surviving)
-
discarded
public UserMergeEventAllOfPayloadMergedClients discarded(Client discarded)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-