"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.instanceOfPatchedTOTPDeviceRequest = instanceOfPatchedTOTPDeviceRequest;
exports.PatchedTOTPDeviceRequestFromJSON = PatchedTOTPDeviceRequestFromJSON;
exports.PatchedTOTPDeviceRequestFromJSONTyped = PatchedTOTPDeviceRequestFromJSONTyped;
exports.PatchedTOTPDeviceRequestToJSON = PatchedTOTPDeviceRequestToJSON;
exports.PatchedTOTPDeviceRequestToJSONTyped = PatchedTOTPDeviceRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedTOTPDeviceRequest interface.
 */
function instanceOfPatchedTOTPDeviceRequest(value) {
    return true;
}
function PatchedTOTPDeviceRequestFromJSON(json) {
    return PatchedTOTPDeviceRequestFromJSONTyped(json, false);
}
function PatchedTOTPDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
    };
}
function PatchedTOTPDeviceRequestToJSON(json) {
    return PatchedTOTPDeviceRequestToJSONTyped(json, false);
}
function PatchedTOTPDeviceRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
    };
}
//# sourceMappingURL=PatchedTOTPDeviceRequest.js.map