Class Example
java.lang.Object
com.whatsapp.api.domain.templates.Example
The type Example.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBodyTextExamples(String... example) Add body text examples example.addHeaderHandleExamples(String... example) Add header handle example example.addHeaderTextExamples(String... example) Add header text example example.Gets body text.Gets header handle.Gets header text.setBodyText(List<List<String>> bodyText) Sets body text.setHeaderHandle(List<String> headerHandle) Sets header handle.setHeaderText(List<String> headerText) Sets header text.
-
Constructor Details
-
Example
public Example()
-
-
Method Details
-
getHeaderHandle
Gets header handle.- Returns:
- the header handle
-
setHeaderHandle
Sets header handle.- Parameters:
headerHandle- the header handle- Returns:
- the header handle
-
getBodyText
Gets body text.- Returns:
- the body text
-
setBodyText
Sets body text.- Parameters:
bodyText- the body text- Returns:
- the body text
-
getHeaderText
Gets header text.- Returns:
- the header text
-
setHeaderText
Sets header text.- Parameters:
headerText- the header text- Returns:
- the header text
-
addHeaderHandleExamples
Add header handle example example.- Parameters:
example- the example- Returns:
- the example
-
addHeaderTextExamples
Add header text example example.- Parameters:
example- the example- Returns:
- the example
-
addBodyTextExamples
Add body text examples example.- Parameters:
example- the example- Returns:
- the example
-