"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Device = void 0;
/**
 * This entity is a root level object. It represents a device. It is serialized in JSON and saved in the underlying icure-base CouchDB database.
 */
const ModelHelper_1 = require("./ModelHelper");
class Device {
    constructor(json) {
        Object.assign(this, json, json.picture ? { picture: (0, ModelHelper_1.decodeStringOrArrayBuffer)(json.picture) } : {});
    }
}
exports.Device = Device;
//# sourceMappingURL=Device.js.map