toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dhcpIpConfig != null) 'dhcpIpConfig': dhcpIpConfig!,
      if (haControlPlaneConfig != null)
        'haControlPlaneConfig': haControlPlaneConfig!,
      if (hostConfig != null) 'hostConfig': hostConfig!,
      if (podAddressCidrBlocks != null)
        'podAddressCidrBlocks': podAddressCidrBlocks!,
      if (serviceAddressCidrBlocks != null)
        'serviceAddressCidrBlocks': serviceAddressCidrBlocks!,
      if (staticIpConfig != null) 'staticIpConfig': staticIpConfig!,
      if (vcenterNetwork != null) 'vcenterNetwork': vcenterNetwork!,
    };