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