Class AcsChatMessageDeletedInThreadEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatMessageEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatMessageDeletedInThreadEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsChatEventInThreadBaseProperties>
public final class AcsChatMessageDeletedInThreadEventData
extends AcsChatMessageEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeletedInThread event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsChatMessageDeletedInThreadEventData from the JsonReader.Get the deleteTime property: The time at which the message was deleted.Get the messageId property: The chat message id.Get the senderDisplayName property: The display name of the sender.Get the threadId property: The chat thread id.Get the transactionId property: The transaction id will be used as co-relation vector.getType()Get the type property: The type of the message.Get the version property: The version of the message.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatMessageEventInThreadBaseProperties
getComposeTime, getSenderCommunicationIdentifierMethods 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
-
getDeleteTime
Get the deleteTime property: The time at which the message was deleted.- Returns:
- the deleteTime value.
-
getVersion
Get the version property: The version of the message.- Overrides:
getVersionin classAcsChatMessageEventInThreadBaseProperties- Returns:
- the version value.
-
getType
Get the type property: The type of the message.- Overrides:
getTypein classAcsChatMessageEventInThreadBaseProperties- Returns:
- the type value.
-
getSenderDisplayName
Get the senderDisplayName property: The display name of the sender.- Overrides:
getSenderDisplayNamein classAcsChatMessageEventInThreadBaseProperties- Returns:
- the senderDisplayName value.
-
getMessageId
Get the messageId property: The chat message id.- Overrides:
getMessageIdin classAcsChatMessageEventInThreadBaseProperties- Returns:
- the messageId value.
-
getThreadId
Get the threadId property: The chat thread id.- Overrides:
getThreadIdin classAcsChatMessageEventInThreadBaseProperties- Returns:
- the threadId value.
-
getTransactionId
Get the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
getTransactionIdin classAcsChatMessageEventInThreadBaseProperties- Returns:
- the transactionId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsChatEventInThreadBaseProperties>- Overrides:
toJsonin classAcsChatMessageEventInThreadBaseProperties- Throws:
IOException
-
fromJson
public static AcsChatMessageDeletedInThreadEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsChatMessageDeletedInThreadEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsChatMessageDeletedInThreadEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AcsChatMessageDeletedInThreadEventData.
-