@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
22 lines (21 loc) • 783 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmailNotificationWithStreamConditions = void 0;
const Mapper_1 = require("../common/Mapper");
const AbstractCondition_1 = require("./AbstractCondition");
const EmailNotification_1 = require("./EmailNotification");
/**
* @export
* @class EmailNotificationWithStreamConditions
*/
class EmailNotificationWithStreamConditions extends EmailNotification_1.default {
constructor(obj) {
super(obj);
if (!obj) {
return;
}
this.conditions = (0, Mapper_1.map)(obj.conditions, AbstractCondition_1.default);
}
}
exports.EmailNotificationWithStreamConditions = EmailNotificationWithStreamConditions;
exports.default = EmailNotificationWithStreamConditions;