/* 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 FlowLayoutEnum = {
    Stacked: "stacked",
    ContentLeft: "content_left",
    ContentRight: "content_right",
    SidebarLeft: "sidebar_left",
    SidebarRight: "sidebar_right",
    SidebarLeftFrameBackground: "sidebar_left_frame_background",
    SidebarRightFrameBackground: "sidebar_right_frame_background",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type FlowLayoutEnum = (typeof FlowLayoutEnum)[keyof typeof FlowLayoutEnum];

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

export function FlowLayoutEnumFromJSON(json: any): FlowLayoutEnum {
    return FlowLayoutEnumFromJSONTyped(json, false);
}

export function FlowLayoutEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): FlowLayoutEnum {
    return json as FlowLayoutEnum;
}

export function FlowLayoutEnumToJSON(value?: FlowLayoutEnum | null): any {
    return value as any;
}

export function FlowLayoutEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): FlowLayoutEnum {
    return value as FlowLayoutEnum;
}
