Class GetSmtpTemplateOverview

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

public class GetSmtpTemplateOverview extends Object
GetSmtpTemplateOverview
  • Field Details

  • Constructor Details

    • GetSmtpTemplateOverview

      public GetSmtpTemplateOverview()
  • Method Details

    • id

      public GetSmtpTemplateOverview id(@Nonnull Long id)
    • getId

      @Nonnull public Long getId()
      ID of the template
      Returns:
      id
    • setId

      public void setId(@Nonnull Long id)
    • name

      public GetSmtpTemplateOverview name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Name of the template
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • subject

      public GetSmtpTemplateOverview subject(@Nonnull String subject)
    • getSubject

      @Nonnull public String getSubject()
      Subject of the template
      Returns:
      subject
    • setSubject

      public void setSubject(@Nonnull String subject)
    • isActive

      public GetSmtpTemplateOverview isActive(@Nonnull Boolean isActive)
    • getIsActive

      @Nonnull public Boolean getIsActive()
      Status of template (true=active, false=inactive)
      Returns:
      isActive
    • setIsActive

      public void setIsActive(@Nonnull Boolean isActive)
    • testSent

      public GetSmtpTemplateOverview testSent(@Nonnull Boolean testSent)
    • getTestSent

      @Nonnull public Boolean getTestSent()
      Status of test sending for the template (true=test email has been sent, false=test email has not been sent)
      Returns:
      testSent
    • setTestSent

      public void setTestSent(@Nonnull Boolean testSent)
    • sender

      public GetSmtpTemplateOverview sender(@Nonnull GetSmtpTemplateOverviewSender sender)
    • getSender

      @Nonnull public GetSmtpTemplateOverviewSender getSender()
      Get sender
      Returns:
      sender
    • setSender

      public void setSender(@Nonnull GetSmtpTemplateOverviewSender sender)
    • replyTo

      public GetSmtpTemplateOverview replyTo(@Nonnull String replyTo)
    • getReplyTo

      @Nonnull public String getReplyTo()
      Email defined as the \"Reply to\" for the template
      Returns:
      replyTo
    • setReplyTo

      public void setReplyTo(@Nonnull String replyTo)
    • toField

      public GetSmtpTemplateOverview toField(@Nonnull String toField)
    • getToField

      @Nonnull public String getToField()
      Customisation of the \"to\" field for the template
      Returns:
      toField
    • setToField

      public void setToField(@Nonnull String toField)
    • tag

      public GetSmtpTemplateOverview tag(@Nonnull String tag)
    • getTag

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

      public void setTag(@Nonnull String tag)
    • htmlContent

      public GetSmtpTemplateOverview htmlContent(@Nonnull String htmlContent)
    • getHtmlContent

      @Nonnull public String getHtmlContent()
      HTML content of the template
      Returns:
      htmlContent
    • setHtmlContent

      public void setHtmlContent(@Nonnull String htmlContent)
    • createdAt

      public GetSmtpTemplateOverview createdAt(@Nonnull String createdAt)
    • getCreatedAt

      @Nonnull public String getCreatedAt()
      Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull String createdAt)
    • modifiedAt

      public GetSmtpTemplateOverview modifiedAt(@Nonnull String modifiedAt)
    • getModifiedAt

      @Nonnull public String getModifiedAt()
      Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(@Nonnull String modifiedAt)
    • doiTemplate

      public GetSmtpTemplateOverview doiTemplate(@Nullable Boolean doiTemplate)
    • getDoiTemplate

      @Nullable public Boolean getDoiTemplate()
      It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call.
      Returns:
      doiTemplate
    • setDoiTemplate

      public void setDoiTemplate(@Nullable Boolean doiTemplate)
    • 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