"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.instanceOfPatchedExpressionPolicyRequest = instanceOfPatchedExpressionPolicyRequest;
exports.PatchedExpressionPolicyRequestFromJSON = PatchedExpressionPolicyRequestFromJSON;
exports.PatchedExpressionPolicyRequestFromJSONTyped = PatchedExpressionPolicyRequestFromJSONTyped;
exports.PatchedExpressionPolicyRequestToJSON = PatchedExpressionPolicyRequestToJSON;
exports.PatchedExpressionPolicyRequestToJSONTyped = PatchedExpressionPolicyRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedExpressionPolicyRequest interface.
 */
function instanceOfPatchedExpressionPolicyRequest(value) {
    return true;
}
function PatchedExpressionPolicyRequestFromJSON(json) {
    return PatchedExpressionPolicyRequestFromJSONTyped(json, false);
}
function PatchedExpressionPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
        'expression': json['expression'] == null ? undefined : json['expression'],
    };
}
function PatchedExpressionPolicyRequestToJSON(json) {
    return PatchedExpressionPolicyRequestToJSONTyped(json, false);
}
function PatchedExpressionPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'execution_logging': value['executionLogging'],
        'expression': value['expression'],
    };
}
//# sourceMappingURL=PatchedExpressionPolicyRequest.js.map