Class BetaCacheMissModelChanged
-
- All Implemented Interfaces:
public final class BetaCacheMissModelChanged
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCacheMissModelChanged.BuilderA builder for BetaCacheMissModelChanged.
-
Method Summary
Modifier and Type Method Description final LongcacheMissedInputTokens()Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("model_changed")final JsonField<Long>_cacheMissedInputTokens()Returns the raw JSON value of cacheMissedInputTokens. final Map<String, JsonValue>_additionalProperties()final BetaCacheMissModelChanged.BuildertoBuilder()final BetaCacheMissModelChangedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCacheMissModelChanged.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCacheMissModelChanged. -
-
Method Detail
-
cacheMissedInputTokens
final Long cacheMissedInputTokens()
Approximate number of input tokens that would have been read from cache had the prefix matched the previous request.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("model_changed")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_cacheMissedInputTokens
final JsonField<Long> _cacheMissedInputTokens()
Returns the raw JSON value of cacheMissedInputTokens.
Unlike cacheMissedInputTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaCacheMissModelChanged.Builder toBuilder()
-
validate
final BetaCacheMissModelChanged 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 BetaCacheMissModelChanged.Builder builder()
Returns a mutable builder for constructing an instance of BetaCacheMissModelChanged.
The following fields are required:
.cacheMissedInputTokens()
-
-
-
-