Class ToolAttributes
java.lang.Object
org.opensearch.client.opensearch.ml.ToolAttributes
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ToolAttributes.Builder,ToolAttributes>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ToolAttributes
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ToolAttributes.Builder,ToolAttributes>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ToolAttributes> Json deserializer forToolAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic ToolAttributes.Builderbuilder()booleaninthashCode()final StringAPI name:input_schemastatic ToolAttributesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Booleanstrict()API name:strictCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods 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 forToolAttributes
-
-
Method Details
-
of
-
attributes
-
inputSchema
API name:input_schema -
strict
API name:strict -
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<ToolAttributes.Builder,ToolAttributes> - Returns:
- a new builder instance.
-
builder
-
setupToolAttributesDeserializer
protected static void setupToolAttributesDeserializer(ObjectDeserializer<ToolAttributes.Builder> op) -
hashCode
public int hashCode() -
equals
-