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 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 a McpInstallationReviewUninstall record class.
      Parameters:
      installationId - the value for the installationId record component
      identity - the value for the identity record component
      provenance - the value for the provenance record component
      target - the value for the target record component
      policy - the value for the policy record component
      restoresPreviousConfiguration - the value for the restoresPreviousConfiguration record component
      ownedSecretCount - the value for the ownedSecretCount record component
      preservesSharedAuthentication - the value for the preservesSharedAuthentication record component
      action - the value for the action record component
    • McpInstallationReviewUninstall

      public McpInstallationReviewUninstall(String installationId, McpPlanResourceIdentity identity, McpPlanProvenance provenance, McpPlanTarget target, McpPlanPolicyResult policy, Boolean restoresPreviousConfiguration, Long ownedSecretCount, Boolean preservesSharedAuthentication)
  • 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
    • identity

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

      public McpPlanProvenance provenance()
      Returns the value of the provenance record component.
      Returns:
      the value of the provenance record component
    • target

      public McpPlanTarget target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • policy

      public McpPlanPolicyResult policy()
      Returns the value of the policy record component.
      Returns:
      the value of the policy record component
    • restoresPreviousConfiguration

      public Boolean restoresPreviousConfiguration()
      Returns the value of the restoresPreviousConfiguration record component.
      Returns:
      the value of the restoresPreviousConfiguration record component
    • ownedSecretCount

      public Long ownedSecretCount()
      Returns the value of the ownedSecretCount record component.
      Returns:
      the value of the ownedSecretCount record component
    • preservesSharedAuthentication

      public Boolean preservesSharedAuthentication()
      Returns the value of the preservesSharedAuthentication record component.
      Returns:
      the value of the preservesSharedAuthentication record component
    • action

      public String action()
      Returns the value of the action record component.
      Specified by:
      action in interface McpInstallationReview
      Returns:
      the value of the action record component