UNPKG

@kaltura-ng/kaltura-client

Version:
38 lines 2 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 KalturaLiveAssetOrderBy = (function (_super) { __extends(KalturaLiveAssetOrderBy, _super); function KalturaLiveAssetOrderBy(value) { var _this = _super.call(this) || this; _this._value = value + ''; return _this; } KalturaLiveAssetOrderBy.prototype.equals = function (obj) { return obj && obj.toString() === this._value; }; KalturaLiveAssetOrderBy.prototype.toString = function () { return this._value; }; KalturaLiveAssetOrderBy.createdAtAsc = new KalturaLiveAssetOrderBy('+createdAt'); KalturaLiveAssetOrderBy.createdAtDesc = new KalturaLiveAssetOrderBy('-createdAt'); KalturaLiveAssetOrderBy.deletedAtAsc = new KalturaLiveAssetOrderBy('+deletedAt'); KalturaLiveAssetOrderBy.deletedAtDesc = new KalturaLiveAssetOrderBy('-deletedAt'); KalturaLiveAssetOrderBy.sizeAsc = new KalturaLiveAssetOrderBy('+size'); KalturaLiveAssetOrderBy.sizeDesc = new KalturaLiveAssetOrderBy('-size'); KalturaLiveAssetOrderBy.updatedAtAsc = new KalturaLiveAssetOrderBy('+updatedAt'); KalturaLiveAssetOrderBy.updatedAtDesc = new KalturaLiveAssetOrderBy('-updatedAt'); return KalturaLiveAssetOrderBy; }(KalturaObjectBase)); export { KalturaLiveAssetOrderBy }; KalturaTypesFactory.registerType('KalturaLiveAssetOrderBy', KalturaLiveAssetOrderBy); //# sourceMappingURL=KalturaLiveAssetOrderBy.js.map