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 Details

    • MessageTemplateBindings

      public MessageTemplateBindings()
      Creates an instance of MessageTemplateBindings class.
  • Method Details

    • getKind

      public MessageTemplateBindingsKind getKind()
      Get the kind property: The type discriminator describing a template bindings type.
      Returns:
      the kind value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.