Record Class McpUninstallPlan
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpUninstallPlan
@Generated("copilot-sdk-codegen")
public record McpUninstallPlan(String planHandle, String operationId, Long expiresAtEpochMs, McpInstallationSummary installation, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication)
extends Record
Exact inert removal plan. No configuration or credentials have changed.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpUninstallPlan(String planHandle, String operationId, Long expiresAtEpochMs, McpInstallationSummary installation, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication) Creates an instance of aMcpUninstallPlanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtEpochMsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinstallationrecord component.Returns the value of theoperationIdrecord component.Returns the value of theownedSecretCountrecord component.Returns the value of theplanHandlerecord component.Returns the value of thepreservesSharedAuthenticationrecord component.Returns the value of therestoresPreviousConfigurationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpUninstallPlan
public McpUninstallPlan(String planHandle, String operationId, Long expiresAtEpochMs, McpInstallationSummary installation, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication) Creates an instance of aMcpUninstallPlanrecord class.- Parameters:
planHandle- the value for theplanHandlerecord componentoperationId- the value for theoperationIdrecord componentexpiresAtEpochMs- the value for theexpiresAtEpochMsrecord componentinstallation- the value for theinstallationrecord componentrestoresPreviousConfiguration- the value for therestoresPreviousConfigurationrecord componentownedSecretCount- the value for theownedSecretCountrecord componentpreservesSharedAuthentication- the value for thepreservesSharedAuthenticationrecord 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
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
expiresAtEpochMs
Returns the value of theexpiresAtEpochMsrecord component.- Returns:
- the value of the
expiresAtEpochMsrecord component
-
installation
Returns the value of theinstallationrecord component.- Returns:
- the value of the
installationrecord component
-
restoresPreviousConfiguration
Returns the value of therestoresPreviousConfigurationrecord component.- Returns:
- the value of the
restoresPreviousConfigurationrecord component
-
ownedSecretCount
Returns the value of theownedSecretCountrecord component.- Returns:
- the value of the
ownedSecretCountrecord component
-