Class ResponseToolSearchCall
-
- All Implemented Interfaces:
public final class ResponseToolSearchCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseToolSearchCall.BuilderA builder for ResponseToolSearchCall.
public final classResponseToolSearchCall.ExecutionWhether tool search was executed by the server or by the client.
public final classResponseToolSearchCall.StatusThe status of the tool search call item that was recorded.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the tool search call item. final JsonValue_arguments()Arguments used for the tool search call. final Optional<String>callId()The unique ID of the tool search call generated by the model. final ResponseToolSearchCall.Executionexecution()Whether tool search was executed by the server or by the client. final ResponseToolSearchCall.Statusstatus()The status of the tool search call item that was recorded. final JsonValue_type()The type of the item. final Optional<String>createdBy()The identifier of the actor that created the item. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<ResponseToolSearchCall.Execution>_execution()Returns the raw JSON value of execution. final JsonField<ResponseToolSearchCall.Status>_status()Returns the raw JSON value of status. final JsonField<String>_createdBy()Returns the raw JSON value of createdBy. final Map<String, JsonValue>_additionalProperties()final ResponseToolSearchCall.BuildertoBuilder()final ResponseToolSearchCallvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseToolSearchCall.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseToolSearchCall. -
-
Method Detail
-
_arguments
final JsonValue _arguments()
Arguments used for the tool search call.
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = responseToolSearchCall.arguments().convert(MyClass.class);
-
callId
final Optional<String> callId()
The unique ID of the tool search call generated by the model.
-
execution
final ResponseToolSearchCall.Execution execution()
Whether tool search was executed by the server or by the client.
-
status
final ResponseToolSearchCall.Status status()
The status of the tool search call item that was recorded.
-
_type
final JsonValue _type()
The type of the item. Always
tool_search_call.Expected to always return the following:
JsonValue.from("tool_search_call")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_callId
final JsonField<String> _callId()
Returns the raw JSON value of callId.
Unlike callId, this method doesn't throw if the JSON field has an unexpected type.
-
_execution
final JsonField<ResponseToolSearchCall.Execution> _execution()
Returns the raw JSON value of execution.
Unlike execution, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<ResponseToolSearchCall.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_createdBy
final JsonField<String> _createdBy()
Returns the raw JSON value of createdBy.
Unlike createdBy, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseToolSearchCall.Builder toBuilder()
-
validate
final ResponseToolSearchCall 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 ResponseToolSearchCall.Builder builder()
Returns a mutable builder for constructing an instance of ResponseToolSearchCall.
The following fields are required:
.id() .arguments() .callId() .execution() .status()
-
-
-
-