Class ResponseInputItem.ToolSearchCall.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.ToolSearchCall.BuilderA builder for ToolSearchCall.
-
-
Method Summary
-
-
Method Detail
-
arguments
final ResponseInputItem.ToolSearchCall.Builder arguments(JsonValue arguments)
The arguments supplied to the tool search call.
-
type
final ResponseInputItem.ToolSearchCall.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("tool_search_call")This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final ResponseInputItem.ToolSearchCall.Builder id(String id)
The unique ID of this tool search call.
-
id
final ResponseInputItem.ToolSearchCall.Builder id(Optional<String> id)
Alias for calling Builder.id with
id.orElse(null).
-
id
final ResponseInputItem.ToolSearchCall.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
callId
final ResponseInputItem.ToolSearchCall.Builder callId(String callId)
The unique ID of the tool search call generated by the model.
-
callId
final ResponseInputItem.ToolSearchCall.Builder callId(Optional<String> callId)
Alias for calling Builder.callId with
callId.orElse(null).
-
callId
final ResponseInputItem.ToolSearchCall.Builder callId(JsonField<String> callId)
Sets Builder.callId to an arbitrary JSON value.
You should usually call Builder.callId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
execution
final ResponseInputItem.ToolSearchCall.Builder execution(ResponseInputItem.ToolSearchCall.Execution execution)
Whether tool search was executed by the server or by the client.
-
execution
final ResponseInputItem.ToolSearchCall.Builder execution(JsonField<ResponseInputItem.ToolSearchCall.Execution> execution)
Sets Builder.execution to an arbitrary JSON value.
You should usually call Builder.execution with a well-typed Execution value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final ResponseInputItem.ToolSearchCall.Builder status(ResponseInputItem.ToolSearchCall.Status status)
The status of the tool search call.
-
status
final ResponseInputItem.ToolSearchCall.Builder status(Optional<ResponseInputItem.ToolSearchCall.Status> status)
Alias for calling Builder.status with
status.orElse(null).
-
status
final ResponseInputItem.ToolSearchCall.Builder status(JsonField<ResponseInputItem.ToolSearchCall.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseInputItem.ToolSearchCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.ToolSearchCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.ToolSearchCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.ToolSearchCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.ToolSearchCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.ToolSearchCall build()
Returns an immutable instance of ToolSearchCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.arguments()
-
-
-
-