The Short Version
Available human studies point in the opposite direction: across immune traits overall, environmental and other non-heritable influences usually explain more variation than genetics. Genes do matter for many specific traits, and some subsets can be more heritable, but broad twin studies and reviews place average genetic influence below half and often much lower. The claim overstates and reverses the overall pattern.