Record Class PluginsUpdateResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.PluginsUpdateResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record PluginsUpdateResult(String previousVersion, String newVersion, Long skillsInstalled)
extends Record
Result of updating a single plugin.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionPluginsUpdateResult(String previousVersion, String newVersion, Long skillsInstalled) Creates an instance of aPluginsUpdateResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenewVersionrecord component.Returns the value of thepreviousVersionrecord component.Returns the value of theskillsInstalledrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PluginsUpdateResult
Creates an instance of aPluginsUpdateResultrecord class.- Parameters:
previousVersion- the value for thepreviousVersionrecord componentnewVersion- the value for thenewVersionrecord componentskillsInstalled- the value for theskillsInstalledrecord 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). -
previousVersion
Returns the value of thepreviousVersionrecord component.- Returns:
- the value of the
previousVersionrecord component
-
newVersion
Returns the value of thenewVersionrecord component.- Returns:
- the value of the
newVersionrecord component
-
skillsInstalled
Returns the value of theskillsInstalledrecord component.- Returns:
- the value of the
skillsInstalledrecord component
-