Class FileSearchToolCall.Builder
-
- All Implemented Interfaces:
public final class FileSearchToolCall.BuilderA builder for FileSearchToolCall.
-
-
Method Summary
-
-
Method Detail
-
id
final FileSearchToolCall.Builder id(String id)
The ID of the tool call object.
-
id
final FileSearchToolCall.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.
-
fileSearch
final FileSearchToolCall.Builder fileSearch(FileSearchToolCall.FileSearch fileSearch)
For now, this is always going to be an empty object.
-
fileSearch
final FileSearchToolCall.Builder fileSearch(JsonField<FileSearchToolCall.FileSearch> fileSearch)
Sets Builder.fileSearch to an arbitrary JSON value.
You should usually call Builder.fileSearch with a well-typed FileSearch value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final FileSearchToolCall.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("file_search")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FileSearchToolCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileSearchToolCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileSearchToolCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileSearchToolCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileSearchToolCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileSearchToolCall build()
Returns an immutable instance of FileSearchToolCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .fileSearch()
-
-
-
-