@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
41 lines • 2.25 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 { KalturaSessionType } from './KalturaSessionType';
import { KalturaIntegerValue } from './KalturaIntegerValue';
import { KalturaRecalculateCacheJobData } from './KalturaRecalculateCacheJobData';
var KalturaRecalculateResponseProfileCacheJobData = (function (_super) {
__extends(KalturaRecalculateResponseProfileCacheJobData, _super);
function KalturaRecalculateResponseProfileCacheJobData(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.userRoles === 'undefined')
_this.userRoles = [];
return _this;
}
KalturaRecalculateResponseProfileCacheJobData.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaRecalculateResponseProfileCacheJobData' },
protocol: { type: 's' },
ksType: { type: 'en', subTypeConstructor: KalturaSessionType, subType: 'KalturaSessionType' },
userRoles: { type: 'a', subTypeConstructor: KalturaIntegerValue, subType: 'KalturaIntegerValue' },
cachedObjectType: { type: 's' },
objectId: { type: 's' },
startObjectKey: { type: 's' },
endObjectKey: { type: 's' }
});
return result;
};
return KalturaRecalculateResponseProfileCacheJobData;
}(KalturaRecalculateCacheJobData));
export { KalturaRecalculateResponseProfileCacheJobData };
KalturaTypesFactory.registerType('KalturaRecalculateResponseProfileCacheJobData', KalturaRecalculateResponseProfileCacheJobData);
//# sourceMappingURL=KalturaRecalculateResponseProfileCacheJobData.js.map