Package com.axelor.ai.tool.builder
Record Class SaveToolTool.Input
java.lang.Object
java.lang.Record
com.axelor.ai.tool.builder.SaveToolTool.Input
- Enclosing class:
SaveToolTool
-
Constructor Summary
ConstructorsConstructorDescriptionInput(String code, String name, String description, String type, String inputSchema, String actionLabel, String script, String httpUrl, String httpMethod, String httpHeaders, String httpBody, String actionName, String actionModel, String systemTool) Creates an instance of aInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactionLabelrecord component.Returns the value of theactionModelrecord component.Returns the value of theactionNamerecord component.code()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.httpBody()Returns the value of thehttpBodyrecord component.Returns the value of thehttpHeadersrecord component.Returns the value of thehttpMethodrecord component.httpUrl()Returns the value of thehttpUrlrecord component.Returns the value of theinputSchemarecord component.name()Returns the value of thenamerecord component.script()Returns the value of thescriptrecord component.Returns the value of thesystemToolrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Input
public Input(String code, String name, String description, String type, String inputSchema, String actionLabel, String script, String httpUrl, String httpMethod, String httpHeaders, String httpBody, String actionName, String actionModel, String systemTool) Creates an instance of aInputrecord class.- Parameters:
code- the value for thecoderecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componenttype- the value for thetyperecord componentinputSchema- the value for theinputSchemarecord componentactionLabel- the value for theactionLabelrecord componentscript- the value for thescriptrecord componenthttpUrl- the value for thehttpUrlrecord componenthttpMethod- the value for thehttpMethodrecord componenthttpHeaders- the value for thehttpHeadersrecord componenthttpBody- the value for thehttpBodyrecord componentactionName- the value for theactionNamerecord componentactionModel- the value for theactionModelrecord componentsystemTool- the value for thesystemToolrecord 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
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
inputSchema
Returns the value of theinputSchemarecord component.- Returns:
- the value of the
inputSchemarecord component
-
actionLabel
Returns the value of theactionLabelrecord component.- Returns:
- the value of the
actionLabelrecord component
-
script
Returns the value of thescriptrecord component.- Returns:
- the value of the
scriptrecord component
-
httpUrl
Returns the value of thehttpUrlrecord component.- Returns:
- the value of the
httpUrlrecord component
-
httpMethod
Returns the value of thehttpMethodrecord component.- Returns:
- the value of the
httpMethodrecord component
-
httpHeaders
Returns the value of thehttpHeadersrecord component.- Returns:
- the value of the
httpHeadersrecord component
-
httpBody
Returns the value of thehttpBodyrecord component.- Returns:
- the value of the
httpBodyrecord component
-
actionName
Returns the value of theactionNamerecord component.- Returns:
- the value of the
actionNamerecord component
-
actionModel
Returns the value of theactionModelrecord component.- Returns:
- the value of the
actionModelrecord component
-
systemTool
Returns the value of thesystemToolrecord component.- Returns:
- the value of the
systemToolrecord component
-