"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.instanceOfWebAuthnDeviceTypeRequest = instanceOfWebAuthnDeviceTypeRequest;
exports.WebAuthnDeviceTypeRequestFromJSON = WebAuthnDeviceTypeRequestFromJSON;
exports.WebAuthnDeviceTypeRequestFromJSONTyped = WebAuthnDeviceTypeRequestFromJSONTyped;
exports.WebAuthnDeviceTypeRequestToJSON = WebAuthnDeviceTypeRequestToJSON;
exports.WebAuthnDeviceTypeRequestToJSONTyped = WebAuthnDeviceTypeRequestToJSONTyped;
/**
 * Check if a given object implements the WebAuthnDeviceTypeRequest interface.
 */
function instanceOfWebAuthnDeviceTypeRequest(value) {
    if (!('aaguid' in value) || value['aaguid'] === undefined)
        return false;
    if (!('description' in value) || value['description'] === undefined)
        return false;
    return true;
}
function WebAuthnDeviceTypeRequestFromJSON(json) {
    return WebAuthnDeviceTypeRequestFromJSONTyped(json, false);
}
function WebAuthnDeviceTypeRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'aaguid': json['aaguid'],
        'description': json['description'],
    };
}
function WebAuthnDeviceTypeRequestToJSON(json) {
    return WebAuthnDeviceTypeRequestToJSONTyped(json, false);
}
function WebAuthnDeviceTypeRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'aaguid': value['aaguid'],
        'description': value['description'],
    };
}
//# sourceMappingURL=WebAuthnDeviceTypeRequest.js.map