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 Summary
ConstructorsConstructorDescriptionMcpInstallationSummary(String installationId, String operationId, McpPlanResourceIdentity identity, String choiceId, McpInstallationState state, InstallationCatalogueIdentity catalogue, String installedAt) Creates an instance of aMcpInstallationSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecataloguerecord component.choiceId()Returns the value of thechoiceIdrecord 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 theinstallationIdrecord component.Returns the value of theinstalledAtrecord component.Returns the value of theoperationIdrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpInstallationSummary
public McpInstallationSummary(String installationId, String operationId, McpPlanResourceIdentity identity, String choiceId, McpInstallationState state, InstallationCatalogueIdentity catalogue, String installedAt) Creates an instance of aMcpInstallationSummaryrecord class.- Parameters:
installationId- the value for theinstallationIdrecord componentoperationId- the value for theoperationIdrecord componentidentity- the value for theidentityrecord componentchoiceId- the value for thechoiceIdrecord componentstate- the value for thestaterecord componentcatalogue- the value for thecataloguerecord componentinstalledAt- the value for theinstalledAtrecord 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). -
installationId
Returns the value of theinstallationIdrecord component.- Returns:
- the value of the
installationIdrecord component
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
identity
Returns the value of theidentityrecord component.- Returns:
- the value of the
identityrecord component
-
choiceId
Returns the value of thechoiceIdrecord component.- Returns:
- the value of the
choiceIdrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
catalogue
Returns the value of thecataloguerecord component.- Returns:
- the value of the
cataloguerecord component
-
installedAt
Returns the value of theinstalledAtrecord component.- Returns:
- the value of the
installedAtrecord component
-