Record Class SessionManagedSettingsEnforcedEvent.SessionManagedSettingsEnforcedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionManagedSettingsEnforcedEvent.SessionManagedSettingsEnforcedEventData
- Enclosing class:
SessionManagedSettingsEnforcedEvent
public static record SessionManagedSettingsEnforcedEvent.SessionManagedSettingsEnforcedEventData(ManagedSettingsEnforcedAction action, ManagedSettingsEnforcedEscalation escalation, String setting, Boolean failClosed, String message)
extends Record
Data payload for
SessionManagedSettingsEnforcedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionManagedSettingsEnforcedEventData(ManagedSettingsEnforcedAction action, ManagedSettingsEnforcedEscalation escalation, String setting, Boolean failClosed, String message) Creates an instance of aSessionManagedSettingsEnforcedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theescalationrecord component.Returns the value of thefailClosedrecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.setting()Returns the value of thesettingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionManagedSettingsEnforcedEventData
public SessionManagedSettingsEnforcedEventData(ManagedSettingsEnforcedAction action, ManagedSettingsEnforcedEscalation escalation, String setting, Boolean failClosed, String message) Creates an instance of aSessionManagedSettingsEnforcedEventDatarecord class.- Parameters:
action- the value for theactionrecord componentescalation- the value for theescalationrecord componentsetting- the value for thesettingrecord componentfailClosed- the value for thefailClosedrecord componentmessage- the value for themessagerecord 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). -
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
escalation
Returns the value of theescalationrecord component.- Returns:
- the value of the
escalationrecord component
-
setting
Returns the value of thesettingrecord component.- Returns:
- the value of the
settingrecord component
-
failClosed
Returns the value of thefailClosedrecord component.- Returns:
- the value of the
failClosedrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-