Class SessionExecuteResponse.Data.CacheEntry
-
- All Implemented Interfaces:
public final class SessionExecuteResponse.Data.CacheEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionExecuteResponse.Data.CacheEntry.BuilderA builder for CacheEntry.
-
Method Summary
Modifier and Type Method Description final StringcacheKey()Opaque cache identifier computed from instruction, URL, options, and config final JsonValue_entry()Serialized cache entry that can be written to diskThis arbitrary value can be deserialized into a custom type using the convertmethod:MyClass myObject = cacheEntry.entry().convert(MyClass.class);final JsonField<String>_cacheKey()Returns the raw JSON value of cacheKey. final Map<String, JsonValue>_additionalProperties()final SessionExecuteResponse.Data.CacheEntry.BuildertoBuilder()final SessionExecuteResponse.Data.CacheEntryvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionExecuteResponse.Data.CacheEntry.Builderbuilder()Returns a mutable builder for constructing an instance of CacheEntry. -
-
Method Detail
-
cacheKey
final String cacheKey()
Opaque cache identifier computed from instruction, URL, options, and config
-
_entry
final JsonValue _entry()
Serialized cache entry that can be written to disk
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = cacheEntry.entry().convert(MyClass.class);
-
_cacheKey
final JsonField<String> _cacheKey()
Returns the raw JSON value of cacheKey.
Unlike cacheKey, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionExecuteResponse.Data.CacheEntry.Builder toBuilder()
-
validate
final SessionExecuteResponse.Data.CacheEntry 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 SessionExecuteResponse.Data.CacheEntry.Builder builder()
Returns a mutable builder for constructing an instance of CacheEntry.
The following fields are required:
.cacheKey() .entry()
-
-
-
-