Record Class McpInstallationReviewUninstall
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpInstallationReviewUninstall
- All Implemented Interfaces:
McpInstallationReview
@Generated("copilot-sdk-codegen")
public record McpInstallationReviewUninstall(String installationId, McpPlanResourceIdentity identity, McpPlanProvenance provenance, McpPlanTarget target, McpPlanPolicyResult policy, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication, String action)
extends Record
implements McpInstallationReview
Variant
uninstall of McpInstallationReview.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpInstallationReviewUninstall(String installationId, McpPlanResourceIdentity identity, McpPlanProvenance provenance, McpPlanTarget target, McpPlanPolicyResult policy, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication) McpInstallationReviewUninstall(String installationId, McpPlanResourceIdentity identity, McpPlanProvenance provenance, McpPlanTarget target, McpPlanPolicyResult policy, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication, String action) Creates an instance of aMcpInstallationReviewUninstallrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord 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 theownedSecretCountrecord component.policy()Returns the value of thepolicyrecord component.Returns the value of thepreservesSharedAuthenticationrecord component.Returns the value of theprovenancerecord component.Returns the value of therestoresPreviousConfigurationrecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpInstallationReviewUninstall
public McpInstallationReviewUninstall(String installationId, McpPlanResourceIdentity identity, McpPlanProvenance provenance, McpPlanTarget target, McpPlanPolicyResult policy, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication, String action) Creates an instance of aMcpInstallationReviewUninstallrecord class.- Parameters:
installationId- the value for theinstallationIdrecord componentidentity- the value for theidentityrecord componentprovenance- the value for theprovenancerecord componenttarget- the value for thetargetrecord componentpolicy- the value for thepolicyrecord componentrestoresPreviousConfiguration- the value for therestoresPreviousConfigurationrecord componentownedSecretCount- the value for theownedSecretCountrecord componentpreservesSharedAuthentication- the value for thepreservesSharedAuthenticationrecord componentaction- the value for theactionrecord component
-
McpInstallationReviewUninstall
public McpInstallationReviewUninstall(String installationId, McpPlanResourceIdentity identity, McpPlanProvenance provenance, McpPlanTarget target, McpPlanPolicyResult policy, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication)
-
-
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
-
identity
Returns the value of theidentityrecord component.- Returns:
- the value of the
identityrecord component
-
provenance
Returns the value of theprovenancerecord component.- Returns:
- the value of the
provenancerecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
policy
Returns the value of thepolicyrecord component.- Returns:
- the value of the
policyrecord 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
-
action
Returns the value of theactionrecord component.- Specified by:
actionin interfaceMcpInstallationReview- Returns:
- the value of the
actionrecord component
-