code: def populateFromRow(self, peerRecord):
          
          self.setUrl(peerRecord.url) \
              .setAttributesJson(peerRecord.attributes)
          return self
docs: This method accepts a model record and sets class variables.