Class SessionMcpDisableRequest
java.lang.Object
com.github.copilot.generated.rpc.SessionMcpDisableRequest
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public final class SessionMcpDisableRequest
extends Object
Name of the MCP server to disable for the session.
Required inputs are constructor arguments. Optional inputs have fluent setters.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMcpDisableRequest(String serverName) Creates a request with its required inputs. -
Method Summary
Modifier and TypeMethodDescriptionReturns theexpectedInstallationIdproperty.Returns theserverNameproperty.setExpectedInstallationId(String value) Sets theexpectedInstallationIdproperty.
-
Constructor Details
-
SessionMcpDisableRequest
Creates a request with its required inputs.- Parameters:
serverName- Name of the MCP server to disable
-
-
Method Details
-
getServerName
Returns theserverNameproperty.- Returns:
- Name of the MCP server to disable
-
getExpectedInstallationId
Returns theexpectedInstallationIdproperty.- Returns:
- Required for an owned installation; omission preserves only manual-server behaviour.
-
setExpectedInstallationId
Sets theexpectedInstallationIdproperty.- Parameters:
value- Required for an owned installation; omission preserves only manual-server behaviour.- Returns:
- this request
-