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