Class BetaCountTokensContextManagementResponse
-
- All Implemented Interfaces:
public final class BetaCountTokensContextManagementResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCountTokensContextManagementResponse.BuilderA builder for BetaCountTokensContextManagementResponse.
-
Method Summary
Modifier and Type Method Description final LongoriginalInputTokens()The original token count before context management was applied final JsonField<Long>_originalInputTokens()Returns the raw JSON value of originalInputTokens. final Map<String, JsonValue>_additionalProperties()final BetaCountTokensContextManagementResponse.BuildertoBuilder()final BetaCountTokensContextManagementResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCountTokensContextManagementResponse.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCountTokensContextManagementResponse. -
-
Method Detail
-
originalInputTokens
final Long originalInputTokens()
The original token count before context management was applied
-
_originalInputTokens
final JsonField<Long> _originalInputTokens()
Returns the raw JSON value of originalInputTokens.
Unlike originalInputTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCountTokensContextManagementResponse.Builder toBuilder()
-
validate
final BetaCountTokensContextManagementResponse 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 BetaCountTokensContextManagementResponse.Builder builder()
Returns a mutable builder for constructing an instance of BetaCountTokensContextManagementResponse.
The following fields are required:
.originalInputTokens()
-
-
-
-