@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
31 lines (30 loc) • 982 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IngestInputStream = void 0;
const Mapper_1 = require("../common/Mapper");
const InputStream_1 = require("./InputStream");
const InputStreamType_1 = require("./InputStreamType");
/**
* @export
* @class IngestInputStream
*/
class IngestInputStream extends InputStream_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for InputStream
* @type {string}
* @memberof IngestInputStream
*/
this.type = InputStreamType_1.default.INGEST;
if (!obj) {
return;
}
this.inputId = (0, Mapper_1.map)(obj.inputId);
this.inputPath = (0, Mapper_1.map)(obj.inputPath);
this.selectionMode = (0, Mapper_1.map)(obj.selectionMode);
this.position = (0, Mapper_1.map)(obj.position);
}
}
exports.IngestInputStream = IngestInputStream;
exports.default = IngestInputStream;