BareMetalNetworkConfig.fromJson constructor

BareMetalNetworkConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalNetworkConfig.fromJson(core.Map json_)
    : this(
        advancedNetworking: json_.containsKey('advancedNetworking')
            ? json_['advancedNetworking'] as core.bool
            : null,
        islandModeCidr: json_.containsKey('islandModeCidr')
            ? BareMetalIslandModeCidrConfig.fromJson(json_['islandModeCidr']
                as core.Map<core.String, core.dynamic>)
            : null,
        multipleNetworkInterfacesConfig:
            json_.containsKey('multipleNetworkInterfacesConfig')
                ? BareMetalMultipleNetworkInterfacesConfig.fromJson(
                    json_['multipleNetworkInterfacesConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        srIovConfig: json_.containsKey('srIovConfig')
            ? BareMetalSrIovConfig.fromJson(
                json_['srIovConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );