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