Record Class InstructionsDiscoverParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.InstructionsDiscoverParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record InstructionsDiscoverParams(List<String> projectPaths, Boolean excludeHostInstructions)
extends Record
Optional project paths to include in instruction discovery.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionInstructionsDiscoverParams(List<String> projectPaths, Boolean excludeHostInstructions) Creates an instance of aInstructionsDiscoverParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludeHostInstructionsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theprojectPathsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InstructionsDiscoverParams
Creates an instance of aInstructionsDiscoverParamsrecord class.- Parameters:
projectPaths- the value for theprojectPathsrecord componentexcludeHostInstructions- the value for theexcludeHostInstructionsrecord 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). -
projectPaths
-
excludeHostInstructions
Returns the value of theexcludeHostInstructionsrecord component.- Returns:
- the value of the
excludeHostInstructionsrecord component
-