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