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