"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.instanceOfDuoDeviceEnrollmentStatus = instanceOfDuoDeviceEnrollmentStatus;
exports.DuoDeviceEnrollmentStatusFromJSON = DuoDeviceEnrollmentStatusFromJSON;
exports.DuoDeviceEnrollmentStatusFromJSONTyped = DuoDeviceEnrollmentStatusFromJSONTyped;
exports.DuoDeviceEnrollmentStatusToJSON = DuoDeviceEnrollmentStatusToJSON;
exports.DuoDeviceEnrollmentStatusToJSONTyped = DuoDeviceEnrollmentStatusToJSONTyped;
const DuoResponseEnum_1 = require("./DuoResponseEnum");
/**
 * Check if a given object implements the DuoDeviceEnrollmentStatus interface.
 */
function instanceOfDuoDeviceEnrollmentStatus(value) {
    if (!('duoResponse' in value) || value['duoResponse'] === undefined)
        return false;
    return true;
}
function DuoDeviceEnrollmentStatusFromJSON(json) {
    return DuoDeviceEnrollmentStatusFromJSONTyped(json, false);
}
function DuoDeviceEnrollmentStatusFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'duoResponse': (0, DuoResponseEnum_1.DuoResponseEnumFromJSON)(json['duo_response']),
    };
}
function DuoDeviceEnrollmentStatusToJSON(json) {
    return DuoDeviceEnrollmentStatusToJSONTyped(json, false);
}
function DuoDeviceEnrollmentStatusToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'duo_response': (0, DuoResponseEnum_1.DuoResponseEnumToJSON)(value['duoResponse']),
    };
}
//# sourceMappingURL=DuoDeviceEnrollmentStatus.js.map