Class MessageTemplateBindings
java.lang.Object
com.azure.communication.messages.models.MessageTemplateBindings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MessageTemplateBindings>
- Direct Known Subclasses:
WhatsAppMessageTemplateBindings
public class MessageTemplateBindings
extends Object
implements com.azure.json.JsonSerializable<MessageTemplateBindings>
The binding object to link values to the template specific locations.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MessageTemplateBindings class. -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageTemplateBindings
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of MessageTemplateBindings from the JsonReader.getKind()
Get the kind property: The type discriminator describing a template bindings type.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
MessageTemplateBindings
public MessageTemplateBindings()Creates an instance of MessageTemplateBindings class.
-
-
Method Details
-
getKind
Get the kind property: The type discriminator describing a template bindings type.- Returns:
- the kind value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<MessageTemplateBindings>
- Throws:
IOException
-
fromJson
public static MessageTemplateBindings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of MessageTemplateBindings from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of MessageTemplateBindings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the MessageTemplateBindings.
-