Record Class McpPlanInstallParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPlanInstallParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record McpPlanInstallParams(CatalogClientContract contract, Object source, McpPlanScope scope)
extends Record
A side-effect-free request for an MCP install plan. Computing a plan never writes configuration, stores a secret, or reloads MCP servers.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPlanInstallParams(CatalogClientContract contract, Object source, McpPlanScope scope) Creates an instance of aMcpPlanInstallParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontract()Returns the value of thecontractrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.scope()Returns the value of thescoperecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpPlanInstallParams
Creates an instance of aMcpPlanInstallParamsrecord class.- Parameters:
contract- the value for thecontractrecord componentsource- the value for thesourcerecord componentscope- the value for thescoperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
contract
Returns the value of thecontractrecord component.- Returns:
- the value of the
contractrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-