/* 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 NotificationTransportModeEnum = {
    Local: 'local',
    Webhook: 'webhook',
    WebhookSlack: 'webhook_slack',
    Email: 'email',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type NotificationTransportModeEnum = typeof NotificationTransportModeEnum[keyof typeof NotificationTransportModeEnum];


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

export function NotificationTransportModeEnumFromJSON(json: any): NotificationTransportModeEnum {
    return NotificationTransportModeEnumFromJSONTyped(json, false);
}

export function NotificationTransportModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTransportModeEnum {
    return json as NotificationTransportModeEnum;
}

export function NotificationTransportModeEnumToJSON(value?: NotificationTransportModeEnum | null): any {
    return value as any;
}

export function NotificationTransportModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): NotificationTransportModeEnum {
    return value as NotificationTransportModeEnum;
}

