public boolean equals(Object obj) {
    if (obj instanceof GetUserInfoResult) {
      GetUserInfoResult other = (GetUserInfoResult) obj;
      return
        EqualsUtil.equals(this.user, other.user)
        && EqualsUtil.equals(this.delegate, other.delegate)
        && EqualsUtil.setEquals(this.userVotes, other.userVotes)
        && EqualsUtil.setEquals(this.userActions, other.userActions);
    }
    return false;
  }