VmwareAdminNetworkConfig.fromJson constructor
VmwareAdminNetworkConfig.fromJson(
- Map json_
Implementation
VmwareAdminNetworkConfig.fromJson(core.Map json_)
: this(
dhcpIpConfig: json_.containsKey('dhcpIpConfig')
? VmwareDhcpIpConfig.fromJson(
json_['dhcpIpConfig'] as core.Map<core.String, core.dynamic>)
: null,
haControlPlaneConfig: json_.containsKey('haControlPlaneConfig')
? VmwareAdminHAControlPlaneConfig.fromJson(
json_['haControlPlaneConfig']
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,
);