toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (automatedBackupPolicy != null)
        'automatedBackupPolicy': automatedBackupPolicy!,
      if (backupSource != null) 'backupSource': backupSource!,
      if (clusterType != null) 'clusterType': clusterType!,
      if (continuousBackupConfig != null)
        'continuousBackupConfig': continuousBackupConfig!,
      if (continuousBackupInfo != null)
        'continuousBackupInfo': continuousBackupInfo!,
      if (createTime != null) 'createTime': createTime!,
      if (databaseVersion != null) 'databaseVersion': databaseVersion!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
      if (encryptionInfo != null) 'encryptionInfo': encryptionInfo!,
      if (etag != null) 'etag': etag!,
      if (initialUser != null) 'initialUser': initialUser!,
      if (labels != null) 'labels': labels!,
      if (maintenanceSchedule != null)
        'maintenanceSchedule': maintenanceSchedule!,
      if (maintenanceUpdatePolicy != null)
        'maintenanceUpdatePolicy': maintenanceUpdatePolicy!,
      if (migrationSource != null) 'migrationSource': migrationSource!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (primaryConfig != null) 'primaryConfig': primaryConfig!,
      if (pscConfig != null) 'pscConfig': pscConfig!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (secondaryConfig != null) 'secondaryConfig': secondaryConfig!,
      if (sslConfig != null) 'sslConfig': sslConfig!,
      if (state != null) 'state': state!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };