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)
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) Creates an instance of aSessionAutoModeResolvedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecandidateModelsrecord component.Returns the value of thecategoryScoresrecord component.Returns the value of thechosenModelrecord component.Returns the value of theconfidencerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepredictedLabelrecord component.Returns the value of thereasoningBucketrecord 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) 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 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
-