ClusterUpgradeFleetState.fromJson constructor

ClusterUpgradeFleetState.fromJson(
  1. Map json_
)

Implementation

ClusterUpgradeFleetState.fromJson(core.Map json_)
    : this(
        downstreamFleets: json_.containsKey('downstreamFleets')
            ? (json_['downstreamFleets'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        gkeState: json_.containsKey('gkeState')
            ? ClusterUpgradeGKEUpgradeFeatureState.fromJson(
                json_['gkeState'] as core.Map<core.String, core.dynamic>)
            : null,
        ignored: json_.containsKey('ignored')
            ? (json_['ignored'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  ClusterUpgradeIgnoredMembership.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );