Package com.openai.models.responses
Interface ResponseCodeInterpreterToolCall.Result.Visitor
-
- All Implemented Interfaces:
public interface ResponseCodeInterpreterToolCall.Result.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitLogs(ResponseCodeInterpreterToolCall.Result.Logs logs)
The output of a code interpreter tool call that is text. abstract T
visitFiles(ResponseCodeInterpreterToolCall.Result.Files files)
The output of a code interpreter tool call that is a file. T
unknown(JsonValue json)
Maps an unknown variant of Result to a value of type T. -
-
Method Detail
-
visitLogs
abstract T visitLogs(ResponseCodeInterpreterToolCall.Result.Logs logs)
The output of a code interpreter tool call that is text.
-
visitFiles
abstract T visitFiles(ResponseCodeInterpreterToolCall.Result.Files files)
The output of a code interpreter tool call that is a file.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Result to a value of type T.
An instance of Result 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.
-
-
-
-