Class ToolSearchToolSearchResultBlock
-
- All Implemented Interfaces:
public final class ToolSearchToolSearchResultBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classToolSearchToolSearchResultBlock.BuilderA builder for ToolSearchToolSearchResultBlock.
-
Method Summary
Modifier and Type Method Description final List<ToolReferenceBlock>toolReferences()final ToolSearchToolSearchResultBlockParamtoParam()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("tool_search_tool_search_result")final JsonField<List<ToolReferenceBlock>>_toolReferences()Returns the raw JSON value of toolReferences. final Map<String, JsonValue>_additionalProperties()final ToolSearchToolSearchResultBlock.BuildertoBuilder()final ToolSearchToolSearchResultBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ToolSearchToolSearchResultBlock.Builderbuilder()Returns a mutable builder for constructing an instance of ToolSearchToolSearchResultBlock. final static ToolSearchToolSearchResultBlockof(List<ToolReferenceBlock> toolReferences)Returns an immutable instance of ToolSearchToolSearchResultBlock with the required toolReferences set to the given value. -
-
Method Detail
-
toolReferences
final List<ToolReferenceBlock> toolReferences()
-
toParam
final ToolSearchToolSearchResultBlockParam toParam()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("tool_search_tool_search_result")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_toolReferences
final JsonField<List<ToolReferenceBlock>> _toolReferences()
Returns the raw JSON value of toolReferences.
Unlike toolReferences, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ToolSearchToolSearchResultBlock.Builder toBuilder()
-
validate
final ToolSearchToolSearchResultBlock 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 ToolSearchToolSearchResultBlock.Builder builder()
Returns a mutable builder for constructing an instance of ToolSearchToolSearchResultBlock.
The following fields are required:
.toolReferences()
-
of
final static ToolSearchToolSearchResultBlock of(List<ToolReferenceBlock> toolReferences)
Returns an immutable instance of ToolSearchToolSearchResultBlock with the required toolReferences set to the given value.
-
-
-
-