code: def _iterate(self, url, params, api_entity):
          
          params['resultLimit'] = self.result_limit
          should_iterate = True
          result_start = 0
          while should_iterate:
              # params['resultOffset'] = result_offset
              params['resultStart'] = result_start
              r = self.tcex.session.get(url, params=params)
              if not self.success(r):
                  err = r.text or r.reason
                  self.tcex.handle_error(950, [r.status_code, err, r.url])
  
              data = r.json().get('data').get(api_entity)
  
              if len(data) < self.result_limit:
                  should_iterate = False
              result_start += self.result_limit
  
              for result in data:
                  yield result
docs: Args:
              url:
              params:
              api_entity:
  
          Return: