Record Class ShutdownModelMetricUsage
java.lang.Object
java.lang.Record
com.github.copilot.generated.ShutdownModelMetricUsage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheReadTokensrecord 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 thereasoningTokensrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ShutdownModelMetricUsage
public ShutdownModelMetricUsage(Long inputTokens, Long outputTokens, Long cacheReadTokens, Long cacheWriteTokens, Long reasoningTokens) Creates an instance of aShutdownModelMetricUsagerecord class.- Parameters:
inputTokens- the value for theinputTokensrecord componentoutputTokens- the value for theoutputTokensrecord componentcacheReadTokens- the value for thecacheReadTokensrecord componentcacheWriteTokens- the value for thecacheWriteTokensrecord componentreasoningTokens- the value for thereasoningTokensrecord 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). -
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
-
cacheReadTokens
Returns the value of thecacheReadTokensrecord component.- Returns:
- the value of the
cacheReadTokensrecord component
-
cacheWriteTokens
Returns the value of thecacheWriteTokensrecord component.- Returns:
- the value of the
cacheWriteTokensrecord component
-
reasoningTokens
Returns the value of thereasoningTokensrecord component.- Returns:
- the value of the
reasoningTokensrecord component
-