Package software.xdev.brevo.model
Class UpdateEmailCampaignSender
java.lang.Object
software.xdev.brevo.model.UpdateEmailCampaignSender
Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example: **{\"name\":\"xyz\", \"email\":\"example@abc.com\"}** **{\"name\":\"xyz\", \"id\":123}**
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEmail()Sender email from which the campaign emails are sentgetId()Select the sender for the campaign on the basis of sender id.getName()Sender Name from which the campaign emails are sentinthashCode()voidvoidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_EMAIL
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
-
Constructor Details
-
UpdateEmailCampaignSender
public UpdateEmailCampaignSender()
-
-
Method Details
-
name
-
getName
Sender Name from which the campaign emails are sent- Returns:
- name
-
setName
-
email
-
getEmail
Sender email from which the campaign emails are sent- Returns:
-
setEmail
-
id
-
getId
Select the sender for the campaign on the basis of sender id. **In order to select a sender with specific pool of IP’s, dedicated ip users shall pass id (instead of email)**.- Returns:
- id
-
setId
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-