@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
39 lines • 2.21 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 KalturaBatchJobObjectType = (function (_super) {
__extends(KalturaBatchJobObjectType, _super);
function KalturaBatchJobObjectType(value) {
var _this = _super.call(this) || this;
_this._value = value + '';
return _this;
}
KalturaBatchJobObjectType.prototype.equals = function (obj) {
return obj && obj.toString() === this._value;
};
KalturaBatchJobObjectType.prototype.toString = function () {
return this._value;
};
KalturaBatchJobObjectType.asset = new KalturaBatchJobObjectType('4');
KalturaBatchJobObjectType.category = new KalturaBatchJobObjectType('2');
KalturaBatchJobObjectType.dropFolderFile = new KalturaBatchJobObjectType('dropFolderXmlBulkUpload.DropFolderFile');
KalturaBatchJobObjectType.entry = new KalturaBatchJobObjectType('1');
KalturaBatchJobObjectType.entryDistribution = new KalturaBatchJobObjectType('contentDistribution.EntryDistribution');
KalturaBatchJobObjectType.fileSync = new KalturaBatchJobObjectType('3');
KalturaBatchJobObjectType.metadata = new KalturaBatchJobObjectType('metadata.Metadata');
KalturaBatchJobObjectType.metadataProfile = new KalturaBatchJobObjectType('metadata.MetadataProfile');
KalturaBatchJobObjectType.scheduledTaskProfile = new KalturaBatchJobObjectType('scheduledTask.ScheduledTaskProfile');
return KalturaBatchJobObjectType;
}(KalturaObjectBase));
export { KalturaBatchJobObjectType };
KalturaTypesFactory.registerType('KalturaBatchJobObjectType', KalturaBatchJobObjectType);
//# sourceMappingURL=KalturaBatchJobObjectType.js.map