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 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 a McpPrepareInstallParams record class.
      Parameters:
      contract - the value for the contract record component
      planHandle - the value for the planHandle record component
      choiceId - the value for the choiceId record component
      policySessionId - the value for the policySessionId record component
      inputs - the value for the inputs record component
      secrets - the value for the secrets record component
      source - the value for the source record component
      secretStorage - the value for the secretStorage 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.
    • contract

      public CatalogClientContract contract()
      Returns the value of the contract record component.
      Returns:
      the value of the contract record component
    • planHandle

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

      public String choiceId()
      Returns the value of the choiceId record component.
      Returns:
      the value of the choiceId record component
    • policySessionId

      public String policySessionId()
      Returns the value of the policySessionId record component.
      Returns:
      the value of the policySessionId record component
    • inputs

      public List<McpInstallationInput> inputs()
      Returns the value of the inputs record component.
      Returns:
      the value of the inputs record component
    • secrets

      public List<McpInstallationSecret> secrets()
      Returns the value of the secrets record component.
      Returns:
      the value of the secrets record component
    • source

      public Object source()
      Returns the value of the source record component.
      Returns:
      the value of the source record component
    • secretStorage

      public McpInstallationSecretStorage secretStorage()
      Returns the value of the secretStorage record component.
      Returns:
      the value of the secretStorage record component