Package software.xdev.brevo.model
Class UpdateSmtpTemplateSender
java.lang.Object
software.xdev.brevo.model.UpdateSmtpTemplateSender
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()Email of the sendergetId()Select the sender for the template on the basis of sender id.getName()Name of the senderinthashCode()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
-
UpdateSmtpTemplateSender
public UpdateSmtpTemplateSender()
-
-
Method Details
-
name
-
getName
Name of the sender- Returns:
- name
-
setName
-
email
-
getEmail
Email of the sender- Returns:
-
setEmail
-
id
-
getId
Select the sender for the template 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
-