def _get_return_object_type(self, data):
    ' Returns wrapped response which inherits from RemoteModel class\n\n            :param data: API responce data\n            :return: RemoteModel child class\n        '
    if ((not data) or (type(data) != dict)):
        return data
    class_name = data.get('_class')
    obj_class = locate(self._get_remote_class_name(class_name))
    return obj_class(data, self.client)
Returns wrapped response which inherits from RemoteModel class

:param data: API responce data
:return: RemoteModel child class
def _get_return_object_type(self, data):
    ' Returns wrapped response which inherits from RemoteModel class\n\n            :param data: API responce data\n            :return: RemoteModel child class\n        '
    if ((not data) or (type(data) != dict)):
        return data
    class_name = data.get('_class')
    obj_class = locate(self._get_remote_class_name(class_name))
    return obj_class(data, self.client)