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, ResponsesReasoning responsesReasoning)
extends Record
Data payload for
SystemNotificationEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSystemNotificationEventData(String content, Object kind, ResponsesReasoning responsesReasoning) 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.Returns the value of theresponsesReasoningrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SystemNotificationEventData
public SystemNotificationEventData(String content, Object kind, ResponsesReasoning responsesReasoning) Creates an instance of aSystemNotificationEventDatarecord class.- Parameters:
content- the value for thecontentrecord componentkind- the value for thekindrecord componentresponsesReasoning- the value for theresponsesReasoningrecord 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). -
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
-
responsesReasoning
Returns the value of theresponsesReasoningrecord component.- Returns:
- the value of the
responsesReasoningrecord component
-