Class NotificationTemplateBody
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.NotificationTemplateBody
-
- All Implemented Interfaces:
Serializable
public class NotificationTemplateBody extends Object implements Serializable
The template body. Template body object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotificationTemplateBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<NotificationTemplateParameter>getParameters()StringgetText()inthashCode()NotificationTemplateBodyparameters(List<NotificationTemplateParameter> parameters)Template parameters for placeholders in template.voidsetParameters(List<NotificationTemplateParameter> parameters)voidsetText(String text)NotificationTemplateBodytext(String text)Body text.StringtoString()
-
-
-
Method Detail
-
parameters
public NotificationTemplateBody parameters(List<NotificationTemplateParameter> parameters)
Template parameters for placeholders in template.
-
getParameters
public List<NotificationTemplateParameter> getParameters()
-
setParameters
public void setParameters(List<NotificationTemplateParameter> parameters)
-
text
public NotificationTemplateBody text(String text)
Body text. For WhatsApp, ignored.
-
getText
public String getText()
-
setText
public void setText(String text)
-
-