src.main.java.com.smartbear.readyapi.client.model.ParameterizedHeader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ready-api-testserver-client Show documentation
Show all versions of ready-api-testserver-client Show documentation
Java client library for creating and executing test recipes against Ready!API TestServer
package com.smartbear.readyapi.client.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-05-24T08:38:08.699-04:00")
public class ParameterizedHeader {
private String value = null;
private Map parameters = new HashMap();
/**
**/
public ParameterizedHeader value(String value) {
this.value = value;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("value")
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
/**
**/
public ParameterizedHeader parameters(Map parameters) {
this.parameters = parameters;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("parameters")
public Map getParameters() {
return parameters;
}
public void setParameters(Map parameters) {
this.parameters = parameters;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ParameterizedHeader parameterizedHeader = (ParameterizedHeader) o;
return Objects.equals(this.value, parameterizedHeader.value) &&
Objects.equals(this.parameters, parameterizedHeader.parameters);
}
@Override
public int hashCode() {
return Objects.hash(value, parameters);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ParameterizedHeader {\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy