Package software.xdev.brevo.model
Class GetCampaignOverview
java.lang.Object
software.xdev.brevo.model.GetCampaignOverview
GetCampaignOverview
-
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 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.getId()ID of the campaigngetName()Name of the campaignPreview text or preheader of the email campaignUTC 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 falseThe size of your ab-test groups.Status of the campaignSubject of the campaign.Subject A of the ab-test campaign.Subject B of the ab-test campaign.getType()Type of campaignCriteria for the winning version.The duration of the test in hours at the end of which the winning version will be sent.inthashCode()previewText(String previewText) scheduledAt(String scheduledAt) sendAtBestTime(Boolean sendAtBestTime) voidsetAbTesting(Boolean abTesting) voidvoidvoidsetPreviewText(String previewText) voidsetScheduledAt(String scheduledAt) voidsetSendAtBestTime(Boolean sendAtBestTime) voidsetSplitRule(Integer splitRule) voidvoidsetSubject(String subject) voidsetSubjectA(String subjectA) voidsetSubjectB(String subjectB) voidvoidsetWinnerCriteria(String winnerCriteria) voidsetWinnerDelay(Integer winnerDelay) status(GetCampaignOverview.StatusEnum status) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.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:
-
-
Constructor Details
-
GetCampaignOverview
public GetCampaignOverview()
-
-
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
-
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
-