A classification of totally geodesic and totally umbilical Legendrian submanifolds of (κ, μ) -spaces