Record Class McpInstallPlan
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpInstallPlan
@Generated("copilot-sdk-codegen")
public record McpInstallPlan(String planHandle, String planHandleExpiresAt, McpPlanResourceIdentity identity, McpPlanProvenance provenance, List<McpPlanTransportChoice> transportChoices, String recommendedTransportChoiceId, McpPlanTarget target, McpPlanPolicyResult policy, List<McpPlanConfigurationChange> configurationChanges, Boolean reloadRequired, Boolean requiresInteractiveConfiguration)
extends Record
A normalised, inert description of what installing an MCP server would involve. Carries no raw card, no install specification, and no secret value.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpInstallPlan(String planHandle, String planHandleExpiresAt, McpPlanResourceIdentity identity, McpPlanProvenance provenance, List<McpPlanTransportChoice> transportChoices, String recommendedTransportChoiceId, McpPlanTarget target, McpPlanPolicyResult policy, List<McpPlanConfigurationChange> configurationChanges, Boolean reloadRequired, Boolean requiresInteractiveConfiguration) Creates an instance of aMcpInstallPlanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationChangesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.identity()Returns the value of theidentityrecord component.Returns the value of theplanHandlerecord component.Returns the value of theplanHandleExpiresAtrecord component.policy()Returns the value of thepolicyrecord component.Returns the value of theprovenancerecord component.Returns the value of therecommendedTransportChoiceIdrecord component.Returns the value of thereloadRequiredrecord component.Returns the value of therequiresInteractiveConfigurationrecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportChoicesrecord component.
-
Constructor Details
-
McpInstallPlan
public McpInstallPlan(String planHandle, String planHandleExpiresAt, McpPlanResourceIdentity identity, McpPlanProvenance provenance, List<McpPlanTransportChoice> transportChoices, String recommendedTransportChoiceId, McpPlanTarget target, McpPlanPolicyResult policy, List<McpPlanConfigurationChange> configurationChanges, Boolean reloadRequired, Boolean requiresInteractiveConfiguration) Creates an instance of aMcpInstallPlanrecord class.- Parameters:
planHandle- the value for theplanHandlerecord componentplanHandleExpiresAt- the value for theplanHandleExpiresAtrecord componentidentity- the value for theidentityrecord componentprovenance- the value for theprovenancerecord componenttransportChoices- the value for thetransportChoicesrecord componentrecommendedTransportChoiceId- the value for therecommendedTransportChoiceIdrecord componenttarget- the value for thetargetrecord componentpolicy- the value for thepolicyrecord componentconfigurationChanges- the value for theconfigurationChangesrecord componentreloadRequired- the value for thereloadRequiredrecord componentrequiresInteractiveConfiguration- the value for therequiresInteractiveConfigurationrecord 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). -
planHandle
Returns the value of theplanHandlerecord component.- Returns:
- the value of the
planHandlerecord component
-
planHandleExpiresAt
Returns the value of theplanHandleExpiresAtrecord component.- Returns:
- the value of the
planHandleExpiresAtrecord component
-
identity
Returns the value of theidentityrecord component.- Returns:
- the value of the
identityrecord component
-
provenance
Returns the value of theprovenancerecord component.- Returns:
- the value of the
provenancerecord component
-
transportChoices
Returns the value of thetransportChoicesrecord component.- Returns:
- the value of the
transportChoicesrecord component
-
recommendedTransportChoiceId
Returns the value of therecommendedTransportChoiceIdrecord component.- Returns:
- the value of the
recommendedTransportChoiceIdrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
policy
Returns the value of thepolicyrecord component.- Returns:
- the value of the
policyrecord component
-
configurationChanges
Returns the value of theconfigurationChangesrecord component.- Returns:
- the value of the
configurationChangesrecord component
-
reloadRequired
Returns the value of thereloadRequiredrecord component.- Returns:
- the value of the
reloadRequiredrecord component
-
requiresInteractiveConfiguration
Returns the value of therequiresInteractiveConfigurationrecord component.- Returns:
- the value of the
requiresInteractiveConfigurationrecord component
-