UNPKG

@kaltura-ng/kaltura-client

Version:
45 lines 2.32 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 { KalturaFlavorAssetStatus } from './KalturaFlavorAssetStatus'; import { KalturaLanguage } from './KalturaLanguage'; import { KalturaNullableBoolean } from './KalturaNullableBoolean'; import { KalturaAsset } from './KalturaAsset'; var KalturaFlavorAsset = (function (_super) { __extends(KalturaFlavorAsset, _super); function KalturaFlavorAsset(data) { return _super.call(this, data) || this; } KalturaFlavorAsset.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaFlavorAsset' }, flavorParamsId: { type: 'n' }, width: { type: 'n', readOnly: true }, height: { type: 'n', readOnly: true }, bitrate: { type: 'n', readOnly: true }, frameRate: { type: 'n', readOnly: true }, isOriginal: { type: 'b', readOnly: true }, isWeb: { type: 'b', readOnly: true }, containerFormat: { type: 's', readOnly: true }, videoCodecId: { type: 's', readOnly: true }, status: { type: 'en', readOnly: true, subTypeConstructor: KalturaFlavorAssetStatus, subType: 'KalturaFlavorAssetStatus' }, language: { type: 'es', subTypeConstructor: KalturaLanguage, subType: 'KalturaLanguage' }, label: { type: 's' }, isDefault: { type: 'en', subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' } }); return result; }; return KalturaFlavorAsset; }(KalturaAsset)); export { KalturaFlavorAsset }; KalturaTypesFactory.registerType('KalturaFlavorAsset', KalturaFlavorAsset); //# sourceMappingURL=KalturaFlavorAsset.js.map