code: func (api *API) ListAllRateLimits(zoneID string) ([]RateLimit, error) {
  	pageOpts := PaginationOptions{
  		PerPage: 100, // this is the max page size allowed
  		Page:    1,
  	}
  
  	allRateLimits := make([]RateLimit, 0)
  	for {
  		rateLimits, resultInfo, err := api.ListRateLimits(zoneID, pageOpts)
  		if err != nil {
  			return []RateLimit{}, err
  		}
  		allRateLimits = append(allRateLimits, rateLimits...)
  		// total pages is not returned on this call
  		// if number of records is less than the max, this must be the last page
  		// in case TotalCount % PerPage = 0, the last request will return an empty list
  		if resultInfo.Count < resultInfo.PerPage {
  			break
  		}
  		// continue with the next page
  		pageOpts.Page = pageOpts.Page + 1
  	}
  
  	return allRateLimits, nil
  }
docs: // ListAllRateLimits returns all Rate Limits for a zone.
  //
  // API reference: https://api.cloudflare.com/#rate-limits-for-a-zone-list-rate-limits