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 Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsMessageInteractiveButtonReplyContent from the JsonReader.Get the buttonId property: The ID of the button.getTitle()Get the title property: The title of the button.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getButtonId
Get the buttonId property: The ID of the button.- Returns:
- the buttonId value.
-
getTitle
Get the title property: The title of the button.- Returns:
- the title value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-