UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

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