toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clusterName != null) 'clusterName': clusterName!,
      if (compartmentId != null) 'compartmentId': compartmentId!,
      if (cpuCoreCount != null) 'cpuCoreCount': cpuCoreCount!,
      if (dataStorageSizeTb != null) 'dataStorageSizeTb': dataStorageSizeTb!,
      if (dbNodeStorageSizeGb != null)
        'dbNodeStorageSizeGb': dbNodeStorageSizeGb!,
      if (dbServerOcids != null) 'dbServerOcids': dbServerOcids!,
      if (diagnosticsDataCollectionOptions != null)
        'diagnosticsDataCollectionOptions': diagnosticsDataCollectionOptions!,
      if (diskRedundancy != null) 'diskRedundancy': diskRedundancy!,
      if (dnsListenerIp != null) 'dnsListenerIp': dnsListenerIp!,
      if (domain != null) 'domain': domain!,
      if (giVersion != null) 'giVersion': giVersion!,
      if (hostname != null) 'hostname': hostname!,
      if (hostnamePrefix != null) 'hostnamePrefix': hostnamePrefix!,
      if (licenseType != null) 'licenseType': licenseType!,
      if (localBackupEnabled != null)
        'localBackupEnabled': localBackupEnabled!,
      if (memorySizeGb != null) 'memorySizeGb': memorySizeGb!,
      if (nodeCount != null) 'nodeCount': nodeCount!,
      if (ociUrl != null) 'ociUrl': ociUrl!,
      if (ocid != null) 'ocid': ocid!,
      if (ocpuCount != null) 'ocpuCount': ocpuCount!,
      if (scanDns != null) 'scanDns': scanDns!,
      if (scanDnsRecordId != null) 'scanDnsRecordId': scanDnsRecordId!,
      if (scanIpIds != null) 'scanIpIds': scanIpIds!,
      if (scanListenerPortTcp != null)
        'scanListenerPortTcp': scanListenerPortTcp!,
      if (scanListenerPortTcpSsl != null)
        'scanListenerPortTcpSsl': scanListenerPortTcpSsl!,
      if (shape != null) 'shape': shape!,
      if (sparseDiskgroupEnabled != null)
        'sparseDiskgroupEnabled': sparseDiskgroupEnabled!,
      if (sshPublicKeys != null) 'sshPublicKeys': sshPublicKeys!,
      if (state != null) 'state': state!,
      if (storageSizeGb != null) 'storageSizeGb': storageSizeGb!,
      if (systemVersion != null) 'systemVersion': systemVersion!,
      if (timeZone != null) 'timeZone': timeZone!,
    };