def return_list_of(cls, data):
    """
    Returns a list of instances of the class type found in the response.

    :param cls: class
        The class type we want to instantiate
    :param data: list
        The data containing the list of the dictionaries we want to return as objects
    :return:
        A list of objects of the type specified found in the response
    """
    return [cls(x) for x in data]