Record Class SessionSessionLimitsChangedEvent.SessionSessionLimitsChangedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionSessionLimitsChangedEvent.SessionSessionLimitsChangedEventData
- Enclosing class:
SessionSessionLimitsChangedEvent
public static record SessionSessionLimitsChangedEvent.SessionSessionLimitsChangedEventData(SessionLimitsConfig sessionLimits)
extends Record
Data payload for
SessionSessionLimitsChangedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSessionLimitsChangedEventData(SessionLimitsConfig sessionLimits) Creates an instance of aSessionSessionLimitsChangedEventDatarecord 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.Returns the value of thesessionLimitsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionSessionLimitsChangedEventData
Creates an instance of aSessionSessionLimitsChangedEventDatarecord class.- Parameters:
sessionLimits- the value for thesessionLimitsrecord 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). -
sessionLimits
Returns the value of thesessionLimitsrecord component.- Returns:
- the value of the
sessionLimitsrecord component
-