1 package org.oxerr.seatgeek.client.model.response; 2 3 import java.io.Serializable; 4 5 import org.apache.commons.lang3.builder.EqualsBuilder; 6 import org.apache.commons.lang3.builder.HashCodeBuilder; 7 8 public class Error implements Serializable { 9 10 private static final long serialVersionUID = 2023031701L; 11 12 private String message; 13 14 public String getMessage() { 15 return message; 16 } 17 18 public void setMessage(String message) { 19 this.message = message; 20 } 21 22 @Override 23 public int hashCode() { 24 return HashCodeBuilder.reflectionHashCode(this); 25 } 26 27 @Override 28 public boolean equals(Object obj) { 29 if (obj == null) { 30 return false; 31 } 32 if (obj == this) { 33 return true; 34 } 35 if (obj.getClass() != getClass()) { 36 return false; 37 } 38 Error rhs = (Error) obj; 39 return EqualsBuilder.reflectionEquals(this, rhs); 40 } 41 42 }