Record Class ToolParameters.ToolParametersBuilder.Property
java.lang.Object
java.lang.Record
me.neurodock.llm.tools.ToolParameters.ToolParametersBuilder.Property
- Record Components:
type- The type of the property.description- The description of the property.
- Enclosing class:
ToolParameters.ToolParametersBuilder
public static record ToolParameters.ToolParametersBuilder.Property(ToolParameters.ToolParametersBuilder.Type type, String description)
extends Record
Represents a property of a parameter.
-
Constructor Summary
ConstructorsConstructorDescriptionProperty(ToolParameters.ToolParametersBuilder.Type type, String description) Creates a new instance ofToolParameters.ToolParametersBuilder.Property. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Property
Creates a new instance ofToolParameters.ToolParametersBuilder.Property.- Parameters:
type- The type of the propertydescription- The description of the property
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
type
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-