UNPKG

apisearch

Version:
37 lines (36 loc) 645 B
"use strict"; exports.__esModule = true; exports.Response = void 0; /** * Response */ var Response = /** @class */ (function () { /** * Constructor * * @param code * @param body */ function Response(code, body) { this.code = code; this.body = body; } /** * Get code * * @return {number} */ Response.prototype.getCode = function () { return this.code; }; /** * Get body * * @return {any} */ Response.prototype.getBody = function () { return this.body; }; return Response; }()); exports.Response = Response;