UNPKG

@kaltura-ng/kaltura-client

Version:
48 lines 2.42 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 { KalturaNullableBoolean } from './KalturaNullableBoolean'; import { KalturaString } from './KalturaString'; import { KalturaMediaParserType } from './KalturaMediaParserType'; import { KalturaObjectBase } from '../kaltura-object-base'; var KalturaAssetParams = (function (_super) { __extends(KalturaAssetParams, _super); function KalturaAssetParams(data) { var _this = _super.call(this, data) || this; if (typeof _this.requiredPermissions === 'undefined') _this.requiredPermissions = []; return _this; } KalturaAssetParams.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaAssetParams' }, id: { type: 'n', readOnly: true }, partnerId: { type: 'n' }, name: { type: 's' }, systemName: { type: 's' }, description: { type: 's' }, createdAt: { type: 'd', readOnly: true }, isSystemDefault: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' }, tags: { type: 's' }, requiredPermissions: { type: 'a', subTypeConstructor: KalturaString, subType: 'KalturaString' }, sourceRemoteStorageProfileId: { type: 'n' }, remoteStorageProfileIds: { type: 'n' }, mediaParserType: { type: 'es', subTypeConstructor: KalturaMediaParserType, subType: 'KalturaMediaParserType' }, sourceAssetParamsIds: { type: 's' } }); return result; }; return KalturaAssetParams; }(KalturaObjectBase)); export { KalturaAssetParams }; KalturaTypesFactory.registerType('KalturaAssetParams', KalturaAssetParams); //# sourceMappingURL=KalturaAssetParams.js.map