Record Class Tool.Function.Parameters
java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.ollama.Tool.Function.Parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tool.Function.Parameters
empty()
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.static Tool.Function.Parameters
Returns the value of theproperties
record component.required()
Returns the value of therequired
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Constructor Details
-
Parameters
Creates an instance of aParameters
record class.- Parameters:
type
- the value for thetype
record componentproperties
- the value for theproperties
record componentrequired
- the value for therequired
record component
-
-
Method Details
-
objectType
-
empty
-
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
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
properties
-
required
-