/* 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';
/**
 * Pseudo class for autosubmit response
 * @export
 * @interface AutoSubmitChallengeResponseRequest
 */
export interface AutoSubmitChallengeResponseRequest {
    /**
     * 
     * @type {string}
     * @memberof AutoSubmitChallengeResponseRequest
     */
    component?: string;
}

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

export function AutoSubmitChallengeResponseRequestFromJSON(json: any): AutoSubmitChallengeResponseRequest {
    return AutoSubmitChallengeResponseRequestFromJSONTyped(json, false);
}

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

export function AutoSubmitChallengeResponseRequestToJSON(json: any): AutoSubmitChallengeResponseRequest {
    return AutoSubmitChallengeResponseRequestToJSONTyped(json, false);
}

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

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

