Package software.xdev.brevo.model
Class UpdateSmtpTemplate
java.lang.Object
software.xdev.brevo.model.UpdateSmtpTemplate
UpdateSmtpTemplate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentUrl(String attachmentUrl) booleanAbsolute url of the attachment (**no local file**).**Required if htmlUrl is empty**.**Required if htmlContent is empty**.Status of the template. isActive = false means template is inactive, isActive = true means template is activeEmail on which campaign recipients will be able to reply toGet senderSubject of the emailgetTag()Tag of the templateName of the templateTo personalize the **To** Field.inthashCode()htmlContent(String htmlContent) sender(UpdateSmtpTemplateSender sender) voidsetAttachmentUrl(String attachmentUrl) voidsetHtmlContent(String htmlContent) voidsetHtmlUrl(String htmlUrl) voidsetIsActive(Boolean isActive) voidsetReplyTo(String replyTo) voidsetSender(UpdateSmtpTemplateSender 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
-
UpdateSmtpTemplate
public UpdateSmtpTemplate()
-
-
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
**Required if htmlUrl is empty**. If the template is designed using Drag & Drop editor via HTML content, then the design page will not have Drag & Drop editor access for that template. Body of the message (HTML must have more than 10 characters)- Returns:
- htmlContent
-
setHtmlContent
-
htmlUrl
-
getHtmlUrl
**Required if htmlContent is empty**. URL to the body of the email (HTML)- Returns:
- htmlUrl
-
setHtmlUrl
-
subject
-
getSubject
Subject of the email- 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**). Extensions 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 the template. isActive = false means template is inactive, isActive = true means template is active- 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
-