Class AcsChatThreadPropertiesUpdatedPerUserEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatThreadPropertiesUpdatedPerUserEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsChatEventBaseProperties>
public final class AcsChatThreadPropertiesUpdatedPerUserEventData
extends AcsChatThreadEventBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser
event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsChatThreadPropertiesUpdatedPerUserEventData from the JsonReader.Get the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.Get the editTime property: The time at which the properties of the thread were updated.Get the metadata property: The thread metadata.Get the properties property: The updated thread properties.Get the threadId property: The chat thread id.Get the transactionId property: The transaction id will be used as co-relation vector.Get the version property: The version of the thread.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatThreadEventBaseProperties
getCreateTimeMethods inherited from class com.azure.messaging.eventgrid.systemevents.AcsChatEventBaseProperties
getRecipientCommunicationIdentifierMethods 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
-
getEditedByCommunicationIdentifier
Get the editedByCommunicationIdentifier property: The communication identifier of the user who updated the thread properties.- Returns:
- the editedByCommunicationIdentifier value.
-
getEditTime
Get the editTime property: The time at which the properties of the thread were updated.- Returns:
- the editTime value.
-
getMetadata
Get the metadata property: The thread metadata.- Returns:
- the metadata value.
-
getProperties
Get the properties property: The updated thread properties.- Returns:
- the properties value.
-
getVersion
Get the version property: The version of the thread.- Overrides:
getVersionin classAcsChatThreadEventBaseProperties- Returns:
- the version value.
-
getThreadId
Get the threadId property: The chat thread id.- Overrides:
getThreadIdin classAcsChatThreadEventBaseProperties- Returns:
- the threadId value.
-
getTransactionId
Get the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
getTransactionIdin classAcsChatThreadEventBaseProperties- Returns:
- the transactionId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsChatEventBaseProperties>- Overrides:
toJsonin classAcsChatThreadEventBaseProperties- Throws:
IOException
-
fromJson
public static AcsChatThreadPropertiesUpdatedPerUserEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsChatThreadPropertiesUpdatedPerUserEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsChatThreadPropertiesUpdatedPerUserEventData 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 AcsChatThreadPropertiesUpdatedPerUserEventData.
-