toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commitmentPlan != null) 'commitmentPlan': commitmentPlan!,
      if (cpuOvercommitRatio != null)
        'cpuOvercommitRatio': cpuOvercommitRatio!,
      if (hostMaintenancePolicy != null)
        'hostMaintenancePolicy': hostMaintenancePolicy!,
      if (nodeTypes != null) 'nodeTypes': nodeTypes!,
    };