Class ParticipantsUpdated

java.lang.Object
com.azure.communication.callautomation.models.events.CallAutomationEventBase
com.azure.communication.callautomation.models.events.ParticipantsUpdated
All Implemented Interfaces:
com.azure.json.JsonSerializable<CallAutomationEventBase>

public final class ParticipantsUpdated extends CallAutomationEventBase
The ParticipantsUpdated model.
  • Method Details

    • getParticipants

      public List<CallParticipant> getParticipants()
      Get the participants property: List of current participants in the call.
      Returns:
      the participants value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Throws:
      IOException
    • fromJson

      public static ParticipantsUpdated fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ParticipantsUpdated from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ParticipantsUpdated if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ParticipantsUpdated.