Class FileSearchToolCallDelta
-
- All Implemented Interfaces:
public final class FileSearchToolCallDelta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileSearchToolCallDelta.BuilderA builder for FileSearchToolCallDelta.
-
Method Summary
Modifier and Type Method Description final JsonValue_fileSearch()For now, this is always going to be an empty object. final Longindex()The index of the tool call in the tool calls array. final JsonValue_type()The type of tool call. final Optional<String>id()The ID of the tool call object. final JsonField<Long>_index()Returns the raw JSON value of index. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final FileSearchToolCallDelta.BuildertoBuilder()final FileSearchToolCallDeltavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileSearchToolCallDelta.Builderbuilder()Returns a mutable builder for constructing an instance of FileSearchToolCallDelta. -
-
Method Detail
-
_fileSearch
final JsonValue _fileSearch()
For now, this is always going to be an empty object.
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = fileSearchToolCallDelta.fileSearch().convert(MyClass.class);
-
_type
final JsonValue _type()
The type of tool call. This is always going to be
file_searchfor this type of tool call.Expected 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).
-
_index
final JsonField<Long> _index()
Returns the raw JSON value of index.
Unlike index, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileSearchToolCallDelta.Builder toBuilder()
-
validate
final FileSearchToolCallDelta 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 FileSearchToolCallDelta.Builder builder()
Returns a mutable builder for constructing an instance of FileSearchToolCallDelta.
The following fields are required:
.fileSearch() .index()
-
-
-
-