BareMetalMetalLbConfig.fromJson constructor

BareMetalMetalLbConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalMetalLbConfig.fromJson(core.Map json_)
    : this(
        addressPools: json_.containsKey('addressPools')
            ? (json_['addressPools'] as core.List)
                .map((value) => BareMetalLoadBalancerAddressPool.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        loadBalancerNodePoolConfig:
            json_.containsKey('loadBalancerNodePoolConfig')
                ? BareMetalLoadBalancerNodePoolConfig.fromJson(
                    json_['loadBalancerNodePoolConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );