@sap-cloud-sdk/odata-common
Version:
SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.
21 lines • 653 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrderLink = void 0;
/**
* Link to represent an order by on a linked entity.
* @typeParam EntityT - Type of the entity to link from.
* @typeParam LinkedEntityT - Type of the entity to link to.
*/
class OrderLink {
/**
* Creates an instance of OrderLink.
* @param link - Link to the entity to order by.
* @param orderBy - A list of orderables based on the linked entity.
*/
constructor(link, orderBy) {
this.link = link;
this.orderBy = orderBy;
}
}
exports.OrderLink = OrderLink;
//# sourceMappingURL=order-link.js.map