UpdatePointVectors constructor

UpdatePointVectors({
  1. String? collectionName,
  2. bool? wait,
  3. Iterable<PointVectors>? points,
  4. WriteOrdering? ordering,
  5. ShardKeySelector? shardKeySelector,
})

Implementation

factory UpdatePointVectors({
  $core.String? collectionName,
  $core.bool? wait,
  $core.Iterable<PointVectors>? points,
  WriteOrdering? ordering,
  ShardKeySelector? shardKeySelector,
}) {
  final $result = create();
  if (collectionName != null) {
    $result.collectionName = collectionName;
  }
  if (wait != null) {
    $result.wait = wait;
  }
  if (points != null) {
    $result.points.addAll(points);
  }
  if (ordering != null) {
    $result.ordering = ordering;
  }
  if (shardKeySelector != null) {
    $result.shardKeySelector = shardKeySelector;
  }
  return $result;
}