@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
34 lines • 1.54 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 { KalturaBaseResponseProfile } from './types/KalturaBaseResponseProfile';
import { KalturaObjectBase } from './kaltura-object-base';
var KalturaRequestBase = (function (_super) {
__extends(KalturaRequestBase, _super);
function KalturaRequestBase(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.acceptedTypes === 'undefined')
_this.acceptedTypes = [];
return _this;
}
KalturaRequestBase.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
apiVersion: { type: 'c', default: '3.3.0' },
partnerId: { type: 'n' },
ks: { type: 's' },
responseProfile: { type: 'o', subTypeConstructor: KalturaBaseResponseProfile, subType: 'KalturaBaseResponseProfile' }
});
return result;
};
return KalturaRequestBase;
}(KalturaObjectBase));
export { KalturaRequestBase };
//# sourceMappingURL=kaltura-request-base.js.map