toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (compartmentId != null) 'compartmentId': compartmentId!,
  if (connectionStrings != null) 'connectionStrings': connectionStrings!,
  if (containerDatabaseOcid != null)
    'containerDatabaseOcid': containerDatabaseOcid!,
  if (databaseManagementConfig != null)
    'databaseManagementConfig': databaseManagementConfig!,
  if (definedTags != null) 'definedTags': definedTags!,
  if (freeformTags != null) 'freeformTags': freeformTags!,
  if (isRestricted != null) 'isRestricted': isRestricted!,
  if (lifecycleDetails != null) 'lifecycleDetails': lifecycleDetails!,
  if (lifecycleState != null) 'lifecycleState': lifecycleState!,
  if (ocid != null) 'ocid': ocid!,
  if (operationsInsightsState != null)
    'operationsInsightsState': operationsInsightsState!,
  if (pdbName != null) 'pdbName': pdbName!,
  if (pdbNodeLevelDetails != null)
    'pdbNodeLevelDetails': pdbNodeLevelDetails!,
};