Class RunStepCodeInterpreterToolCallOutput
java.lang.Object
com.azure.ai.openai.assistants.models.RunStepCodeInterpreterToolCallOutput
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RunStepCodeInterpreterToolCallOutput>
- Direct Known Subclasses:
RunStepCodeInterpreterImageOutput
,RunStepCodeInterpreterLogOutput
public class RunStepCodeInterpreterToolCallOutput
extends Object
implements com.azure.json.JsonSerializable<RunStepCodeInterpreterToolCallOutput>
An abstract representation of an emitted output from a code interpreter tool.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Creates an instance of RunStepCodeInterpreterToolCallOutput class. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RunStepCodeInterpreterToolCallOutput
protected RunStepCodeInterpreterToolCallOutput()Creates an instance of RunStepCodeInterpreterToolCallOutput class.
-
-
Method Details
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<RunStepCodeInterpreterToolCallOutput>
- Throws:
IOException
-
fromJson
public static RunStepCodeInterpreterToolCallOutput fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RunStepCodeInterpreterToolCallOutput from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RunStepCodeInterpreterToolCallOutput 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 RunStepCodeInterpreterToolCallOutput.
-
getType
Get the type property: The object type.- Returns:
- the type value.
-