"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.instanceOfPatchedScopeMappingRequest = instanceOfPatchedScopeMappingRequest;
exports.PatchedScopeMappingRequestFromJSON = PatchedScopeMappingRequestFromJSON;
exports.PatchedScopeMappingRequestFromJSONTyped = PatchedScopeMappingRequestFromJSONTyped;
exports.PatchedScopeMappingRequestToJSON = PatchedScopeMappingRequestToJSON;
exports.PatchedScopeMappingRequestToJSONTyped = PatchedScopeMappingRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedScopeMappingRequest interface.
 */
function instanceOfPatchedScopeMappingRequest(value) {
    return true;
}
function PatchedScopeMappingRequestFromJSON(json) {
    return PatchedScopeMappingRequestFromJSONTyped(json, false);
}
function PatchedScopeMappingRequestFromJSONTyped(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'],
        'scopeName': json['scope_name'] == null ? undefined : json['scope_name'],
        'description': json['description'] == null ? undefined : json['description'],
    };
}
function PatchedScopeMappingRequestToJSON(json) {
    return PatchedScopeMappingRequestToJSONTyped(json, false);
}
function PatchedScopeMappingRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'managed': value['managed'],
        'name': value['name'],
        'expression': value['expression'],
        'scope_name': value['scopeName'],
        'description': value['description'],
    };
}
//# sourceMappingURL=PatchedScopeMappingRequest.js.map