Class BetaCacheMissMessagesChanged
-
- All Implemented Interfaces:
public final class BetaCacheMissMessagesChanged
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaCacheMissMessagesChanged.BuilderA builder for BetaCacheMissMessagesChanged.
-
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("messages_changed")final JsonField<Long>_cacheMissedInputTokens()Returns the raw JSON value of cacheMissedInputTokens. final Map<String, JsonValue>_additionalProperties()final BetaCacheMissMessagesChanged.BuildertoBuilder()final BetaCacheMissMessagesChangedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaCacheMissMessagesChanged.Builderbuilder()Returns a mutable builder for constructing an instance of BetaCacheMissMessagesChanged. -
-
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("messages_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 BetaCacheMissMessagesChanged.Builder toBuilder()
-
validate
final BetaCacheMissMessagesChanged 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 BetaCacheMissMessagesChanged.Builder builder()
Returns a mutable builder for constructing an instance of BetaCacheMissMessagesChanged.
The following fields are required:
.cacheMissedInputTokens()
-
-
-
-