UNPKG

@kaltura-ng/kaltura-client

Version:
42 lines 2.11 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 KalturaAssetType = (function (_super) { __extends(KalturaAssetType, _super); function KalturaAssetType(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaAssetType.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaAssetType.prototype.toString = function () { return this._value; }; KalturaAssetType.attachment = new KalturaAssetType('attachment.Attachment'); KalturaAssetType.caption = new KalturaAssetType('caption.Caption'); KalturaAssetType.document = new KalturaAssetType('document.Document'); KalturaAssetType.flavor = new KalturaAssetType('1'); KalturaAssetType.image = new KalturaAssetType('document.Image'); KalturaAssetType.live = new KalturaAssetType('3'); KalturaAssetType.pdf = new KalturaAssetType('document.PDF'); KalturaAssetType.swf = new KalturaAssetType('document.SWF'); KalturaAssetType.thumbnail = new KalturaAssetType('2'); KalturaAssetType.timedThumbAsset = new KalturaAssetType('thumbCuePoint.timedThumb'); KalturaAssetType.transcript = new KalturaAssetType('transcript.Transcript'); KalturaAssetType.widevineFlavor = new KalturaAssetType('widevine.WidevineFlavor'); return KalturaAssetType; }(KalturaObjectBase)); export { KalturaAssetType }; KalturaTypesFactory.registerType('KalturaAssetType', KalturaAssetType); //# sourceMappingURL=KalturaAssetType.js.map