Class MailgunAllOf
- java.lang.Object
-
- com.zendesk.sunshine_conversations_client.model.MailgunAllOf
-
public class MailgunAllOf extends java.lang.ObjectMailgunAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSON_PROPERTY_API_KEYstatic java.lang.StringJSON_PROPERTY_DOMAINstatic java.lang.StringJSON_PROPERTY_FROM_ADDRESSstatic java.lang.StringJSON_PROPERTY_HIDE_UNSUBSCRIBE_LINKstatic java.lang.StringJSON_PROPERTY_INCOMING_ADDRESSstatic java.lang.StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description MailgunAllOf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailgunAllOfapiKey(java.lang.String apiKey)MailgunAllOfdomain(java.lang.String domain)booleanequals(java.lang.Object o)MailgunAllOffromAddress(java.lang.String fromAddress)java.lang.StringgetApiKey()The public API key of your Mailgun account.java.lang.StringgetDomain()The domain used to relay email.java.lang.StringgetFromAddress()Email address to use as the From and Reply-To address if it must be different from incomingAddress.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>getFromAddress_JsonNullable()java.lang.BooleangetHideUnsubscribeLink()A boolean value indicating whether the unsubscribe link should be omitted from outgoing emails.java.lang.StringgetIncomingAddress()Sunshine Conversations will receive all emails sent to this address.java.lang.StringgetType()To configure a Mailgun integration, visit the API Keys tab in the settings page of the Mailgun dashboard and copy your active API key.inthashCode()MailgunAllOfhideUnsubscribeLink(java.lang.Boolean hideUnsubscribeLink)MailgunAllOfincomingAddress(java.lang.String incomingAddress)voidsetApiKey(java.lang.String apiKey)voidsetDomain(java.lang.String domain)voidsetFromAddress(java.lang.String fromAddress)voidsetFromAddress_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> fromAddress)voidsetHideUnsubscribeLink(java.lang.Boolean hideUnsubscribeLink)voidsetIncomingAddress(java.lang.String incomingAddress)voidsetType(java.lang.String type)java.lang.StringtoString()MailgunAllOftype(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_API_KEY
public static final java.lang.String JSON_PROPERTY_API_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DOMAIN
public static final java.lang.String JSON_PROPERTY_DOMAIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INCOMING_ADDRESS
public static final java.lang.String JSON_PROPERTY_INCOMING_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HIDE_UNSUBSCRIBE_LINK
public static final java.lang.String JSON_PROPERTY_HIDE_UNSUBSCRIBE_LINK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FROM_ADDRESS
public static final java.lang.String JSON_PROPERTY_FROM_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public MailgunAllOf type(java.lang.String type)
-
getType
@Nullable public java.lang.String getType()
To configure a Mailgun integration, visit the API Keys tab in the settings page of the Mailgun dashboard and copy your active API key. Call the Create Integration endpoint with your API Key, a domain you have configured in Mailgun, and the incoming address you would like to use. Must have the same domain as the one specified in the domain parameter.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
apiKey
public MailgunAllOf apiKey(java.lang.String apiKey)
-
getApiKey
public java.lang.String getApiKey()
The public API key of your Mailgun account.- Returns:
- apiKey
-
setApiKey
public void setApiKey(java.lang.String apiKey)
-
domain
public MailgunAllOf domain(java.lang.String domain)
-
getDomain
public java.lang.String getDomain()
The domain used to relay email. This domain must be configured and verified in your Mailgun account.- Returns:
- domain
-
setDomain
public void setDomain(java.lang.String domain)
-
incomingAddress
public MailgunAllOf incomingAddress(java.lang.String incomingAddress)
-
getIncomingAddress
public java.lang.String getIncomingAddress()
Sunshine Conversations will receive all emails sent to this address. It will also be used as the Reply-To address.- Returns:
- incomingAddress
-
setIncomingAddress
public void setIncomingAddress(java.lang.String incomingAddress)
-
hideUnsubscribeLink
public MailgunAllOf hideUnsubscribeLink(java.lang.Boolean hideUnsubscribeLink)
-
getHideUnsubscribeLink
@Nullable public java.lang.Boolean getHideUnsubscribeLink()
A boolean value indicating whether the unsubscribe link should be omitted from outgoing emails. When enabled, it is expected that the business is providing the user a way to unsubscribe by some other means. By default, the unsubscribe link will be included in all outgoing emails.- Returns:
- hideUnsubscribeLink
-
setHideUnsubscribeLink
public void setHideUnsubscribeLink(java.lang.Boolean hideUnsubscribeLink)
-
fromAddress
public MailgunAllOf fromAddress(java.lang.String fromAddress)
-
getFromAddress
@Nullable public java.lang.String getFromAddress()
Email address to use as the From and Reply-To address if it must be different from incomingAddress. Only use this option if the address that you supply is configured to forward emails to the incomingAddress, otherwise user replies will be lost. You must also make sure that the domain is properly configured as a mail provider so as to not be flagged as spam by the user’s email client. May be unset with null.- Returns:
- fromAddress
-
getFromAddress_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> getFromAddress_JsonNullable()
-
setFromAddress_JsonNullable
public void setFromAddress_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> fromAddress)
-
setFromAddress
public void setFromAddress(java.lang.String fromAddress)
-
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
-
-