Record Class McpPrepareInstallParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpPrepareInstallParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record McpPrepareInstallParams(CatalogClientContract contract, String planHandle, String choiceId, String policySessionId, List<McpInstallationInput> inputs, List<McpInstallationSecret> secrets, Object source, McpInstallationSecretStorage secretStorage)
extends Record
Side-effect-free preparation of one original bound remote MCP choice.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpPrepareInstallParams(CatalogClientContract contract, String planHandle, String choiceId, String policySessionId, List<McpInstallationInput> inputs, List<McpInstallationSecret> secrets, Object source, McpInstallationSecretStorage secretStorage) Creates an instance of aMcpPrepareInstallParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchoiceId()Returns the value of thechoiceIdrecord component.contract()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.inputs()Returns the value of theinputsrecord component.Returns the value of theplanHandlerecord component.Returns the value of thepolicySessionIdrecord component.secrets()Returns the value of thesecretsrecord component.Returns the value of thesecretStoragerecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpPrepareInstallParams
public McpPrepareInstallParams(CatalogClientContract contract, String planHandle, String choiceId, String policySessionId, List<McpInstallationInput> inputs, List<McpInstallationSecret> secrets, Object source, McpInstallationSecretStorage secretStorage) Creates an instance of aMcpPrepareInstallParamsrecord class.- Parameters:
contract- the value for thecontractrecord componentplanHandle- the value for theplanHandlerecord componentchoiceId- the value for thechoiceIdrecord componentpolicySessionId- the value for thepolicySessionIdrecord componentinputs- the value for theinputsrecord componentsecrets- the value for thesecretsrecord componentsource- the value for thesourcerecord componentsecretStorage- the value for thesecretStoragerecord 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
-
planHandle
Returns the value of theplanHandlerecord component.- Returns:
- the value of the
planHandlerecord component
-
choiceId
Returns the value of thechoiceIdrecord component.- Returns:
- the value of the
choiceIdrecord component
-
policySessionId
Returns the value of thepolicySessionIdrecord component.- Returns:
- the value of the
policySessionIdrecord component
-
inputs
Returns the value of theinputsrecord component.- Returns:
- the value of the
inputsrecord component
-
secrets
Returns the value of thesecretsrecord component.- Returns:
- the value of the
secretsrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
secretStorage
Returns the value of thesecretStoragerecord component.- Returns:
- the value of the
secretStoragerecord component
-