UNPKG

@kaltura-ng/kaltura-client

Version:
45 lines 2.59 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 { KalturaResponseProfileType } from './KalturaResponseProfileType'; import { KalturaRelatedFilter } from './KalturaRelatedFilter'; import { KalturaFilterPager } from './KalturaFilterPager'; import { KalturaResponseProfileMapping } from './KalturaResponseProfileMapping'; import { KalturaBaseResponseProfile } from './KalturaBaseResponseProfile'; var KalturaDetachedResponseProfile = (function (_super) { __extends(KalturaDetachedResponseProfile, _super); function KalturaDetachedResponseProfile(data) { var _this = _super.call(this, data) || this; if (typeof _this.relatedProfiles === 'undefined') _this.relatedProfiles = []; if (typeof _this.mappings === 'undefined') _this.mappings = []; return _this; } KalturaDetachedResponseProfile.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaDetachedResponseProfile' }, name: { type: 's' }, type: { type: 'en', subTypeConstructor: KalturaResponseProfileType, subType: 'KalturaResponseProfileType' }, fields: { type: 's' }, filter: { type: 'o', subTypeConstructor: KalturaRelatedFilter, subType: 'KalturaRelatedFilter' }, pager: { type: 'o', subTypeConstructor: KalturaFilterPager, subType: 'KalturaFilterPager' }, relatedProfiles: { type: 'a', subTypeConstructor: KalturaDetachedResponseProfile, subType: 'KalturaDetachedResponseProfile' }, mappings: { type: 'a', subTypeConstructor: KalturaResponseProfileMapping, subType: 'KalturaResponseProfileMapping' } }); return result; }; return KalturaDetachedResponseProfile; }(KalturaBaseResponseProfile)); export { KalturaDetachedResponseProfile }; KalturaTypesFactory.registerType('KalturaDetachedResponseProfile', KalturaDetachedResponseProfile); //# sourceMappingURL=KalturaDetachedResponseProfile.js.map