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 disabled skills.Gets disable resume flag.getHooks()Gets hooks flag.Gets MCP servers.Gets the provider config.Gets the reasoning effort.Gets request permission flag.Gets request user input flag.Gets the session ID.Gets skill directories.Gets streaming flag.getTools()Gets the tools.Gets working directory.voidsetCustomAgents(List<CustomAgentConfig> customAgents) Sets custom agents.voidsetDisabledSkills(List<String> disabledSkills) Sets disabled skills.voidsetDisableResume(Boolean disableResume) Sets disable resume flag.voidSets hooks flag.voidsetMcpServers(Map<String, Object> mcpServers) Sets MCP servers.voidsetProvider(ProviderConfig provider) Sets the provider config.voidsetReasoningEffort(String reasoningEffort) Sets the reasoning effort.voidsetRequestPermission(Boolean requestPermission) Sets request permission flag.voidsetRequestUserInput(Boolean requestUserInput) Sets request user input flag.voidsetSessionId(String sessionId) Sets the session ID.voidsetSkillDirectories(List<String> skillDirectories) Sets skill directories.voidsetStreaming(Boolean streaming) Sets streaming flag.voidSets the tools.voidsetWorkingDirectory(String workingDirectory) Sets working directory.
-
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 -
getReasoningEffort
Gets the reasoning effort. @return the reasoning effort level -
setReasoningEffort
Sets the reasoning effort. @param reasoningEffort the reasoning effort level -
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 -
getRequestUserInput
Gets request user input flag. @return the flag -
setRequestUserInput
Sets request user input flag. @param requestUserInput the flag -
getHooks
Gets hooks flag. @return the flag -
setHooks
Sets hooks flag. @param hooks the flag -
getWorkingDirectory
Gets working directory. @return the working directory -
setWorkingDirectory
Sets working directory. @param workingDirectory the working directory -
getDisableResume
Gets disable resume flag. @return the flag -
setDisableResume
Sets disable resume flag. @param disableResume 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 -
getSkillDirectories
Gets skill directories. @return the directories -
setSkillDirectories
Sets skill directories. @param skillDirectories the directories -
getDisabledSkills
Gets disabled skills. @return the disabled skill names -
setDisabledSkills
Sets disabled skills. @param disabledSkills the skill names to disable
-