Package com.github.copilot.sdk.json
Class ResumeSessionRequest
java.lang.Object
com.github.copilot.sdk.json.ResumeSessionRequest
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets custom agents.Gets MCP servers.Gets the provider config.Gets request permission flag.Gets the session ID.Gets streaming flag.getTools()Gets the tools.voidsetCustomAgents(List<CustomAgentConfig> customAgents) Sets custom agents.voidsetMcpServers(Map<String, Object> mcpServers) Sets MCP servers.voidsetProvider(ProviderConfig provider) Sets the provider config.voidsetRequestPermission(Boolean requestPermission) Sets request permission flag.voidsetSessionId(String sessionId) Sets the session ID.voidsetStreaming(Boolean streaming) Sets streaming flag.voidSets the tools.
-
Constructor Details
-
ResumeSessionRequest
public ResumeSessionRequest()
-
-
Method Details
-
getSessionId
Gets the session ID. @return the session ID -
setSessionId
Sets the session ID. @param sessionId the session ID -
getTools
Gets the tools. @return the tool definitions -
setTools
Sets the tools. @param tools the tool definitions -
getProvider
Gets the provider config. @return the provider -
setProvider
Sets the provider config. @param provider the provider -
getRequestPermission
Gets request permission flag. @return the flag -
setRequestPermission
Sets request permission flag. @param requestPermission the flag -
getStreaming
Gets streaming flag. @return the flag -
setStreaming
Sets streaming flag. @param streaming the flag -
getMcpServers
Gets MCP servers. @return the servers map -
setMcpServers
Sets MCP servers. @param mcpServers the servers map -
getCustomAgents
Gets custom agents. @return the agents -
setCustomAgents
Sets custom agents. @param customAgents the agents
-