All Downloads are FREE. Search and download functionalities are using the official Maven repository.

automation.library.api.core.ResponseValidator Maven / Gradle / Ivy

package automation.library.api.core;

/**
 * POJO used to define contents of cucumber datatable when invoking response
 * body validation of rest api calls
 */
public class ResponseValidator {
	private String element;
	private String matcher;
	private String value;
	private String type;

	public ResponseValidator(){

	}

	public ResponseValidator(String element, String matcher, String value, String type){
		this.element = element;
		this.matcher = matcher;
		this.value = value;
		this.type = type;
	}

	public String getElement() {
		return element;
	}

	public String getMatcher() {
		return matcher;
	}

	public String getValue() {
		return value;
	}

	public String getType() {
		return type;
	}

	public void setElement(String element) {
		this.element = element;
	}

	public void setMatcher(String matcher) {
		this.matcher = matcher;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public void setType(String type) {
		this.type = type;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy