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

/**
 * Response for iframe logout
 * @export
 * @interface IframeLogoutChallengeResponseRequest
 */
export interface IframeLogoutChallengeResponseRequest {
    /**
     *
     * @type {string}
     * @memberof IframeLogoutChallengeResponseRequest
     */
    component?: string;
}

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

export function IframeLogoutChallengeResponseRequestFromJSON(
    json: any,
): IframeLogoutChallengeResponseRequest {
    return IframeLogoutChallengeResponseRequestFromJSONTyped(json, false);
}

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

export function IframeLogoutChallengeResponseRequestToJSON(
    json: any,
): IframeLogoutChallengeResponseRequest {
    return IframeLogoutChallengeResponseRequestToJSONTyped(json, false);
}

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

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