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