"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.0-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.instanceOfTokenView = instanceOfTokenView;
exports.TokenViewFromJSON = TokenViewFromJSON;
exports.TokenViewFromJSONTyped = TokenViewFromJSONTyped;
exports.TokenViewToJSON = TokenViewToJSON;
exports.TokenViewToJSONTyped = TokenViewToJSONTyped;
/**
 * Check if a given object implements the TokenView interface.
 */
function instanceOfTokenView(value) {
    if (!('key' in value) || value['key'] === undefined)
        return false;
    return true;
}
function TokenViewFromJSON(json) {
    return TokenViewFromJSONTyped(json, false);
}
function TokenViewFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'key': json['key'],
    };
}
function TokenViewToJSON(json) {
    return TokenViewToJSONTyped(json, false);
}
function TokenViewToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=TokenView.js.map