@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
36 lines • 1.65 kB
JavaScript
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 KalturaContextType = (function (_super) {
__extends(KalturaContextType, _super);
function KalturaContextType(value) {
var _this = _super.call(this) || this;
_this._value = value + '';
return _this;
}
KalturaContextType.prototype.equals = function (obj) {
return obj && obj.toString() === this._value;
};
KalturaContextType.prototype.toString = function () {
return this._value;
};
KalturaContextType.download = new KalturaContextType('2');
KalturaContextType.export = new KalturaContextType('5');
KalturaContextType.metadata = new KalturaContextType('4');
KalturaContextType.play = new KalturaContextType('1');
KalturaContextType.serve = new KalturaContextType('6');
KalturaContextType.thumbnail = new KalturaContextType('3');
return KalturaContextType;
}(KalturaObjectBase));
export { KalturaContextType };
KalturaTypesFactory.registerType('KalturaContextType', KalturaContextType);
//# sourceMappingURL=KalturaContextType.js.map