Module com.github.copilot.java
Package com.github.copilot.generated.rpc
Record Class SessionInstalledPlugin
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionInstalledPlugin
@Generated("copilot-sdk-codegen")
public record SessionInstalledPlugin(String name, String marketplace, String version, String installedAt, Boolean enabled, String cachePath, Object source)
extends Record
Schema for the `SessionInstalledPlugin` type.
- Since:
- 1.0.0
-
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
-
SessionInstalledPlugin
public SessionInstalledPlugin(String name, String marketplace, String version, String installedAt, Boolean enabled, String cachePath, Object source) Creates an instance of aSessionInstalledPluginrecord 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
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. -
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. -
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
-