UNPKG

@kaltura-ng/kaltura-client

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