@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
49 lines • 2.63 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 { KalturaTypesFactory } from '../kaltura-types-factory';
import { KalturaControlPanelCommandType } from './KalturaControlPanelCommandType';
import { KalturaControlPanelCommandTargetType } from './KalturaControlPanelCommandTargetType';
import { KalturaControlPanelCommandStatus } from './KalturaControlPanelCommandStatus';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaControlPanelCommand = (function (_super) {
__extends(KalturaControlPanelCommand, _super);
function KalturaControlPanelCommand(data) {
return _super.call(this, data) || this;
}
KalturaControlPanelCommand.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaControlPanelCommand' },
id: { type: 'n', readOnly: true },
createdAt: { type: 'd', readOnly: true },
createdBy: { type: 's' },
updatedAt: { type: 'd', readOnly: true },
updatedBy: { type: 's' },
createdById: { type: 'n' },
schedulerId: { type: 'n' },
workerId: { type: 'n' },
workerConfiguredId: { type: 'n' },
workerName: { type: 'n' },
batchIndex: { type: 'n' },
type: { type: 'en', subTypeConstructor: KalturaControlPanelCommandType, subType: 'KalturaControlPanelCommandType' },
targetType: { type: 'en', subTypeConstructor: KalturaControlPanelCommandTargetType, subType: 'KalturaControlPanelCommandTargetType' },
status: { type: 'en', subTypeConstructor: KalturaControlPanelCommandStatus, subType: 'KalturaControlPanelCommandStatus' },
cause: { type: 's' },
description: { type: 's' },
errorDescription: { type: 's' }
});
return result;
};
return KalturaControlPanelCommand;
}(KalturaObjectBase));
export { KalturaControlPanelCommand };
KalturaTypesFactory.registerType('KalturaControlPanelCommand', KalturaControlPanelCommand);
//# sourceMappingURL=KalturaControlPanelCommand.js.map