/* 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';
/**
 * Base class for all challenge responses
 * @export
 * @interface FrameChallengeResponseRequest
 */
export interface FrameChallengeResponseRequest {
    /**
     * 
     * @type {string}
     * @memberof FrameChallengeResponseRequest
     */
    component?: string;
}

/**
 * Check if a given object implements the FrameChallengeResponseRequest interface.
 */
export function instanceOfFrameChallengeResponseRequest(value: object): value is FrameChallengeResponseRequest {
    return true;
}

export function FrameChallengeResponseRequestFromJSON(json: any): FrameChallengeResponseRequest {
    return FrameChallengeResponseRequestFromJSONTyped(json, false);
}

export function FrameChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrameChallengeResponseRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'component': json['component'] == null ? undefined : json['component'],
    };
}

export function FrameChallengeResponseRequestToJSON(json: any): FrameChallengeResponseRequest {
    return FrameChallengeResponseRequestToJSONTyped(json, false);
}

export function FrameChallengeResponseRequestToJSONTyped(value?: FrameChallengeResponseRequest | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'component': value['component'],
    };
}

