Skip to content

Instantly share code, notes, and snippets.

@Na3blis
Created January 11, 2019 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Na3blis/9ce6332549cb5a3ed83ef96ef0e3eeee to your computer and use it in GitHub Desktop.
Save Na3blis/9ce6332549cb5a3ed83ef96ef0e3eeee to your computer and use it in GitHub Desktop.
/**
* ContextHeaders
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-01-08T14:38:46.807Z")
public class ContextHeaders extends HashMap<String, List> {
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
return super.equals(o);
}
@Override
public int hashCode() {
return Objects.hash(super.hashCode());
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContextHeaders {\n");
sb.append(" ").append(toIndentedString(super.toString())).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 ");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment