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
Represents the
WhatsApp Message
Template type
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe category type of the message templateThe language (and locale) of the element translationQuality score of the HSMThe reason the message template was rejectedThe 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
The status of the message templateMethods 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 Details
-
WhatsAppMessageTemplate
public WhatsAppMessageTemplate()
-
-
Method Details
-
getCategory
The category type of the message template -
setCategory
The category type of the message template -
getComponents
-
setComponents
-
getLanguage
The language (and locale) of the element translation -
setLanguage
The language (and locale) of the element translation -
getMessageSendTtlSeconds
-
setMessageSendTtlSeconds
-
getPreviousCategory
-
setPreviousCategory
-
getRejectedReason
The reason the message template was rejected -
setRejectedReason
The reason the message template was rejected -
getStatus
The status of the message template -
setStatus
The status of the message template -
getQualityScore
Quality score of the HSM -
setQualityScore
Quality score of the HSM
-