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

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

    • toJson

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

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