@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
34 lines • 1.57 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 KalturaAttachmentType = (function (_super) {
__extends(KalturaAttachmentType, _super);
function KalturaAttachmentType(value) {
var _this = _super.call(this) || this;
_this._value = value + '';
return _this;
}
KalturaAttachmentType.prototype.equals = function (obj) {
return obj && obj.toString() === this._value;
};
KalturaAttachmentType.prototype.toString = function () {
return this._value;
};
KalturaAttachmentType.document = new KalturaAttachmentType('3');
KalturaAttachmentType.json = new KalturaAttachmentType('4');
KalturaAttachmentType.media = new KalturaAttachmentType('2');
KalturaAttachmentType.text = new KalturaAttachmentType('1');
return KalturaAttachmentType;
}(KalturaObjectBase));
export { KalturaAttachmentType };
KalturaTypesFactory.registerType('KalturaAttachmentType', KalturaAttachmentType);
//# sourceMappingURL=KalturaAttachmentType.js.map