<reponame>Rahulcyborg/APIProject<gh_stars>10-100
package com.github.rest.yaml.test.beans;

import java.util.Map;

import com.github.rest.yaml.test.CurrentState;

public class YamlResponse {
	
	private Map<String, String> headers;
	private Map<String, String> cookies;
	private Map<String, String> variables;
	private YamlResponseBody body;
	private int status;

	public Map<String, String> getHeaders() {
		headers = CurrentState.getCurrentYamlTest().replaceVariable(headers);
		return headers;
	}

	public void setHeaders(Map<String, String> headers) {
		this.headers = headers;
	}

	public YamlResponseBody getBody() {
		return body;
	}

	public void setBody(YamlResponseBody body) {
		this.body = body;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Map<String, String> getCookies() {
		cookies = CurrentState.getCurrentYamlTest().replaceVariable(cookies);
		return cookies;
	}

	public void setCookies(Map<String, String> cookies) {
		this.cookies = cookies;
	}

	public Map<String, String> getVariables() {
		return variables;
	}

	public void setVariables(Map<String, String> variables) {
		this.variables = variables;
	}

}