@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
21 lines (20 loc) • 576 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Statistics = void 0;
const Mapper_1 = require("../common/Mapper");
/**
* @export
* @class Statistics
*/
class Statistics {
constructor(obj) {
if (!obj) {
return;
}
this.bytesEncodedTotal = (0, Mapper_1.map)(obj.bytesEncodedTotal);
this.timeEncodedTotal = (0, Mapper_1.map)(obj.timeEncodedTotal);
this.bytesEgressTotal = (0, Mapper_1.map)(obj.bytesEgressTotal);
}
}
exports.Statistics = Statistics;
exports.default = Statistics;