"use strict";
/* 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfPatchedSCIMProviderRequest = instanceOfPatchedSCIMProviderRequest;
exports.PatchedSCIMProviderRequestFromJSON = PatchedSCIMProviderRequestFromJSON;
exports.PatchedSCIMProviderRequestFromJSONTyped = PatchedSCIMProviderRequestFromJSONTyped;
exports.PatchedSCIMProviderRequestToJSON = PatchedSCIMProviderRequestToJSON;
exports.PatchedSCIMProviderRequestToJSONTyped = PatchedSCIMProviderRequestToJSONTyped;
const CompatibilityModeEnum_1 = require("./CompatibilityModeEnum");
/**
 * Check if a given object implements the PatchedSCIMProviderRequest interface.
 */
function instanceOfPatchedSCIMProviderRequest(value) {
    return true;
}
function PatchedSCIMProviderRequestFromJSON(json) {
    return PatchedSCIMProviderRequestFromJSONTyped(json, false);
}
function PatchedSCIMProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'propertyMappings': json['property_mappings'] == null ? undefined : json['property_mappings'],
        'propertyMappingsGroup': json['property_mappings_group'] == null ? undefined : json['property_mappings_group'],
        'url': json['url'] == null ? undefined : json['url'],
        'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
        'token': json['token'] == null ? undefined : json['token'],
        'compatibilityMode': json['compatibility_mode'] == null ? undefined : (0, CompatibilityModeEnum_1.CompatibilityModeEnumFromJSON)(json['compatibility_mode']),
        'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
        'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
        'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
    };
}
function PatchedSCIMProviderRequestToJSON(json) {
    return PatchedSCIMProviderRequestToJSONTyped(json, false);
}
function PatchedSCIMProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'property_mappings': value['propertyMappings'],
        'property_mappings_group': value['propertyMappingsGroup'],
        'url': value['url'],
        'verify_certificates': value['verifyCertificates'],
        'token': value['token'],
        'compatibility_mode': (0, CompatibilityModeEnum_1.CompatibilityModeEnumToJSON)(value['compatibilityMode']),
        'exclude_users_service_account': value['excludeUsersServiceAccount'],
        'filter_group': value['filterGroup'],
        'dry_run': value['dryRun'],
    };
}
//# sourceMappingURL=PatchedSCIMProviderRequest.js.map