Magnetic curves in the generalized Heisenberg group. (January 2022)