Class SubmitToolOutputsDetails

java.lang.Object
com.azure.ai.openai.assistants.models.SubmitToolOutputsDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<SubmitToolOutputsDetails>

public final class SubmitToolOutputsDetails extends Object implements com.azure.json.JsonSerializable<SubmitToolOutputsDetails>
The details describing tools that should be called to submit tool outputs.
  • Method Details

    • getToolCalls

      public List<RequiredToolCall> getToolCalls()
      Get the toolCalls property: The list of tool calls that must be resolved for the assistant thread run to continue.
      Returns:
      the toolCalls value.
    • toJson

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

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