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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionLinesrecord component.Returns the value of thedisplayNamerecord 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 thelistShellsToolNamerecord component.Returns the value of thereadShellToolNamerecord component.Returns the value of theshellToolNamerecord component.Returns the value of theshellTyperecord component.Returns the value of thestopShellToolNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ToolsShellDescriptorConfig
public ToolsShellDescriptorConfig(String shellType, String displayName, String shellToolName, String readShellToolName, String stopShellToolName, String listShellsToolName, List<String> descriptionLines) Creates an instance of aToolsShellDescriptorConfigrecord class.- Parameters:
shellType- the value for theshellTyperecord componentdisplayName- the value for thedisplayNamerecord componentshellToolName- the value for theshellToolNamerecord componentreadShellToolName- the value for thereadShellToolNamerecord componentstopShellToolName- the value for thestopShellToolNamerecord componentlistShellsToolName- the value for thelistShellsToolNamerecord componentdescriptionLines- the value for thedescriptionLinesrecord component
-
-
Method Details
-
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). -
shellType
Returns the value of theshellTyperecord component.- Returns:
- the value of the
shellTyperecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
shellToolName
Returns the value of theshellToolNamerecord component.- Returns:
- the value of the
shellToolNamerecord component
-
readShellToolName
Returns the value of thereadShellToolNamerecord component.- Returns:
- the value of the
readShellToolNamerecord component
-
stopShellToolName
Returns the value of thestopShellToolNamerecord component.- Returns:
- the value of the
stopShellToolNamerecord component
-
listShellsToolName
Returns the value of thelistShellsToolNamerecord component.- Returns:
- the value of the
listShellsToolNamerecord component
-
descriptionLines
-