VmwareNetworkConfig.fromJson constructor
VmwareNetworkConfig.fromJson(
- Map json_
Implementation
VmwareNetworkConfig.fromJson(core.Map json_)
: this(
controlPlaneV2Config: json_.containsKey('controlPlaneV2Config')
? VmwareControlPlaneV2Config.fromJson(
json_['controlPlaneV2Config']
as core.Map<core.String, core.dynamic>)
: null,
dhcpIpConfig: json_.containsKey('dhcpIpConfig')
? VmwareDhcpIpConfig.fromJson(
json_['dhcpIpConfig'] as core.Map<core.String, core.dynamic>)
: null,
hostConfig: json_.containsKey('hostConfig')
? VmwareHostConfig.fromJson(
json_['hostConfig'] as core.Map<core.String, core.dynamic>)
: null,
podAddressCidrBlocks: json_.containsKey('podAddressCidrBlocks')
? (json_['podAddressCidrBlocks'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
serviceAddressCidrBlocks:
json_.containsKey('serviceAddressCidrBlocks')
? (json_['serviceAddressCidrBlocks'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
staticIpConfig: json_.containsKey('staticIpConfig')
? VmwareStaticIpConfig.fromJson(json_['staticIpConfig']
as core.Map<core.String, core.dynamic>)
: null,
vcenterNetwork: json_.containsKey('vcenterNetwork')
? json_['vcenterNetwork'] as core.String
: null,
);