code: function(client, initialData, totalLength, requestOptions, successStatuses, successRootKeys, promise) {
      this.currentPage = 1; // default to start at page 1
      // this.perPage = queryParams && queryParams.per_page || 25; // default to 25 per page
      this.totalLength = totalLength;
      // bootstrap with initial data
      this.push.apply(this, initialData);
  
      this.client = client;
      this.requestOptions = requestOptions;
      this.successStatuses = successStatuses;
      this.successRootKeys = successRootKeys;
      this.promise = promise;
    }
docs: A class that runs the pagination until the end if necessary.
  
  @class ListResponse