Record Class InstallationReviewPlugin.InstallationReviewPluginReview

java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.InstallationReviewPlugin.InstallationReviewPluginReview
Enclosing class:
InstallationReviewPlugin

public static record InstallationReviewPlugin.InstallationReviewPluginReview(String name, String description, String version, InstallationCatalogueIdentity catalogue, PluginInstallationSource source, PluginInstallationLocation target, Boolean installsDisabled, List<PluginInstallationFileReview> files, Long totalBytes, String manifestPath, String manifestContent, List<PluginInstallationMcpServerReview> mcpServers, String action) extends Record
Review for installing a verified Agent Plugin.
Since:
1.0.0
  • Constructor Details

    • InstallationReviewPluginReview

      public InstallationReviewPluginReview(String name, String description, String version, InstallationCatalogueIdentity catalogue, PluginInstallationSource source, PluginInstallationLocation target, Boolean installsDisabled, List<PluginInstallationFileReview> files, Long totalBytes, String manifestPath, String manifestContent, List<PluginInstallationMcpServerReview> mcpServers, String action)
      Creates an instance of a InstallationReviewPluginReview record class.
      Parameters:
      name - the value for the name record component
      description - the value for the description record component
      version - the value for the version record component
      catalogue - the value for the catalogue record component
      source - the value for the source record component
      target - the value for the target record component
      installsDisabled - the value for the installsDisabled record component
      files - the value for the files record component
      totalBytes - the value for the totalBytes record component
      manifestPath - the value for the manifestPath record component
      manifestContent - the value for the manifestContent record component
      mcpServers - the value for the mcpServers record component
      action - the value for the action 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.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component
    • catalogue

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

      public PluginInstallationSource source()
      Returns the value of the source record component.
      Returns:
      the value of the source record component
    • target

      public PluginInstallationLocation target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • installsDisabled

      public Boolean installsDisabled()
      Returns the value of the installsDisabled record component.
      Returns:
      the value of the installsDisabled record component
    • files

      Returns the value of the files record component.
      Returns:
      the value of the files record component
    • totalBytes

      public Long totalBytes()
      Returns the value of the totalBytes record component.
      Returns:
      the value of the totalBytes record component
    • manifestPath

      public String manifestPath()
      Returns the value of the manifestPath record component.
      Returns:
      the value of the manifestPath record component
    • manifestContent

      public String manifestContent()
      Returns the value of the manifestContent record component.
      Returns:
      the value of the manifestContent record component
    • mcpServers

      Returns the value of the mcpServers record component.
      Returns:
      the value of the mcpServers record component
    • action

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