Package software.xdev.brevo.model
Class GetEmailCampaign
java.lang.Object
software.xdev.brevo.model.GetEmailCampaign
GetEmailCampaign
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumStatus of the campaignstatic enumType of campaign -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanStatus of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled.Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)Footer of the campaignHeader of the campaignHTML content of the campaigngetId()ID of the campaignStatus of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email.Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaignUTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)getName()Name of the campaignPreview text or preheader of the email campaignGet recipientsFOR TRIGGER ONLY !Email defined as the \"Reply to\" of the campaignTotal number of non-delivered campaigns for a particular campaign id.UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)It is true if you have chosen to send your campaign at best time, otherwise it is falseGet senderSent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ).Link to share the campaign on social mediasThe size of your ab-test groups.Get statisticsStatus of the campaignSubject of the campaign.Subject A of the ab-test campaign.Subject B of the ab-test campaign.getTag()Tag of the campaignRetrieved the status of test email sending.Customisation of the \"to\" field of the campaigngetType()Type of campaignutm parameter associated with campaignutm id activateGet utmMediumGet utmSourceCriteria for the winning version.The duration of the test in hours at the end of which the winning version will be sent.inthashCode()htmlContent(String htmlContent) inlineImageActivation(Boolean inlineImageActivation) mirrorActive(Boolean mirrorActive) modifiedAt(String modifiedAt) previewText(String previewText) recipients(Object recipients) returnBounce(Long returnBounce) scheduledAt(String scheduledAt) sendAtBestTime(Boolean sendAtBestTime) voidsetAbTesting(Boolean abTesting) voidsetCreatedAt(String createdAt) voidvoidvoidsetHtmlContent(String htmlContent) voidvoidsetInlineImageActivation(Boolean inlineImageActivation) voidsetMirrorActive(Boolean mirrorActive) voidsetModifiedAt(String modifiedAt) voidvoidsetPreviewText(String previewText) voidsetRecipients(Object recipients) voidsetRecurring(Boolean recurring) voidsetReplyTo(String replyTo) voidsetReturnBounce(Long returnBounce) voidsetScheduledAt(String scheduledAt) voidsetSendAtBestTime(Boolean sendAtBestTime) voidvoidsetSentDate(String sentDate) voidsetShareLink(String shareLink) voidsetSplitRule(Integer splitRule) voidsetStatistics(Object statistics) voidsetStatus(GetEmailCampaign.StatusEnum status) voidsetSubject(String subject) voidsetSubjectA(String subjectA) voidsetSubjectB(String subjectB) voidvoidsetTestSent(Boolean testSent) voidsetToField(String toField) voidvoidsetUtmCampaignValue(String utmCampaignValue) voidsetUtmIDActive(Boolean utmIDActive) voidsetUtmMedium(String utmMedium) voidsetUtmSource(String utmSource) voidsetWinnerCriteria(String winnerCriteria) voidsetWinnerDelay(Integer winnerDelay) statistics(Object statistics) status(GetEmailCampaign.StatusEnum status) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.utmCampaignValue(String utmCampaignValue) utmIDActive(Boolean utmIDActive) winnerCriteria(String winnerCriteria) winnerDelay(Integer winnerDelay)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_PREVIEW_TEXT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_SCHEDULED_AT
- See Also:
-
JSON_PROPERTY_AB_TESTING
- See Also:
-
JSON_PROPERTY_SUBJECT_A
- See Also:
-
JSON_PROPERTY_SUBJECT_B
- See Also:
-
JSON_PROPERTY_SPLIT_RULE
- See Also:
-
JSON_PROPERTY_WINNER_CRITERIA
- See Also:
-
JSON_PROPERTY_WINNER_DELAY
- See Also:
-
JSON_PROPERTY_SEND_AT_BEST_TIME
- See Also:
-
JSON_PROPERTY_UTM_CAMPAIGN_VALUE
- See Also:
-
JSON_PROPERTY_UTM_SOURCE
- See Also:
-
JSON_PROPERTY_UTM_MEDIUM
- See Also:
-
JSON_PROPERTY_UTM_I_D_ACTIVE
- See Also:
-
JSON_PROPERTY_TEST_SENT
- See Also:
-
JSON_PROPERTY_HEADER
- See Also:
-
JSON_PROPERTY_FOOTER
- See Also:
-
JSON_PROPERTY_SENDER
- See Also:
-
JSON_PROPERTY_REPLY_TO
- See Also:
-
JSON_PROPERTY_TO_FIELD
- See Also:
-
JSON_PROPERTY_HTML_CONTENT
- See Also:
-
JSON_PROPERTY_SHARE_LINK
- See Also:
-
JSON_PROPERTY_TAG
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_INLINE_IMAGE_ACTIVATION
- See Also:
-
JSON_PROPERTY_MIRROR_ACTIVE
- See Also:
-
JSON_PROPERTY_RECURRING
- See Also:
-
JSON_PROPERTY_SENT_DATE
- See Also:
-
JSON_PROPERTY_RETURN_BOUNCE
- See Also:
-
JSON_PROPERTY_RECIPIENTS
- See Also:
-
JSON_PROPERTY_STATISTICS
- See Also:
-
-
Constructor Details
-
GetEmailCampaign
public GetEmailCampaign()
-
-
Method Details
-
id
-
getId
ID of the campaign- Returns:
- id
-
setId
-
name
-
getName
Name of the campaign- Returns:
- name
-
setName
-
subject
-
getSubject
Subject of the campaign. Only available if `abTesting` flag of the campaign is `false`- Returns:
- subject
-
setSubject
-
previewText
-
getPreviewText
Preview text or preheader of the email campaign- Returns:
- previewText
-
setPreviewText
-
type
-
getType
Type of campaign- Returns:
- type
-
setType
-
status
-
getStatus
Status of the campaign- Returns:
- status
-
setStatus
-
scheduledAt
-
getScheduledAt
UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)- Returns:
- scheduledAt
-
setScheduledAt
-
abTesting
-
getAbTesting
Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled.- Returns:
- abTesting
-
setAbTesting
-
subjectA
-
getSubjectA
Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true`- Returns:
- subjectA
-
setSubjectA
-
subjectB
-
getSubjectB
Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true`- Returns:
- subjectB
-
setSubjectB
-
splitRule
-
getSplitRule
The size of your ab-test groups. Only available if `abTesting` flag of the campaign is `true`- Returns:
- splitRule
-
setSplitRule
-
winnerCriteria
-
getWinnerCriteria
Criteria for the winning version. Only available if `abTesting` flag of the campaign is `true`- Returns:
- winnerCriteria
-
setWinnerCriteria
-
winnerDelay
-
getWinnerDelay
The duration of the test in hours at the end of which the winning version will be sent. Only available if `abTesting` flag of the campaign is `true`- Returns:
- winnerDelay
-
setWinnerDelay
-
sendAtBestTime
-
getSendAtBestTime
It is true if you have chosen to send your campaign at best time, otherwise it is false- Returns:
- sendAtBestTime
-
setSendAtBestTime
-
utmCampaignValue
-
getUtmCampaignValue
utm parameter associated with campaign- Returns:
- utmCampaignValue
-
setUtmCampaignValue
-
utmSource
-
getUtmSource
Get utmSource- Returns:
- utmSource
-
setUtmSource
-
utmMedium
-
getUtmMedium
Get utmMedium- Returns:
- utmMedium
-
setUtmMedium
-
utmIDActive
-
getUtmIDActive
utm id activate- Returns:
- utmIDActive
-
setUtmIDActive
-
testSent
-
getTestSent
Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent)- Returns:
- testSent
-
setTestSent
-
header
-
getHeader
Header of the campaign- Returns:
- header
-
setHeader
-
sender
-
getSender
Get sender- Returns:
- sender
-
setSender
-
replyTo
-
getReplyTo
Email defined as the \"Reply to\" of the campaign- Returns:
- replyTo
-
setReplyTo
-
toField
-
getToField
Customisation of the \"to\" field of the campaign- Returns:
- toField
-
setToField
-
htmlContent
-
getHtmlContent
HTML content of the campaign- Returns:
- htmlContent
-
setHtmlContent
-
tag
-
getTag
Tag of the campaign- Returns:
- tag
-
setTag
-
createdAt
-
getCreatedAt
Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)- Returns:
- createdAt
-
setCreatedAt
-
modifiedAt
-
getModifiedAt
UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)- Returns:
- modifiedAt
-
setModifiedAt
-
inlineImageActivation
-
getInlineImageActivation
Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email.- Returns:
- inlineImageActivation
-
setInlineImageActivation
-
mirrorActive
-
getMirrorActive
Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign- Returns:
- mirrorActive
-
setMirrorActive
-
recurring
-
getRecurring
FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times- Returns:
- recurring
-
setRecurring
-
sentDate
-
getSentDate
Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent'- Returns:
- sentDate
-
setSentDate
-
returnBounce
-
getReturnBounce
Total number of non-delivered campaigns for a particular campaign id.- Returns:
- returnBounce
-
setReturnBounce
-
recipients
-
getRecipients
Get recipients- Returns:
- recipients
-
setRecipients
-
statistics
-
getStatistics
Get statistics- Returns:
- statistics
-
setStatistics
-
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
-