Package software.xdev.brevo.model
Class SendSmtpEmailMessageVersionsInner
java.lang.Object
software.xdev.brevo.model.SendSmtpEmailMessageVersionsInner
SendSmtpEmailMessageVersionsInner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBccItem(SendSmtpEmailBccInner bccItem) addCcItem(SendSmtpEmailCcInner ccItem) addToItem(SendSmtpEmailToInner toItem) bcc(List<SendSmtpEmailBccInner> bcc) cc(List<SendSmtpEmailCcInner> cc) booleangetBcc()List of email addresses and names (_optional_) of the recipients in bccgetCc()List of email addresses and names (_optional_) of the recipients in ccHTML body of the message.Pass the set of attributes to customize the template.Get replyToCustom subject specific to message versionPlain Text body of the message.getTo()List of email addresses and names (_optional_) of the recipients.inthashCode()htmlContent(String htmlContent) putParamsItem(String key, Object paramsItem) replyTo(SendSmtpEmailReplyTo replyTo) voidsetBcc(List<SendSmtpEmailBccInner> bcc) voidvoidsetHtmlContent(String htmlContent) voidvoidsetReplyTo(SendSmtpEmailReplyTo replyTo) voidsetSubject(String subject) voidsetTextContent(String textContent) voidtextContent(String textContent) to(List<SendSmtpEmailToInner> to) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_PARAMS
- See Also:
-
JSON_PROPERTY_BCC
- See Also:
-
JSON_PROPERTY_CC
- See Also:
-
JSON_PROPERTY_REPLY_TO
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_HTML_CONTENT
- See Also:
-
JSON_PROPERTY_TEXT_CONTENT
- See Also:
-
-
Constructor Details
-
SendSmtpEmailMessageVersionsInner
public SendSmtpEmailMessageVersionsInner()
-
-
Method Details
-
to
-
addToItem
-
getTo
List of email addresses and names (_optional_) of the recipients. For example, **[{\"name\":\"Jimmy\", \"email\":\"jimmy98@example.com\"}, {\"name\":\"Joe\", \"email\":\"joe@example.com\"}]**- Returns:
- to
-
setTo
-
params
-
putParamsItem
-
getParams
Pass the set of attributes to customize the template. For example, **{\"FNAME\":\"Joe\", \"LNAME\":\"Doe\"}**. It's **considered only if template is in New Template Language format**.- Returns:
- params
-
setParams
-
bcc
-
addBccItem
-
getBcc
List of email addresses and names (_optional_) of the recipients in bcc- Returns:
- bcc
-
setBcc
-
cc
-
addCcItem
-
getCc
List of email addresses and names (_optional_) of the recipients in cc- Returns:
- cc
-
setCc
-
replyTo
-
getReplyTo
Get replyTo- Returns:
- replyTo
-
setReplyTo
-
subject
-
getSubject
Custom subject specific to message version- Returns:
- subject
-
setSubject
-
htmlContent
-
getHtmlContent
HTML body of the message. **Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed**- Returns:
- htmlContent
-
setHtmlContent
-
textContent
-
getTextContent
Plain Text body of the message. **Ignored if 'templateId' is passed**- Returns:
- textContent
-
setTextContent
-
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
-