Record Class SessionFusionCompletedEvent.SessionFusionCompletedEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionFusionCompletedEvent.SessionFusionCompletedEventData
- Enclosing class:
SessionFusionCompletedEvent
@CopilotExperimental
public static record SessionFusionCompletedEvent.SessionFusionCompletedEventData(String fusionId, String commitId, String turnId, String syntheticModel, FusionPattern pattern, String outcome, String finalSourcePhaseId, String finalSourceModel, String followUpModel, String degradedReason, Long phaseCount, Long requestCount, Long inputTokens, Long outputTokens, Long cachedTokens, Long cacheWriteTokens, Double totalNanoAiu, Double durationMs)
extends Record
Data payload for
SessionFusionCompletedEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFusionCompletedEventData(String fusionId, String commitId, String turnId, String syntheticModel, FusionPattern pattern, String outcome, String finalSourcePhaseId, String finalSourceModel, String followUpModel, String degradedReason, Long phaseCount, Long requestCount, Long inputTokens, Long outputTokens, Long cachedTokens, Long cacheWriteTokens, Double totalNanoAiu, Double durationMs) Creates an instance of aSessionFusionCompletedEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecachedTokensrecord component.Returns the value of thecacheWriteTokensrecord component.commitId()Returns the value of thecommitIdrecord component.Returns the value of thedegradedReasonrecord component.Returns the value of thedurationMsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinalSourceModelrecord component.Returns the value of thefinalSourcePhaseIdrecord component.Returns the value of thefollowUpModelrecord component.fusionId()Returns the value of thefusionIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinputTokensrecord component.outcome()Returns the value of theoutcomerecord component.Returns the value of theoutputTokensrecord component.pattern()Returns the value of thepatternrecord component.Returns the value of thephaseCountrecord component.Returns the value of therequestCountrecord component.Returns the value of thesyntheticModelrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalNanoAiurecord component.turnId()Returns the value of theturnIdrecord component.
-
Constructor Details
-
SessionFusionCompletedEventData
public SessionFusionCompletedEventData(String fusionId, String commitId, String turnId, String syntheticModel, FusionPattern pattern, String outcome, String finalSourcePhaseId, String finalSourceModel, String followUpModel, String degradedReason, Long phaseCount, Long requestCount, Long inputTokens, Long outputTokens, Long cachedTokens, Long cacheWriteTokens, Double totalNanoAiu, Double durationMs) Creates an instance of aSessionFusionCompletedEventDatarecord class.- Parameters:
fusionId- the value for thefusionIdrecord componentcommitId- the value for thecommitIdrecord componentturnId- the value for theturnIdrecord componentsyntheticModel- the value for thesyntheticModelrecord componentpattern- the value for thepatternrecord componentoutcome- the value for theoutcomerecord componentfinalSourcePhaseId- the value for thefinalSourcePhaseIdrecord componentfinalSourceModel- the value for thefinalSourceModelrecord componentfollowUpModel- the value for thefollowUpModelrecord componentdegradedReason- the value for thedegradedReasonrecord componentphaseCount- the value for thephaseCountrecord componentrequestCount- the value for therequestCountrecord componentinputTokens- the value for theinputTokensrecord componentoutputTokens- the value for theoutputTokensrecord componentcachedTokens- the value for thecachedTokensrecord componentcacheWriteTokens- the value for thecacheWriteTokensrecord componenttotalNanoAiu- the value for thetotalNanoAiurecord componentdurationMs- the value for thedurationMsrecord 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). -
fusionId
Returns the value of thefusionIdrecord component.- Returns:
- the value of the
fusionIdrecord component
-
commitId
Returns the value of thecommitIdrecord component.- Returns:
- the value of the
commitIdrecord component
-
turnId
Returns the value of theturnIdrecord component.- Returns:
- the value of the
turnIdrecord component
-
syntheticModel
Returns the value of thesyntheticModelrecord component.- Returns:
- the value of the
syntheticModelrecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-
outcome
Returns the value of theoutcomerecord component.- Returns:
- the value of the
outcomerecord component
-
finalSourcePhaseId
Returns the value of thefinalSourcePhaseIdrecord component.- Returns:
- the value of the
finalSourcePhaseIdrecord component
-
finalSourceModel
Returns the value of thefinalSourceModelrecord component.- Returns:
- the value of the
finalSourceModelrecord component
-
followUpModel
Returns the value of thefollowUpModelrecord component.- Returns:
- the value of the
followUpModelrecord component
-
degradedReason
Returns the value of thedegradedReasonrecord component.- Returns:
- the value of the
degradedReasonrecord component
-
phaseCount
Returns the value of thephaseCountrecord component.- Returns:
- the value of the
phaseCountrecord component
-
requestCount
Returns the value of therequestCountrecord component.- Returns:
- the value of the
requestCountrecord component
-
inputTokens
Returns the value of theinputTokensrecord component.- Returns:
- the value of the
inputTokensrecord component
-
outputTokens
Returns the value of theoutputTokensrecord component.- Returns:
- the value of the
outputTokensrecord component
-
cachedTokens
Returns the value of thecachedTokensrecord component.- Returns:
- the value of the
cachedTokensrecord component
-
cacheWriteTokens
Returns the value of thecacheWriteTokensrecord component.- Returns:
- the value of the
cacheWriteTokensrecord component
-
totalNanoAiu
Returns the value of thetotalNanoAiurecord component.- Returns:
- the value of the
totalNanoAiurecord component
-
durationMs
Returns the value of thedurationMsrecord component.- Returns:
- the value of the
durationMsrecord component
-