/* 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.
 */

import { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface LDAPDebug
 */
export interface LDAPDebug {
    /**
     * 
     * @type {Array<{ [key: string]: any; }>}
     * @memberof LDAPDebug
     */
    readonly user: Array<{ [key: string]: any; }>;
    /**
     * 
     * @type {Array<{ [key: string]: any; }>}
     * @memberof LDAPDebug
     */
    readonly group: Array<{ [key: string]: any; }>;
    /**
     * 
     * @type {Array<{ [key: string]: any; }>}
     * @memberof LDAPDebug
     */
    readonly membership: Array<{ [key: string]: any; }>;
}

/**
 * Check if a given object implements the LDAPDebug interface.
 */
export function instanceOfLDAPDebug(value: object): value is LDAPDebug {
    if (!('user' in value) || value['user'] === undefined) return false;
    if (!('group' in value) || value['group'] === undefined) return false;
    if (!('membership' in value) || value['membership'] === undefined) return false;
    return true;
}

export function LDAPDebugFromJSON(json: any): LDAPDebug {
    return LDAPDebugFromJSONTyped(json, false);
}

export function LDAPDebugFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPDebug {
    if (json == null) {
        return json;
    }
    return {
        
        'user': json['user'],
        'group': json['group'],
        'membership': json['membership'],
    };
}

export function LDAPDebugToJSON(json: any): LDAPDebug {
    return LDAPDebugToJSONTyped(json, false);
}

export function LDAPDebugToJSONTyped(value?: Omit<LDAPDebug, 'user'|'group'|'membership'> | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
    };
}

