/* 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.
 */

/**
 * Pseudo class for static response
 * @export
 * @interface AuthenticatorStaticChallengeResponseRequest
 */
export interface AuthenticatorStaticChallengeResponseRequest {
    /**
     *
     * @type {string}
     * @memberof AuthenticatorStaticChallengeResponseRequest
     */
    component?: string;
}

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

export function AuthenticatorStaticChallengeResponseRequestFromJSON(
    json: any,
): AuthenticatorStaticChallengeResponseRequest {
    return AuthenticatorStaticChallengeResponseRequestFromJSONTyped(json, false);
}

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

export function AuthenticatorStaticChallengeResponseRequestToJSON(
    json: any,
): AuthenticatorStaticChallengeResponseRequest {
    return AuthenticatorStaticChallengeResponseRequestToJSONTyped(json, false);
}

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

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