"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.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.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfIdentificationChallengeResponseRequest = instanceOfIdentificationChallengeResponseRequest;
exports.IdentificationChallengeResponseRequestFromJSON = IdentificationChallengeResponseRequestFromJSON;
exports.IdentificationChallengeResponseRequestFromJSONTyped = IdentificationChallengeResponseRequestFromJSONTyped;
exports.IdentificationChallengeResponseRequestToJSON = IdentificationChallengeResponseRequestToJSON;
exports.IdentificationChallengeResponseRequestToJSONTyped = IdentificationChallengeResponseRequestToJSONTyped;
/**
 * Check if a given object implements the IdentificationChallengeResponseRequest interface.
 */
function instanceOfIdentificationChallengeResponseRequest(value) {
    if (!('uidField' in value) || value['uidField'] === undefined)
        return false;
    return true;
}
function IdentificationChallengeResponseRequestFromJSON(json) {
    return IdentificationChallengeResponseRequestFromJSONTyped(json, false);
}
function IdentificationChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'component': json['component'] == null ? undefined : json['component'],
        'uidField': json['uid_field'],
        'password': json['password'] == null ? undefined : json['password'],
        'captchaToken': json['captcha_token'] == null ? undefined : json['captcha_token'],
    };
}
function IdentificationChallengeResponseRequestToJSON(json) {
    return IdentificationChallengeResponseRequestToJSONTyped(json, false);
}
function IdentificationChallengeResponseRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'component': value['component'],
        'uid_field': value['uidField'],
        'password': value['password'],
        'captcha_token': value['captchaToken'],
    };
}
//# sourceMappingURL=IdentificationChallengeResponseRequest.js.map