/* 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 VendorEnum = {
    GoauthentikIoMerged: "goauthentik.io/@merged",
    GoauthentikIoPlatform: "goauthentik.io/platform",
    FleetdmCom: "fleetdm.com",
    ChromeGoogleCom: "chrome.google.com",
    UnknownDefaultOpenApi: "11184809",
} as const;
export type VendorEnum = (typeof VendorEnum)[keyof typeof VendorEnum];

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

export function VendorEnumFromJSON(json: any): VendorEnum {
    return VendorEnumFromJSONTyped(json, false);
}

export function VendorEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): VendorEnum {
    return json as VendorEnum;
}

export function VendorEnumToJSON(value?: VendorEnum | null): any {
    return value as any;
}

export function VendorEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): VendorEnum {
    return value as VendorEnum;
}
