/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.5.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 ProviderEnum = {
    Twilio: "twilio",
    Generic: "generic",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type ProviderEnum = (typeof ProviderEnum)[keyof typeof ProviderEnum];

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

export function ProviderEnumFromJSON(json: any): ProviderEnum {
    return ProviderEnumFromJSONTyped(json, false);
}

export function ProviderEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderEnum {
    return json as ProviderEnum;
}

export function ProviderEnumToJSON(value?: ProviderEnum | null): any {
    return value as any;
}

export function ProviderEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): ProviderEnum {
    return value as ProviderEnum;
}
