Record Class SaveToolTool.Input

java.lang.Object
java.lang.Record
com.axelor.ai.tool.builder.SaveToolTool.Input
Enclosing class:
SaveToolTool

public static record SaveToolTool.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) extends Record
  • 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 a Input record class.
      Parameters:
      code - the value for the code record component
      name - the value for the name record component
      description - the value for the description record component
      type - the value for the type record component
      inputSchema - the value for the inputSchema record component
      actionLabel - the value for the actionLabel record component
      script - the value for the script record component
      httpUrl - the value for the httpUrl record component
      httpMethod - the value for the httpMethod record component
      httpHeaders - the value for the httpHeaders record component
      httpBody - the value for the httpBody record component
      actionName - the value for the actionName record component
      actionModel - the value for the actionModel record component
      systemTool - the value for the systemTool record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • code

      public String code()
      Returns the value of the code record component.
      Returns:
      the value of the code record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • type

      public String type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • inputSchema

      public String inputSchema()
      Returns the value of the inputSchema record component.
      Returns:
      the value of the inputSchema record component
    • actionLabel

      public String actionLabel()
      Returns the value of the actionLabel record component.
      Returns:
      the value of the actionLabel record component
    • script

      public String script()
      Returns the value of the script record component.
      Returns:
      the value of the script record component
    • httpUrl

      public String httpUrl()
      Returns the value of the httpUrl record component.
      Returns:
      the value of the httpUrl record component
    • httpMethod

      public String httpMethod()
      Returns the value of the httpMethod record component.
      Returns:
      the value of the httpMethod record component
    • httpHeaders

      public String httpHeaders()
      Returns the value of the httpHeaders record component.
      Returns:
      the value of the httpHeaders record component
    • httpBody

      public String httpBody()
      Returns the value of the httpBody record component.
      Returns:
      the value of the httpBody record component
    • actionName

      public String actionName()
      Returns the value of the actionName record component.
      Returns:
      the value of the actionName record component
    • actionModel

      public String actionModel()
      Returns the value of the actionModel record component.
      Returns:
      the value of the actionModel record component
    • systemTool

      public String systemTool()
      Returns the value of the systemTool record component.
      Returns:
      the value of the systemTool record component