Record Class SessionFusionRouteFailedEvent.SessionFusionRouteFailedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionFusionRouteFailedEvent.SessionFusionRouteFailedEventData
- Enclosing class:
SessionFusionRouteFailedEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattemptIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.Returns the value of thefallbackModelrecord component.final inthashCode()Returns a hash code value for this object.policy()Returns the value of thepolicyrecord component.reason()Returns the value of thereasonrecord component.Returns the value of theroutingLatencyMsrecord component.Returns the value of thesyntheticModelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionFusionRouteFailedEventData
public SessionFusionRouteFailedEventData(String attemptId, String syntheticModel, String policy, String reason, String errorMessage, String fallbackModel, Double routingLatencyMs) Creates an instance of aSessionFusionRouteFailedEventDatarecord class.- Parameters:
attemptId- the value for theattemptIdrecord componentsyntheticModel- the value for thesyntheticModelrecord componentpolicy- the value for thepolicyrecord componentreason- the value for thereasonrecord componenterrorMessage- the value for theerrorMessagerecord componentfallbackModel- the value for thefallbackModelrecord componentroutingLatencyMs- the value for theroutingLatencyMsrecord 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). -
attemptId
Returns the value of theattemptIdrecord component.- Returns:
- the value of the
attemptIdrecord component
-
syntheticModel
Returns the value of thesyntheticModelrecord component.- Returns:
- the value of the
syntheticModelrecord component
-
policy
Returns the value of thepolicyrecord component.- Returns:
- the value of the
policyrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
fallbackModel
Returns the value of thefallbackModelrecord component.- Returns:
- the value of the
fallbackModelrecord component
-
routingLatencyMs
Returns the value of theroutingLatencyMsrecord component.- Returns:
- the value of the
routingLatencyMsrecord component
-