Package software.xdev.brevo.model
Class UpdateEmailCampaignRecipients
java.lang.Object
software.xdev.brevo.model.UpdateEmailCampaignRecipients
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 which have to be excluded from a campaignSegment ids which have to be excluded from a campaign.Lists Ids to send the campaign to.**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
-
UpdateEmailCampaignRecipients
public UpdateEmailCampaignRecipients()
-
-
Method Details
-
exclusionListIds
-
addExclusionListIdsItem
-
getExclusionListIds
List ids which have to be excluded from a campaign- Returns:
- exclusionListIds
-
setExclusionListIds
-
listIds
-
addListIdsItem
-
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
-
segmentIds
-
addSegmentIdsItem
-
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
-
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
-