ClusterUpgradeGKEUpgradeState.fromJson constructor

ClusterUpgradeGKEUpgradeState.fromJson(
  1. Map json_
)

Implementation

ClusterUpgradeGKEUpgradeState.fromJson(core.Map json_)
    : this(
        stats: json_.containsKey('stats')
            ? (json_['stats'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        status: json_.containsKey('status')
            ? ClusterUpgradeUpgradeStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
        upgrade: json_.containsKey('upgrade')
            ? ClusterUpgradeGKEUpgrade.fromJson(
                json_['upgrade'] as core.Map<core.String, core.dynamic>)
            : null,
      );