Package com.openai.models.responses
Class ResponseFileSearchToolCall
-
- All Implemented Interfaces:
public final class ResponseFileSearchToolCall
The results of a file search tool call. See the file search guide for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseFileSearchToolCall.Builder
A builder for ResponseFileSearchToolCall.
public final class
ResponseFileSearchToolCall.Status
The status of the file search tool call. One of
in_progress
,searching
,incomplete
orfailed
,public final class
ResponseFileSearchToolCall.Result
-
Method Summary
Modifier and Type Method Description final String
id()
The unique ID of the file search tool call. final List<String>
queries()
The queries used to search for files. final ResponseFileSearchToolCall.Status
status()
The status of the file search tool call. final JsonValue
_type()
The type of the file search tool call. final Optional<List<ResponseFileSearchToolCall.Result>>
results()
The results of the file search tool call. final JsonField<String>
_id()
The unique ID of the file search tool call. final JsonField<List<String>>
_queries()
The queries used to search for files. final JsonField<ResponseFileSearchToolCall.Status>
_status()
The status of the file search tool call. final JsonField<List<ResponseFileSearchToolCall.Result>>
_results()
The results of the file search tool call. final Map<String, JsonValue>
_additionalProperties()
final ResponseFileSearchToolCall
validate()
final ResponseFileSearchToolCall.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseFileSearchToolCall.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseFileSearchToolCall. -
-
Method Detail
-
status
final ResponseFileSearchToolCall.Status status()
The status of the file search tool call. One of
in_progress
,searching
,incomplete
orfailed
,
-
results
final Optional<List<ResponseFileSearchToolCall.Result>> results()
The results of the file search tool call.
-
_status
final JsonField<ResponseFileSearchToolCall.Status> _status()
The status of the file search tool call. One of
in_progress
,searching
,incomplete
orfailed
,
-
_results
final JsonField<List<ResponseFileSearchToolCall.Result>> _results()
The results of the file search tool call.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseFileSearchToolCall validate()
-
toBuilder
final ResponseFileSearchToolCall.Builder toBuilder()
-
builder
final static ResponseFileSearchToolCall.Builder builder()
Returns a mutable builder for constructing an instance of ResponseFileSearchToolCall.
The following fields are required:
.id() .queries() .status()
-
-
-
-