UNPKG

@kaltura-ng/kaltura-client

Version:
32 lines 1.52 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 { KalturaObjectBase } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; var KalturaEntryServerNodeType = (function (_super) { __extends(KalturaEntryServerNodeType, _super); function KalturaEntryServerNodeType(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaEntryServerNodeType.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaEntryServerNodeType.prototype.toString = function () { return this._value; }; KalturaEntryServerNodeType.liveBackup = new KalturaEntryServerNodeType('1'); KalturaEntryServerNodeType.livePrimary = new KalturaEntryServerNodeType('0'); return KalturaEntryServerNodeType; }(KalturaObjectBase)); export { KalturaEntryServerNodeType }; KalturaTypesFactory.registerType('KalturaEntryServerNodeType', KalturaEntryServerNodeType); //# sourceMappingURL=KalturaEntryServerNodeType.js.map