@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
26 lines (25 loc) • 925 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Shot = void 0;
var Mapper_1 = require("../common/Mapper");
var MainSubject_1 = require("./MainSubject");
/**
* Represents a continuous camera shot within a scene, containing detailed visual analysis including subjects, timing, and descriptive metadata
* @export
* @class Shot
*/
var Shot = /** @class */ (function () {
function Shot(obj) {
if (!obj) {
return;
}
this.startInSeconds = (0, Mapper_1.map)(obj.startInSeconds);
this.endInSeconds = (0, Mapper_1.map)(obj.endInSeconds);
this.detailedDescription = (0, Mapper_1.map)(obj.detailedDescription);
this.keywords = (0, Mapper_1.mapArray)(obj.keywords);
this.mainSubjects = (0, Mapper_1.mapArray)(obj.mainSubjects, MainSubject_1.default);
}
return Shot;
}());
exports.Shot = Shot;
exports.default = Shot;