Class MatchCriteriaMailgun

  • All Implemented Interfaces:
    MatchCriteria

    public class MatchCriteriaMailgun
    extends java.lang.Object
    implements MatchCriteria
    MatchCriteriaMailgun
    • 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
      • JSON_PROPERTY_ADDRESS

        public static final java.lang.String JSON_PROPERTY_ADDRESS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_SUBJECT

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

      • MatchCriteriaMailgun

        public MatchCriteriaMailgun()
    • Method Detail

      • getType

        public java.lang.String getType()
        The channel type.
        Specified by:
        getType in interface MatchCriteria
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • 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)
      • getAddress

        public java.lang.String getAddress()
        The user’s email address.
        Returns:
        address
      • setAddress

        public void setAddress​(java.lang.String address)
      • getSubject

        @Nullable
        public java.lang.String getSubject()
        May be specified to set the subject for the outgoing email.
        Returns:
        subject
      • setSubject

        public void setSubject​(java.lang.String subject)
      • 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