/* 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';
/**
 * response of the flow's diagram action
 * @export
 * @interface FlowDiagram
 */
export interface FlowDiagram {
    /**
     * 
     * @type {string}
     * @memberof FlowDiagram
     */
    readonly diagram: string;
}

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

export function FlowDiagramFromJSON(json: any): FlowDiagram {
    return FlowDiagramFromJSONTyped(json, false);
}

export function FlowDiagramFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowDiagram {
    if (json == null) {
        return json;
    }
    return {
        
        'diagram': json['diagram'],
    };
}

export function FlowDiagramToJSON(json: any): FlowDiagram {
    return FlowDiagramToJSONTyped(json, false);
}

export function FlowDiagramToJSONTyped(value?: Omit<FlowDiagram, 'diagram'> | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
    };
}

