UNPKG

@kaltura-ng/kaltura-client

Version:
41 lines 2.38 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 KalturaMetadataObjectType = (function (_super) { __extends(KalturaMetadataObjectType, _super); function KalturaMetadataObjectType(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaMetadataObjectType.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaMetadataObjectType.prototype.toString = function () { return this._value; }; KalturaMetadataObjectType.adCuePoint = new KalturaMetadataObjectType('adCuePointMetadata.AdCuePoint'); KalturaMetadataObjectType.annotation = new KalturaMetadataObjectType('annotationMetadata.Annotation'); KalturaMetadataObjectType.answerCuePoint = new KalturaMetadataObjectType('quiz.AnswerCuePoint'); KalturaMetadataObjectType.category = new KalturaMetadataObjectType('2'); KalturaMetadataObjectType.codeCuePoint = new KalturaMetadataObjectType('codeCuePointMetadata.CodeCuePoint'); KalturaMetadataObjectType.dynamicObject = new KalturaMetadataObjectType('5'); KalturaMetadataObjectType.entry = new KalturaMetadataObjectType('1'); KalturaMetadataObjectType.partner = new KalturaMetadataObjectType('4'); KalturaMetadataObjectType.questionCuePoint = new KalturaMetadataObjectType('quiz.QuestionCuePoint'); KalturaMetadataObjectType.thumbCuePoint = new KalturaMetadataObjectType('thumbCuePointMetadata.thumbCuePoint'); KalturaMetadataObjectType.user = new KalturaMetadataObjectType('3'); return KalturaMetadataObjectType; }(KalturaObjectBase)); export { KalturaMetadataObjectType }; KalturaTypesFactory.registerType('KalturaMetadataObjectType', KalturaMetadataObjectType); //# sourceMappingURL=KalturaMetadataObjectType.js.map