UNPKG

@kaltura-ng/kaltura-client

Version:
38 lines 2.02 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { KalturaTypesFactory } from '../kaltura-types-factory'; import { KalturaLiveStreamParams } from './KalturaLiveStreamParams'; import { KalturaLiveEntryServerNodeRecordingInfo } from './KalturaLiveEntryServerNodeRecordingInfo'; import { KalturaEntryServerNode } from './KalturaEntryServerNode'; var KalturaLiveEntryServerNode = (function (_super) { __extends(KalturaLiveEntryServerNode, _super); function KalturaLiveEntryServerNode(data) { var _this = _super.call(this, data) || this; if (typeof _this.streams === 'undefined') _this.streams = []; if (typeof _this.recordingInfo === 'undefined') _this.recordingInfo = []; return _this; } KalturaLiveEntryServerNode.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaLiveEntryServerNode' }, streams: { type: 'a', subTypeConstructor: KalturaLiveStreamParams, subType: 'KalturaLiveStreamParams' }, recordingInfo: { type: 'a', subTypeConstructor: KalturaLiveEntryServerNodeRecordingInfo, subType: 'KalturaLiveEntryServerNodeRecordingInfo' } }); return result; }; return KalturaLiveEntryServerNode; }(KalturaEntryServerNode)); export { KalturaLiveEntryServerNode }; KalturaTypesFactory.registerType('KalturaLiveEntryServerNode', KalturaLiveEntryServerNode); //# sourceMappingURL=KalturaLiveEntryServerNode.js.map