1 package org.openecomp.simulator.model;
3 import com.fasterxml.jackson.annotation.JsonInclude;
4 import com.fasterxml.jackson.databind.JsonNode;
9 @JsonInclude(JsonInclude.Include.NON_NULL)
10 public class SimulatorRequest {
12 private String method;
15 private Map<String, List<String>> queryParams;
17 public Map<String, List<String>> getQueryParams() {
21 public void setQueryParams(Map<String, List<String>> queryParams) {
22 this.queryParams = queryParams;
25 public String getId() {
29 public void setId(String id) {
33 public String getMethod() {
37 public void setMethod(String method) {
41 public String getPath() {
45 public void setPath(String path) {
49 public String getBody() {
53 public void setBody(JsonNode body) {
54 this.body = body.isTextual() ? body.textValue() : body.toString();
58 public String toString() {
59 return "SimulatorRequest{" +
61 ", method='" + method + '\'' +
62 ", path='" + path + '\'' +
63 ", body='" + body + '\'' +
64 ", queryParams=" + queryParams +