Class AcsMessageInteractiveButtonReplyContent

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsMessageInteractiveButtonReplyContent
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsMessageInteractiveButtonReplyContent>

public final class AcsMessageInteractiveButtonReplyContent extends Object implements com.azure.json.JsonSerializable<AcsMessageInteractiveButtonReplyContent>
Message Interactive button reply content for a user to business message.
  • Method Details

    • getButtonId

      public String getButtonId()
      Get the buttonId property: The ID of the button.
      Returns:
      the buttonId value.
    • getTitle

      public String getTitle()
      Get the title property: The title of the button.
      Returns:
      the title value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AcsMessageInteractiveButtonReplyContent>
      Throws:
      IOException
    • fromJson

      public static AcsMessageInteractiveButtonReplyContent fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AcsMessageInteractiveButtonReplyContent from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AcsMessageInteractiveButtonReplyContent 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 AcsMessageInteractiveButtonReplyContent.