Package com.openai.models.responses
Class Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder
-
- All Implemented Interfaces:
public final class Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder
A builder for CodeInterpreterToolAuto.
-
-
Method Summary
-
-
Method Detail
-
type
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.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("auto")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileIds
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder fileIds(List<String> fileIds)
An optional list of uploaded files to make available to your code.
-
fileIds
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder fileIds(JsonField<List<String>> fileIds)
Sets Builder.fileIds to an arbitrary JSON value.
You should usually call Builder.fileIds with a well-typed
List<String>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addFileId
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder addFileId(String fileId)
-
additionalProperties
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Tool.CodeInterpreter.Container.CodeInterpreterToolAuto build()
Returns an immutable instance of CodeInterpreterToolAuto.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-