Package software.xdev.brevo.model
Class CreateWhatsAppCampaign
java.lang.Object
software.xdev.brevo.model.CreateWhatsAppCampaign
CreateWhatsAppCampaign
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Name of the WhatsApp campaign creationGet recipientsSending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ).Id of the WhatsApp template in **approved** stateinthashCode()recipients(CreateWhatsAppCampaignRecipients recipients) scheduledAt(String scheduledAt) voidvoidsetRecipients(CreateWhatsAppCampaignRecipients recipients) voidsetScheduledAt(String scheduledAt) voidsetTemplateId(Integer templateId) templateId(Integer templateId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TEMPLATE_ID
- See Also:
-
JSON_PROPERTY_SCHEDULED_AT
- See Also:
-
JSON_PROPERTY_RECIPIENTS
- See Also:
-
-
Constructor Details
-
CreateWhatsAppCampaign
public CreateWhatsAppCampaign()
-
-
Method Details
-
name
-
getName
Name of the WhatsApp campaign creation- Returns:
- name
-
setName
-
templateId
-
getTemplateId
Id of the WhatsApp template in **approved** state- Returns:
- templateId
-
setTemplateId
-
scheduledAt
-
getScheduledAt
Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). **Prefer to pass your timezone in date-time format for accurate result.For example: **2017-06-01T12:30:00+02:00**- Returns:
- scheduledAt
-
setScheduledAt
-
recipients
-
getRecipients
Get recipients- Returns:
- recipients
-
setRecipients
-
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
-