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