Class CodeInterpreterToolCall.Builder
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCall.Builder
A builder for CodeInterpreterToolCall.
-
-
Method Summary
-
-
Method Detail
-
id
final CodeInterpreterToolCall.Builder id(String id)
The ID of the tool call.
-
id
final CodeInterpreterToolCall.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 CodeInterpreterToolCall.Builder codeInterpreter(CodeInterpreterToolCall.CodeInterpreter codeInterpreter)
The Code Interpreter tool call definition.
-
codeInterpreter
final CodeInterpreterToolCall.Builder codeInterpreter(JsonField<CodeInterpreterToolCall.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.
-
type
final CodeInterpreterToolCall.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.
-
additionalProperties
final CodeInterpreterToolCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CodeInterpreterToolCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CodeInterpreterToolCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CodeInterpreterToolCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CodeInterpreterToolCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CodeInterpreterToolCall build()
Returns an immutable instance of CodeInterpreterToolCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .codeInterpreter()
-
-
-
-