@sap-cloud-sdk/core
Version:
SAP Cloud SDK for JavaScript core
39 lines • 2.04 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ODataFunctionImportRequestConfig = void 0;
var odata_request_config_1 = require("./odata-request-config");
var ODataFunctionImportRequestConfig = /** @class */ (function (_super) {
__extends(ODataFunctionImportRequestConfig, _super);
/**
* Creates an instance of ODataFunctionImportRequestConfig.
* @param method - HTTP method for the request
* @param defaultServicePath - Default path of the service
* @param functionImportName - The name of the function import.
* @param parameters - Object containing the parameters with a value and additional meta information
*/
function ODataFunctionImportRequestConfig(method, defaultServicePath, functionImportName, parameters, oDataUri) {
var _this = _super.call(this, method, defaultServicePath) || this;
_this.functionImportName = functionImportName;
_this.parameters = parameters;
_this.oDataUri = oDataUri;
return _this;
}
return ODataFunctionImportRequestConfig;
}(odata_request_config_1.ODataRequestConfig));
exports.ODataFunctionImportRequestConfig = ODataFunctionImportRequestConfig;
//# sourceMappingURL=odata-function-import-request-config.js.map
;