toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actualUsedDataStorageSizeTb != null)
        'actualUsedDataStorageSizeTb': actualUsedDataStorageSizeTb!,
      if (allocatedStorageSizeTb != null)
        'allocatedStorageSizeTb': allocatedStorageSizeTb!,
      if (apexDetails != null) 'apexDetails': apexDetails!,
      if (arePrimaryAllowlistedIpsUsed != null)
        'arePrimaryAllowlistedIpsUsed': arePrimaryAllowlistedIpsUsed!,
      if (autonomousContainerDatabaseId != null)
        'autonomousContainerDatabaseId': autonomousContainerDatabaseId!,
      if (availableUpgradeVersions != null)
        'availableUpgradeVersions': availableUpgradeVersions!,
      if (backupRetentionPeriodDays != null)
        'backupRetentionPeriodDays': backupRetentionPeriodDays!,
      if (characterSet != null) 'characterSet': characterSet!,
      if (computeCount != null) 'computeCount': computeCount!,
      if (connectionStrings != null) 'connectionStrings': connectionStrings!,
      if (connectionUrls != null) 'connectionUrls': connectionUrls!,
      if (cpuCoreCount != null) 'cpuCoreCount': cpuCoreCount!,
      if (customerContacts != null) 'customerContacts': customerContacts!,
      if (dataSafeState != null) 'dataSafeState': dataSafeState!,
      if (dataStorageSizeGb != null) 'dataStorageSizeGb': dataStorageSizeGb!,
      if (dataStorageSizeTb != null) 'dataStorageSizeTb': dataStorageSizeTb!,
      if (databaseManagementState != null)
        'databaseManagementState': databaseManagementState!,
      if (dbEdition != null) 'dbEdition': dbEdition!,
      if (dbVersion != null) 'dbVersion': dbVersion!,
      if (dbWorkload != null) 'dbWorkload': dbWorkload!,
      if (failedDataRecoveryDuration != null)
        'failedDataRecoveryDuration': failedDataRecoveryDuration!,
      if (isAutoScalingEnabled != null)
        'isAutoScalingEnabled': isAutoScalingEnabled!,
      if (isLocalDataGuardEnabled != null)
        'isLocalDataGuardEnabled': isLocalDataGuardEnabled!,
      if (isStorageAutoScalingEnabled != null)
        'isStorageAutoScalingEnabled': isStorageAutoScalingEnabled!,
      if (licenseType != null) 'licenseType': licenseType!,
      if (lifecycleDetails != null) 'lifecycleDetails': lifecycleDetails!,
      if (localAdgAutoFailoverMaxDataLossLimit != null)
        'localAdgAutoFailoverMaxDataLossLimit':
            localAdgAutoFailoverMaxDataLossLimit!,
      if (localDisasterRecoveryType != null)
        'localDisasterRecoveryType': localDisasterRecoveryType!,
      if (localStandbyDb != null) 'localStandbyDb': localStandbyDb!,
      if (maintenanceBeginTime != null)
        'maintenanceBeginTime': maintenanceBeginTime!,
      if (maintenanceEndTime != null)
        'maintenanceEndTime': maintenanceEndTime!,
      if (maintenanceScheduleType != null)
        'maintenanceScheduleType': maintenanceScheduleType!,
      if (memoryPerOracleComputeUnitGbs != null)
        'memoryPerOracleComputeUnitGbs': memoryPerOracleComputeUnitGbs!,
      if (memoryTableGbs != null) 'memoryTableGbs': memoryTableGbs!,
      if (mtlsConnectionRequired != null)
        'mtlsConnectionRequired': mtlsConnectionRequired!,
      if (nCharacterSet != null) 'nCharacterSet': nCharacterSet!,
      if (nextLongTermBackupTime != null)
        'nextLongTermBackupTime': nextLongTermBackupTime!,
      if (ociUrl != null) 'ociUrl': ociUrl!,
      if (ocid != null) 'ocid': ocid!,
      if (openMode != null) 'openMode': openMode!,
      if (operationsInsightsState != null)
        'operationsInsightsState': operationsInsightsState!,
      if (peerDbIds != null) 'peerDbIds': peerDbIds!,
      if (permissionLevel != null) 'permissionLevel': permissionLevel!,
      if (privateEndpoint != null) 'privateEndpoint': privateEndpoint!,
      if (privateEndpointIp != null) 'privateEndpointIp': privateEndpointIp!,
      if (privateEndpointLabel != null)
        'privateEndpointLabel': privateEndpointLabel!,
      if (refreshableMode != null) 'refreshableMode': refreshableMode!,
      if (refreshableState != null) 'refreshableState': refreshableState!,
      if (role != null) 'role': role!,
      if (scheduledOperationDetails != null)
        'scheduledOperationDetails': scheduledOperationDetails!,
      if (secretId != null) 'secretId': secretId!,
      if (sqlWebDeveloperUrl != null)
        'sqlWebDeveloperUrl': sqlWebDeveloperUrl!,
      if (state != null) 'state': state!,
      if (supportedCloneRegions != null)
        'supportedCloneRegions': supportedCloneRegions!,
      if (totalAutoBackupStorageSizeGbs != null)
        'totalAutoBackupStorageSizeGbs': totalAutoBackupStorageSizeGbs!,
      if (usedDataStorageSizeTbs != null)
        'usedDataStorageSizeTbs': usedDataStorageSizeTbs!,
      if (vaultId != null) 'vaultId': vaultId!,
    };