toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dbNodeStorageSizeGb != null)
        'dbNodeStorageSizeGb': dbNodeStorageSizeGb!,
      if (dbServerOcid != null) 'dbServerOcid': dbServerOcid!,
      if (hostname != null) 'hostname': hostname!,
      if (memorySizeGb != null) 'memorySizeGb': memorySizeGb!,
      if (ocid != null) 'ocid': ocid!,
      if (ocpuCount != null) 'ocpuCount': ocpuCount!,
      if (state != null) 'state': state!,
      if (totalCpuCoreCount != null) 'totalCpuCoreCount': totalCpuCoreCount!,
    };