Package com.restfb.types.whatsapp
Class WABAMessageTemplate
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.whatsapp.WABAMessageTemplate
-
- All Implemented Interfaces:
Serializable
public class WABAMessageTemplate extends NamedFacebookType
Represents the WhatsApp Message Template type- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description WABAMessageTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory()
The category type of the message templateList<WhatsAppMessageTemplateComponent>
getComponents()
String
getContent()
Message template string with placeholders for parametersList<String>
getLanguage()
The languages (and locale) of the element translationDate
getLastUpdatedTime()
The timestamp indicating the last time the message template was updatedString
getNameOrContent()
String as a query parameter to filter message templates name or content containing this variableWhatsAppHSMQualityScoreShape
getQualityScore()
String
getRejectedReason()
The reason the message template was rejectedString
getStatus()
The status of the message templatevoid
setCategory(String category)
The category type of the message templatevoid
setComponents(List<WhatsAppMessageTemplateComponent> components)
void
setContent(String content)
Message template string with placeholders for parametersvoid
setLanguage(List<String> language)
The languages (and locale) of the element translationvoid
setLastUpdatedTime(Date lastUpdatedTime)
The timestamp indicating the last time the message template was updatedvoid
setNameOrContent(String nameOrContent)
String as a query parameter to filter message templates name or content containing this variablevoid
setQualityScore(WhatsAppHSMQualityScoreShape qualityScore)
void
setRejectedReason(String rejectedReason)
The reason the message template was rejectedvoid
setStatus(String status)
The status of the message template-
Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
-
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
WABAMessageTemplate
public WABAMessageTemplate()
-
-
Method Detail
-
getCategory
public String getCategory()
The category type of the message template
-
setCategory
public void setCategory(String category)
The category type of the message template
-
getContent
public String getContent()
Message template string with placeholders for parameters
-
setContent
public void setContent(String content)
Message template string with placeholders for parameters
-
getComponents
public List<WhatsAppMessageTemplateComponent> getComponents()
-
setComponents
public void setComponents(List<WhatsAppMessageTemplateComponent> components)
-
getLanguage
public List<String> getLanguage()
The languages (and locale) of the element translation
-
setLanguage
public void setLanguage(List<String> language)
The languages (and locale) of the element translation
-
getLastUpdatedTime
public Date getLastUpdatedTime()
The timestamp indicating the last time the message template was updated
-
setLastUpdatedTime
public void setLastUpdatedTime(Date lastUpdatedTime)
The timestamp indicating the last time the message template was updated
-
getRejectedReason
public String getRejectedReason()
The reason the message template was rejected
-
setRejectedReason
public void setRejectedReason(String rejectedReason)
The reason the message template was rejected
-
getNameOrContent
public String getNameOrContent()
String as a query parameter to filter message templates name or content containing this variable
-
setNameOrContent
public void setNameOrContent(String nameOrContent)
String as a query parameter to filter message templates name or content containing this variable
-
getQualityScore
public WhatsAppHSMQualityScoreShape getQualityScore()
-
setQualityScore
public void setQualityScore(WhatsAppHSMQualityScoreShape qualityScore)
-
-