toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commitmentPlan != null) 'commitmentPlan': commitmentPlan!,
      if (computeEnginePreferences != null)
        'computeEnginePreferences': computeEnginePreferences!,
      if (regionPreferences != null) 'regionPreferences': regionPreferences!,
      if (sizingOptimizationStrategy != null)
        'sizingOptimizationStrategy': sizingOptimizationStrategy!,
      if (soleTenancyPreferences != null)
        'soleTenancyPreferences': soleTenancyPreferences!,
      if (targetProduct != null) 'targetProduct': targetProduct!,
      if (vmwareEnginePreferences != null)
        'vmwareEnginePreferences': vmwareEnginePreferences!,
    };