com.ats.tools.report.actions.HtmlReportActionApiRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ats-automated-testing Show documentation
Show all versions of ats-automated-testing Show documentation
Code generator library to create and execute GUI automated tests
The newest version!
package com.ats.tools.report.actions;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class HtmlReportActionApiRequest {
private String method;
private String type;
private boolean cached;
private int port;
private List> headers;
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public boolean isCached() {
return cached;
}
public void setCached(boolean cached) {
this.cached = cached;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public Map getHeaders() {
Map result = new HashMap<>();
this.headers.forEach(stringStringEntry -> result.put(stringStringEntry.getKey(), stringStringEntry.getValue()));
return result;
}
public void setHeaders(List> headers) {
this.headers = headers;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy