<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def data(self, data=None):

 """ Set response data """

        if data is not None:
            self.response_model.data = data
        return self.response_model.data