Class CodeInterpreterToolCallDelta.Builder
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCallDelta.Builder
A builder for CodeInterpreterToolCallDelta.
-
-
Method Summary
-
-
Method Detail
-
index
final CodeInterpreterToolCallDelta.Builder index(Long index)
The index of the tool call in the tool calls array.
-
index
final CodeInterpreterToolCallDelta.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final CodeInterpreterToolCallDelta.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("code_interpreter")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final CodeInterpreterToolCallDelta.Builder id(String id)
The ID of the tool call.
-
id
final CodeInterpreterToolCallDelta.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
codeInterpreter
final CodeInterpreterToolCallDelta.Builder codeInterpreter(CodeInterpreterToolCallDelta.CodeInterpreter codeInterpreter)
The Code Interpreter tool call definition.
-
codeInterpreter
final CodeInterpreterToolCallDelta.Builder codeInterpreter(JsonField<CodeInterpreterToolCallDelta.CodeInterpreter> codeInterpreter)
Sets Builder.codeInterpreter to an arbitrary JSON value.
You should usually call Builder.codeInterpreter with a well-typed CodeInterpreter value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CodeInterpreterToolCallDelta.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CodeInterpreterToolCallDelta.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CodeInterpreterToolCallDelta.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CodeInterpreterToolCallDelta.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CodeInterpreterToolCallDelta.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CodeInterpreterToolCallDelta build()
Returns an immutable instance of CodeInterpreterToolCallDelta.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.index()
-
-
-
-