/* 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 DigitsEnum = {
    _6: '6',
    _8: '8',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];


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

export function DigitsEnumFromJSON(json: any): DigitsEnum {
    return DigitsEnumFromJSONTyped(json, false);
}

export function DigitsEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): DigitsEnum {
    return json as DigitsEnum;
}

export function DigitsEnumToJSON(value?: DigitsEnum | null): any {
    return value as any;
}

export function DigitsEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): DigitsEnum {
    return value as DigitsEnum;
}

