Record Class SessionCanvasClosedEvent.SessionCanvasClosedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionCanvasClosedEvent.SessionCanvasClosedEventData
- Enclosing class:
SessionCanvasClosedEvent
public static record SessionCanvasClosedEvent.SessionCanvasClosedEventData(String instanceId, String extensionId, String canvasId)
extends Record
Data payload for
SessionCanvasClosedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionCanvasClosedEventData(String instanceId, String extensionId, String canvasId) Creates an instance of aSessionCanvasClosedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptioncanvasId()Returns the value of thecanvasIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinstanceIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionCanvasClosedEventData
Creates an instance of aSessionCanvasClosedEventDatarecord class.- Parameters:
instanceId- the value for theinstanceIdrecord componentextensionId- the value for theextensionIdrecord componentcanvasId- the value for thecanvasIdrecord 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). -
instanceId
Returns the value of theinstanceIdrecord component.- Returns:
- the value of the
instanceIdrecord component
-
extensionId
Returns the value of theextensionIdrecord component.- Returns:
- the value of the
extensionIdrecord component
-
canvasId
Returns the value of thecanvasIdrecord component.- Returns:
- the value of the
canvasIdrecord component
-