Record Class ExtensionsDiscoverResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ExtensionsDiscoverResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ExtensionsDiscoverResult(List<DiscoveredExtension> extensions, DiscoveredExtensionMode mode)
extends Record
Extensions discovered from persisted Copilot home state and their effective loading mode. Launch-scoped additional plugins are not included.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionsDiscoverResult(List<DiscoveredExtension> extensions, DiscoveredExtensionMode mode) Creates an instance of aExtensionsDiscoverResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionsrecord component.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExtensionsDiscoverResult
Creates an instance of aExtensionsDiscoverResultrecord class.- Parameters:
extensions- the value for theextensionsrecord componentmode- the value for themoderecord 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). -
extensions
Returns the value of theextensionsrecord component.- Returns:
- the value of the
extensionsrecord component
-
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-