Package com.anthropic.models
Class BetaUsage
-
- All Implemented Interfaces:
public final class BetaUsage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaUsage.BuilderA builder for BetaUsage.
-
Method Summary
Modifier and Type Method Description final Optional<Long>cacheCreationInputTokens()The number of input tokens used to create the cache entry. final Optional<Long>cacheReadInputTokens()The number of input tokens read from the cache. final LonginputTokens()The number of input tokens which were used. final LongoutputTokens()The number of output tokens which were used. final JsonField<Long>_cacheCreationInputTokens()The number of input tokens used to create the cache entry. final JsonField<Long>_cacheReadInputTokens()The number of input tokens read from the cache. final JsonField<Long>_inputTokens()The number of input tokens which were used. final JsonField<Long>_outputTokens()The number of output tokens which were used. final Map<String, JsonValue>_additionalProperties()final BetaUsagevalidate()final BetaUsage.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaUsage.Builderbuilder()-
-
Method Detail
-
cacheCreationInputTokens
final Optional<Long> cacheCreationInputTokens()
The number of input tokens used to create the cache entry.
-
cacheReadInputTokens
final Optional<Long> cacheReadInputTokens()
The number of input tokens read from the cache.
-
inputTokens
final Long inputTokens()
The number of input tokens which were used.
-
outputTokens
final Long outputTokens()
The number of output tokens which were used.
-
_cacheCreationInputTokens
final JsonField<Long> _cacheCreationInputTokens()
The number of input tokens used to create the cache entry.
-
_cacheReadInputTokens
final JsonField<Long> _cacheReadInputTokens()
The number of input tokens read from the cache.
-
_inputTokens
final JsonField<Long> _inputTokens()
The number of input tokens which were used.
-
_outputTokens
final JsonField<Long> _outputTokens()
The number of output tokens which were used.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaUsage.Builder toBuilder()
-
builder
final static BetaUsage.Builder builder()
-
-
-
-