@iotile/iotile-cloud
Version:
A typescript library for interfacing with the IOTile Cloud API
18 lines • 692 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var StreamerReport = /** @class */ (function () {
function StreamerReport(data) {
if (data === void 0) { data = {}; }
this.id = data.id;
this.streamer = data.streamer;
this.originalLastId = data.original_last_id;
this.originalFirstId = data.original_first_id;
this.firstId = data.actual_first_id;
this.lastID = data.actual_last_id;
this.created = new Date(data.created_on);
this.sent = new Date(data.sent_timestamp);
}
return StreamerReport;
}());
exports.StreamerReport = StreamerReport;
//# sourceMappingURL=streamerreport.js.map