"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.instanceOfTokenSetKeyRequest = instanceOfTokenSetKeyRequest;
exports.TokenSetKeyRequestFromJSON = TokenSetKeyRequestFromJSON;
exports.TokenSetKeyRequestFromJSONTyped = TokenSetKeyRequestFromJSONTyped;
exports.TokenSetKeyRequestToJSON = TokenSetKeyRequestToJSON;
exports.TokenSetKeyRequestToJSONTyped = TokenSetKeyRequestToJSONTyped;
/**
 * Check if a given object implements the TokenSetKeyRequest interface.
 */
function instanceOfTokenSetKeyRequest(value) {
    if (!('key' in value) || value['key'] === undefined)
        return false;
    return true;
}
function TokenSetKeyRequestFromJSON(json) {
    return TokenSetKeyRequestFromJSONTyped(json, false);
}
function TokenSetKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'key': json['key'],
    };
}
function TokenSetKeyRequestToJSON(json) {
    return TokenSetKeyRequestToJSONTyped(json, false);
}
function TokenSetKeyRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'key': value['key'],
    };
}
//# sourceMappingURL=TokenSetKeyRequest.js.map