Class RunStepDeltaCodeInterpreterDetailItemObject

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

public final class RunStepDeltaCodeInterpreterDetailItemObject extends Object implements com.azure.json.JsonSerializable<RunStepDeltaCodeInterpreterDetailItemObject>
Represents the Code Interpreter tool call data in a streaming run step's tool calls.
  • Method Details

    • getInput

      public String getInput()
      Get the input property: The input into the Code Interpreter tool call.
      Returns:
      the input value.
    • getOutputs

      Get the outputs property: The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (`logs`) or images (`image`). Each of these are represented by a different object type.
      Returns:
      the outputs value.
    • toJson

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

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