toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudRunConfig != null) 'cloudRunConfig': cloudRunConfig!,
      if (configConnectorConfig != null)
        'configConnectorConfig': configConnectorConfig!,
      if (dnsCacheConfig != null) 'dnsCacheConfig': dnsCacheConfig!,
      if (gcePersistentDiskCsiDriverConfig != null)
        'gcePersistentDiskCsiDriverConfig': gcePersistentDiskCsiDriverConfig!,
      if (gcpFilestoreCsiDriverConfig != null)
        'gcpFilestoreCsiDriverConfig': gcpFilestoreCsiDriverConfig!,
      if (gcsFuseCsiDriverConfig != null)
        'gcsFuseCsiDriverConfig': gcsFuseCsiDriverConfig!,
      if (gkeBackupAgentConfig != null)
        'gkeBackupAgentConfig': gkeBackupAgentConfig!,
      if (horizontalPodAutoscaling != null)
        'horizontalPodAutoscaling': horizontalPodAutoscaling!,
      if (httpLoadBalancing != null) 'httpLoadBalancing': httpLoadBalancing!,
      if (kubernetesDashboard != null)
        'kubernetesDashboard': kubernetesDashboard!,
      if (networkPolicyConfig != null)
        'networkPolicyConfig': networkPolicyConfig!,
      if (statefulHaConfig != null) 'statefulHaConfig': statefulHaConfig!,
    };