Record Class FusionPhaseUsage
java.lang.Object
java.lang.Record
com.github.copilot.generated.FusionPhaseUsage
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record FusionPhaseUsage(Long requestCount, Long inputTokens, Long outputTokens, Long cachedTokens, Long cacheWriteTokens, Double totalNanoAiu)
extends Record
Aggregate concrete-model usage for one HydraFusion phase.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecachedTokensrecord component.Returns the value of thecacheWriteTokensrecord 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 theinputTokensrecord component.Returns the value of theoutputTokensrecord component.Returns the value of therequestCountrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalNanoAiurecord component.
-
Constructor Details
-
FusionPhaseUsage
public FusionPhaseUsage(Long requestCount, Long inputTokens, Long outputTokens, Long cachedTokens, Long cacheWriteTokens, Double totalNanoAiu) Creates an instance of aFusionPhaseUsagerecord class.- Parameters:
requestCount- 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 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). -
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
-