UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

23 lines (22 loc) 873 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EmailNotificationWithStreamConditionsRequest = void 0; const Mapper_1 = require("../common/Mapper"); const AbstractCondition_1 = require("./AbstractCondition"); /** * @export * @class EmailNotificationWithStreamConditionsRequest */ class EmailNotificationWithStreamConditionsRequest { constructor(obj) { if (!obj) { return; } this.resolve = (0, Mapper_1.map)(obj.resolve); this.emails = (0, Mapper_1.mapArray)(obj.emails); this.muted = (0, Mapper_1.map)(obj.muted); this.conditions = (0, Mapper_1.map)(obj.conditions, AbstractCondition_1.default); } } exports.EmailNotificationWithStreamConditionsRequest = EmailNotificationWithStreamConditionsRequest; exports.default = EmailNotificationWithStreamConditionsRequest;