@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
36 lines • 1.71 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 { KalturaSearchProviderType } from './KalturaSearchProviderType';
import { KalturaMediaType } from './KalturaMediaType';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaSearch = (function (_super) {
__extends(KalturaSearch, _super);
function KalturaSearch(data) {
return _super.call(this, data) || this;
}
KalturaSearch.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaSearch' },
keyWords: { type: 's' },
searchSource: { type: 'en', subTypeConstructor: KalturaSearchProviderType, subType: 'KalturaSearchProviderType' },
mediaType: { type: 'en', subTypeConstructor: KalturaMediaType, subType: 'KalturaMediaType' },
extraData: { type: 's' },
authData: { type: 's' }
});
return result;
};
return KalturaSearch;
}(KalturaObjectBase));
export { KalturaSearch };
KalturaTypesFactory.registerType('KalturaSearch', KalturaSearch);
//# sourceMappingURL=KalturaSearch.js.map