UNPKG

@kaltura-ng/kaltura-client

Version:
34 lines 1.71 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 { KalturaCaptionAsset } from './KalturaCaptionAsset'; import { KalturaListResponse } from './KalturaListResponse'; var KalturaCaptionAssetListResponse = (function (_super) { __extends(KalturaCaptionAssetListResponse, _super); function KalturaCaptionAssetListResponse(data) { var _this = _super.call(this, data) || this; if (typeof _this.objects === 'undefined') _this.objects = []; return _this; } KalturaCaptionAssetListResponse.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaCaptionAssetListResponse' }, objects: { type: 'a', readOnly: true, subTypeConstructor: KalturaCaptionAsset, subType: 'KalturaCaptionAsset' } }); return result; }; return KalturaCaptionAssetListResponse; }(KalturaListResponse)); export { KalturaCaptionAssetListResponse }; KalturaTypesFactory.registerType('KalturaCaptionAssetListResponse', KalturaCaptionAssetListResponse); //# sourceMappingURL=KalturaCaptionAssetListResponse.js.map