@override Object toJson() => { 'parent': parent, if (tuningJob case final tuningJob?) 'tuningJob': tuningJob.toJson(), };