AddonsConfig.fromJson constructor

AddonsConfig.fromJson(
  1. Map json_
)

Implementation

AddonsConfig.fromJson(core.Map json_)
    : this(
        cloudRunConfig: json_.containsKey('cloudRunConfig')
            ? CloudRunConfig.fromJson(json_['cloudRunConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        configConnectorConfig: json_.containsKey('configConnectorConfig')
            ? ConfigConnectorConfig.fromJson(json_['configConnectorConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        dnsCacheConfig: json_.containsKey('dnsCacheConfig')
            ? DnsCacheConfig.fromJson(json_['dnsCacheConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        gcePersistentDiskCsiDriverConfig:
            json_.containsKey('gcePersistentDiskCsiDriverConfig')
                ? GcePersistentDiskCsiDriverConfig.fromJson(
                    json_['gcePersistentDiskCsiDriverConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        gcpFilestoreCsiDriverConfig:
            json_.containsKey('gcpFilestoreCsiDriverConfig')
                ? GcpFilestoreCsiDriverConfig.fromJson(
                    json_['gcpFilestoreCsiDriverConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        gcsFuseCsiDriverConfig: json_.containsKey('gcsFuseCsiDriverConfig')
            ? GcsFuseCsiDriverConfig.fromJson(json_['gcsFuseCsiDriverConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        gkeBackupAgentConfig: json_.containsKey('gkeBackupAgentConfig')
            ? GkeBackupAgentConfig.fromJson(json_['gkeBackupAgentConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        horizontalPodAutoscaling:
            json_.containsKey('horizontalPodAutoscaling')
                ? HorizontalPodAutoscaling.fromJson(
                    json_['horizontalPodAutoscaling']
                        as core.Map<core.String, core.dynamic>)
                : null,
        httpLoadBalancing: json_.containsKey('httpLoadBalancing')
            ? HttpLoadBalancing.fromJson(json_['httpLoadBalancing']
                as core.Map<core.String, core.dynamic>)
            : null,
        kubernetesDashboard: json_.containsKey('kubernetesDashboard')
            ? KubernetesDashboard.fromJson(json_['kubernetesDashboard']
                as core.Map<core.String, core.dynamic>)
            : null,
        networkPolicyConfig: json_.containsKey('networkPolicyConfig')
            ? NetworkPolicyConfig.fromJson(json_['networkPolicyConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        statefulHaConfig: json_.containsKey('statefulHaConfig')
            ? StatefulHAConfig.fromJson(json_['statefulHaConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );