"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.instanceOfWebAuthnDeviceType = instanceOfWebAuthnDeviceType;
exports.WebAuthnDeviceTypeFromJSON = WebAuthnDeviceTypeFromJSON;
exports.WebAuthnDeviceTypeFromJSONTyped = WebAuthnDeviceTypeFromJSONTyped;
exports.WebAuthnDeviceTypeToJSON = WebAuthnDeviceTypeToJSON;
exports.WebAuthnDeviceTypeToJSONTyped = WebAuthnDeviceTypeToJSONTyped;
/**
 * Check if a given object implements the WebAuthnDeviceType interface.
 */
function instanceOfWebAuthnDeviceType(value) {
    if (!('aaguid' in value) || value['aaguid'] === undefined)
        return false;
    if (!('description' in value) || value['description'] === undefined)
        return false;
    return true;
}
function WebAuthnDeviceTypeFromJSON(json) {
    return WebAuthnDeviceTypeFromJSONTyped(json, false);
}
function WebAuthnDeviceTypeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'aaguid': json['aaguid'],
        'description': json['description'],
    };
}
function WebAuthnDeviceTypeToJSON(json) {
    return WebAuthnDeviceTypeToJSONTyped(json, false);
}
function WebAuthnDeviceTypeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'aaguid': value['aaguid'],
        'description': value['description'],
    };
}
//# sourceMappingURL=WebAuthnDeviceType.js.map