Record Class McpInstallationSummary

java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpInstallationSummary

@Generated("copilot-sdk-codegen") public record McpInstallationSummary(String installationId, String operationId, McpPlanResourceIdentity identity, String choiceId, McpInstallationState state, InstallationCatalogueIdentity catalogue, String installedAt) extends Record
Durable configuration ownership is distinct from session-specific usability.
Since:
1.0.0
  • Constructor Details

    • McpInstallationSummary

      public McpInstallationSummary(String installationId, String operationId, McpPlanResourceIdentity identity, String choiceId, McpInstallationState state, InstallationCatalogueIdentity catalogue, String installedAt)
      Creates an instance of a McpInstallationSummary record class.
      Parameters:
      installationId - the value for the installationId record component
      operationId - the value for the operationId record component
      identity - the value for the identity record component
      choiceId - the value for the choiceId record component
      state - the value for the state record component
      catalogue - the value for the catalogue record component
      installedAt - the value for the installedAt 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.
    • installationId

      public String installationId()
      Returns the value of the installationId record component.
      Returns:
      the value of the installationId record component
    • operationId

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

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

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

      public McpInstallationState state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • catalogue

      public InstallationCatalogueIdentity catalogue()
      Returns the value of the catalogue record component.
      Returns:
      the value of the catalogue record component
    • installedAt

      public String installedAt()
      Returns the value of the installedAt record component.
      Returns:
      the value of the installedAt record component