@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
31 lines (30 loc) • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpriteRepresentation = void 0;
const Mapper_1 = require("../common/Mapper");
const DashRepresentation_1 = require("./DashRepresentation");
const DashRepresentationTypeDiscriminator_1 = require("./DashRepresentationTypeDiscriminator");
/**
* @export
* @class SpriteRepresentation
*/
class SpriteRepresentation extends DashRepresentation_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for DashRepresentation
* @type {string}
* @memberof SpriteRepresentation
*/
this.typeDiscriminator = DashRepresentationTypeDiscriminator_1.default.SPRITE;
if (!obj) {
return;
}
this.encodingId = (0, Mapper_1.map)(obj.encodingId);
this.streamId = (0, Mapper_1.map)(obj.streamId);
this.spriteId = (0, Mapper_1.map)(obj.spriteId);
this.segmentPath = (0, Mapper_1.map)(obj.segmentPath);
}
}
exports.SpriteRepresentation = SpriteRepresentation;
exports.default = SpriteRepresentation;