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 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 a McpInstallPlan record class.
      Parameters:
      planHandle - the value for the planHandle record component
      planHandleExpiresAt - the value for the planHandleExpiresAt record component
      identity - the value for the identity record component
      provenance - the value for the provenance record component
      transportChoices - the value for the transportChoices record component
      recommendedTransportChoiceId - the value for the recommendedTransportChoiceId record component
      target - the value for the target record component
      policy - the value for the policy record component
      configurationChanges - the value for the configurationChanges record component
      reloadRequired - the value for the reloadRequired record component
      requiresInteractiveConfiguration - the value for the requiresInteractiveConfiguration record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • planHandle

      public String planHandle()
      Returns the value of the planHandle record component.
      Returns:
      the value of the planHandle record component
    • planHandleExpiresAt

      public String planHandleExpiresAt()
      Returns the value of the planHandleExpiresAt record component.
      Returns:
      the value of the planHandleExpiresAt record component
    • identity

      public McpPlanResourceIdentity identity()
      Returns the value of the identity record component.
      Returns:
      the value of the identity record component
    • provenance

      public McpPlanProvenance provenance()
      Returns the value of the provenance record component.
      Returns:
      the value of the provenance record component
    • transportChoices

      public List<McpPlanTransportChoice> transportChoices()
      Returns the value of the transportChoices record component.
      Returns:
      the value of the transportChoices record component
    • recommendedTransportChoiceId

      public String recommendedTransportChoiceId()
      Returns the value of the recommendedTransportChoiceId record component.
      Returns:
      the value of the recommendedTransportChoiceId record component
    • target

      public McpPlanTarget target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • policy

      public McpPlanPolicyResult policy()
      Returns the value of the policy record component.
      Returns:
      the value of the policy record component
    • configurationChanges

      public List<McpPlanConfigurationChange> configurationChanges()
      Returns the value of the configurationChanges record component.
      Returns:
      the value of the configurationChanges record component
    • reloadRequired

      public Boolean reloadRequired()
      Returns the value of the reloadRequired record component.
      Returns:
      the value of the reloadRequired record component
    • requiresInteractiveConfiguration

      public Boolean requiresInteractiveConfiguration()
      Returns the value of the requiresInteractiveConfiguration record component.
      Returns:
      the value of the requiresInteractiveConfiguration record component