Record Class ToolsShellDescriptorConfig

java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ToolsShellDescriptorConfig

@Generated("copilot-sdk-codegen") public record ToolsShellDescriptorConfig(String shellType, String displayName, String shellToolName, String readShellToolName, String stopShellToolName, String listShellsToolName, List<String> descriptionLines) extends Record
Shell-specific names and description lines used to materialize built-in shell tool descriptors.
Since:
1.0.0
  • Constructor Details

    • ToolsShellDescriptorConfig

      public ToolsShellDescriptorConfig(String shellType, String displayName, String shellToolName, String readShellToolName, String stopShellToolName, String listShellsToolName, List<String> descriptionLines)
      Creates an instance of a ToolsShellDescriptorConfig record class.
      Parameters:
      shellType - the value for the shellType record component
      displayName - the value for the displayName record component
      shellToolName - the value for the shellToolName record component
      readShellToolName - the value for the readShellToolName record component
      stopShellToolName - the value for the stopShellToolName record component
      listShellsToolName - the value for the listShellsToolName record component
      descriptionLines - the value for the descriptionLines 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.
    • shellType

      public String shellType()
      Returns the value of the shellType record component.
      Returns:
      the value of the shellType record component
    • displayName

      public String displayName()
      Returns the value of the displayName record component.
      Returns:
      the value of the displayName record component
    • shellToolName

      public String shellToolName()
      Returns the value of the shellToolName record component.
      Returns:
      the value of the shellToolName record component
    • readShellToolName

      public String readShellToolName()
      Returns the value of the readShellToolName record component.
      Returns:
      the value of the readShellToolName record component
    • stopShellToolName

      public String stopShellToolName()
      Returns the value of the stopShellToolName record component.
      Returns:
      the value of the stopShellToolName record component
    • listShellsToolName

      public String listShellsToolName()
      Returns the value of the listShellsToolName record component.
      Returns:
      the value of the listShellsToolName record component
    • descriptionLines

      public List<String> descriptionLines()
      Returns the value of the descriptionLines record component.
      Returns:
      the value of the descriptionLines record component