Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall
A tool call to run code.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseCodeInterpreterToolCall.Builder
A builder for ResponseCodeInterpreterToolCall.
public final class
ResponseCodeInterpreterToolCall.Result
The output of a code interpreter tool call that is text.
public final class
ResponseCodeInterpreterToolCall.Status
The status of the code interpreter tool call.
-
Method Summary
Modifier and Type Method Description final String
id()
The unique ID of the code interpreter tool call. final String
code()
The code to run. final List<ResponseCodeInterpreterToolCall.Result>
results()
The results of the code interpreter tool call. final ResponseCodeInterpreterToolCall.Status
status()
The status of the code interpreter tool call. final JsonValue
_type()
The type of the code interpreter tool call. final JsonField<String>
_id()
The unique ID of the code interpreter tool call. final JsonField<String>
_code()
The code to run. final JsonField<List<ResponseCodeInterpreterToolCall.Result>>
_results()
The results of the code interpreter tool call. final JsonField<ResponseCodeInterpreterToolCall.Status>
_status()
The status of the code interpreter tool call. final Map<String, JsonValue>
_additionalProperties()
final ResponseCodeInterpreterToolCall
validate()
final ResponseCodeInterpreterToolCall.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseCodeInterpreterToolCall.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseCodeInterpreterToolCall. -
-
Method Detail
-
results
final List<ResponseCodeInterpreterToolCall.Result> results()
The results of the code interpreter tool call.
-
status
final ResponseCodeInterpreterToolCall.Status status()
The status of the code interpreter tool call.
-
_type
final JsonValue _type()
The type of the code interpreter tool call. Always
code_interpreter_call
.
-
_results
final JsonField<List<ResponseCodeInterpreterToolCall.Result>> _results()
The results of the code interpreter tool call.
-
_status
final JsonField<ResponseCodeInterpreterToolCall.Status> _status()
The status of the code interpreter tool call.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseCodeInterpreterToolCall validate()
-
toBuilder
final ResponseCodeInterpreterToolCall.Builder toBuilder()
-
builder
final static ResponseCodeInterpreterToolCall.Builder builder()
Returns a mutable builder for constructing an instance of ResponseCodeInterpreterToolCall.
The following fields are required:
.id() .code() .results() .status()
-
-
-
-