toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (availableCustomCoreCounts != null)
        'availableCustomCoreCounts': availableCustomCoreCounts!,
      if (capabilities != null) 'capabilities': capabilities!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (displayName != null) 'displayName': displayName!,
      if (families != null) 'families': families!,
      if (kind != null) 'kind': kind!,
      if (memoryGb != null) 'memoryGb': memoryGb!,
      if (name != null) 'name': name!,
      if (nodeTypeId != null) 'nodeTypeId': nodeTypeId!,
      if (totalCoreCount != null) 'totalCoreCount': totalCoreCount!,
      if (virtualCpuCount != null) 'virtualCpuCount': virtualCpuCount!,
    };