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).

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
    • 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
    • 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