UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

23 lines (22 loc) 823 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LiveOptionsStatistics = void 0; var Mapper_1 = require("../common/Mapper"); var LiveOptionsBreakdownEntry_1 = require("./LiveOptionsBreakdownEntry"); var LiveOptionsSummary_1 = require("./LiveOptionsSummary"); /** * @export * @class LiveOptionsStatistics */ var LiveOptionsStatistics = /** @class */ (function () { function LiveOptionsStatistics(obj) { if (!obj) { return; } this.summary = (0, Mapper_1.map)(obj.summary, LiveOptionsSummary_1.default); this.breakdown = (0, Mapper_1.mapArray)(obj.breakdown, LiveOptionsBreakdownEntry_1.default); } return LiveOptionsStatistics; }()); exports.LiveOptionsStatistics = LiveOptionsStatistics; exports.default = LiveOptionsStatistics;