Class FileSearchToolCall.FileSearch
-
- All Implemented Interfaces:
public final class FileSearchToolCall.FileSearchFor now, this is always going to be an empty object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileSearchToolCall.FileSearch.BuilderA builder for FileSearch.
public final classFileSearchToolCall.FileSearch.RankingOptionsThe ranking options for the file search.
public final classFileSearchToolCall.FileSearch.ResultA result instance of the file search.
-
Method Summary
Modifier and Type Method Description final Optional<FileSearchToolCall.FileSearch.RankingOptions>rankingOptions()The ranking options for the file search. final Optional<List<FileSearchToolCall.FileSearch.Result>>results()The results of the file search. final JsonField<FileSearchToolCall.FileSearch.RankingOptions>_rankingOptions()Returns the raw JSON value of rankingOptions. final JsonField<List<FileSearchToolCall.FileSearch.Result>>_results()Returns the raw JSON value of results. final Map<String, JsonValue>_additionalProperties()final FileSearchToolCall.FileSearch.BuildertoBuilder()final FileSearchToolCall.FileSearchvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchToolCall.FileSearch.Builderbuilder()Returns a mutable builder for constructing an instance of FileSearch. -
-
Method Detail
-
rankingOptions
final Optional<FileSearchToolCall.FileSearch.RankingOptions> rankingOptions()
The ranking options for the file search.
-
results
final Optional<List<FileSearchToolCall.FileSearch.Result>> results()
The results of the file search.
-
_rankingOptions
final JsonField<FileSearchToolCall.FileSearch.RankingOptions> _rankingOptions()
Returns the raw JSON value of rankingOptions.
Unlike rankingOptions, this method doesn't throw if the JSON field has an unexpected type.
-
_results
final JsonField<List<FileSearchToolCall.FileSearch.Result>> _results()
Returns the raw JSON value of results.
Unlike results, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileSearchToolCall.FileSearch.Builder toBuilder()
-
validate
final FileSearchToolCall.FileSearch 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 FileSearchToolCall.FileSearch.Builder builder()
Returns a mutable builder for constructing an instance of FileSearch.
-
-
-
-