次の方法で共有


AcsChatTypingIndicatorReceivedInThreadEventData Class

@Deprecated
public final class AcsChatTypingIndicatorReceivedInThreadEventData
extends AcsChatMessageEventInThreadBaseProperties

Note

This class has been deprecated. This class is deprecated and may be removed in future releases. System events are now available in the azure-messaging-eventgrid-systemevents package.

Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatTypingIndicatorReceivedInThread event.

Constructor Summary

Constructor Description
AcsChatTypingIndicatorReceivedInThreadEventData()

Creates an instance of AcsChatTypingIndicatorReceivedInThreadEventData class.

Method Summary

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

Reads an instance of AcsChatTypingIndicatorReceivedInThreadEventData from the JsonReader.

String getMessageBody()

Get the messageBody property: The body of the chat message.

Map<String,String> getMetadata()

Get the metadata property: The chat message metadata.

AcsChatTypingIndicatorReceivedInThreadEventData setComposeTime(OffsetDateTime composeTime)

Set the composeTime property: The original compose time of the message.

AcsChatTypingIndicatorReceivedInThreadEventData setMessageBody(String messageBody)

Set the messageBody property: The body of the chat message.

AcsChatTypingIndicatorReceivedInThreadEventData setMessageId(String messageId)

Set the messageId property: The chat message id.

AcsChatTypingIndicatorReceivedInThreadEventData setMetadata(Map<String,String> metadata)

Set the metadata property: The chat message metadata.

AcsChatTypingIndicatorReceivedInThreadEventData setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)

Set the senderCommunicationIdentifier property: The communication identifier of the sender.

AcsChatTypingIndicatorReceivedInThreadEventData setSenderDisplayName(String senderDisplayName)

Set the senderDisplayName property: The display name of the sender.

AcsChatTypingIndicatorReceivedInThreadEventData setThreadId(String threadId)

Set the threadId property: The chat thread id.

AcsChatTypingIndicatorReceivedInThreadEventData setTransactionId(String transactionId)

Set the transactionId property: The transaction id will be used as co-relation vector.

AcsChatTypingIndicatorReceivedInThreadEventData setType(String type)

Set the type property: The type of the message.

AcsChatTypingIndicatorReceivedInThreadEventData setVersion(Long version)

Set the version property: The version of the message.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from AcsChatEventInThreadBaseProperties

Methods inherited from AcsChatMessageEventInThreadBaseProperties

Methods inherited from java.lang.Object

Constructor Details

AcsChatTypingIndicatorReceivedInThreadEventData

public AcsChatTypingIndicatorReceivedInThreadEventData()

Creates an instance of AcsChatTypingIndicatorReceivedInThreadEventData class.

Method Details

fromJson

public static AcsChatTypingIndicatorReceivedInThreadEventData fromJson(JsonReader jsonReader)

Reads an instance of AcsChatTypingIndicatorReceivedInThreadEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AcsChatTypingIndicatorReceivedInThreadEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getMessageBody

public String getMessageBody()

Get the messageBody property: The body of the chat message.

Returns:

the messageBody value.

getMetadata

public Map<String,String> getMetadata()

Get the metadata property: The chat message metadata.

Returns:

the metadata value.

setComposeTime

public AcsChatTypingIndicatorReceivedInThreadEventData setComposeTime(OffsetDateTime composeTime)

Set the composeTime property: The original compose time of the message.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setComposeTime(OffsetDateTime composeTime)

Parameters:

composeTime

setMessageBody

public AcsChatTypingIndicatorReceivedInThreadEventData setMessageBody(String messageBody)

Set the messageBody property: The body of the chat message.

Parameters:

messageBody - the messageBody value to set.

Returns:

the AcsChatTypingIndicatorReceivedInThreadEventData object itself.

setMessageId

public AcsChatTypingIndicatorReceivedInThreadEventData setMessageId(String messageId)

Set the messageId property: The chat message id.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setMessageId(String messageId)

Parameters:

messageId

setMetadata

public AcsChatTypingIndicatorReceivedInThreadEventData setMetadata(Map<String,String> metadata)

Set the metadata property: The chat message metadata.

Parameters:

metadata - the metadata value to set.

Returns:

the AcsChatTypingIndicatorReceivedInThreadEventData object itself.

setSenderCommunicationIdentifier

public AcsChatTypingIndicatorReceivedInThreadEventData setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)

Set the senderCommunicationIdentifier property: The communication identifier of the sender.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setSenderCommunicationIdentifier(CommunicationIdentifierModel senderCommunicationIdentifier)

Parameters:

senderCommunicationIdentifier

setSenderDisplayName

public AcsChatTypingIndicatorReceivedInThreadEventData setSenderDisplayName(String senderDisplayName)

Set the senderDisplayName property: The display name of the sender.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setSenderDisplayName(String senderDisplayName)

Parameters:

senderDisplayName

setThreadId

public AcsChatTypingIndicatorReceivedInThreadEventData setThreadId(String threadId)

Set the threadId property: The chat thread id.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setThreadId(String threadId)

Parameters:

threadId

setTransactionId

public AcsChatTypingIndicatorReceivedInThreadEventData setTransactionId(String transactionId)

Set the transactionId property: The transaction id will be used as co-relation vector.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setTransactionId(String transactionId)

Parameters:

transactionId

setType

public AcsChatTypingIndicatorReceivedInThreadEventData setType(String type)

Set the type property: The type of the message.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setType(String type)

Parameters:

type

setVersion

public AcsChatTypingIndicatorReceivedInThreadEventData setVersion(Long version)

Set the version property: The version of the message.

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.setVersion(Long version)

Parameters:

version

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AcsChatTypingIndicatorReceivedInThreadEventData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to