docs: public ServiceFuture<List<JobTargetGroupInner>> listByAgentAsync(final String resourceGroupName, final String serverName, final String jobAgentName, final ListOperationCallback<JobTargetGroupInner> serviceCallback) {
          return AzureServiceFuture.fromPageResponse(
              listByAgentSinglePageAsync(resourceGroupName, serverName, jobAgentName),
              new Func1<String, Observable<ServiceResponse<Page<JobTargetGroupInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<JobTargetGroupInner>>> call(String nextPageLink) {
                      return listByAgentNextSinglePageAsync(nextPageLink);
                  }
              },
              serviceCallback);
      }