There are four rules to follow when determining PokeBall inheritance:
- Ditto does not influence Pokeball inheritance. Its partner, no matter the species, gender or Pokeball, will always take priority.
- You cannot pass down Master Balls or Cherish Balls. If you attempt this, the offspring will hatch in a standard Pokeball.
- In a breeding pair where the parents are of different species, the female will pass down the Pokeball 100% of the time.
- But when the breeding pair shares the same species, the Pokeball could be inherited from either parent, with a 50% chance on each.
This image is a really good visual presentation of these mechanics (credit /u/SaiphCharon).
Based on these mechanics, I can't give you a definitive answer for the example you gave, as it would depend on the genders of the parents and whether Ditto is involved.