Class MatchCriteriaBase


  • public class MatchCriteriaBase
    extends java.lang.Object
    The set of criteria used to determine the user's identity on a third-party channel.
    • 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
    • Constructor Detail

      • MatchCriteriaBase

        public MatchCriteriaBase()
    • Method Detail

      • 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)
      • 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:
        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