Class CreateWhatsAppCampaignRecipients

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

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

  • Constructor Details

    • CreateWhatsAppCampaignRecipients

      public CreateWhatsAppCampaignRecipients()
  • Method Details

    • excludedListIds

      public CreateWhatsAppCampaignRecipients excludedListIds(@Nullable List<Long> excludedListIds)
    • addExcludedListIdsItem

      public CreateWhatsAppCampaignRecipients addExcludedListIdsItem(Long excludedListIdsItem)
    • getExcludedListIds

      @Nullable public List<Long> getExcludedListIds()
      List ids to exclude from the campaign
      Returns:
      excludedListIds
    • setExcludedListIds

      public void setExcludedListIds(@Nullable List<Long> excludedListIds)
    • listIds

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

      public CreateWhatsAppCampaignRecipients 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)
    • segments

      public CreateWhatsAppCampaignRecipients segments(@Nullable List<Long> segments)
    • addSegmentsItem

      public CreateWhatsAppCampaignRecipients addSegmentsItem(Long segmentsItem)
    • getSegments

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

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