@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
36 lines • 1.93 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 KalturaPermissionItemOrderBy = (function (_super) {
__extends(KalturaPermissionItemOrderBy, _super);
function KalturaPermissionItemOrderBy(value) {
var _this = _super.call(this) || this;
_this._value = value + '';
return _this;
}
KalturaPermissionItemOrderBy.prototype.equals = function (obj) {
return obj && obj.toString() === this._value;
};
KalturaPermissionItemOrderBy.prototype.toString = function () {
return this._value;
};
KalturaPermissionItemOrderBy.createdAtAsc = new KalturaPermissionItemOrderBy('+createdAt');
KalturaPermissionItemOrderBy.createdAtDesc = new KalturaPermissionItemOrderBy('-createdAt');
KalturaPermissionItemOrderBy.idAsc = new KalturaPermissionItemOrderBy('+id');
KalturaPermissionItemOrderBy.idDesc = new KalturaPermissionItemOrderBy('-id');
KalturaPermissionItemOrderBy.updatedAtAsc = new KalturaPermissionItemOrderBy('+updatedAt');
KalturaPermissionItemOrderBy.updatedAtDesc = new KalturaPermissionItemOrderBy('-updatedAt');
return KalturaPermissionItemOrderBy;
}(KalturaObjectBase));
export { KalturaPermissionItemOrderBy };
KalturaTypesFactory.registerType('KalturaPermissionItemOrderBy', KalturaPermissionItemOrderBy);
//# sourceMappingURL=KalturaPermissionItemOrderBy.js.map