"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-rc1
 * 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfCache = instanceOfCache;
exports.CacheFromJSON = CacheFromJSON;
exports.CacheFromJSONTyped = CacheFromJSONTyped;
exports.CacheToJSON = CacheToJSON;
exports.CacheToJSONTyped = CacheToJSONTyped;
/**
 * Check if a given object implements the Cache interface.
 */
function instanceOfCache(value) {
    if (!('count' in value) || value['count'] === undefined)
        return false;
    return true;
}
function CacheFromJSON(json) {
    return CacheFromJSONTyped(json, false);
}
function CacheFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'count': json['count'],
    };
}
function CacheToJSON(json) {
    return CacheToJSONTyped(json, false);
}
function CacheToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=Cache.js.map