Class CacheMissUnavailable
-
- All Implemented Interfaces:
public final class CacheMissUnavailableA
cache_miss_reasonfor when the API can't give a diagnosis. The request itself was processed normally.This includes a request whose
model,system, andtoolsmatch the previous request's but whose other prompt-affecting parameters, such asthinkingortool_choice, differ.See the cache diagnostics guide to learn what to change for each reason.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCacheMissUnavailable.BuilderA builder for CacheMissUnavailable.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("unavailable")final Map<String, JsonValue>_additionalProperties()final CacheMissUnavailable.BuildertoBuilder()final CacheMissUnavailablevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CacheMissUnavailable.Builderbuilder()Returns a mutable builder for constructing an instance of CacheMissUnavailable. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("unavailable")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CacheMissUnavailable.Builder toBuilder()
-
validate
final CacheMissUnavailable 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 CacheMissUnavailable.Builder builder()
Returns a mutable builder for constructing an instance of CacheMissUnavailable.
-
-
-
-