Record Class CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail
java.lang.Object
java.lang.Record
com.github.copilot.generated.CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail
-
Constructor Summary
ConstructorsConstructorDescriptionCompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail(Long batchSize, Long costPerBatch, Long tokenCount, String tokenType) Creates an instance of aCompactionCompleteCompactionTokensUsedCopilotUsageTokenDetailrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebatchSizerecord component.Returns the value of thecostPerBatchrecord 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 thetokenCountrecord component.Returns the value of thetokenTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail
public CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail(Long batchSize, Long costPerBatch, Long tokenCount, String tokenType) Creates an instance of aCompactionCompleteCompactionTokensUsedCopilotUsageTokenDetailrecord class.- Parameters:
batchSize- the value for thebatchSizerecord componentcostPerBatch- the value for thecostPerBatchrecord componenttokenCount- the value for thetokenCountrecord componenttokenType- the value for thetokenTyperecord 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). -
batchSize
Returns the value of thebatchSizerecord component.- Returns:
- the value of the
batchSizerecord component
-
costPerBatch
Returns the value of thecostPerBatchrecord component.- Returns:
- the value of the
costPerBatchrecord component
-
tokenCount
Returns the value of thetokenCountrecord component.- Returns:
- the value of the
tokenCountrecord component
-
tokenType
Returns the value of thetokenTyperecord component.- Returns:
- the value of the
tokenTyperecord component
-