content: /*
   * To change this license header, choose License Headers in Project Properties.
   * To change this template file, choose Tools | Templates
   * and open the template in the editor.
   */
  package com.github.misterchangray.libs.bitmex.entity;
  
  import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  import java.util.Objects;
  
  /**
   *
   * @author RobTerpilowski
   */
  @JsonIgnoreProperties(ignoreUnknown = true)
  public class BitmexErrorError {
      
      protected String message;
      protected String name;
  
      public String getMessage() {
          return message;
      }
  
      public void setMessage(String message) {
          this.message = message;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      @Override
      public int hashCode() {
          int hash = 7;
          hash = 79 * hash + Objects.hashCode(this.message);
          hash = 79 * hash + Objects.hashCode(this.name);
          return hash;
      }
  
      @Override
      public boolean equals(Object obj) {
          if (this == obj) {
              return true;
          }
          if (obj == null) {
              return false;
          }
          if (getClass() != obj.getClass()) {
              return false;
          }
          final BitmexErrorError other = (BitmexErrorError) obj;
          if (!Objects.equals(this.message, other.message)) {
              return false;
          }
          if (!Objects.equals(this.name, other.name)) {
              return false;
          }
          return true;
      }
  
      @Override
      public String toString() {
          return "BitmexError{" + "message=" + message + ", name=" + name + '}';
      }
      
      
      
      
  }
  