BareMetalAdminControlPlaneConfig.fromJson constructor

BareMetalAdminControlPlaneConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalAdminControlPlaneConfig.fromJson(core.Map json_)
    : this(
        apiServerArgs: json_.containsKey('apiServerArgs')
            ? (json_['apiServerArgs'] as core.List)
                .map((value) => BareMetalAdminApiServerArgument.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        controlPlaneNodePoolConfig:
            json_.containsKey('controlPlaneNodePoolConfig')
                ? BareMetalAdminControlPlaneNodePoolConfig.fromJson(
                    json_['controlPlaneNodePoolConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );