Record Class SessionAutoModeResolvedEvent.SessionAutoModeResolvedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionAutoModeResolvedEvent.SessionAutoModeResolvedEventData
- Enclosing class:
SessionAutoModeResolvedEvent
public static record SessionAutoModeResolvedEvent.SessionAutoModeResolvedEventData(String chosenModel, AutoModeResolvedReasoningBucket reasoningBucket, Map<String,Double> categoryScores, String predictedLabel, Double confidence, List<String> candidateModels, String routingMethod, List<String> availableModels, Boolean fallback, String fallbackReason, Boolean stickyOverride, Double routerLatencyMs, Double endToEndLatencyMs, Double chosenShortfall, Boolean hasImage)
extends Record
Data payload for
SessionAutoModeResolvedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionAutoModeResolvedEventData(String chosenModel, AutoModeResolvedReasoningBucket reasoningBucket, Map<String, Double> categoryScores, String predictedLabel, Double confidence, List<String> candidateModels, String routingMethod, List<String> availableModels, Boolean fallback, String fallbackReason, Boolean stickyOverride, Double routerLatencyMs, Double endToEndLatencyMs, Double chosenShortfall, Boolean hasImage) Creates an instance of aSessionAutoModeResolvedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailableModelsrecord component.Returns the value of thecandidateModelsrecord component.Returns the value of thecategoryScoresrecord component.Returns the value of thechosenModelrecord component.Returns the value of thechosenShortfallrecord component.Returns the value of theconfidencerecord component.Returns the value of theendToEndLatencyMsrecord component.final booleanIndicates whether some other object is "equal to" this one.fallback()Returns the value of thefallbackrecord component.Returns the value of thefallbackReasonrecord component.final inthashCode()Returns a hash code value for this object.hasImage()Returns the value of thehasImagerecord component.Returns the value of thepredictedLabelrecord component.Returns the value of thereasoningBucketrecord component.Returns the value of therouterLatencyMsrecord component.Returns the value of theroutingMethodrecord component.Returns the value of thestickyOverriderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionAutoModeResolvedEventData
public SessionAutoModeResolvedEventData(String chosenModel, AutoModeResolvedReasoningBucket reasoningBucket, Map<String, Double> categoryScores, String predictedLabel, Double confidence, List<String> candidateModels, String routingMethod, List<String> availableModels, Boolean fallback, String fallbackReason, Boolean stickyOverride, Double routerLatencyMs, Double endToEndLatencyMs, Double chosenShortfall, Boolean hasImage) Creates an instance of aSessionAutoModeResolvedEventDatarecord class.- Parameters:
chosenModel- the value for thechosenModelrecord componentreasoningBucket- the value for thereasoningBucketrecord componentcategoryScores- the value for thecategoryScoresrecord componentpredictedLabel- the value for thepredictedLabelrecord componentconfidence- the value for theconfidencerecord componentcandidateModels- the value for thecandidateModelsrecord componentroutingMethod- the value for theroutingMethodrecord componentavailableModels- the value for theavailableModelsrecord componentfallback- the value for thefallbackrecord componentfallbackReason- the value for thefallbackReasonrecord componentstickyOverride- the value for thestickyOverriderecord componentrouterLatencyMs- the value for therouterLatencyMsrecord componentendToEndLatencyMs- the value for theendToEndLatencyMsrecord componentchosenShortfall- the value for thechosenShortfallrecord componenthasImage- the value for thehasImagerecord 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). -
chosenModel
Returns the value of thechosenModelrecord component.- Returns:
- the value of the
chosenModelrecord component
-
reasoningBucket
Returns the value of thereasoningBucketrecord component.- Returns:
- the value of the
reasoningBucketrecord component
-
categoryScores
-
predictedLabel
Returns the value of thepredictedLabelrecord component.- Returns:
- the value of the
predictedLabelrecord component
-
confidence
Returns the value of theconfidencerecord component.- Returns:
- the value of the
confidencerecord component
-
candidateModels
-
routingMethod
Returns the value of theroutingMethodrecord component.- Returns:
- the value of the
routingMethodrecord component
-
availableModels
-
fallback
Returns the value of thefallbackrecord component.- Returns:
- the value of the
fallbackrecord component
-
fallbackReason
Returns the value of thefallbackReasonrecord component.- Returns:
- the value of the
fallbackReasonrecord component
-
stickyOverride
Returns the value of thestickyOverriderecord component.- Returns:
- the value of the
stickyOverriderecord component
-
routerLatencyMs
Returns the value of therouterLatencyMsrecord component.- Returns:
- the value of the
routerLatencyMsrecord component
-
endToEndLatencyMs
Returns the value of theendToEndLatencyMsrecord component.- Returns:
- the value of the
endToEndLatencyMsrecord component
-
chosenShortfall
Returns the value of thechosenShortfallrecord component.- Returns:
- the value of the
chosenShortfallrecord component
-
hasImage
Returns the value of thehasImagerecord component.- Returns:
- the value of the
hasImagerecord component
-