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