@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
28 lines (27 loc) • 928 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Bif = void 0;
const Mapper_1 = require("../common/Mapper");
const BitmovinResource_1 = require("./BitmovinResource");
const EncodingOutput_1 = require("./EncodingOutput");
/**
* Either height or width is required. It is also possible to set both properties.
* @export
* @class Bif
*/
class Bif extends BitmovinResource_1.default {
constructor(obj) {
super(obj);
if (!obj) {
return;
}
this.height = (0, Mapper_1.map)(obj.height);
this.width = (0, Mapper_1.map)(obj.width);
this.distance = (0, Mapper_1.map)(obj.distance);
this.filename = (0, Mapper_1.map)(obj.filename);
this.outputs = (0, Mapper_1.mapArray)(obj.outputs, EncodingOutput_1.default);
this.aspectMode = (0, Mapper_1.map)(obj.aspectMode);
}
}
exports.Bif = Bif;
exports.default = Bif;