UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

20 lines (19 loc) 477 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AdOpportunity = void 0; const Mapper_1 = require("../common/Mapper"); /** * @export * @class AdOpportunity */ class AdOpportunity { constructor(obj) { if (!obj) { return; } this.reason = (0, Mapper_1.map)(obj.reason); this.score = (0, Mapper_1.map)(obj.score); } } exports.AdOpportunity = AdOpportunity; exports.default = AdOpportunity;