"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.instanceOfLink = instanceOfLink;
exports.LinkFromJSON = LinkFromJSON;
exports.LinkFromJSONTyped = LinkFromJSONTyped;
exports.LinkToJSON = LinkToJSON;
exports.LinkToJSONTyped = LinkToJSONTyped;
/**
 * Check if a given object implements the Link interface.
 */
function instanceOfLink(value) {
    if (!('link' in value) || value['link'] === undefined)
        return false;
    return true;
}
function LinkFromJSON(json) {
    return LinkFromJSONTyped(json, false);
}
function LinkFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'link': json['link'],
    };
}
function LinkToJSON(json) {
    return LinkToJSONTyped(json, false);
}
function LinkToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'link': value['link'],
    };
}
//# sourceMappingURL=Link.js.map