@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
25 lines (24 loc) • 841 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationStateEntry = void 0;
const Mapper_1 = require("../common/Mapper");
const BitmovinResponse_1 = require("./BitmovinResponse");
/**
* @export
* @class NotificationStateEntry
*/
class NotificationStateEntry extends BitmovinResponse_1.default {
constructor(obj) {
super(obj);
if (!obj) {
return;
}
this.state = (0, Mapper_1.map)(obj.state);
this.muted = (0, Mapper_1.map)(obj.muted);
this.notificationId = (0, Mapper_1.map)(obj.notificationId);
this.resourceId = (0, Mapper_1.map)(obj.resourceId);
this.triggeredAt = (0, Mapper_1.map)(obj.triggeredAt, Date);
}
}
exports.NotificationStateEntry = NotificationStateEntry;
exports.default = NotificationStateEntry;