@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
21 lines (20 loc) • 543 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AdOpportunity = void 0;
var Mapper_1 = require("../common/Mapper");
/**
* @export
* @class AdOpportunity
*/
var AdOpportunity = /** @class */ (function () {
function AdOpportunity(obj) {
if (!obj) {
return;
}
this.reason = (0, Mapper_1.map)(obj.reason);
this.score = (0, Mapper_1.map)(obj.score);
}
return AdOpportunity;
}());
exports.AdOpportunity = AdOpportunity;
exports.default = AdOpportunity;