Class RunStepDeltaCodeInterpreterDetailItemObject
java.lang.Object
com.azure.ai.agents.persistent.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 Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RunStepDeltaCodeInterpreterDetailItemObject from the JsonReader.getInput()Get the input property: The input into the Code Interpreter tool call.Get the outputs property: The outputs from the Code Interpreter tool call.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
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
- Specified by:
toJsonin interfacecom.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.
-