Class CodeInterpreterToolCallDelta
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCallDeltaDetails of the Code Interpreter tool call the run step was involved in.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCodeInterpreterToolCallDelta.BuilderA builder for CodeInterpreterToolCallDelta.
public final classCodeInterpreterToolCallDelta.CodeInterpreterThe Code Interpreter tool call definition.
-
Method Summary
Modifier and Type Method Description final Longindex()The index of the tool call in the tool calls array. final JsonValue_type()The type of tool call. final Optional<String>id()The ID of the tool call. final Optional<CodeInterpreterToolCallDelta.CodeInterpreter>codeInterpreter()The Code Interpreter tool call definition. final JsonField<Long>_index()Returns the raw JSON value of index. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<CodeInterpreterToolCallDelta.CodeInterpreter>_codeInterpreter()Returns the raw JSON value of codeInterpreter. final Map<String, JsonValue>_additionalProperties()final CodeInterpreterToolCallDelta.BuildertoBuilder()final CodeInterpreterToolCallDeltavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterToolCallDelta.Builderbuilder()Returns a mutable builder for constructing an instance of CodeInterpreterToolCallDelta. -
-
Method Detail
-
_type
final JsonValue _type()
The type of tool call. This is always going to be
code_interpreterfor this type of tool call.Expected to always return the following:
JsonValue.from("code_interpreter")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
codeInterpreter
final Optional<CodeInterpreterToolCallDelta.CodeInterpreter> codeInterpreter()
The Code Interpreter tool call definition.
-
_index
final JsonField<Long> _index()
Returns the raw JSON value of index.
Unlike index, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_codeInterpreter
final JsonField<CodeInterpreterToolCallDelta.CodeInterpreter> _codeInterpreter()
Returns the raw JSON value of codeInterpreter.
Unlike codeInterpreter, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CodeInterpreterToolCallDelta.Builder toBuilder()
-
validate
final CodeInterpreterToolCallDelta validate()
-
builder
final static CodeInterpreterToolCallDelta.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreterToolCallDelta.
The following fields are required:
.index()
-
-
-
-