Characterization of a Marshall-Olkin type class of distributions