Record Class ToolExecutionStartShellToolInfo
java.lang.Object
java.lang.Record
com.github.copilot.generated.ToolExecutionStartShellToolInfo
@Generated("copilot-sdk-codegen")
public record ToolExecutionStartShellToolInfo(List<String> possiblePaths, Boolean hasWriteFileRedirection)
extends Record
Shell-aware path hints for a shell tool's command, captured at start time so consumers can snapshot a file's pre-image before the tool runs.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionToolExecutionStartShellToolInfo(List<String> possiblePaths, Boolean hasWriteFileRedirection) Creates an instance of aToolExecutionStartShellToolInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehasWriteFileRedirectionrecord component.Returns the value of thepossiblePathsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ToolExecutionStartShellToolInfo
Creates an instance of aToolExecutionStartShellToolInforecord class.- Parameters:
possiblePaths- the value for thepossiblePathsrecord componenthasWriteFileRedirection- the value for thehasWriteFileRedirectionrecord 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). -
possiblePaths
-
hasWriteFileRedirection
Returns the value of thehasWriteFileRedirectionrecord component.- Returns:
- the value of the
hasWriteFileRedirectionrecord component
-