UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

28 lines (27 loc) 955 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DashMp4DrmRepresentation = void 0; const Mapper_1 = require("../common/Mapper"); const DashMp4Representation_1 = require("./DashMp4Representation"); const DashRepresentationTypeDiscriminator_1 = require("./DashRepresentationTypeDiscriminator"); /** * @export * @class DashMp4DrmRepresentation */ class DashMp4DrmRepresentation extends DashMp4Representation_1.default { constructor(obj) { super(obj); /** * Discriminator property for DashRepresentation * @type {string} * @memberof DashMp4DrmRepresentation */ this.typeDiscriminator = DashRepresentationTypeDiscriminator_1.default.DRM_MP4; if (!obj) { return; } this.drmId = (0, Mapper_1.map)(obj.drmId); } } exports.DashMp4DrmRepresentation = DashMp4DrmRepresentation; exports.default = DashMp4DrmRepresentation;