Package com.axelor.ai.tool.builder
Record Class SaveSkillTool.Input
java.lang.Object
java.lang.Record
com.axelor.ai.tool.builder.SaveSkillTool.Input
- Enclosing class:
SaveSkillTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.Returns 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.Returns the value of theinstructionsrecord component.Returns the value of theproceduresrecord component.Returns the value of thereferencesrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Input
public Input(String code, String title, String description, String instructions, List<SaveSkillTool.Reference> references, String procedures) Creates an instance of aInputrecord class.- Parameters:
code- the value for thecoderecord componenttitle- the value for thetitlerecord componentdescription- the value for thedescriptionrecord componentinstructions- the value for theinstructionsrecord componentreferences- the value for thereferencesrecord componentprocedures- the value for theproceduresrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
instructions
Returns the value of theinstructionsrecord component.- Returns:
- the value of the
instructionsrecord component
-
references
Returns the value of thereferencesrecord component.- Returns:
- the value of the
referencesrecord component
-
procedures
Returns the value of theproceduresrecord component.- Returns:
- the value of the
proceduresrecord component
-