UNPKG

@kaltura-ng/kaltura-client

Version:
42 lines 2.04 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 { KalturaDrmProviderType } from './KalturaDrmProviderType'; import { KalturaDrmProfileStatus } from './KalturaDrmProfileStatus'; import { KalturaObjectBase } from '../kaltura-object-base'; var KalturaDrmProfile = (function (_super) { __extends(KalturaDrmProfile, _super); function KalturaDrmProfile(data) { return _super.call(this, data) || this; } KalturaDrmProfile.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaDrmProfile' }, id: { type: 'n', readOnly: true }, partnerId: { type: 'n' }, name: { type: 's' }, description: { type: 's' }, provider: { type: 'es', subTypeConstructor: KalturaDrmProviderType, subType: 'KalturaDrmProviderType' }, status: { type: 'en', subTypeConstructor: KalturaDrmProfileStatus, subType: 'KalturaDrmProfileStatus' }, licenseServerUrl: { type: 's' }, defaultPolicy: { type: 's' }, createdAt: { type: 'n', readOnly: true }, updatedAt: { type: 'n', readOnly: true }, signingKey: { type: 's' } }); return result; }; return KalturaDrmProfile; }(KalturaObjectBase)); export { KalturaDrmProfile }; KalturaTypesFactory.registerType('KalturaDrmProfile', KalturaDrmProfile); //# sourceMappingURL=KalturaDrmProfile.js.map