"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.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.instanceOfPasswordChallengeResponseRequest = instanceOfPasswordChallengeResponseRequest;
exports.PasswordChallengeResponseRequestFromJSON = PasswordChallengeResponseRequestFromJSON;
exports.PasswordChallengeResponseRequestFromJSONTyped = PasswordChallengeResponseRequestFromJSONTyped;
exports.PasswordChallengeResponseRequestToJSON = PasswordChallengeResponseRequestToJSON;
exports.PasswordChallengeResponseRequestToJSONTyped = PasswordChallengeResponseRequestToJSONTyped;
/**
 * Check if a given object implements the PasswordChallengeResponseRequest interface.
 */
function instanceOfPasswordChallengeResponseRequest(value) {
    if (!('password' in value) || value['password'] === undefined)
        return false;
    return true;
}
function PasswordChallengeResponseRequestFromJSON(json) {
    return PasswordChallengeResponseRequestFromJSONTyped(json, false);
}
function PasswordChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'component': json['component'] == null ? undefined : json['component'],
        'password': json['password'],
    };
}
function PasswordChallengeResponseRequestToJSON(json) {
    return PasswordChallengeResponseRequestToJSONTyped(json, false);
}
function PasswordChallengeResponseRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'component': value['component'],
        'password': value['password'],
    };
}
//# sourceMappingURL=PasswordChallengeResponseRequest.js.map