/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * 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. */ import { mapValues } from '../runtime'; /** * Returns a single link * @export * @interface Link */ export interface Link { /** * * @type {string} * @memberof Link */ link: string; } /** * Check if a given object implements the Link interface. */ export function instanceOfLink(value: object): value is Link { if (!('link' in value) || value['link'] === undefined) return false; return true; } export function LinkFromJSON(json: any): Link { return LinkFromJSONTyped(json, false); } export function LinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): Link { if (json == null) { return json; } return { 'link': json['link'], }; } export function LinkToJSON(json: any): Link { return LinkToJSONTyped(json, false); } export function LinkToJSONTyped(value?: Link | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'link': value['link'], }; }