"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfPatchedUserLDAPSourceConnectionRequest = instanceOfPatchedUserLDAPSourceConnectionRequest;
exports.PatchedUserLDAPSourceConnectionRequestFromJSON = PatchedUserLDAPSourceConnectionRequestFromJSON;
exports.PatchedUserLDAPSourceConnectionRequestFromJSONTyped = PatchedUserLDAPSourceConnectionRequestFromJSONTyped;
exports.PatchedUserLDAPSourceConnectionRequestToJSON = PatchedUserLDAPSourceConnectionRequestToJSON;
exports.PatchedUserLDAPSourceConnectionRequestToJSONTyped = PatchedUserLDAPSourceConnectionRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedUserLDAPSourceConnectionRequest interface.
 */
function instanceOfPatchedUserLDAPSourceConnectionRequest(value) {
    return true;
}
function PatchedUserLDAPSourceConnectionRequestFromJSON(json) {
    return PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, false);
}
function PatchedUserLDAPSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'user': json['user'] == null ? undefined : json['user'],
        'source': json['source'] == null ? undefined : json['source'],
        'identifier': json['identifier'] == null ? undefined : json['identifier'],
    };
}
function PatchedUserLDAPSourceConnectionRequestToJSON(json) {
    return PatchedUserLDAPSourceConnectionRequestToJSONTyped(json, false);
}
function PatchedUserLDAPSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'user': value['user'],
        'source': value['source'],
        'identifier': value['identifier'],
    };
}
//# sourceMappingURL=PatchedUserLDAPSourceConnectionRequest.js.map