UNPKG

@kaltura-ng/kaltura-client

Version:
34 lines 1.67 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 KalturaLiveReportOrderBy = (function (_super) { __extends(KalturaLiveReportOrderBy, _super); function KalturaLiveReportOrderBy(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaLiveReportOrderBy.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaLiveReportOrderBy.prototype.toString = function () { return this._value; }; KalturaLiveReportOrderBy.audienceDesc = new KalturaLiveReportOrderBy('-audience'); KalturaLiveReportOrderBy.eventTimeDesc = new KalturaLiveReportOrderBy('-eventTime'); KalturaLiveReportOrderBy.nameAsc = new KalturaLiveReportOrderBy('+name'); KalturaLiveReportOrderBy.playsDesc = new KalturaLiveReportOrderBy('-plays'); return KalturaLiveReportOrderBy; }(KalturaObjectBase)); export { KalturaLiveReportOrderBy }; KalturaTypesFactory.registerType('KalturaLiveReportOrderBy', KalturaLiveReportOrderBy); //# sourceMappingURL=KalturaLiveReportOrderBy.js.map