/* 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 GeoipBindingEnum = {
    NoBinding: 'no_binding',
    BindContinent: 'bind_continent',
    BindContinentCountry: 'bind_continent_country',
    BindContinentCountryCity: 'bind_continent_country_city',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type GeoipBindingEnum = typeof GeoipBindingEnum[keyof typeof GeoipBindingEnum];


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

export function GeoipBindingEnumFromJSON(json: any): GeoipBindingEnum {
    return GeoipBindingEnumFromJSONTyped(json, false);
}

export function GeoipBindingEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoipBindingEnum {
    return json as GeoipBindingEnum;
}

export function GeoipBindingEnumToJSON(value?: GeoipBindingEnum | null): any {
    return value as any;
}

export function GeoipBindingEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): GeoipBindingEnum {
    return value as GeoipBindingEnum;
}

