"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfAuthenticatorEmailChallengeResponseRequest = instanceOfAuthenticatorEmailChallengeResponseRequest;
exports.AuthenticatorEmailChallengeResponseRequestFromJSON = AuthenticatorEmailChallengeResponseRequestFromJSON;
exports.AuthenticatorEmailChallengeResponseRequestFromJSONTyped = AuthenticatorEmailChallengeResponseRequestFromJSONTyped;
exports.AuthenticatorEmailChallengeResponseRequestToJSON = AuthenticatorEmailChallengeResponseRequestToJSON;
exports.AuthenticatorEmailChallengeResponseRequestToJSONTyped = AuthenticatorEmailChallengeResponseRequestToJSONTyped;
/**
 * Check if a given object implements the AuthenticatorEmailChallengeResponseRequest interface.
 */
function instanceOfAuthenticatorEmailChallengeResponseRequest(value) {
    return true;
}
function AuthenticatorEmailChallengeResponseRequestFromJSON(json) {
    return AuthenticatorEmailChallengeResponseRequestFromJSONTyped(json, false);
}
function AuthenticatorEmailChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'component': json['component'] == null ? undefined : json['component'],
        'code': json['code'] == null ? undefined : json['code'],
        'email': json['email'] == null ? undefined : json['email'],
    };
}
function AuthenticatorEmailChallengeResponseRequestToJSON(json) {
    return AuthenticatorEmailChallengeResponseRequestToJSONTyped(json, false);
}
function AuthenticatorEmailChallengeResponseRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'component': value['component'],
        'code': value['code'],
        'email': value['email'],
    };
}
//# sourceMappingURL=AuthenticatorEmailChallengeResponseRequest.js.map