"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.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.instanceOfPatchedSAMLPropertyMappingRequest = instanceOfPatchedSAMLPropertyMappingRequest;
exports.PatchedSAMLPropertyMappingRequestFromJSON = PatchedSAMLPropertyMappingRequestFromJSON;
exports.PatchedSAMLPropertyMappingRequestFromJSONTyped = PatchedSAMLPropertyMappingRequestFromJSONTyped;
exports.PatchedSAMLPropertyMappingRequestToJSON = PatchedSAMLPropertyMappingRequestToJSON;
exports.PatchedSAMLPropertyMappingRequestToJSONTyped = PatchedSAMLPropertyMappingRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedSAMLPropertyMappingRequest interface.
 */
function instanceOfPatchedSAMLPropertyMappingRequest(value) {
    return true;
}
function PatchedSAMLPropertyMappingRequestFromJSON(json) {
    return PatchedSAMLPropertyMappingRequestFromJSONTyped(json, false);
}
function PatchedSAMLPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'managed': json['managed'] == null ? undefined : json['managed'],
        'name': json['name'] == null ? undefined : json['name'],
        'expression': json['expression'] == null ? undefined : json['expression'],
        'samlName': json['saml_name'] == null ? undefined : json['saml_name'],
        'friendlyName': json['friendly_name'] == null ? undefined : json['friendly_name'],
    };
}
function PatchedSAMLPropertyMappingRequestToJSON(json) {
    return PatchedSAMLPropertyMappingRequestToJSONTyped(json, false);
}
function PatchedSAMLPropertyMappingRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'managed': value['managed'],
        'name': value['name'],
        'expression': value['expression'],
        'saml_name': value['samlName'],
        'friendly_name': value['friendlyName'],
    };
}
//# sourceMappingURL=PatchedSAMLPropertyMappingRequest.js.map