core.Map<core.String, core.dynamic> toJson() => { if (hpaProfile != null) 'hpaProfile': hpaProfile!, };