Record Class SessionAutopilotObjectiveChangedEvent.SessionAutopilotObjectiveChangedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionAutopilotObjectiveChangedEvent.SessionAutopilotObjectiveChangedEventData
- Enclosing class:
SessionAutopilotObjectiveChangedEvent
public static record SessionAutopilotObjectiveChangedEvent.SessionAutopilotObjectiveChangedEventData(AutopilotObjectiveChangedOperation operation, Long id, AutopilotObjectiveChangedStatus status)
extends Record
Data payload for
SessionAutopilotObjectiveChangedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionAutopilotObjectiveChangedEventData(AutopilotObjectiveChangedOperation operation, Long id, AutopilotObjectiveChangedStatus status) Creates an instance of aSessionAutopilotObjectiveChangedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theoperationrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionAutopilotObjectiveChangedEventData
public SessionAutopilotObjectiveChangedEventData(AutopilotObjectiveChangedOperation operation, Long id, AutopilotObjectiveChangedStatus status) Creates an instance of aSessionAutopilotObjectiveChangedEventDatarecord class.- Parameters:
operation- the value for theoperationrecord componentid- the value for theidrecord componentstatus- the value for thestatusrecord 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). -
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-