Package com.openai.models.responses
Interface Tool.CodeInterpreter.Container.Visitor
-
- All Implemented Interfaces:
public interface Tool.CodeInterpreter.Container.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitString(String string)
The container ID. abstract T
visitCodeInterpreterToolAuto(Tool.CodeInterpreter.Container.CodeInterpreterToolAuto codeInterpreterToolAuto)
Configuration for a code interpreter container. T
unknown(JsonValue json)
Maps an unknown variant of Container to a value of type T. -
-
Method Detail
-
visitString
abstract T visitString(String string)
The container ID.
-
visitCodeInterpreterToolAuto
abstract T visitCodeInterpreterToolAuto(Tool.CodeInterpreter.Container.CodeInterpreterToolAuto codeInterpreterToolAuto)
Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Container to a value of type T.
An instance of Container can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-