/* 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 OutgoingSyncDeleteAction = {
    DoNothing: "do_nothing",
    Delete: "delete",
    Suspend: "suspend",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type OutgoingSyncDeleteAction =
    (typeof OutgoingSyncDeleteAction)[keyof typeof OutgoingSyncDeleteAction];

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

export function OutgoingSyncDeleteActionFromJSON(json: any): OutgoingSyncDeleteAction {
    return OutgoingSyncDeleteActionFromJSONTyped(json, false);
}

export function OutgoingSyncDeleteActionFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): OutgoingSyncDeleteAction {
    return json as OutgoingSyncDeleteAction;
}

export function OutgoingSyncDeleteActionToJSON(value?: OutgoingSyncDeleteAction | null): any {
    return value as any;
}

export function OutgoingSyncDeleteActionToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): OutgoingSyncDeleteAction {
    return value as OutgoingSyncDeleteAction;
}
