Class InstructionsGetDiscoveryPathsRequest

java.lang.Object
com.github.copilot.generated.rpc.InstructionsGetDiscoveryPathsRequest

@CopilotExperimental @Generated("copilot-sdk-codegen") public final class InstructionsGetDiscoveryPathsRequest extends Object
Optional project paths to include when enumerating instruction discovery targets.

Required inputs are constructor arguments. Optional inputs have fluent setters.

Since:
1.0.0
  • Constructor Details

    • InstructionsGetDiscoveryPathsRequest

      public InstructionsGetDiscoveryPathsRequest()
      Creates a request with its required inputs.
  • Method Details

    • getProjectPaths

      public List<String> getProjectPaths()
      Returns the projectPaths property.
      Returns:
      Optional list of project directory paths. When omitted or empty, only the user-level targets are returned.
    • getExcludeHostInstructions

      public Boolean getExcludeHostInstructions()
      Returns the excludeHostInstructions property.
      Returns:
      When true, omit the host's user-level instruction targets, leaving only repository targets. For multitenant deployments (mirrors `discover`'s `excludeHostInstructions`).
    • getInstructionDirectories

      public List<String> getInstructionDirectories()
      Returns the instructionDirectories property.
      Returns:
      Explicit discovery-only instruction roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.
    • setProjectPaths

      public InstructionsGetDiscoveryPathsRequest setProjectPaths(List<String> value)
      Sets the projectPaths property.
      Parameters:
      value - Optional list of project directory paths. When omitted or empty, only the user-level targets are returned.
      Returns:
      this request
    • setExcludeHostInstructions

      public InstructionsGetDiscoveryPathsRequest setExcludeHostInstructions(Boolean value)
      Sets the excludeHostInstructions property.
      Parameters:
      value - When true, omit the host's user-level instruction targets, leaving only repository targets. For multitenant deployments (mirrors `discover`'s `excludeHostInstructions`).
      Returns:
      this request
    • setInstructionDirectories

      public InstructionsGetDiscoveryPathsRequest setInstructionDirectories(List<String> value)
      Sets the instructionDirectories property.
      Parameters:
      value - Explicit discovery-only instruction roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.
      Returns:
      this request