Record Class PluginsInstallResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.PluginsInstallResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record PluginsInstallResult(InstalledPluginInfo plugin, Long skillsInstalled, String postInstallMessage, String deprecationWarning)
extends Record
Result of installing a plugin.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionPluginsInstallResult(InstalledPluginInfo plugin, Long skillsInstalled, String postInstallMessage, String deprecationWarning) Creates an instance of aPluginsInstallResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeprecationWarningrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.plugin()Returns the value of thepluginrecord component.Returns the value of thepostInstallMessagerecord component.Returns the value of theskillsInstalledrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PluginsInstallResult
public PluginsInstallResult(InstalledPluginInfo plugin, Long skillsInstalled, String postInstallMessage, String deprecationWarning) Creates an instance of aPluginsInstallResultrecord class.- Parameters:
plugin- the value for thepluginrecord componentskillsInstalled- the value for theskillsInstalledrecord componentpostInstallMessage- the value for thepostInstallMessagerecord componentdeprecationWarning- the value for thedeprecationWarningrecord 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). -
plugin
Returns the value of thepluginrecord component.- Returns:
- the value of the
pluginrecord component
-
skillsInstalled
Returns the value of theskillsInstalledrecord component.- Returns:
- the value of the
skillsInstalledrecord component
-
postInstallMessage
Returns the value of thepostInstallMessagerecord component.- Returns:
- the value of the
postInstallMessagerecord component
-
deprecationWarning
Returns the value of thedeprecationWarningrecord component.- Returns:
- the value of the
deprecationWarningrecord component
-