@override Object toJson() { return { 'parent': parent, if (tuningJob != null) 'tuningJob': tuningJob!.toJson(), }; }