Record Class CatalogAgentPluginInstallPlan

java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CatalogAgentPluginInstallPlan

@Generated("copilot-sdk-codegen") public record CatalogAgentPluginInstallPlan(List<CatalogAgentPluginInstallSource> sources, String pluginName, String version, String commit, List<CatalogAgentPluginComponent> components, List<String> canvasIds, List<String> extensionIds, List<String> mcpDependencies, List<String> connectorDependencies) extends Record
What installing an Agent Plugin would do, for the user to review and confirm. Provisional: the catalogue install data it is built from is not final.
Since:
1.0.0
  • Constructor Details

    • CatalogAgentPluginInstallPlan

      public CatalogAgentPluginInstallPlan(List<CatalogAgentPluginInstallSource> sources, String pluginName, String version, String commit, List<CatalogAgentPluginComponent> components, List<String> canvasIds, List<String> extensionIds, List<String> mcpDependencies, List<String> connectorDependencies)
      Creates an instance of a CatalogAgentPluginInstallPlan record class.
      Parameters:
      sources - the value for the sources record component
      pluginName - the value for the pluginName record component
      version - the value for the version record component
      commit - the value for the commit record component
      components - the value for the components record component
      canvasIds - the value for the canvasIds record component
      extensionIds - the value for the extensionIds record component
      mcpDependencies - the value for the mcpDependencies record component
      connectorDependencies - the value for the connectorDependencies 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.
    • sources

      Returns the value of the sources record component.
      Returns:
      the value of the sources record component
    • pluginName

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

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

      public String commit()
      Returns the value of the commit record component.
      Returns:
      the value of the commit record component
    • components

      public List<CatalogAgentPluginComponent> components()
      Returns the value of the components record component.
      Returns:
      the value of the components record component
    • canvasIds

      public List<String> canvasIds()
      Returns the value of the canvasIds record component.
      Returns:
      the value of the canvasIds record component
    • extensionIds

      public List<String> extensionIds()
      Returns the value of the extensionIds record component.
      Returns:
      the value of the extensionIds record component
    • mcpDependencies

      public List<String> mcpDependencies()
      Returns the value of the mcpDependencies record component.
      Returns:
      the value of the mcpDependencies record component
    • connectorDependencies

      public List<String> connectorDependencies()
      Returns the value of the connectorDependencies record component.
      Returns:
      the value of the connectorDependencies record component