"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DevicePut = void 0;
const DeviceSchemas_1 = require("../../schemas/device/DeviceSchemas");
class DevicePut {
    constructor(values) {
        Object.assign(this, values);
    }
    isValid() {
        return (0, DeviceSchemas_1.schema)(this.type).isValid(this);
    }
    validate() {
        return (0, DeviceSchemas_1.schema)(this.type).validate(this);
    }
}
exports.DevicePut = DevicePut;
