"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.UsedByActionEnum = void 0;
exports.instanceOfUsedByActionEnum = instanceOfUsedByActionEnum;
exports.UsedByActionEnumFromJSON = UsedByActionEnumFromJSON;
exports.UsedByActionEnumFromJSONTyped = UsedByActionEnumFromJSONTyped;
exports.UsedByActionEnumToJSON = UsedByActionEnumToJSON;
exports.UsedByActionEnumToJSONTyped = UsedByActionEnumToJSONTyped;
/**
 *
 * @export
 */
exports.UsedByActionEnum = {
    Cascade: 'cascade',
    CascadeMany: 'cascade_many',
    SetNull: 'set_null',
    SetDefault: 'set_default',
    LeftDangling: 'left_dangling',
    UnknownDefaultOpenApi: '11184809'
};
function instanceOfUsedByActionEnum(value) {
    for (const key in exports.UsedByActionEnum) {
        if (Object.prototype.hasOwnProperty.call(exports.UsedByActionEnum, key)) {
            if (exports.UsedByActionEnum[key] === value) {
                return true;
            }
        }
    }
    return false;
}
function UsedByActionEnumFromJSON(json) {
    return UsedByActionEnumFromJSONTyped(json, false);
}
function UsedByActionEnumFromJSONTyped(json, ignoreDiscriminator) {
    return json;
}
function UsedByActionEnumToJSON(value) {
    return value;
}
function UsedByActionEnumToJSONTyped(value, ignoreDiscriminator) {
    return value;
}
//# sourceMappingURL=UsedByActionEnum.js.map