/* 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 native browser logout
 * @export
 * @interface NativeLogoutChallengeResponseRequest
 */
export interface NativeLogoutChallengeResponseRequest {
    /**
     *
     * @type {string}
     * @memberof NativeLogoutChallengeResponseRequest
     */
    component?: string;
}

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

export function NativeLogoutChallengeResponseRequestFromJSON(
    json: any,
): NativeLogoutChallengeResponseRequest {
    return NativeLogoutChallengeResponseRequestFromJSONTyped(json, false);
}

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

export function NativeLogoutChallengeResponseRequestToJSON(
    json: any,
): NativeLogoutChallengeResponseRequest {
    return NativeLogoutChallengeResponseRequestToJSONTyped(json, false);
}

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

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