Class ResponseToolSearchCall.Builder
-
- All Implemented Interfaces:
public final class ResponseToolSearchCall.BuilderA builder for ResponseToolSearchCall.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseToolSearchCall.Builder id(String id)
The unique ID of the tool search call item.
-
id
final ResponseToolSearchCall.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 ResponseToolSearchCall.Builder arguments(JsonValue arguments)
Arguments used for the tool search call.
-
callId
final ResponseToolSearchCall.Builder callId(String callId)
The unique ID of the tool search call generated by the model.
-
callId
final ResponseToolSearchCall.Builder callId(Optional<String> callId)
Alias for calling Builder.callId with
callId.orElse(null).
-
callId
final ResponseToolSearchCall.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 ResponseToolSearchCall.Builder execution(ResponseToolSearchCall.Execution execution)
Whether tool search was executed by the server or by the client.
-
execution
final ResponseToolSearchCall.Builder execution(JsonField<ResponseToolSearchCall.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 ResponseToolSearchCall.Builder status(ResponseToolSearchCall.Status status)
The status of the tool search call item that was recorded.
-
status
final ResponseToolSearchCall.Builder status(JsonField<ResponseToolSearchCall.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 ResponseToolSearchCall.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.
-
createdBy
final ResponseToolSearchCall.Builder createdBy(String createdBy)
The identifier of the actor that created the item.
-
createdBy
final ResponseToolSearchCall.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 ResponseToolSearchCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseToolSearchCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseToolSearchCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseToolSearchCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseToolSearchCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseToolSearchCall build()
Returns an immutable instance of ResponseToolSearchCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .arguments() .callId() .execution() .status()
-
-
-
-