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