Class FileSearchToolCall.FileSearch.Result.Content.Builder
-
- All Implemented Interfaces:
public final class FileSearchToolCall.FileSearch.Result.Content.Builder
A builder for Content.
-
-
Method Summary
-
-
Method Detail
-
text
final FileSearchToolCall.FileSearch.Result.Content.Builder text(String text)
The text content of the file.
-
text
final FileSearchToolCall.FileSearch.Result.Content.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final FileSearchToolCall.FileSearch.Result.Content.Builder type(FileSearchToolCall.FileSearch.Result.Content.Type type)
The type of the content.
-
type
final FileSearchToolCall.FileSearch.Result.Content.Builder type(JsonField<FileSearchToolCall.FileSearch.Result.Content.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FileSearchToolCall.FileSearch.Result.Content.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileSearchToolCall.FileSearch.Result.Content.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileSearchToolCall.FileSearch.Result.Content.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileSearchToolCall.FileSearch.Result.Content.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileSearchToolCall.FileSearch.Result.Content.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileSearchToolCall.FileSearch.Result.Content build()
Returns an immutable instance of Content.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-