/* 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 IntentEnum = {
    Verification: 'verification',
    Api: 'api',
    Recovery: 'recovery',
    AppPassword: 'app_password',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type IntentEnum = typeof IntentEnum[keyof typeof IntentEnum];


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

export function IntentEnumFromJSON(json: any): IntentEnum {
    return IntentEnumFromJSONTyped(json, false);
}

export function IntentEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntentEnum {
    return json as IntentEnum;
}

export function IntentEnumToJSON(value?: IntentEnum | null): any {
    return value as any;
}

export function IntentEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): IntentEnum {
    return value as IntentEnum;
}

