Package com.restfb.types.whatsapp
Class WhatsAppMessageTemplate
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.whatsapp.WhatsAppMessageTemplate
-
- All Implemented Interfaces:
Serializable
public class WhatsAppMessageTemplate 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 WhatsAppMessageTemplate()
-
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
getLanguage()
The language (and locale) of the element translationLong
getMessageSendTtlSeconds()
String
getPreviousCategory()
WhatsAppHSMQualityScoreShape
getQualityScore()
Quality score of the HSMString
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
setLanguage(String language)
The language (and locale) of the element translationvoid
setMessageSendTtlSeconds(Long messageSendTtlSeconds)
void
setPreviousCategory(String previousCategory)
void
setQualityScore(WhatsAppHSMQualityScoreShape qualityScore)
Quality score of the HSMvoid
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
-
WhatsAppMessageTemplate
public WhatsAppMessageTemplate()
-
-
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
-
getComponents
public List<WhatsAppMessageTemplateComponent> getComponents()
-
setComponents
public void setComponents(List<WhatsAppMessageTemplateComponent> components)
-
getLanguage
public String getLanguage()
The language (and locale) of the element translation
-
setLanguage
public void setLanguage(String language)
The language (and locale) of the element translation
-
getMessageSendTtlSeconds
public Long getMessageSendTtlSeconds()
-
setMessageSendTtlSeconds
public void setMessageSendTtlSeconds(Long messageSendTtlSeconds)
-
getPreviousCategory
public String getPreviousCategory()
-
setPreviousCategory
public void setPreviousCategory(String previousCategory)
-
getRejectedReason
public String getRejectedReason()
The reason the message template was rejected
-
setRejectedReason
public void setRejectedReason(String rejectedReason)
The reason the message template was rejected
-
getQualityScore
public WhatsAppHSMQualityScoreShape getQualityScore()
Quality score of the HSM
-
setQualityScore
public void setQualityScore(WhatsAppHSMQualityScoreShape qualityScore)
Quality score of the HSM
-
-