/* 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 SyncObjectModelEnum = {
    AuthentikCoreModelsUser: "authentik.core.models.User",
    AuthentikCoreModelsGroup: "authentik.core.models.Group",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type SyncObjectModelEnum = (typeof SyncObjectModelEnum)[keyof typeof SyncObjectModelEnum];

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

export function SyncObjectModelEnumFromJSON(json: any): SyncObjectModelEnum {
    return SyncObjectModelEnumFromJSONTyped(json, false);
}

export function SyncObjectModelEnumFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): SyncObjectModelEnum {
    return json as SyncObjectModelEnum;
}

export function SyncObjectModelEnumToJSON(value?: SyncObjectModelEnum | null): any {
    return value as any;
}

export function SyncObjectModelEnumToJSONTyped(
    value: any,
    ignoreDiscriminator: boolean,
): SyncObjectModelEnum {
    return value as SyncObjectModelEnum;
}
