/* 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 NetworkBindingEnum = {
    NoBinding: 'no_binding',
    BindAsn: 'bind_asn',
    BindAsnNetwork: 'bind_asn_network',
    BindAsnNetworkIp: 'bind_asn_network_ip',
    UnknownDefaultOpenApi: '11184809'
} as const;
export type NetworkBindingEnum = typeof NetworkBindingEnum[keyof typeof NetworkBindingEnum];


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

export function NetworkBindingEnumFromJSON(json: any): NetworkBindingEnum {
    return NetworkBindingEnumFromJSONTyped(json, false);
}

export function NetworkBindingEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetworkBindingEnum {
    return json as NetworkBindingEnum;
}

export function NetworkBindingEnumToJSON(value?: NetworkBindingEnum | null): any {
    return value as any;
}

export function NetworkBindingEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): NetworkBindingEnum {
    return value as NetworkBindingEnum;
}

