Skip to content

Instantly share code, notes, and snippets.

@Na3blis
Created August 13, 2019 13:56
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/2d0d2d73d3960b776884ebf0ba94889e to your computer and use it in GitHub Desktop.
Save Na3blis/2d0d2d73d3960b776884ebf0ba94889e to your computer and use it in GitHub Desktop.
/*
* Authorization Rules Service API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.4
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.example.authrules.v1.client.model;
import java.util.Objects;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* ContextHeaders
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-05-13T11:52:54.985Z")
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