Lezen in het Engels

Delen via


AcsMessageInteractiveButtonReplyContent Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.AcsMessageInteractiveButtonReplyContent

Implements

public final class AcsMessageInteractiveButtonReplyContent
implements JsonSerializable<AcsMessageInteractiveButtonReplyContent>

Message Interactive button reply content for a user to business message.

Constructor Summary

Constructor Description
AcsMessageInteractiveButtonReplyContent()

Creates an instance of AcsMessageInteractiveButtonReplyContent class.

Method Summary

Modifier and Type Method and Description
static AcsMessageInteractiveButtonReplyContent fromJson(JsonReader jsonReader)

Reads an instance of AcsMessageInteractiveButtonReplyContent from the JsonReader.

String getButtonId()

Get the buttonId property: The ID of the button.

String getTitle()

Get the title property: The title of the button.

AcsMessageInteractiveButtonReplyContent setButtonId(String buttonId)

Set the buttonId property: The ID of the button.

AcsMessageInteractiveButtonReplyContent setTitle(String title)

Set the title property: The title of the button.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

AcsMessageInteractiveButtonReplyContent

public AcsMessageInteractiveButtonReplyContent()

Creates an instance of AcsMessageInteractiveButtonReplyContent class.

Method Details

fromJson

public static AcsMessageInteractiveButtonReplyContent fromJson(JsonReader jsonReader)

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.

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.

setButtonId

public AcsMessageInteractiveButtonReplyContent setButtonId(String buttonId)

Set the buttonId property: The ID of the button.

Parameters:

buttonId - the buttonId value to set.

Returns:

the AcsMessageInteractiveButtonReplyContent object itself.

setTitle

public AcsMessageInteractiveButtonReplyContent setTitle(String title)

Set the title property: The title of the button.

Parameters:

title - the title value to set.

Returns:

the AcsMessageInteractiveButtonReplyContent object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest