Caches

class Caches

Provides methods for managing cached content. Instantiating this class is not required. After instantiating a Client, access methods through client.caches directly.

Functions

Link copied to clipboard
suspend fun create(model: String, config: CreateCachedContentConfig? = null): CachedContent

Creates a cached content resource.

Link copied to clipboard

Deletes a cached content resource.

Link copied to clipboard
suspend fun get(name: String, config: GetCachedContentConfig? = null): CachedContent

Gets a cached content resource.

Link copied to clipboard
suspend fun update(name: String, config: UpdateCachedContentConfig? = null): CachedContent

Updates a cached content resource.