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

public final class RecognizeFailed extends CallAutomationEventBaseWithReasonCode
The RecognizeFailed model.
  • Constructor Details

    • RecognizeFailed

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