/* 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 UiThemeEnum = {
    Automatic: 'automatic',
    Light: 'light',
    Dark: 'dark',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type UiThemeEnum = typeof UiThemeEnum[keyof typeof UiThemeEnum];


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

export function UiThemeEnumFromJSON(json: any): UiThemeEnum {
    return UiThemeEnumFromJSONTyped(json, false);
}

export function UiThemeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiThemeEnum {
    return json as UiThemeEnum;
}

export function UiThemeEnumToJSON(value?: UiThemeEnum | null): any {
    return value as any;
}

export function UiThemeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): UiThemeEnum {
    return value as UiThemeEnum;
}

