<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def as_record(self, cls, content_type, strdata):
 """ Returns a record from serialized string representation. {u'id': u'1', u'name': u'Toto'} """

        self.validate_record_type(cls)
        parsedrecord = self.deserialize(content_type, strdata)
        return self.post_process_record(cls, parsedrecord)