code: public ServiceFuture<List<RecommendationInner>> listHistoryForWebAppAsync(final String resourceGroupName, final String siteName, final ListOperationCallback<RecommendationInner> serviceCallback) {
          return AzureServiceFuture.fromPageResponse(
              listHistoryForWebAppSinglePageAsync(resourceGroupName, siteName),
              new Func1<String, Observable<ServiceResponse<Page<RecommendationInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<RecommendationInner>>> call(String nextPageLink) {
                      return listHistoryForWebAppNextSinglePageAsync(nextPageLink);
                  }
              },
              serviceCallback);
      }
docs: Get past recommendations for an app, optionally specified by the time range.
  Get past recommendations for an app, optionally specified by the time range.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param siteName Name of the app.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object