Class FileSearchTool
-
- All Implemented Interfaces:
public final class FileSearchTool
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileSearchTool.BuilderA builder for FileSearchTool.
public final classFileSearchTool.FileSearchOverrides for the file search tool.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of tool being defined: file_searchExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("file_search")final Optional<FileSearchTool.FileSearch>fileSearch()Overrides for the file search tool. final JsonField<FileSearchTool.FileSearch>_fileSearch()Returns the raw JSON value of fileSearch. final Map<String, JsonValue>_additionalProperties()final FileSearchTool.BuildertoBuilder()final FileSearchToolvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchTool.Builderbuilder()Returns a mutable builder for constructing an instance of FileSearchTool. -
-
Method Detail
-
_type
final JsonValue _type()
The type of tool being defined:
file_searchExpected to always return the following:
JsonValue.from("file_search")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
fileSearch
final Optional<FileSearchTool.FileSearch> fileSearch()
Overrides for the file search tool.
-
_fileSearch
final JsonField<FileSearchTool.FileSearch> _fileSearch()
Returns the raw JSON value of fileSearch.
Unlike fileSearch, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileSearchTool.Builder toBuilder()
-
validate
final FileSearchTool validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static FileSearchTool.Builder builder()
Returns a mutable builder for constructing an instance of FileSearchTool.
-
-
-
-