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