All Implemented Interfaces:
com.azure.json.JsonSerializable<CallAutomationEventBase>

public final class PlayFailed extends CallAutomationEventBaseWithReasonCode
The PlayFailed model.
  • Method Details

    • getFailedPlaySourceIndex

      public Integer getFailedPlaySourceIndex()
      Get the failedPlaySourceIndex property: Contains the index of the failed play source.
      Returns:
      the failedPlaySourceIndex value.
    • toJson

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

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