toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (computeEngineFinding != null)
        'computeEngineFinding': computeEngineFinding!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (machinePreferences != null)
        'machinePreferences': machinePreferences!,
      if (monthlyCostCompute != null)
        'monthlyCostCompute': monthlyCostCompute!,
      if (monthlyCostNetworkEgress != null)
        'monthlyCostNetworkEgress': monthlyCostNetworkEgress!,
      if (monthlyCostOsLicense != null)
        'monthlyCostOsLicense': monthlyCostOsLicense!,
      if (monthlyCostOther != null) 'monthlyCostOther': monthlyCostOther!,
      if (monthlyCostStorage != null)
        'monthlyCostStorage': monthlyCostStorage!,
      if (monthlyCostTotal != null) 'monthlyCostTotal': monthlyCostTotal!,
      if (soleTenantFinding != null) 'soleTenantFinding': soleTenantFinding!,
      if (vmwareEngineFinding != null)
        'vmwareEngineFinding': vmwareEngineFinding!,
    };