Package software.xdev.brevo.model
Class CreateSmtpTemplate
java.lang.Object
software.xdev.brevo.model.CreateSmtpTemplate
CreateSmtpTemplate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentUrl(String attachmentUrl) booleanAbsolute url of the attachment (**no local file**).Body of the message (HTML version).Url which contents the body of the email message.Status of template. isActive = true means template is active and isActive = false means template is inactiveEmail on which campaign recipients will be able to reply toGet senderSubject of the templategetTag()Tag of the templateName of the templateTo personalize the **To** Field.inthashCode()htmlContent(String htmlContent) sender(CreateSmtpTemplateSender sender) voidsetAttachmentUrl(String attachmentUrl) voidsetHtmlContent(String htmlContent) voidsetHtmlUrl(String htmlUrl) voidsetIsActive(Boolean isActive) voidsetReplyTo(String replyTo) voidsetSender(CreateSmtpTemplateSender sender) voidsetSubject(String subject) voidvoidsetTemplateName(String templateName) voidsetToField(String toField) templateName(String templateName) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TAG
- See Also:
-
JSON_PROPERTY_SENDER
- See Also:
-
JSON_PROPERTY_TEMPLATE_NAME
- See Also:
-
JSON_PROPERTY_HTML_CONTENT
- See Also:
-
JSON_PROPERTY_HTML_URL
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_REPLY_TO
- See Also:
-
JSON_PROPERTY_TO_FIELD
- See Also:
-
JSON_PROPERTY_ATTACHMENT_URL
- See Also:
-
JSON_PROPERTY_IS_ACTIVE
- See Also:
-
-
Constructor Details
-
CreateSmtpTemplate
public CreateSmtpTemplate()
-
-
Method Details
-
tag
-
getTag
Tag of the template- Returns:
- tag
-
setTag
-
sender
-
getSender
Get sender- Returns:
- sender
-
setSender
-
templateName
-
getTemplateName
Name of the template- Returns:
- templateName
-
setTemplateName
-
htmlContent
-
getHtmlContent
Body of the message (HTML version). The field must have more than 10 characters. **REQUIRED if htmlUrl is empty**- Returns:
- htmlContent
-
setHtmlContent
-
htmlUrl
-
getHtmlUrl
Url which contents the body of the email message. REQUIRED if htmlContent is empty- Returns:
- htmlUrl
-
setHtmlUrl
-
subject
-
getSubject
Subject of the template- Returns:
- subject
-
setSubject
-
replyTo
-
getReplyTo
Email on which campaign recipients will be able to reply to- Returns:
- replyTo
-
setReplyTo
-
toField
-
getToField
To personalize the **To** Field. If you want to include the first name and last name of your recipient, add **{FNAME} {LNAME}**. These contact attributes must already exist in your Brevo account. If input parameter **params** used please use **{{contact.FNAME}} {{contact.LNAME}}** for personalization- Returns:
- toField
-
setToField
-
attachmentUrl
-
getAttachmentUrl
Absolute url of the attachment (**no local file**). Extension allowed: #### xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps'- Returns:
- attachmentUrl
-
setAttachmentUrl
-
isActive
-
getIsActive
Status of template. isActive = true means template is active and isActive = false means template is inactive- Returns:
- isActive
-
setIsActive
-
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
-