Class MatchCriteriaBase
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.MatchCriteriaBase
-
public class MatchCriteriaBase extends java.lang.ObjectThe set of criteria used to determine the user's identity on a third-party channel.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_INTEGRATION_IDstatic java.lang.StringJSON_PROPERTY_PRIMARYstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description MatchCriteriaBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetIntegrationId()The ID of the integration to link.java.lang.BooleangetPrimary()Flag indicating whether the client will become the primary for the target conversation once linking is complete.java.lang.StringgetType()The channel type.inthashCode()MatchCriteriaBaseintegrationId(java.lang.String integrationId)MatchCriteriaBaseprimary(java.lang.Boolean primary)voidsetIntegrationId(java.lang.String integrationId)voidsetPrimary(java.lang.Boolean primary)voidsetType(java.lang.String type)java.lang.StringtoString()MatchCriteriaBasetype(java.lang.String type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final java.lang.String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTEGRATION_ID
public static final java.lang.String JSON_PROPERTY_INTEGRATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PRIMARY
public static final java.lang.String JSON_PROPERTY_PRIMARY
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public MatchCriteriaBase type(java.lang.String type)
-
getType
public java.lang.String getType()
The channel type.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
integrationId
public MatchCriteriaBase integrationId(java.lang.String integrationId)
-
getIntegrationId
public java.lang.String getIntegrationId()
The ID of the integration to link. Must match the provided type.- Returns:
- integrationId
-
setIntegrationId
public void setIntegrationId(java.lang.String integrationId)
-
primary
public MatchCriteriaBase primary(java.lang.Boolean primary)
-
getPrimary
@Nullable public java.lang.Boolean getPrimary()
Flag indicating whether the client will become the primary for the target conversation once linking is complete.- Returns:
- primary
-
setPrimary
public void setPrimary(java.lang.Boolean primary)
-
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
-
-