Record Class SystemNotificationEvent.SystemNotificationEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SystemNotificationEvent.SystemNotificationEventData
- Enclosing class:
SystemNotificationEvent
public static record SystemNotificationEvent.SystemNotificationEventData(String content, Object kind)
extends Record
Data payload for
SystemNotificationEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSystemNotificationEventData(String content, Object kind) Creates an instance of aSystemNotificationEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SystemNotificationEventData
-
-
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). -
content
Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-