UNPKG

@kaltura-ng/kaltura-client

Version:
66 lines 4.43 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 KalturaLiveEntryOrderBy = (function (_super) { __extends(KalturaLiveEntryOrderBy, _super); function KalturaLiveEntryOrderBy(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaLiveEntryOrderBy.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaLiveEntryOrderBy.prototype.toString = function () { return this._value; }; KalturaLiveEntryOrderBy.createdAtAsc = new KalturaLiveEntryOrderBy('+createdAt'); KalturaLiveEntryOrderBy.createdAtDesc = new KalturaLiveEntryOrderBy('-createdAt'); KalturaLiveEntryOrderBy.durationAsc = new KalturaLiveEntryOrderBy('+duration'); KalturaLiveEntryOrderBy.durationDesc = new KalturaLiveEntryOrderBy('-duration'); KalturaLiveEntryOrderBy.endDateAsc = new KalturaLiveEntryOrderBy('+endDate'); KalturaLiveEntryOrderBy.endDateDesc = new KalturaLiveEntryOrderBy('-endDate'); KalturaLiveEntryOrderBy.firstBroadcastAsc = new KalturaLiveEntryOrderBy('+firstBroadcast'); KalturaLiveEntryOrderBy.firstBroadcastDesc = new KalturaLiveEntryOrderBy('-firstBroadcast'); KalturaLiveEntryOrderBy.lastBroadcastAsc = new KalturaLiveEntryOrderBy('+lastBroadcast'); KalturaLiveEntryOrderBy.lastBroadcastDesc = new KalturaLiveEntryOrderBy('-lastBroadcast'); KalturaLiveEntryOrderBy.lastPlayedAtAsc = new KalturaLiveEntryOrderBy('+lastPlayedAt'); KalturaLiveEntryOrderBy.lastPlayedAtDesc = new KalturaLiveEntryOrderBy('-lastPlayedAt'); KalturaLiveEntryOrderBy.mediaTypeAsc = new KalturaLiveEntryOrderBy('+mediaType'); KalturaLiveEntryOrderBy.mediaTypeDesc = new KalturaLiveEntryOrderBy('-mediaType'); KalturaLiveEntryOrderBy.moderationCountAsc = new KalturaLiveEntryOrderBy('+moderationCount'); KalturaLiveEntryOrderBy.moderationCountDesc = new KalturaLiveEntryOrderBy('-moderationCount'); KalturaLiveEntryOrderBy.nameAsc = new KalturaLiveEntryOrderBy('+name'); KalturaLiveEntryOrderBy.nameDesc = new KalturaLiveEntryOrderBy('-name'); KalturaLiveEntryOrderBy.partnerSortValueAsc = new KalturaLiveEntryOrderBy('+partnerSortValue'); KalturaLiveEntryOrderBy.partnerSortValueDesc = new KalturaLiveEntryOrderBy('-partnerSortValue'); KalturaLiveEntryOrderBy.playsAsc = new KalturaLiveEntryOrderBy('+plays'); KalturaLiveEntryOrderBy.playsDesc = new KalturaLiveEntryOrderBy('-plays'); KalturaLiveEntryOrderBy.rankAsc = new KalturaLiveEntryOrderBy('+rank'); KalturaLiveEntryOrderBy.rankDesc = new KalturaLiveEntryOrderBy('-rank'); KalturaLiveEntryOrderBy.recentAsc = new KalturaLiveEntryOrderBy('+recent'); KalturaLiveEntryOrderBy.recentDesc = new KalturaLiveEntryOrderBy('-recent'); KalturaLiveEntryOrderBy.startDateAsc = new KalturaLiveEntryOrderBy('+startDate'); KalturaLiveEntryOrderBy.startDateDesc = new KalturaLiveEntryOrderBy('-startDate'); KalturaLiveEntryOrderBy.totalRankAsc = new KalturaLiveEntryOrderBy('+totalRank'); KalturaLiveEntryOrderBy.totalRankDesc = new KalturaLiveEntryOrderBy('-totalRank'); KalturaLiveEntryOrderBy.updatedAtAsc = new KalturaLiveEntryOrderBy('+updatedAt'); KalturaLiveEntryOrderBy.updatedAtDesc = new KalturaLiveEntryOrderBy('-updatedAt'); KalturaLiveEntryOrderBy.viewsAsc = new KalturaLiveEntryOrderBy('+views'); KalturaLiveEntryOrderBy.viewsDesc = new KalturaLiveEntryOrderBy('-views'); KalturaLiveEntryOrderBy.weightAsc = new KalturaLiveEntryOrderBy('+weight'); KalturaLiveEntryOrderBy.weightDesc = new KalturaLiveEntryOrderBy('-weight'); return KalturaLiveEntryOrderBy; }(KalturaObjectBase)); export { KalturaLiveEntryOrderBy }; KalturaTypesFactory.registerType('KalturaLiveEntryOrderBy', KalturaLiveEntryOrderBy); //# sourceMappingURL=KalturaLiveEntryOrderBy.js.map