Class GetExtendedCampaignOverview

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

public class GetExtendedCampaignOverview extends Object
GetExtendedCampaignOverview
  • Field Details

  • Constructor Details

    • GetExtendedCampaignOverview

      public GetExtendedCampaignOverview()
  • Method Details

    • id

      public GetExtendedCampaignOverview id(@Nonnull Long id)
    • getId

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

      public void setId(@Nonnull Long id)
    • name

      public GetExtendedCampaignOverview name(@Nonnull String name)
    • getName

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

      public void setName(@Nonnull String name)
    • subject

      public GetExtendedCampaignOverview subject(@Nullable String subject)
    • getSubject

      @Nullable public String getSubject()
      Subject of the campaign. Only available if `abTesting` flag of the campaign is `false`
      Returns:
      subject
    • setSubject

      public void setSubject(@Nullable String subject)
    • previewText

      public GetExtendedCampaignOverview previewText(@Nullable String previewText)
    • getPreviewText

      @Nullable public String getPreviewText()
      Preview text or preheader of the email campaign
      Returns:
      previewText
    • setPreviewText

      public void setPreviewText(@Nullable String previewText)
    • type

    • getType

      @Nonnull public GetExtendedCampaignOverview.TypeEnum getType()
      Type of campaign
      Returns:
      type
    • setType

      public void setType(@Nonnull GetExtendedCampaignOverview.TypeEnum type)
    • status

    • getStatus

      @Nonnull public GetExtendedCampaignOverview.StatusEnum getStatus()
      Status of the campaign
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull GetExtendedCampaignOverview.StatusEnum status)
    • scheduledAt

      public GetExtendedCampaignOverview scheduledAt(@Nullable String scheduledAt)
    • getScheduledAt

      @Nullable public String getScheduledAt()
      UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)
      Returns:
      scheduledAt
    • setScheduledAt

      public void setScheduledAt(@Nullable String scheduledAt)
    • abTesting

      public GetExtendedCampaignOverview abTesting(@Nullable Boolean abTesting)
    • getAbTesting

      @Nullable public Boolean getAbTesting()
      Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled.
      Returns:
      abTesting
    • setAbTesting

      public void setAbTesting(@Nullable Boolean abTesting)
    • subjectA

      public GetExtendedCampaignOverview subjectA(@Nullable String subjectA)
    • getSubjectA

      @Nullable public String getSubjectA()
      Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true`
      Returns:
      subjectA
    • setSubjectA

      public void setSubjectA(@Nullable String subjectA)
    • subjectB

      public GetExtendedCampaignOverview subjectB(@Nullable String subjectB)
    • getSubjectB

      @Nullable public String getSubjectB()
      Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true`
      Returns:
      subjectB
    • setSubjectB

      public void setSubjectB(@Nullable String subjectB)
    • splitRule

      public GetExtendedCampaignOverview splitRule(@Nullable Integer splitRule)
    • getSplitRule

      @Nullable public Integer getSplitRule()
      The size of your ab-test groups. Only available if `abTesting` flag of the campaign is `true`
      Returns:
      splitRule
    • setSplitRule

      public void setSplitRule(@Nullable Integer splitRule)
    • winnerCriteria

      public GetExtendedCampaignOverview winnerCriteria(@Nullable String winnerCriteria)
    • getWinnerCriteria

      @Nullable public String getWinnerCriteria()
      Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true`
      Returns:
      winnerCriteria
    • setWinnerCriteria

      public void setWinnerCriteria(@Nullable String winnerCriteria)
    • winnerDelay

      public GetExtendedCampaignOverview winnerDelay(@Nullable Integer winnerDelay)
    • getWinnerDelay

      @Nullable public Integer getWinnerDelay()
      The duration of the test in hours at the end of which the winning version will be sent. Only available if `abTesting` flag of the campaign is `true`
      Returns:
      winnerDelay
    • setWinnerDelay

      public void setWinnerDelay(@Nullable Integer winnerDelay)
    • sendAtBestTime

      public GetExtendedCampaignOverview sendAtBestTime(@Nullable Boolean sendAtBestTime)
    • getSendAtBestTime

      @Nullable public Boolean getSendAtBestTime()
      It is true if you have chosen to send your campaign at best time, otherwise it is false
      Returns:
      sendAtBestTime
    • setSendAtBestTime

      public void setSendAtBestTime(@Nullable Boolean sendAtBestTime)
    • utmCampaignValue

      public GetExtendedCampaignOverview utmCampaignValue(@Nullable String utmCampaignValue)
    • getUtmCampaignValue

      @Nullable public String getUtmCampaignValue()
      utm parameter associated with campaign
      Returns:
      utmCampaignValue
    • setUtmCampaignValue

      public void setUtmCampaignValue(@Nullable String utmCampaignValue)
    • utmSource

      public GetExtendedCampaignOverview utmSource(@Nullable String utmSource)
    • getUtmSource

      @Nullable public String getUtmSource()
      Get utmSource
      Returns:
      utmSource
    • setUtmSource

      public void setUtmSource(@Nullable String utmSource)
    • utmMedium

      public GetExtendedCampaignOverview utmMedium(@Nullable String utmMedium)
    • getUtmMedium

      @Nullable public String getUtmMedium()
      Get utmMedium
      Returns:
      utmMedium
    • setUtmMedium

      public void setUtmMedium(@Nullable String utmMedium)
    • utmIDActive

      public GetExtendedCampaignOverview utmIDActive(@Nullable Boolean utmIDActive)
    • getUtmIDActive

      @Nullable public Boolean getUtmIDActive()
      utm id activate
      Returns:
      utmIDActive
    • setUtmIDActive

      public void setUtmIDActive(@Nullable Boolean utmIDActive)
    • testSent

      public GetExtendedCampaignOverview testSent(@Nonnull Boolean testSent)
    • getTestSent

      @Nonnull public Boolean getTestSent()
      Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent)
      Returns:
      testSent
    • setTestSent

      public void setTestSent(@Nonnull Boolean testSent)
    • header

      public GetExtendedCampaignOverview header(@Nonnull String header)
    • getHeader

      @Nonnull public String getHeader()
      Header of the campaign
      Returns:
      header
    • setHeader

      public void setHeader(@Nonnull String header)
    • footer

      public GetExtendedCampaignOverview footer(@Nonnull String footer)
    • getFooter

      @Nonnull public String getFooter()
      Footer of the campaign
      Returns:
      footer
    • setFooter

      public void setFooter(@Nonnull String footer)
    • sender

    • getSender

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

      public void setSender(@Nonnull GetExtendedCampaignOverviewAllOfSender sender)
    • replyTo

      public GetExtendedCampaignOverview replyTo(@Nonnull String replyTo)
    • getReplyTo

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

      public void setReplyTo(@Nonnull String replyTo)
    • toField

      public GetExtendedCampaignOverview toField(@Nullable String toField)
    • getToField

      @Nullable public String getToField()
      Customisation of the \"to\" field of the campaign
      Returns:
      toField
    • setToField

      public void setToField(@Nullable String toField)
    • htmlContent

      public GetExtendedCampaignOverview htmlContent(@Nonnull String htmlContent)
    • getHtmlContent

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

      public void setHtmlContent(@Nonnull String htmlContent)
    • shareLink

      public GetExtendedCampaignOverview shareLink(@Nullable String shareLink)
    • getShareLink

      @Nullable public String getShareLink()
      Link to share the campaign on social medias
      Returns:
      shareLink
    • setShareLink

      public void setShareLink(@Nullable String shareLink)
    • tag

      public GetExtendedCampaignOverview tag(@Nullable String tag)
    • getTag

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

      public void setTag(@Nullable String tag)
    • createdAt

      public GetExtendedCampaignOverview createdAt(@Nonnull String createdAt)
    • getCreatedAt

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

      public void setCreatedAt(@Nonnull String createdAt)
    • modifiedAt

      public GetExtendedCampaignOverview modifiedAt(@Nonnull String modifiedAt)
    • getModifiedAt

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

      public void setModifiedAt(@Nonnull String modifiedAt)
    • inlineImageActivation

      public GetExtendedCampaignOverview inlineImageActivation(@Nullable Boolean inlineImageActivation)
    • getInlineImageActivation

      @Nullable public Boolean getInlineImageActivation()
      Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email.
      Returns:
      inlineImageActivation
    • setInlineImageActivation

      public void setInlineImageActivation(@Nullable Boolean inlineImageActivation)
    • mirrorActive

      public GetExtendedCampaignOverview mirrorActive(@Nullable Boolean mirrorActive)
    • getMirrorActive

      @Nullable public Boolean getMirrorActive()
      Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign
      Returns:
      mirrorActive
    • setMirrorActive

      public void setMirrorActive(@Nullable Boolean mirrorActive)
    • recurring

      public GetExtendedCampaignOverview recurring(@Nullable Boolean recurring)
    • getRecurring

      @Nullable public Boolean getRecurring()
      FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times
      Returns:
      recurring
    • setRecurring

      public void setRecurring(@Nullable Boolean recurring)
    • sentDate

      public GetExtendedCampaignOverview sentDate(@Nullable String sentDate)
    • getSentDate

      @Nullable public String getSentDate()
      Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent'
      Returns:
      sentDate
    • setSentDate

      public void setSentDate(@Nullable String sentDate)
    • returnBounce

      public GetExtendedCampaignOverview returnBounce(@Nullable Long returnBounce)
    • getReturnBounce

      @Nullable public Long getReturnBounce()
      Total number of non-delivered campaigns for a particular campaign id.
      Returns:
      returnBounce
    • setReturnBounce

      public void setReturnBounce(@Nullable Long returnBounce)
    • 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