package com.eactive.httpmockserver.client.dto;

import java.util.ArrayList;
import java.util.List;

public class ApiRequestDTO {

    private String id;

    private String name;

    private String path;
    private String method;

    private Long server;

    private List<ApiRequestKeyValueDTO> headers = new ArrayList<>();

    private List<ApiRequestKeyValueDTO> queryParams = new ArrayList<>();

    private List<ApiRequestKeyValueDTO> variables = new ArrayList<>();

    private String requestBody;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getServer() {
        return server;
    }

    public void setServer(Long server) {
        this.server = server;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public List<ApiRequestKeyValueDTO> getHeaders() {
        return headers;
    }

    public void setHeaders(List<ApiRequestKeyValueDTO> headers) {
        this.headers = headers;
    }

    public List<ApiRequestKeyValueDTO> getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(List<ApiRequestKeyValueDTO> queryParams) {
        this.queryParams = queryParams;
    }

    public List<ApiRequestKeyValueDTO> getVariables() {
        return variables;
    }

    public void setVariables(List<ApiRequestKeyValueDTO> variables) {
        this.variables = variables;
    }

    public String getRequestBody() {
        return requestBody;
    }

    public void setRequestBody(String requestBody) {
        this.requestBody = requestBody;
    }
}
