UNPKG

@kaltura-ng/kaltura-client

Version:
36 lines 1.75 kB
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 { KalturaESearchItemData } from './KalturaESearchItemData'; import { KalturaObjectBase } from '../kaltura-object-base'; var KalturaESearchItemDataResult = (function (_super) { __extends(KalturaESearchItemDataResult, _super); function KalturaESearchItemDataResult(data) { var _this = _super.call(this, data) || this; if (typeof _this.items === 'undefined') _this.items = []; return _this; } KalturaESearchItemDataResult.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaESearchItemDataResult' }, totalCount: { type: 'n' }, items: { type: 'a', subTypeConstructor: KalturaESearchItemData, subType: 'KalturaESearchItemData' }, itemsType: { type: 's' } }); return result; }; return KalturaESearchItemDataResult; }(KalturaObjectBase)); export { KalturaESearchItemDataResult }; KalturaTypesFactory.registerType('KalturaESearchItemDataResult', KalturaESearchItemDataResult); //# sourceMappingURL=KalturaESearchItemDataResult.js.map