Class AcsUserDisconnectedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsUserDisconnectedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcsUserDisconnectedEventData>

public final class AcsUserDisconnectedEventData extends Object implements com.azure.json.JsonSerializable<AcsUserDisconnectedEventData>
Schema of the Data property of an EventGridEvent for an Microsoft.Communication.UserDisconnected event.
  • Method Details

    • getUserCommunicationIdentifier

      public CommunicationIdentifierModel getUserCommunicationIdentifier()
      Get the userCommunicationIdentifier property: The communication identifier of the user who was disconnected.
      Returns:
      the userCommunicationIdentifier value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AcsUserDisconnectedEventData>
      Throws:
      IOException
    • fromJson

      public static AcsUserDisconnectedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AcsUserDisconnectedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AcsUserDisconnectedEventData 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 AcsUserDisconnectedEventData.