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