BareMetalAdminLoadBalancerConfig.fromJson constructor

BareMetalAdminLoadBalancerConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalAdminLoadBalancerConfig.fromJson(core.Map json_)
    : this(
        manualLbConfig: json_.containsKey('manualLbConfig')
            ? BareMetalAdminManualLbConfig.fromJson(json_['manualLbConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        portConfig: json_.containsKey('portConfig')
            ? BareMetalAdminPortConfig.fromJson(
                json_['portConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        vipConfig: json_.containsKey('vipConfig')
            ? BareMetalAdminVipConfig.fromJson(
                json_['vipConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );