BareMetalLoadBalancerConfig.fromJson constructor

BareMetalLoadBalancerConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalLoadBalancerConfig.fromJson(core.Map json_)
    : this(
        bgpLbConfig: json_.containsKey('bgpLbConfig')
            ? BareMetalBgpLbConfig.fromJson(
                json_['bgpLbConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        manualLbConfig: json_.containsKey('manualLbConfig')
            ? BareMetalManualLbConfig.fromJson(json_['manualLbConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        metalLbConfig: json_.containsKey('metalLbConfig')
            ? BareMetalMetalLbConfig.fromJson(
                json_['metalLbConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        portConfig: json_.containsKey('portConfig')
            ? BareMetalPortConfig.fromJson(
                json_['portConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        vipConfig: json_.containsKey('vipConfig')
            ? BareMetalVipConfig.fromJson(
                json_['vipConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );