UNPKG

@kaltura-ng/kaltura-client

Version:
49 lines 2.65 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 { KalturaMediaType } from './KalturaMediaType'; import { KalturaSourceType } from './KalturaSourceType'; import { KalturaSearchProviderType } from './KalturaSearchProviderType'; import { KalturaNullableBoolean } from './KalturaNullableBoolean'; import { KalturaStreamContainer } from './KalturaStreamContainer'; import { KalturaPlayableEntry } from './KalturaPlayableEntry'; var KalturaMediaEntry = (function (_super) { __extends(KalturaMediaEntry, _super); function KalturaMediaEntry(data) { var _this = _super.call(this, data) || this; if (typeof _this.streams === 'undefined') _this.streams = []; return _this; } KalturaMediaEntry.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaMediaEntry' }, mediaType: { type: 'en', subTypeConstructor: KalturaMediaType, subType: 'KalturaMediaType' }, conversionQuality: { type: 's' }, sourceType: { type: 'es', subTypeConstructor: KalturaSourceType, subType: 'KalturaSourceType' }, searchProviderType: { type: 'en', subTypeConstructor: KalturaSearchProviderType, subType: 'KalturaSearchProviderType' }, searchProviderId: { type: 's' }, creditUserName: { type: 's' }, creditUrl: { type: 's' }, mediaDate: { type: 'd', readOnly: true }, dataUrl: { type: 's', readOnly: true }, flavorParamsIds: { type: 's', readOnly: true }, isTrimDisabled: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' }, streams: { type: 'a', subTypeConstructor: KalturaStreamContainer, subType: 'KalturaStreamContainer' } }); return result; }; return KalturaMediaEntry; }(KalturaPlayableEntry)); export { KalturaMediaEntry }; KalturaTypesFactory.registerType('KalturaMediaEntry', KalturaMediaEntry); //# sourceMappingURL=KalturaMediaEntry.js.map