/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Generic cache stats for an object * @export * @interface Cache */ export interface Cache { /** * * @type {number} * @memberof Cache */ readonly count: number; } /** * Check if a given object implements the Cache interface. */ export function instanceOfCache(value: object): value is Cache { if (!('count' in value) || value['count'] === undefined) return false; return true; } export function CacheFromJSON(json: any): Cache { return CacheFromJSONTyped(json, false); } export function CacheFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cache { if (json == null) { return json; } return { 'count': json['count'], }; } export function CacheToJSON(json: any): Cache { return CacheToJSONTyped(json, false); } export function CacheToJSONTyped(value?: Omit | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { }; }