UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

22 lines (21 loc) 636 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StreamInfos = void 0; var Mapper_1 = require("../common/Mapper"); var StreamInfosDetails_1 = require("./StreamInfosDetails"); /** * @export * @class StreamInfos */ var StreamInfos = /** @class */ (function () { function StreamInfos(obj) { if (!obj) { return; } this.time = (0, Mapper_1.map)(obj.time, Date); this.streamInfos = (0, Mapper_1.mapArray)(obj.streamInfos, StreamInfosDetails_1.default); } return StreamInfos; }()); exports.StreamInfos = StreamInfos; exports.default = StreamInfos;