Class CreateEmailCampaignRecipients

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

public class CreateEmailCampaignRecipients extends Object
Segment ids and List ids to include/exclude from campaign
  • Field Details

  • Constructor Details

    • CreateEmailCampaignRecipients

      public CreateEmailCampaignRecipients()
  • Method Details

    • exclusionListIds

      public CreateEmailCampaignRecipients exclusionListIds(@Nullable List<Long> exclusionListIds)
    • addExclusionListIdsItem

      public CreateEmailCampaignRecipients addExclusionListIdsItem(Long exclusionListIdsItem)
    • getExclusionListIds

      @Nullable public List<Long> getExclusionListIds()
      List ids to exclude from the campaign
      Returns:
      exclusionListIds
    • setExclusionListIds

      public void setExclusionListIds(@Nullable List<Long> exclusionListIds)
    • listIds

      public CreateEmailCampaignRecipients listIds(@Nullable List<Long> listIds)
    • addListIdsItem

      public CreateEmailCampaignRecipients addListIdsItem(Long listIdsItem)
    • getListIds

      @Nullable public List<Long> getListIds()
      **Mandatory if scheduledAt is not empty**. List Ids to send the campaign to
      Returns:
      listIds
    • setListIds

      public void setListIds(@Nullable List<Long> listIds)
    • segmentIds

      public CreateEmailCampaignRecipients segmentIds(@Nullable List<Long> segmentIds)
    • addSegmentIdsItem

      public CreateEmailCampaignRecipients addSegmentIdsItem(Long segmentIdsItem)
    • getSegmentIds

      @Nullable public List<Long> getSegmentIds()
      **Mandatory if listIds are not used**. Segment ids to send the campaign to.
      Returns:
      segmentIds
    • setSegmentIds

      public void setSegmentIds(@Nullable List<Long> segmentIds)
    • exclusionSegmentIds

      public CreateEmailCampaignRecipients exclusionSegmentIds(@Nullable List<Long> exclusionSegmentIds)
    • addExclusionSegmentIdsItem

      public CreateEmailCampaignRecipients addExclusionSegmentIdsItem(Long exclusionSegmentIdsItem)
    • getExclusionSegmentIds

      @Nullable public List<Long> getExclusionSegmentIds()
      Segment ids which have to be excluded from a campaign.
      Returns:
      exclusionSegmentIds
    • setExclusionSegmentIds

      public void setExclusionSegmentIds(@Nullable List<Long> exclusionSegmentIds)
    • 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