VmwareControlPlaneNodeConfig.fromJson constructor

VmwareControlPlaneNodeConfig.fromJson(
  1. Map json_
)

Implementation

VmwareControlPlaneNodeConfig.fromJson(core.Map json_)
    : this(
        autoResizeConfig: json_.containsKey('autoResizeConfig')
            ? VmwareAutoResizeConfig.fromJson(json_['autoResizeConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        cpus: json_.containsKey('cpus') ? json_['cpus'] as core.String : null,
        memory: json_.containsKey('memory')
            ? json_['memory'] as core.String
            : null,
        replicas: json_.containsKey('replicas')
            ? json_['replicas'] as core.String
            : null,
        vsphereConfig: json_.containsKey('vsphereConfig')
            ? VmwareControlPlaneVsphereConfig.fromJson(
                json_['vsphereConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );