Package software.xdev.brevo.model
Class CreateEmailCampaignRecipients
java.lang.Object
software.xdev.brevo.model.CreateEmailCampaignRecipients
Segment ids and List ids to include/exclude from campaign
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExclusionListIdsItem(Long exclusionListIdsItem) addExclusionSegmentIdsItem(Long exclusionSegmentIdsItem) addListIdsItem(Long listIdsItem) addSegmentIdsItem(Long segmentIdsItem) booleanexclusionListIds(List<Long> exclusionListIds) exclusionSegmentIds(List<Long> exclusionSegmentIds) List ids to exclude from the campaignSegment ids which have to be excluded from a campaign.**Mandatory if scheduledAt is not empty**.**Mandatory if listIds are not used**.inthashCode()segmentIds(List<Long> segmentIds) voidsetExclusionListIds(List<Long> exclusionListIds) voidsetExclusionSegmentIds(List<Long> exclusionSegmentIds) voidsetListIds(List<Long> listIds) voidsetSegmentIds(List<Long> segmentIds) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_EXCLUSION_LIST_IDS
- See Also:
-
JSON_PROPERTY_LIST_IDS
- See Also:
-
JSON_PROPERTY_SEGMENT_IDS
- See Also:
-
JSON_PROPERTY_EXCLUSION_SEGMENT_IDS
- See Also:
-
-
Constructor Details
-
CreateEmailCampaignRecipients
public CreateEmailCampaignRecipients()
-
-
Method Details
-
exclusionListIds
-
addExclusionListIdsItem
-
getExclusionListIds
List ids to exclude from the campaign- Returns:
- exclusionListIds
-
setExclusionListIds
-
listIds
-
addListIdsItem
-
getListIds
**Mandatory if scheduledAt is not empty**. List Ids to send the campaign to- Returns:
- listIds
-
setListIds
-
segmentIds
-
addSegmentIdsItem
-
getSegmentIds
**Mandatory if listIds are not used**. Segment ids to send the campaign to.- Returns:
- segmentIds
-
setSegmentIds
-
exclusionSegmentIds
-
addExclusionSegmentIdsItem
-
getExclusionSegmentIds
Segment ids which have to be excluded from a campaign.- Returns:
- exclusionSegmentIds
-
setExclusionSegmentIds
-
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
-