ClusterUpgradeFleetSpec.fromJson constructor
ClusterUpgradeFleetSpec.fromJson(
- Map json_
Implementation
ClusterUpgradeFleetSpec.fromJson(core.Map json_)
: this(
gkeUpgradeOverrides: json_.containsKey('gkeUpgradeOverrides')
? (json_['gkeUpgradeOverrides'] as core.List)
.map((value) => ClusterUpgradeGKEUpgradeOverride.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
postConditions: json_.containsKey('postConditions')
? ClusterUpgradePostConditions.fromJson(json_['postConditions']
as core.Map<core.String, core.dynamic>)
: null,
upstreamFleets: json_.containsKey('upstreamFleets')
? (json_['upstreamFleets'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);