UNPKG

@iotile/iotile-cloud

Version:

A typescript library for interfacing with the IOTile Cloud API

16 lines 577 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var IndexFile = /** @class */ (function () { function IndexFile(data) { if (data === void 0) { data = {}; } this.id = data['id'] || ''; this.title = data['title'] || ''; this.url = data['url'] || ''; this.fileType = data['file_type'] || ''; this.createdOn = new Date(data['created_on']) || ''; this.createdBy = data['created_by'] || ''; } return IndexFile; }()); exports.IndexFile = IndexFile; //# sourceMappingURL=index-file.js.map