Class ToolItems
java.lang.Object
org.opensearch.client.opensearch.ml.ToolItems
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ToolItems.Builder,ToolItems>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ToolItems
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ToolItems.Builder,ToolItems>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ToolItems> Json deserializer forToolItems -
Method Summary
Modifier and TypeMethodDescriptionfinal ToolAttributesAPI name:attributesstatic ToolItems.Builderbuilder()final StringAPI name:descriptionbooleaninthashCode()final BooleanAPI name:include_output_in_agent_responsemetadata()final Stringname()API name:namestatic ToolItemsAPI name:parametersvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()API name:typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forToolItems
-
-
Method Details
-
of
-
attributes
API name:attributes -
description
API name:description -
includeOutputInAgentResponse
API name:include_output_in_agent_response -
metadata
-
name
API name:name -
parameters
API name:parameters -
type
API name:type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ToolItems.Builder,ToolItems> - Returns:
- a new builder instance.
-
builder
-
setupToolItemsDeserializer
-
hashCode
public int hashCode() -
equals
-