Package software.xdev.brevo.model
Class WhatsappCampTemplate
java.lang.Object
software.xdev.brevo.model.WhatsappCampTemplate
WhatsappCampTemplate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBodyVariablesItem(VariablesItems bodyVariablesItem) addComponentsItem(ComponentItems componentsItem) addHeaderVariablesItem(VariablesItems headerVariablesItem) bodyVariables(List<VariablesItems> bodyVariables) buttonType(String buttonType) components(List<ComponentItems> components) containsButton(Boolean containsButton) displayHeader(Boolean displayHeader) booleanarray of variables item variablesGet buttonTypedescription of the templatearray of component item objectsGet containsButtonGet displayHeadertype of headerarray of variables item objectGet hideFooterlanguage of the templategetName()name of the templateinthashCode()headerType(String headerType) headerVariables(List<VariablesItems> headerVariables) hideFooter(Boolean hideFooter) voidsetBodyVariables(List<VariablesItems> bodyVariables) voidsetButtonType(String buttonType) voidsetCategory(String category) voidsetComponents(List<ComponentItems> components) voidsetContainsButton(Boolean containsButton) voidsetDisplayHeader(Boolean displayHeader) voidsetHeaderType(String headerType) voidsetHeaderVariables(List<VariablesItems> headerVariables) voidsetHideFooter(Boolean hideFooter) voidsetLanguage(String language) voidtoString()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_CATEGORY
- See Also:
-
JSON_PROPERTY_LANGUAGE
- See Also:
-
JSON_PROPERTY_CONTAINS_BUTTON
- See Also:
-
JSON_PROPERTY_DISPLAY_HEADER
- See Also:
-
JSON_PROPERTY_HEADER_TYPE
- See Also:
-
JSON_PROPERTY_COMPONENTS
- See Also:
-
JSON_PROPERTY_HEADER_VARIABLES
- See Also:
-
JSON_PROPERTY_BODY_VARIABLES
- See Also:
-
JSON_PROPERTY_BUTTON_TYPE
- See Also:
-
JSON_PROPERTY_HIDE_FOOTER
- See Also:
-
-
Constructor Details
-
WhatsappCampTemplate
public WhatsappCampTemplate()
-
-
Method Details
-
name
-
getName
name of the template- Returns:
- name
-
setName
-
category
-
getCategory
description of the template- Returns:
- category
-
setCategory
-
language
-
getLanguage
language of the template- Returns:
- language
-
setLanguage
-
containsButton
-
getContainsButton
Get containsButton- Returns:
- containsButton
-
setContainsButton
-
displayHeader
-
getDisplayHeader
Get displayHeader- Returns:
- displayHeader
-
setDisplayHeader
-
headerType
-
getHeaderType
type of header- Returns:
- headerType
-
setHeaderType
-
components
-
addComponentsItem
-
getComponents
array of component item objects- Returns:
- components
-
setComponents
-
headerVariables
-
addHeaderVariablesItem
-
getHeaderVariables
array of variables item object- Returns:
- headerVariables
-
setHeaderVariables
-
bodyVariables
-
addBodyVariablesItem
-
getBodyVariables
array of variables item variables- Returns:
- bodyVariables
-
setBodyVariables
-
buttonType
-
getButtonType
Get buttonType- Returns:
- buttonType
-
setButtonType
-
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
-