Response.java
package org.oxerr.seatgeek.client.model.response;
import java.io.Serializable;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
public class Response implements Serializable {
private static final long serialVersionUID = 2023031701L;
private Boolean ok;
private Meta meta;
private Error error;
public Boolean getOk() {
return ok;
}
public void setOk(Boolean ok) {
this.ok = ok;
}
public Meta getMeta() {
return meta;
}
public void setMeta(Meta meta) {
this.meta = meta;
}
public Error getError() {
return error;
}
public void setError(Error error) {
this.error = error;
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (obj == this) {
return true;
}
if (obj.getClass() != getClass()) {
return false;
}
Response rhs = (Response) obj;
return EqualsBuilder.reflectionEquals(this, rhs);
}
}