UNPKG

@kaltura-ng/kaltura-client

Version:
39 lines 1.82 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 KalturaEntryType = (function (_super) { __extends(KalturaEntryType, _super); function KalturaEntryType(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaEntryType.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaEntryType.prototype.toString = function () { return this._value; }; KalturaEntryType.automatic = new KalturaEntryType('-1'); KalturaEntryType.data = new KalturaEntryType('6'); KalturaEntryType.document = new KalturaEntryType('10'); KalturaEntryType.externalMedia = new KalturaEntryType('externalMedia.externalMedia'); KalturaEntryType.liveChannel = new KalturaEntryType('8'); KalturaEntryType.liveStream = new KalturaEntryType('7'); KalturaEntryType.mediaClip = new KalturaEntryType('1'); KalturaEntryType.mix = new KalturaEntryType('2'); KalturaEntryType.playlist = new KalturaEntryType('5'); return KalturaEntryType; }(KalturaObjectBase)); export { KalturaEntryType }; KalturaTypesFactory.registerType('KalturaEntryType', KalturaEntryType); //# sourceMappingURL=KalturaEntryType.js.map