Package software.xdev.brevo.model
Class CreateWhatsAppCampaignRecipients
java.lang.Object
software.xdev.brevo.model.CreateWhatsAppCampaignRecipients
Segment ids and List ids to include/exclude from campaign
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExcludedListIdsItem(Long excludedListIdsItem) addListIdsItem(Long listIdsItem) addSegmentsItem(Long segmentsItem) booleanexcludedListIds(List<Long> excludedListIds) List ids to exclude from the campaign**Mandatory if scheduledAt is not empty**.**Mandatory if listIds are not used**.inthashCode()voidsetExcludedListIds(List<Long> excludedListIds) voidsetListIds(List<Long> listIds) voidsetSegments(List<Long> segments) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_EXCLUDED_LIST_IDS
- See Also:
-
JSON_PROPERTY_LIST_IDS
- See Also:
-
JSON_PROPERTY_SEGMENTS
- See Also:
-
-
Constructor Details
-
CreateWhatsAppCampaignRecipients
public CreateWhatsAppCampaignRecipients()
-
-
Method Details
-
excludedListIds
-
addExcludedListIdsItem
-
getExcludedListIds
List ids to exclude from the campaign- Returns:
- excludedListIds
-
setExcludedListIds
-
listIds
-
addListIdsItem
-
getListIds
**Mandatory if scheduledAt is not empty**. List Ids to send the campaign to- Returns:
- listIds
-
setListIds
-
segments
-
addSegmentsItem
-
getSegments
**Mandatory if listIds are not used**. Segment ids to send the campaign to.- Returns:
- segments
-
setSegments
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-