UNPKG

@kaltura-ng/kaltura-client

Version:
39 lines 1.99 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 { KalturaObjectBase } from '../kaltura-object-base'; import { KalturaTypesFactory } from '../kaltura-types-factory'; var KalturaRuleActionType = (function (_super) { __extends(KalturaRuleActionType, _super); function KalturaRuleActionType(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaRuleActionType.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaRuleActionType.prototype.toString = function () { return this._value; }; KalturaRuleActionType.addToStorage = new KalturaRuleActionType('4'); KalturaRuleActionType.block = new KalturaRuleActionType('1'); KalturaRuleActionType.drmPolicy = new KalturaRuleActionType('drm.DRM_POLICY'); KalturaRuleActionType.limitDeliveryProfiles = new KalturaRuleActionType('5'); KalturaRuleActionType.limitFlavors = new KalturaRuleActionType('3'); KalturaRuleActionType.limitThumbnailCapture = new KalturaRuleActionType('8'); KalturaRuleActionType.preview = new KalturaRuleActionType('2'); KalturaRuleActionType.requestHostRegex = new KalturaRuleActionType('7'); KalturaRuleActionType.serveFromRemoteServer = new KalturaRuleActionType('6'); return KalturaRuleActionType; }(KalturaObjectBase)); export { KalturaRuleActionType }; KalturaTypesFactory.registerType('KalturaRuleActionType', KalturaRuleActionType); //# sourceMappingURL=KalturaRuleActionType.js.map