Class BetaResponseToolSearchCall.Builder
-
- All Implemented Interfaces:
public final class BetaResponseToolSearchCall.BuilderA builder for BetaResponseToolSearchCall.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaResponseToolSearchCall.Builder id(String id)
The unique ID of the tool search call item.
-
id
final BetaResponseToolSearchCall.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.
-
arguments
final BetaResponseToolSearchCall.Builder arguments(JsonValue arguments)
Arguments used for the tool search call.
-
callId
final BetaResponseToolSearchCall.Builder callId(String callId)
The unique ID of the tool search call generated by the model.
-
callId
final BetaResponseToolSearchCall.Builder callId(Optional<String> callId)
Alias for calling Builder.callId with
callId.orElse(null).
-
callId
final BetaResponseToolSearchCall.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 BetaResponseToolSearchCall.Builder execution(BetaResponseToolSearchCall.Execution execution)
Whether tool search was executed by the server or by the client.
-
execution
final BetaResponseToolSearchCall.Builder execution(JsonField<BetaResponseToolSearchCall.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 BetaResponseToolSearchCall.Builder status(BetaResponseToolSearchCall.Status status)
The status of the tool search call item that was recorded.
-
status
final BetaResponseToolSearchCall.Builder status(JsonField<BetaResponseToolSearchCall.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.
-
type
final BetaResponseToolSearchCall.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.
-
agent
final BetaResponseToolSearchCall.Builder agent(BetaResponseToolSearchCall.Agent agent)
The agent that produced this item.
-
agent
final BetaResponseToolSearchCall.Builder agent(JsonField<BetaResponseToolSearchCall.Agent> agent)
Sets Builder.agent to an arbitrary JSON value.
You should usually call Builder.agent with a well-typed Agent value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdBy
final BetaResponseToolSearchCall.Builder createdBy(String createdBy)
The identifier of the actor that created the item.
-
createdBy
final BetaResponseToolSearchCall.Builder createdBy(JsonField<String> createdBy)
Sets Builder.createdBy to an arbitrary JSON value.
You should usually call Builder.createdBy with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponseToolSearchCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseToolSearchCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseToolSearchCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseToolSearchCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseToolSearchCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseToolSearchCall build()
Returns an immutable instance of BetaResponseToolSearchCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .arguments() .callId() .execution() .status()
-
-
-
-