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

/**
 * Dummy challenge response
 * @export
 * @interface DummyChallengeResponseRequest
 */
export interface DummyChallengeResponseRequest {
    /**
     *
     * @type {string}
     * @memberof DummyChallengeResponseRequest
     */
    component?: string;
}

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

export function DummyChallengeResponseRequestFromJSON(json: any): DummyChallengeResponseRequest {
    return DummyChallengeResponseRequestFromJSONTyped(json, false);
}

export function DummyChallengeResponseRequestFromJSONTyped(
    json: any,
    ignoreDiscriminator: boolean,
): DummyChallengeResponseRequest {
    if (json == null) {
        return json;
    }
    return {
        component: json["component"] == null ? undefined : json["component"],
    };
}

export function DummyChallengeResponseRequestToJSON(json: any): DummyChallengeResponseRequest {
    return DummyChallengeResponseRequestToJSONTyped(json, false);
}

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

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