"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.instanceOfPatchedSCIMSourceRequest = instanceOfPatchedSCIMSourceRequest;
exports.PatchedSCIMSourceRequestFromJSON = PatchedSCIMSourceRequestFromJSON;
exports.PatchedSCIMSourceRequestFromJSONTyped = PatchedSCIMSourceRequestFromJSONTyped;
exports.PatchedSCIMSourceRequestToJSON = PatchedSCIMSourceRequestToJSON;
exports.PatchedSCIMSourceRequestToJSONTyped = PatchedSCIMSourceRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedSCIMSourceRequest interface.
 */
function instanceOfPatchedSCIMSourceRequest(value) {
    return true;
}
function PatchedSCIMSourceRequestFromJSON(json) {
    return PatchedSCIMSourceRequestFromJSONTyped(json, false);
}
function PatchedSCIMSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'slug': json['slug'] == null ? undefined : json['slug'],
        'enabled': json['enabled'] == null ? undefined : json['enabled'],
        'userPropertyMappings': json['user_property_mappings'] == null ? undefined : json['user_property_mappings'],
        'groupPropertyMappings': json['group_property_mappings'] == null ? undefined : json['group_property_mappings'],
        'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
    };
}
function PatchedSCIMSourceRequestToJSON(json) {
    return PatchedSCIMSourceRequestToJSONTyped(json, false);
}
function PatchedSCIMSourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'slug': value['slug'],
        'enabled': value['enabled'],
        'user_property_mappings': value['userPropertyMappings'],
        'group_property_mappings': value['groupPropertyMappings'],
        'user_path_template': value['userPathTemplate'],
    };
}
//# sourceMappingURL=PatchedSCIMSourceRequest.js.map