UNPKG

@kaltura-ng/kaltura-client

Version:
52 lines 3.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 KalturaDocumentEntryOrderBy = (function (_super) { __extends(KalturaDocumentEntryOrderBy, _super); function KalturaDocumentEntryOrderBy(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaDocumentEntryOrderBy.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaDocumentEntryOrderBy.prototype.toString = function () { return this._value; }; KalturaDocumentEntryOrderBy.createdAtAsc = new KalturaDocumentEntryOrderBy('+createdAt'); KalturaDocumentEntryOrderBy.createdAtDesc = new KalturaDocumentEntryOrderBy('-createdAt'); KalturaDocumentEntryOrderBy.endDateAsc = new KalturaDocumentEntryOrderBy('+endDate'); KalturaDocumentEntryOrderBy.endDateDesc = new KalturaDocumentEntryOrderBy('-endDate'); KalturaDocumentEntryOrderBy.moderationCountAsc = new KalturaDocumentEntryOrderBy('+moderationCount'); KalturaDocumentEntryOrderBy.moderationCountDesc = new KalturaDocumentEntryOrderBy('-moderationCount'); KalturaDocumentEntryOrderBy.nameAsc = new KalturaDocumentEntryOrderBy('+name'); KalturaDocumentEntryOrderBy.nameDesc = new KalturaDocumentEntryOrderBy('-name'); KalturaDocumentEntryOrderBy.partnerSortValueAsc = new KalturaDocumentEntryOrderBy('+partnerSortValue'); KalturaDocumentEntryOrderBy.partnerSortValueDesc = new KalturaDocumentEntryOrderBy('-partnerSortValue'); KalturaDocumentEntryOrderBy.rankAsc = new KalturaDocumentEntryOrderBy('+rank'); KalturaDocumentEntryOrderBy.rankDesc = new KalturaDocumentEntryOrderBy('-rank'); KalturaDocumentEntryOrderBy.recentAsc = new KalturaDocumentEntryOrderBy('+recent'); KalturaDocumentEntryOrderBy.recentDesc = new KalturaDocumentEntryOrderBy('-recent'); KalturaDocumentEntryOrderBy.startDateAsc = new KalturaDocumentEntryOrderBy('+startDate'); KalturaDocumentEntryOrderBy.startDateDesc = new KalturaDocumentEntryOrderBy('-startDate'); KalturaDocumentEntryOrderBy.totalRankAsc = new KalturaDocumentEntryOrderBy('+totalRank'); KalturaDocumentEntryOrderBy.totalRankDesc = new KalturaDocumentEntryOrderBy('-totalRank'); KalturaDocumentEntryOrderBy.updatedAtAsc = new KalturaDocumentEntryOrderBy('+updatedAt'); KalturaDocumentEntryOrderBy.updatedAtDesc = new KalturaDocumentEntryOrderBy('-updatedAt'); KalturaDocumentEntryOrderBy.weightAsc = new KalturaDocumentEntryOrderBy('+weight'); KalturaDocumentEntryOrderBy.weightDesc = new KalturaDocumentEntryOrderBy('-weight'); return KalturaDocumentEntryOrderBy; }(KalturaObjectBase)); export { KalturaDocumentEntryOrderBy }; KalturaTypesFactory.registerType('KalturaDocumentEntryOrderBy', KalturaDocumentEntryOrderBy); //# sourceMappingURL=KalturaDocumentEntryOrderBy.js.map