Module com.github.copilot.java
Package com.github.copilot.generated
Record Class SessionCanvasOpenedEvent.SessionCanvasOpenedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionCanvasOpenedEvent.SessionCanvasOpenedEventData
- Enclosing class:
- SessionCanvasOpenedEvent
public static record SessionCanvasOpenedEvent.SessionCanvasOpenedEventData(String instanceId, String extensionId, String extensionName, String canvasId, String title, String status, String url, Object input, Boolean reopen, CanvasOpenedAvailability availability)
extends Record
Data payload for
SessionCanvasOpenedEvent.-
Constructor Summary
ConstructorsConstructorDescriptionSessionCanvasOpenedEventData(String instanceId, String extensionId, String extensionName, String canvasId, String title, String status, String url, Object input, Boolean reopen, CanvasOpenedAvailability availability) Creates an instance of aSessionCanvasOpenedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailabilityrecord component.canvasId()Returns the value of thecanvasIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionIdrecord component.Returns the value of theextensionNamerecord component.final inthashCode()Returns a hash code value for this object.input()Returns the value of theinputrecord component.Returns the value of theinstanceIdrecord component.reopen()Returns the value of thereopenrecord component.status()Returns the value of thestatusrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
SessionCanvasOpenedEventData
public SessionCanvasOpenedEventData(String instanceId, String extensionId, String extensionName, String canvasId, String title, String status, String url, Object input, Boolean reopen, CanvasOpenedAvailability availability) Creates an instance of aSessionCanvasOpenedEventDatarecord class.- Parameters:
instanceId- the value for theinstanceIdrecord componentextensionId- the value for theextensionIdrecord componentextensionName- the value for theextensionNamerecord componentcanvasId- the value for thecanvasIdrecord componenttitle- the value for thetitlerecord componentstatus- the value for thestatusrecord componenturl- the value for theurlrecord componentinput- the value for theinputrecord componentreopen- the value for thereopenrecord componentavailability- the value for theavailabilityrecord 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). -
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
-
extensionName
Returns the value of theextensionNamerecord component.- Returns:
- the value of the
extensionNamerecord component
-
canvasId
Returns the value of thecanvasIdrecord component.- Returns:
- the value of the
canvasIdrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
reopen
Returns the value of thereopenrecord component.- Returns:
- the value of the
reopenrecord component
-
availability
Returns the value of theavailabilityrecord component.- Returns:
- the value of the
availabilityrecord component
-