docs: def _to_dict(self):
          """Return a json dictionary representing this model."""
          _dict = {}
          if hasattr(self, 'results') and self.results is not None:
              _dict['results'] = [x._to_dict() for x in self.results]
          if hasattr(self, 'count') and self.count is not None:
              _dict['count'] = self.count
          return _dict