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 ClassesNested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe category type of the message templateThe language (and locale) of the element translationThe parameter format of the templateQuality score of the HSMThe reason the message template was rejectedThe status of the message templatevoidsetCategory(String category) The category type of the message templatevoidsetComponents(List<WhatsAppMessageTemplateComponent> components) voidsetLanguage(String language) The language (and locale) of the element translationvoidsetMessageSendTtlSeconds(Long messageSendTtlSeconds) voidsetParameterFormat(WhatsAppMessageTemplate.ParameterFormat parameterFormat) The parameter format of the templatevoidsetPreviousCategory(String previousCategory) voidsetQualityScore(WhatsAppHSMQualityScoreShape qualityScore) Quality score of the HSMvoidsetRejectedReason(String rejectedReason) The reason the message template was rejectedvoidThe status of the message templateMethods inherited from class com.restfb.types.NamedFacebookType
getName, setNameMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods 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 -
getParameterFormat
The parameter format of the template -
setParameterFormat
The parameter format of the template
-