/* 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 DeliveryMethodEnum = {
    HttpsSchemasOpenidNetSeceventRiscDeliveryMethodPush: 'https://schemas.openid.net/secevent/risc/delivery-method/push',
    HttpsSchemasOpenidNetSeceventRiscDeliveryMethodPoll: 'https://schemas.openid.net/secevent/risc/delivery-method/poll',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type DeliveryMethodEnum = typeof DeliveryMethodEnum[keyof typeof DeliveryMethodEnum];


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

export function DeliveryMethodEnumFromJSON(json: any): DeliveryMethodEnum {
    return DeliveryMethodEnumFromJSONTyped(json, false);
}

export function DeliveryMethodEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeliveryMethodEnum {
    return json as DeliveryMethodEnum;
}

export function DeliveryMethodEnumToJSON(value?: DeliveryMethodEnum | null): any {
    return value as any;
}

export function DeliveryMethodEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): DeliveryMethodEnum {
    return value as DeliveryMethodEnum;
}

