Class UpdateSmtpTemplate

java.lang.Object
software.xdev.brevo.model.UpdateSmtpTemplate

public class UpdateSmtpTemplate extends Object
UpdateSmtpTemplate
  • Field Details

  • Constructor Details

    • UpdateSmtpTemplate

      public UpdateSmtpTemplate()
  • Method Details

    • tag

      public UpdateSmtpTemplate tag(@Nullable String tag)
    • getTag

      @Nullable public String getTag()
      Tag of the template
      Returns:
      tag
    • setTag

      public void setTag(@Nullable String tag)
    • sender

      public UpdateSmtpTemplate sender(@Nullable UpdateSmtpTemplateSender sender)
    • getSender

      @Nullable public UpdateSmtpTemplateSender getSender()
      Get sender
      Returns:
      sender
    • setSender

      public void setSender(@Nullable UpdateSmtpTemplateSender sender)
    • templateName

      public UpdateSmtpTemplate templateName(@Nullable String templateName)
    • getTemplateName

      @Nullable public String getTemplateName()
      Name of the template
      Returns:
      templateName
    • setTemplateName

      public void setTemplateName(@Nullable String templateName)
    • htmlContent

      public UpdateSmtpTemplate htmlContent(@Nullable String htmlContent)
    • getHtmlContent

      @Nullable public String 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

      public void setHtmlContent(@Nullable String htmlContent)
    • htmlUrl

      public UpdateSmtpTemplate htmlUrl(@Nullable String htmlUrl)
    • getHtmlUrl

      @Nullable public String getHtmlUrl()
      **Required if htmlContent is empty**. URL to the body of the email (HTML)
      Returns:
      htmlUrl
    • setHtmlUrl

      public void setHtmlUrl(@Nullable String htmlUrl)
    • subject

      public UpdateSmtpTemplate subject(@Nullable String subject)
    • getSubject

      @Nullable public String getSubject()
      Subject of the email
      Returns:
      subject
    • setSubject

      public void setSubject(@Nullable String subject)
    • replyTo

      public UpdateSmtpTemplate replyTo(@Nullable String replyTo)
    • getReplyTo

      @Nullable public String getReplyTo()
      Email on which campaign recipients will be able to reply to
      Returns:
      replyTo
    • setReplyTo

      public void setReplyTo(@Nullable String replyTo)
    • toField

      public UpdateSmtpTemplate toField(@Nullable String toField)
    • getToField

      @Nullable public String 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

      public void setToField(@Nullable String toField)
    • attachmentUrl

      public UpdateSmtpTemplate attachmentUrl(@Nullable String attachmentUrl)
    • getAttachmentUrl

      @Nullable public String 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

      public void setAttachmentUrl(@Nullable String attachmentUrl)
    • isActive

      public UpdateSmtpTemplate isActive(@Nullable Boolean isActive)
    • getIsActive

      @Nullable public Boolean getIsActive()
      Status of the template. isActive = false means template is inactive, isActive = true means template is active
      Returns:
      isActive
    • setIsActive

      public void setIsActive(@Nullable Boolean isActive)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string