()
| 48 | } |
| 49 | |
| 50 | @Override |
| 51 | public JsonObject getHttpBody() { |
| 52 | JsonObject requestObject = new JsonObject(); |
| 53 | requestObject.addProperty(ApiKeywords.MODEL, getModel()); |
| 54 | requestObject.add(ApiKeywords.INPUT, getInput()); |
| 55 | Map<String, Object> params = getParameters(); |
| 56 | if (params != null && !params.isEmpty()) { |
| 57 | requestObject.add(ApiKeywords.PARAMETERS, JsonUtils.parametersToJsonObject(params)); |
| 58 | } |
| 59 | return requestObject; |
| 60 | } |
| 61 | |
| 62 | @Override |
| 63 | public void validate() throws InputRequiredException {} |
no test coverage detected