UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

22 lines (21 loc) 843 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebhookNotificationWithStreamConditionsRequest = void 0; const Mapper_1 = require("../common/Mapper"); const AbstractCondition_1 = require("./AbstractCondition"); const WebhookNotification_1 = require("./WebhookNotification"); /** * @export * @class WebhookNotificationWithStreamConditionsRequest */ class WebhookNotificationWithStreamConditionsRequest extends WebhookNotification_1.default { constructor(obj) { super(obj); if (!obj) { return; } this.conditions = (0, Mapper_1.map)(obj.conditions, AbstractCondition_1.default); } } exports.WebhookNotificationWithStreamConditionsRequest = WebhookNotificationWithStreamConditionsRequest; exports.default = WebhookNotificationWithStreamConditionsRequest;