Record Class InstalledPlugin
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.InstalledPlugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecachePathrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinstalledAtrecord component.Returns the value of themarketplacerecord component.name()Returns the value of thenamerecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
InstalledPlugin
public InstalledPlugin(String name, String marketplace, String version, String installedAt, Boolean enabled, String cachePath, Object source) Creates an instance of aInstalledPluginrecord class.- Parameters:
name- the value for thenamerecord componentmarketplace- the value for themarketplacerecord componentversion- the value for theversionrecord componentinstalledAt- the value for theinstalledAtrecord componentenabled- the value for theenabledrecord componentcachePath- the value for thecachePathrecord componentsource- the value for thesourcerecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
marketplace
Returns the value of themarketplacerecord component.- Returns:
- the value of the
marketplacerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
installedAt
Returns the value of theinstalledAtrecord component.- Returns:
- the value of the
installedAtrecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
cachePath
Returns the value of thecachePathrecord component.- Returns:
- the value of the
cachePathrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-