Class ResultInformation

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

public final class ResultInformation extends Object implements com.azure.json.JsonSerializable<ResultInformation>
The ResultInformation model.
  • Method Details

    • getCode

      public Integer getCode()
      Get the code property: The code property.
      Returns:
      the code value.
    • getSubCode

      public Integer getSubCode()
      Get the subCode property: The subCode property.
      Returns:
      the subCode value.
    • getMessage

      public String getMessage()
      Get the message property: The message property.
      Returns:
      the message value.
    • toJson

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

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