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