EnvironmentConfig.fromJson constructor

EnvironmentConfig.fromJson(
  1. Map json_
)

Implementation

EnvironmentConfig.fromJson(core.Map json_)
    : this(
        airflowByoidUri: json_.containsKey('airflowByoidUri')
            ? json_['airflowByoidUri'] as core.String
            : null,
        airflowUri: json_.containsKey('airflowUri')
            ? json_['airflowUri'] as core.String
            : null,
        dagGcsPrefix: json_.containsKey('dagGcsPrefix')
            ? json_['dagGcsPrefix'] as core.String
            : null,
        dataRetentionConfig: json_.containsKey('dataRetentionConfig')
            ? DataRetentionConfig.fromJson(json_['dataRetentionConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        databaseConfig: json_.containsKey('databaseConfig')
            ? DatabaseConfig.fromJson(json_['databaseConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        encryptionConfig: json_.containsKey('encryptionConfig')
            ? EncryptionConfig.fromJson(json_['encryptionConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        environmentSize: json_.containsKey('environmentSize')
            ? json_['environmentSize'] as core.String
            : null,
        gkeCluster: json_.containsKey('gkeCluster')
            ? json_['gkeCluster'] as core.String
            : null,
        maintenanceWindow: json_.containsKey('maintenanceWindow')
            ? MaintenanceWindow.fromJson(json_['maintenanceWindow']
                as core.Map<core.String, core.dynamic>)
            : null,
        masterAuthorizedNetworksConfig:
            json_.containsKey('masterAuthorizedNetworksConfig')
                ? MasterAuthorizedNetworksConfig.fromJson(
                    json_['masterAuthorizedNetworksConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        nodeConfig: json_.containsKey('nodeConfig')
            ? NodeConfig.fromJson(
                json_['nodeConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        nodeCount: json_.containsKey('nodeCount')
            ? json_['nodeCount'] as core.int
            : null,
        privateEnvironmentConfig:
            json_.containsKey('privateEnvironmentConfig')
                ? PrivateEnvironmentConfig.fromJson(
                    json_['privateEnvironmentConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        recoveryConfig: json_.containsKey('recoveryConfig')
            ? RecoveryConfig.fromJson(json_['recoveryConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        resilienceMode: json_.containsKey('resilienceMode')
            ? json_['resilienceMode'] as core.String
            : null,
        softwareConfig: json_.containsKey('softwareConfig')
            ? SoftwareConfig.fromJson(json_['softwareConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        webServerConfig: json_.containsKey('webServerConfig')
            ? WebServerConfig.fromJson(json_['webServerConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        webServerNetworkAccessControl:
            json_.containsKey('webServerNetworkAccessControl')
                ? WebServerNetworkAccessControl.fromJson(
                    json_['webServerNetworkAccessControl']
                        as core.Map<core.String, core.dynamic>)
                : null,
        workloadsConfig: json_.containsKey('workloadsConfig')
            ? WorkloadsConfig.fromJson(json_['workloadsConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );