Record Class SessionAutoTierSwitchFailedEvent.SessionAutoTierSwitchFailedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionAutoTierSwitchFailedEvent.SessionAutoTierSwitchFailedEventData
- Enclosing class:
SessionAutoTierSwitchFailedEvent
public static record SessionAutoTierSwitchFailedEvent.SessionAutoTierSwitchFailedEventData(AutoTier effectiveAutoTier, AutoTier requestedAutoTier, AutoTierSwitchFailureReason reason)
extends Record
Data payload for
SessionAutoTierSwitchFailedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionAutoTierSwitchFailedEventData(AutoTier effectiveAutoTier, AutoTier requestedAutoTier, AutoTierSwitchFailureReason reason) Creates an instance of aSessionAutoTierSwitchFailedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeffectiveAutoTierrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.Returns the value of therequestedAutoTierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionAutoTierSwitchFailedEventData
public SessionAutoTierSwitchFailedEventData(AutoTier effectiveAutoTier, AutoTier requestedAutoTier, AutoTierSwitchFailureReason reason) Creates an instance of aSessionAutoTierSwitchFailedEventDatarecord class.- Parameters:
effectiveAutoTier- the value for theeffectiveAutoTierrecord componentrequestedAutoTier- the value for therequestedAutoTierrecord componentreason- the value for thereasonrecord 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). -
effectiveAutoTier
Returns the value of theeffectiveAutoTierrecord component.- Returns:
- the value of the
effectiveAutoTierrecord component
-
requestedAutoTier
Returns the value of therequestedAutoTierrecord component.- Returns:
- the value of the
requestedAutoTierrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-