/** * Returns whether it has the HTTP response code. * * @return whether it has the HTTP response code */ public boolean hasCode() { return getCode() != 0; }
/** * Returns whether it has the HTTP response code. * * @return whether it has the HTTP response code */ public boolean hasCode() { return getCode() != 0; }
/** * Returns whether it has the HTTP response code. * * @return whether it has the HTTP response code */ public boolean hasCode() { return getCode() != 0; }
@Override public int hashCode() { int result = getClass().hashCode(); result = 37 * result + getCode(); if (getContent() != null) { result = 37 * result + getContent().hashCode(); } if (getContentType() != null) { result = 37 * result + getContentType().hashCode(); } if (getReason() != null) { result = 37 * result + getReason().hashCode(); } return result; }
@Override public int hashCode() { int result = getClass().hashCode(); result = 37 * result + getCode(); if (getContent() != null) { result = 37 * result + getContent().hashCode(); } if (getContentType() != null) { result = 37 * result + getContentType().hashCode(); } if (getReason() != null) { result = 37 * result + getReason().hashCode(); } return result; }
@Override public int hashCode() { int result = getClass().hashCode(); result = 37 * result + getCode(); if (getContent() != null) { result = 37 * result + getContent().hashCode(); } if (getContentType() != null) { result = 37 * result + getContentType().hashCode(); } if (getReason() != null) { result = 37 * result + getReason().hashCode(); } return result; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } BatchStatus other = (BatchStatus) obj; return eq(getCode(), other.getCode()) && eq(getContent(), other.getContent()) && eq(getContentType(), other.getContentType()) && eq(getReason(), other.getReason()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } BatchStatus other = (BatchStatus) obj; return eq(getCode(), other.getCode()) && eq(getContent(), other.getContent()) && eq(getContentType(), other.getContentType()) && eq(getReason(), other.getReason()); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } BatchStatus other = (BatchStatus) obj; return eq(getCode(), other.getCode()) && eq(getContent(), other.getContent()) && eq(getContentType(), other.getContentType()) && eq(getReason(), other.getReason()); }