UNPKG

cecon-interfaces

Version:
32 lines (31 loc) 1.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioDeviceEntity = void 0; /** @deprecated use MachineEntity from @arcnetdev/arcnet-payio-interfaces instead */ var PayioDeviceEntity = /** @class */ (function () { function PayioDeviceEntity(data) { this.activationKeyId = null; this.activationKey = null; this.active = false; this.chef = null; this.companyId = ''; this.containerId = ''; this.createdAt = new Date(); this.deviceId = ''; this.id = ''; this.lastAccess = new Date(); this.name = ''; this.sandbox = false; this.tags = []; this.updatedAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioDeviceEntity; }()); exports.PayioDeviceEntity = PayioDeviceEntity;