Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCallA tool call to run code.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseCodeInterpreterToolCall.BuilderA builder for ResponseCodeInterpreterToolCall.
public final classResponseCodeInterpreterToolCall.ResultThe output of a code interpreter tool call that is text.
public final classResponseCodeInterpreterToolCall.StatusThe status of the code interpreter tool call.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the code interpreter tool call. final Stringcode()The code to run. final List<ResponseCodeInterpreterToolCall.Result>results()The results of the code interpreter tool call. final ResponseCodeInterpreterToolCall.Statusstatus()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 ResponseCodeInterpreterToolCallvalidate()final ResponseCodeInterpreterToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCodeInterpreterToolCall.Builderbuilder()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()
-
-
-
-