Record Class InstalledPluginInfo
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.InstalledPluginInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectSourceIdrecord 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 themarketplacerecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
InstalledPluginInfo
public InstalledPluginInfo(String name, String marketplace, String directSourceId, String version, Boolean enabled) Creates an instance of aInstalledPluginInforecord class.- Parameters:
name- the value for thenamerecord componentmarketplace- the value for themarketplacerecord componentdirectSourceId- the value for thedirectSourceIdrecord componentversion- the value for theversionrecord componentenabled- the value for theenabledrecord 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
-
directSourceId
Returns the value of thedirectSourceIdrecord component.- Returns:
- the value of the
directSourceIdrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-