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