"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.instanceOfPatchedSCIMSourceUserRequest = instanceOfPatchedSCIMSourceUserRequest;
exports.PatchedSCIMSourceUserRequestFromJSON = PatchedSCIMSourceUserRequestFromJSON;
exports.PatchedSCIMSourceUserRequestFromJSONTyped = PatchedSCIMSourceUserRequestFromJSONTyped;
exports.PatchedSCIMSourceUserRequestToJSON = PatchedSCIMSourceUserRequestToJSON;
exports.PatchedSCIMSourceUserRequestToJSONTyped = PatchedSCIMSourceUserRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedSCIMSourceUserRequest interface.
 */
function instanceOfPatchedSCIMSourceUserRequest(value) {
    return true;
}
function PatchedSCIMSourceUserRequestFromJSON(json) {
    return PatchedSCIMSourceUserRequestFromJSONTyped(json, false);
}
function PatchedSCIMSourceUserRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'externalId': json['external_id'] == null ? undefined : json['external_id'],
        'user': json['user'] == null ? undefined : json['user'],
        'source': json['source'] == null ? undefined : json['source'],
        'attributes': json['attributes'] == null ? undefined : json['attributes'],
    };
}
function PatchedSCIMSourceUserRequestToJSON(json) {
    return PatchedSCIMSourceUserRequestToJSONTyped(json, false);
}
function PatchedSCIMSourceUserRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'external_id': value['externalId'],
        'user': value['user'],
        'source': value['source'],
        'attributes': value['attributes'],
    };
}
//# sourceMappingURL=PatchedSCIMSourceUserRequest.js.map