/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.
 */


/**
 * 
 * @export
 */
export const CompatibilityModeEnum = {
    Default: 'default',
    Aws: 'aws',
    Slack: 'slack',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type CompatibilityModeEnum = typeof CompatibilityModeEnum[keyof typeof CompatibilityModeEnum];


export function instanceOfCompatibilityModeEnum(value: any): boolean {
    for (const key in CompatibilityModeEnum) {
        if (Object.prototype.hasOwnProperty.call(CompatibilityModeEnum, key)) {
            if (CompatibilityModeEnum[key as keyof typeof CompatibilityModeEnum] === value) {
                return true;
            }
        }
    }
    return false;
}

export function CompatibilityModeEnumFromJSON(json: any): CompatibilityModeEnum {
    return CompatibilityModeEnumFromJSONTyped(json, false);
}

export function CompatibilityModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompatibilityModeEnum {
    return json as CompatibilityModeEnum;
}

export function CompatibilityModeEnumToJSON(value?: CompatibilityModeEnum | null): any {
    return value as any;
}

export function CompatibilityModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CompatibilityModeEnum {
    return value as CompatibilityModeEnum;
}

