"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.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.instanceOfPatchedNotificationRequest = instanceOfPatchedNotificationRequest;
exports.PatchedNotificationRequestFromJSON = PatchedNotificationRequestFromJSON;
exports.PatchedNotificationRequestFromJSONTyped = PatchedNotificationRequestFromJSONTyped;
exports.PatchedNotificationRequestToJSON = PatchedNotificationRequestToJSON;
exports.PatchedNotificationRequestToJSONTyped = PatchedNotificationRequestToJSONTyped;
const EventRequest_1 = require("./EventRequest");
/**
 * Check if a given object implements the PatchedNotificationRequest interface.
 */
function instanceOfPatchedNotificationRequest(value) {
    return true;
}
function PatchedNotificationRequestFromJSON(json) {
    return PatchedNotificationRequestFromJSONTyped(json, false);
}
function PatchedNotificationRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'hyperlink': json['hyperlink'] == null ? undefined : json['hyperlink'],
        'hyperlinkLabel': json['hyperlink_label'] == null ? undefined : json['hyperlink_label'],
        'event': json['event'] == null ? undefined : (0, EventRequest_1.EventRequestFromJSON)(json['event']),
        'seen': json['seen'] == null ? undefined : json['seen'],
    };
}
function PatchedNotificationRequestToJSON(json) {
    return PatchedNotificationRequestToJSONTyped(json, false);
}
function PatchedNotificationRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'hyperlink': value['hyperlink'],
        'hyperlink_label': value['hyperlinkLabel'],
        'event': (0, EventRequest_1.EventRequestToJSON)(value['event']),
        'seen': value['seen'],
    };
}
//# sourceMappingURL=PatchedNotificationRequest.js.map