toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (artifactGcsUri != null) 'artifactGcsUri': artifactGcsUri!,
  if (createTime != null) 'createTime': createTime!,
  if (databaseType != null) 'databaseType': databaseType!,
  if (deletionProtection != null) 'deletionProtection': deletionProtection!,
  if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
  if (endpointUri != null) 'endpointUri': endpointUri!,
  if (hiveMetastoreConfig != null)
    'hiveMetastoreConfig': hiveMetastoreConfig!,
  if (labels != null) 'labels': labels!,
  if (maintenanceWindow != null) 'maintenanceWindow': maintenanceWindow!,
  if (metadataIntegration != null)
    'metadataIntegration': metadataIntegration!,
  if (metadataManagementActivity != null)
    'metadataManagementActivity': metadataManagementActivity!,
  if (name != null) 'name': name!,
  if (network != null) 'network': network!,
  if (networkConfig != null) 'networkConfig': networkConfig!,
  if (port != null) 'port': port!,
  if (releaseChannel != null) 'releaseChannel': releaseChannel!,
  if (scalingConfig != null) 'scalingConfig': scalingConfig!,
  if (scheduledBackup != null) 'scheduledBackup': scheduledBackup!,
  if (state != null) 'state': state!,
  if (stateMessage != null) 'stateMessage': stateMessage!,
  if (tags != null) 'tags': tags!,
  if (telemetryConfig != null) 'telemetryConfig': telemetryConfig!,
  if (tier != null) 'tier': tier!,
  if (uid != null) 'uid': uid!,
  if (updateTime != null) 'updateTime': updateTime!,
};