/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.
 */

import { mapValues } from '../runtime';
/**
 * Links returned in Config API
 * @export
 * @interface FooterLink
 */
export interface FooterLink {
    /**
     * 
     * @type {string}
     * @memberof FooterLink
     */
    readonly href: string | null;
    /**
     * 
     * @type {string}
     * @memberof FooterLink
     */
    readonly name: string;
}

/**
 * Check if a given object implements the FooterLink interface.
 */
export function instanceOfFooterLink(value: object): value is FooterLink {
    if (!('href' in value) || value['href'] === undefined) return false;
    if (!('name' in value) || value['name'] === undefined) return false;
    return true;
}

export function FooterLinkFromJSON(json: any): FooterLink {
    return FooterLinkFromJSONTyped(json, false);
}

export function FooterLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): FooterLink {
    if (json == null) {
        return json;
    }
    return {
        
        'href': json['href'],
        'name': json['name'],
    };
}

export function FooterLinkToJSON(json: any): FooterLink {
    return FooterLinkToJSONTyped(json, false);
}

export function FooterLinkToJSONTyped(value?: Omit<FooterLink, 'href'|'name'> | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
    };
}

