Class ContentNotificationTemplate
- java.lang.Object
-
- cloud.genesys.webmessaging.sdk.model.ContentNotificationTemplate
-
- All Implemented Interfaces:
Serializable
public class ContentNotificationTemplate extends Object implements Serializable
Template notification content. Template notification object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentNotificationTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentNotificationTemplatebody(NotificationTemplateBody body)The template body.booleanequals(Object o)ContentNotificationTemplatefooter(NotificationTemplateFooter footer)The template footer.NotificationTemplateBodygetBody()NotificationTemplateFootergetFooter()NotificationTemplateHeadergetHeader()StringgetId()StringgetLanguage()inthashCode()ContentNotificationTemplateheader(NotificationTemplateHeader header)The template header.ContentNotificationTemplateid(String id)The messaging provider template ID.ContentNotificationTemplatelanguage(String language)Template language.voidsetBody(NotificationTemplateBody body)voidsetFooter(NotificationTemplateFooter footer)voidsetHeader(NotificationTemplateHeader header)voidsetId(String id)voidsetLanguage(String language)StringtoString()
-
-
-
Method Detail
-
body
public ContentNotificationTemplate body(NotificationTemplateBody body)
The template body.
-
getBody
public NotificationTemplateBody getBody()
-
setBody
public void setBody(NotificationTemplateBody body)
-
footer
public ContentNotificationTemplate footer(NotificationTemplateFooter footer)
The template footer.
-
getFooter
public NotificationTemplateFooter getFooter()
-
setFooter
public void setFooter(NotificationTemplateFooter footer)
-
header
public ContentNotificationTemplate header(NotificationTemplateHeader header)
The template header.
-
getHeader
public NotificationTemplateHeader getHeader()
-
setHeader
public void setHeader(NotificationTemplateHeader header)
-
id
public ContentNotificationTemplate id(String id)
The messaging provider template ID. For WhatsApp, 'namespace@name'.
-
getId
public String getId()
-
setId
public void setId(String id)
-
language
public ContentNotificationTemplate language(String language)
Template language.
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
-