Class MatchCriteriaMailgun
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.MatchCriteriaMailgun
-
- All Implemented Interfaces:
MatchCriteria
public class MatchCriteriaMailgun extends java.lang.Object implements MatchCriteria
MatchCriteriaMailgun
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_ADDRESSstatic java.lang.StringJSON_PROPERTY_INTEGRATION_IDstatic java.lang.StringJSON_PROPERTY_PRIMARYstatic java.lang.StringJSON_PROPERTY_SUBJECTstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description MatchCriteriaMailgun()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchCriteriaMailgunaddress(java.lang.String address)booleanequals(java.lang.Object o)java.lang.StringgetAddress()The user’s email address.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.StringgetSubject()May be specified to set the subject for the outgoing email.java.lang.StringgetType()The channel type.inthashCode()MatchCriteriaMailgunintegrationId(java.lang.String integrationId)MatchCriteriaMailgunprimary(java.lang.Boolean primary)voidsetAddress(java.lang.String address)voidsetIntegrationId(java.lang.String integrationId)voidsetPrimary(java.lang.Boolean primary)voidsetSubject(java.lang.String subject)voidsetType(java.lang.String type)MatchCriteriaMailgunsubject(java.lang.String subject)java.lang.StringtoString()MatchCriteriaMailguntype(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
-
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
-
-
Method Detail
-
type
public MatchCriteriaMailgun type(java.lang.String type)
-
getType
public java.lang.String getType()
The channel type.- Specified by:
getTypein interfaceMatchCriteria- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
integrationId
public MatchCriteriaMailgun 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 MatchCriteriaMailgun 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)
-
address
public MatchCriteriaMailgun address(java.lang.String address)
-
getAddress
public java.lang.String getAddress()
The user’s email address.- Returns:
- address
-
setAddress
public void setAddress(java.lang.String address)
-
subject
public MatchCriteriaMailgun subject(java.lang.String subject)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-