"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.instanceOfPatchedNotificationWebhookMappingRequest = instanceOfPatchedNotificationWebhookMappingRequest;
exports.PatchedNotificationWebhookMappingRequestFromJSON = PatchedNotificationWebhookMappingRequestFromJSON;
exports.PatchedNotificationWebhookMappingRequestFromJSONTyped = PatchedNotificationWebhookMappingRequestFromJSONTyped;
exports.PatchedNotificationWebhookMappingRequestToJSON = PatchedNotificationWebhookMappingRequestToJSON;
exports.PatchedNotificationWebhookMappingRequestToJSONTyped = PatchedNotificationWebhookMappingRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedNotificationWebhookMappingRequest interface.
 */
function instanceOfPatchedNotificationWebhookMappingRequest(value) {
    return true;
}
function PatchedNotificationWebhookMappingRequestFromJSON(json) {
    return PatchedNotificationWebhookMappingRequestFromJSONTyped(json, false);
}
function PatchedNotificationWebhookMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'expression': json['expression'] == null ? undefined : json['expression'],
    };
}
function PatchedNotificationWebhookMappingRequestToJSON(json) {
    return PatchedNotificationWebhookMappingRequestToJSONTyped(json, false);
}
function PatchedNotificationWebhookMappingRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'expression': value['expression'],
    };
}
//# sourceMappingURL=PatchedNotificationWebhookMappingRequest.js.map