Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall.Builder
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall.Builder
A builder for ResponseCodeInterpreterToolCall.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseCodeInterpreterToolCall.Builder id(String id)
The unique ID of the code interpreter tool call.
-
id
final ResponseCodeInterpreterToolCall.Builder id(JsonField<String> id)
The unique ID of the code interpreter tool call.
-
code
final ResponseCodeInterpreterToolCall.Builder code(String code)
The code to run.
-
code
final ResponseCodeInterpreterToolCall.Builder code(JsonField<String> code)
The code to run.
-
results
final ResponseCodeInterpreterToolCall.Builder results(List<ResponseCodeInterpreterToolCall.Result> results)
The results of the code interpreter tool call.
-
results
final ResponseCodeInterpreterToolCall.Builder results(JsonField<List<ResponseCodeInterpreterToolCall.Result>> results)
The results of the code interpreter tool call.
-
addResult
final ResponseCodeInterpreterToolCall.Builder addResult(ResponseCodeInterpreterToolCall.Result result)
The results of the code interpreter tool call.
-
addResult
final ResponseCodeInterpreterToolCall.Builder addResult(ResponseCodeInterpreterToolCall.Result.Logs logs)
The output of a code interpreter tool call that is text.
-
addResult
final ResponseCodeInterpreterToolCall.Builder addResult(ResponseCodeInterpreterToolCall.Result.Files files)
The output of a code interpreter tool call that is a file.
-
addLogsResult
final ResponseCodeInterpreterToolCall.Builder addLogsResult(String logs)
The output of a code interpreter tool call that is text.
-
addFilesResult
final ResponseCodeInterpreterToolCall.Builder addFilesResult(List<ResponseCodeInterpreterToolCall.Result.Files.File> files)
The output of a code interpreter tool call that is a file.
-
status
final ResponseCodeInterpreterToolCall.Builder status(ResponseCodeInterpreterToolCall.Status status)
The status of the code interpreter tool call.
-
status
final ResponseCodeInterpreterToolCall.Builder status(JsonField<ResponseCodeInterpreterToolCall.Status> status)
The status of the code interpreter tool call.
-
type
final ResponseCodeInterpreterToolCall.Builder type(JsonValue type)
The type of the code interpreter tool call. Always
code_interpreter_call
.
-
additionalProperties
final ResponseCodeInterpreterToolCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseCodeInterpreterToolCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseCodeInterpreterToolCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseCodeInterpreterToolCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseCodeInterpreterToolCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseCodeInterpreterToolCall build()
-
-
-
-