UNPKG

scheunemann-interfaces

Version:
25 lines (24 loc) 808 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotificationActionEntity = void 0; var enums_1 = require("../enums"); var NotificationActionEntity = /** @class */ (function () { // #endregion Properties (4) // #region Constructors (1) function NotificationActionEntity(data) { // #region Properties (4) this.icon = ''; this.label = ''; this.type = enums_1.NotificationActionTypeEnum.URL; this.value = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return NotificationActionEntity; }()); exports.NotificationActionEntity = NotificationActionEntity;