Metric of a rotating charged magnetized sphere