This actually gives you the property names for all objects (related):
links = [rel.get_accessor_name() for rel in a._meta.get_all_related_objects()]
You can then use something like this to get all related objects:
for link in links:
    objects = getattr(a, link).all()
    for object in objects:
        # Object instance based on requirement
Hope it's helpful.