@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + userId.hashCode(); result = prime * result + clientId.hashCode(); result = prime * result + scope.hashCode(); result = prime * result + status.hashCode(); return result; }
/** * The response submitted by a reviewer assigned to an approval action request. * * @param status The response submitted by a reviewer assigned to an approval action request. * @see ApprovalStatus */ public void setStatus(ApprovalStatus status) { this.status = status.toString(); }
@Override public String toString() { return String.format( "[%s, %s, %s, %s, %s, %s]", userId, scope, clientId, expiresAt, status.toString(), lastUpdatedAt); }