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