"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.instanceOfNotificationRequest = instanceOfNotificationRequest;
exports.NotificationRequestFromJSON = NotificationRequestFromJSON;
exports.NotificationRequestFromJSONTyped = NotificationRequestFromJSONTyped;
exports.NotificationRequestToJSON = NotificationRequestToJSON;
exports.NotificationRequestToJSONTyped = NotificationRequestToJSONTyped;
const EventRequest_1 = require("./EventRequest");
/**
 * Check if a given object implements the NotificationRequest interface.
 */
function instanceOfNotificationRequest(value) {
    return true;
}
function NotificationRequestFromJSON(json) {
    return NotificationRequestFromJSONTyped(json, false);
}
function NotificationRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'event': json['event'] == null ? undefined : (0, EventRequest_1.EventRequestFromJSON)(json['event']),
        'seen': json['seen'] == null ? undefined : json['seen'],
    };
}
function NotificationRequestToJSON(json) {
    return NotificationRequestToJSONTyped(json, false);
}
function NotificationRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'event': (0, EventRequest_1.EventRequestToJSON)(value['event']),
        'seen': value['seen'],
    };
}
//# sourceMappingURL=NotificationRequest.js.map