Package com.openai.models.batches
Class BatchUsage.OutputTokensDetails
-
- All Implemented Interfaces:
public final class BatchUsage.OutputTokensDetailsA detailed breakdown of the output tokens.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchUsage.OutputTokensDetails.BuilderA builder for OutputTokensDetails.
-
Method Summary
Modifier and Type Method Description final LongreasoningTokens()The number of reasoning tokens. final JsonField<Long>_reasoningTokens()Returns the raw JSON value of reasoningTokens. final Map<String, JsonValue>_additionalProperties()final BatchUsage.OutputTokensDetails.BuildertoBuilder()final BatchUsage.OutputTokensDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchUsage.OutputTokensDetails.Builderbuilder()Returns a mutable builder for constructing an instance of OutputTokensDetails. -
-
Method Detail
-
reasoningTokens
final Long reasoningTokens()
The number of reasoning tokens.
-
_reasoningTokens
final JsonField<Long> _reasoningTokens()
Returns the raw JSON value of reasoningTokens.
Unlike reasoningTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BatchUsage.OutputTokensDetails.Builder toBuilder()
-
validate
final BatchUsage.OutputTokensDetails validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BatchUsage.OutputTokensDetails.Builder builder()
Returns a mutable builder for constructing an instance of OutputTokensDetails.
The following fields are required:
.reasoningTokens()
-
-
-
-