code: def as_params(self):
          
          params = {}
          if self.has_filters:
              params['$filter'] = self.get_filters()
          if self.has_order:
              params['$orderby'] = self.get_order()
          if self.has_selects:
              params['$select'] = self.get_selects()
          if self.has_expands:
              params['$expand'] = self.get_expands()
          if self._search:
              params['$search'] = self._search
              params.pop('$filter', None)
              params.pop('$orderby', None)
          return params
docs: Returns the filters, orders, select, expands and search as query parameters
  
          :rtype: dict