Class UpdateEmailCampaignRecipients

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

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

  • Constructor Details

    • UpdateEmailCampaignRecipients

      public UpdateEmailCampaignRecipients()
  • Method Details

    • exclusionListIds

      public UpdateEmailCampaignRecipients exclusionListIds(List<Long> exclusionListIds)
    • addExclusionListIdsItem

      public UpdateEmailCampaignRecipients addExclusionListIdsItem(Long exclusionListIdsItem)
    • getExclusionListIds

      @Nullable public List<Long> getExclusionListIds()
      List ids which have to be excluded from a campaign
      Returns:
      exclusionListIds
    • setExclusionListIds

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

      public UpdateEmailCampaignRecipients listIds(List<Long> listIds)
    • addListIdsItem

      public UpdateEmailCampaignRecipients addListIdsItem(Long listIdsItem)
    • getListIds

      @Nullable public List<Long> getListIds()
      Lists Ids to send the campaign to. **Campaign should only be updated with listIds if listIds were used to create it. REQUIRED if already not present in campaign and scheduledAt is not empty**
      Returns:
      listIds
    • setListIds

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

      public UpdateEmailCampaignRecipients segmentIds(List<Long> segmentIds)
    • addSegmentIdsItem

      public UpdateEmailCampaignRecipients addSegmentIdsItem(Long segmentIdsItem)
    • getSegmentIds

      @Nullable public List<Long> getSegmentIds()
      **Mandatory if listIds are not used. Campaign should only be updated with segmentIds if segmentIds were used to create it.** Segment ids to send the campaign to.
      Returns:
      segmentIds
    • setSegmentIds

      public void setSegmentIds(List<Long> segmentIds)
    • 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