PM has two parents who are doctors, which is far, far from poor, but not really generational wealth. He did marry into money, though. Neither of the last two came from illustrious backgrounds.
This is a heavily massaged story built for a life long politician. (One hole in the story is only giving I think his mothers family background. There was clearly ~500k to buy a pharmacy early after 'penniless' immigration)