toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (gracefulDecommissionTimeout != null)
'gracefulDecommissionTimeout': gracefulDecommissionTimeout!,
if (removeOnlyIdleWorkers != null)
'removeOnlyIdleWorkers': removeOnlyIdleWorkers!,
if (scaleDownFactor != null) 'scaleDownFactor': scaleDownFactor!,
if (scaleDownMinWorkerFraction != null)
'scaleDownMinWorkerFraction': scaleDownMinWorkerFraction!,
if (scaleUpFactor != null) 'scaleUpFactor': scaleUpFactor!,
if (scaleUpMinWorkerFraction != null)
'scaleUpMinWorkerFraction': scaleUpMinWorkerFraction!,
};