Class ResumeSessionRequest

java.lang.Object
com.github.copilot.sdk.json.ResumeSessionRequest

public final class ResumeSessionRequest extends Object
Internal request object for resuming an existing session.

This is a low-level class for JSON-RPC communication. For resuming sessions, use CopilotClient.resumeSession(String, ResumeSessionConfig).

Since:
1.0.0
See Also:
  • Constructor Details

    • ResumeSessionRequest

      public ResumeSessionRequest()
  • Method Details

    • getSessionId

      public String getSessionId()
      Gets the session ID. @return the session ID
    • setSessionId

      public void setSessionId(String sessionId)
      Sets the session ID. @param sessionId the session ID
    • getReasoningEffort

      public String getReasoningEffort()
      Gets the reasoning effort. @return the reasoning effort level
    • setReasoningEffort

      public void setReasoningEffort(String reasoningEffort)
      Sets the reasoning effort. @param reasoningEffort the reasoning effort level
    • getTools

      public List<ToolDef> getTools()
      Gets the tools. @return the tool definitions
    • setTools

      public void setTools(List<ToolDef> tools)
      Sets the tools. @param tools the tool definitions
    • getProvider

      public ProviderConfig getProvider()
      Gets the provider config. @return the provider
    • setProvider

      public void setProvider(ProviderConfig provider)
      Sets the provider config. @param provider the provider
    • getRequestPermission

      public Boolean getRequestPermission()
      Gets request permission flag. @return the flag
    • setRequestPermission

      public void setRequestPermission(Boolean requestPermission)
      Sets request permission flag. @param requestPermission the flag
    • getRequestUserInput

      public Boolean getRequestUserInput()
      Gets request user input flag. @return the flag
    • setRequestUserInput

      public void setRequestUserInput(Boolean requestUserInput)
      Sets request user input flag. @param requestUserInput the flag
    • getHooks

      public Boolean getHooks()
      Gets hooks flag. @return the flag
    • setHooks

      public void setHooks(Boolean hooks)
      Sets hooks flag. @param hooks the flag
    • getWorkingDirectory

      public String getWorkingDirectory()
      Gets working directory. @return the working directory
    • setWorkingDirectory

      public void setWorkingDirectory(String workingDirectory)
      Sets working directory. @param workingDirectory the working directory
    • getDisableResume

      public Boolean getDisableResume()
      Gets disable resume flag. @return the flag
    • setDisableResume

      public void setDisableResume(Boolean disableResume)
      Sets disable resume flag. @param disableResume the flag
    • getStreaming

      public Boolean getStreaming()
      Gets streaming flag. @return the flag
    • setStreaming

      public void setStreaming(Boolean streaming)
      Sets streaming flag. @param streaming the flag
    • getMcpServers

      public Map<String,Object> getMcpServers()
      Gets MCP servers. @return the servers map
    • setMcpServers

      public void setMcpServers(Map<String,Object> mcpServers)
      Sets MCP servers. @param mcpServers the servers map
    • getCustomAgents

      public List<CustomAgentConfig> getCustomAgents()
      Gets custom agents. @return the agents
    • setCustomAgents

      public void setCustomAgents(List<CustomAgentConfig> customAgents)
      Sets custom agents. @param customAgents the agents
    • getSkillDirectories

      public List<String> getSkillDirectories()
      Gets skill directories. @return the directories
    • setSkillDirectories

      public void setSkillDirectories(List<String> skillDirectories)
      Sets skill directories. @param skillDirectories the directories
    • getDisabledSkills

      public List<String> getDisabledSkills()
      Gets disabled skills. @return the disabled skill names
    • setDisabledSkills

      public void setDisabledSkills(List<String> disabledSkills)
      Sets disabled skills. @param disabledSkills the skill names to disable