"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.instanceOfAuthenticatorDuoStageManualDeviceImportRequest = instanceOfAuthenticatorDuoStageManualDeviceImportRequest;
exports.AuthenticatorDuoStageManualDeviceImportRequestFromJSON = AuthenticatorDuoStageManualDeviceImportRequestFromJSON;
exports.AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped = AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped;
exports.AuthenticatorDuoStageManualDeviceImportRequestToJSON = AuthenticatorDuoStageManualDeviceImportRequestToJSON;
exports.AuthenticatorDuoStageManualDeviceImportRequestToJSONTyped = AuthenticatorDuoStageManualDeviceImportRequestToJSONTyped;
/**
 * Check if a given object implements the AuthenticatorDuoStageManualDeviceImportRequest interface.
 */
function instanceOfAuthenticatorDuoStageManualDeviceImportRequest(value) {
    if (!('duoUserId' in value) || value['duoUserId'] === undefined)
        return false;
    if (!('username' in value) || value['username'] === undefined)
        return false;
    return true;
}
function AuthenticatorDuoStageManualDeviceImportRequestFromJSON(json) {
    return AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json, false);
}
function AuthenticatorDuoStageManualDeviceImportRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'duoUserId': json['duo_user_id'],
        'username': json['username'],
    };
}
function AuthenticatorDuoStageManualDeviceImportRequestToJSON(json) {
    return AuthenticatorDuoStageManualDeviceImportRequestToJSONTyped(json, false);
}
function AuthenticatorDuoStageManualDeviceImportRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'duo_user_id': value['duoUserId'],
        'username': value['username'],
    };
}
//# sourceMappingURL=AuthenticatorDuoStageManualDeviceImportRequest.js.map