UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

30 lines (29 loc) 799 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PrimeTimeDrm = void 0; const Mapper_1 = require("../common/Mapper"); const Drm_1 = require("./Drm"); const DrmType_1 = require("./DrmType"); /** * @export * @class PrimeTimeDrm */ class PrimeTimeDrm extends Drm_1.default { constructor(obj) { super(obj); /** * Discriminator property for Drm * @type {string} * @memberof PrimeTimeDrm */ this.type = DrmType_1.default.PRIMETIME; if (!obj) { return; } this.key = (0, Mapper_1.map)(obj.key); this.kid = (0, Mapper_1.map)(obj.kid); this.pssh = (0, Mapper_1.map)(obj.pssh); } } exports.PrimeTimeDrm = PrimeTimeDrm; exports.default = PrimeTimeDrm;