<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def populateFromRow(self, peerRecord):
 """ This method accepts a model record and sets class variables. """

        self.setUrl(peerRecord.url) \
            .setAttributesJson(peerRecord.attributes)
        return self