Class AcsChatParticipantRemovedFromThreadEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsChatEventInThreadBaseProperties
com.azure.messaging.eventgrid.systemevents.AcsChatParticipantRemovedFromThreadEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsChatEventInThreadBaseProperties>
public final class AcsChatParticipantRemovedFromThreadEventData
extends AcsChatEventInThreadBaseProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantRemoved event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcsChatParticipantRemovedFromThreadEventData from the JsonReader.Get the participantRemoved property: The details of the user who was removed.Get the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.Get the threadId property: The chat thread id.getTime()Get the time property: The time at which the user was removed to the thread.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 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
-
getTime
Get the time property: The time at which the user was removed to the thread.- Returns:
- the time value.
-
getRemovedByCommunicationIdentifier
Get the removedByCommunicationIdentifier property: The communication identifier of the user who removed the user.- Returns:
- the removedByCommunicationIdentifier value.
-
getParticipantRemoved
Get the participantRemoved property: The details of the user who was removed.- Returns:
- the participantRemoved value.
-
getVersion
Get the version property: The version of the thread.- Returns:
- the version value.
-
getThreadId
Get the threadId property: The chat thread id.- Overrides:
getThreadIdin classAcsChatEventInThreadBaseProperties- Returns:
- the threadId value.
-
getTransactionId
Get the transactionId property: The transaction id will be used as co-relation vector.- Overrides:
getTransactionIdin classAcsChatEventInThreadBaseProperties- Returns:
- the transactionId value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcsChatEventInThreadBaseProperties>- Overrides:
toJsonin classAcsChatEventInThreadBaseProperties- Throws:
IOException
-
fromJson
public static AcsChatParticipantRemovedFromThreadEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcsChatParticipantRemovedFromThreadEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcsChatParticipantRemovedFromThreadEventData 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 AcsChatParticipantRemovedFromThreadEventData.
-