docs: function PageResult(items, totalCount, requestOffset, requestCount, baseUrl) {
        this.items = items != null ? items : [];
        this.totalCount = totalCount != null ? totalCount : 0;
        this.requestOffset = requestOffset != null ? requestOffset : 0;
        this.requestCount = requestCount != null ? requestCount : 25;
        this.baseUrl = baseUrl != null ? baseUrl : null;
        this.toRest = __bind(this.toRest, this);
  
        this.directButtons = __bind(this.directButtons, this);
  
        this.createButton = __bind(this.createButton, this);
  
        this.prevButton = __bind(this.prevButton, this);
  
        this.nextButton = __bind(this.nextButton, this);
  
        this.prevButtonEnabled = __bind(this.prevButtonEnabled, this);
  
        this.nextButtonEnabled = __bind(this.nextButtonEnabled, this);
  
        this.currentPageAsString = __bind(this.currentPageAsString, this);
  
        this.pageToString = __bind(this.pageToString, this);
  
        this.numberOfPages = __bind(this.numberOfPages, this);
  
        this.lastPage = __bind(this.lastPage, this);
  
        this.firstPage = __bind(this.firstPage, this);
  
        this.currentPage = __bind(this.currentPage, this);
  
      }