GetPoints constructor

GetPoints({
  1. String? collectionName,
  2. Iterable<PointId>? ids,
  3. WithPayloadSelector? withPayload,
  4. WithVectorsSelector? withVectors,
  5. ReadConsistency? readConsistency,
  6. ShardKeySelector? shardKeySelector,
  7. Int64? timeout,
})

Implementation

factory GetPoints({
  $core.String? collectionName,
  $core.Iterable<PointId>? ids,
  WithPayloadSelector? withPayload,
  WithVectorsSelector? withVectors,
  ReadConsistency? readConsistency,
  ShardKeySelector? shardKeySelector,
  $fixnum.Int64? timeout,
}) {
  final $result = create();
  if (collectionName != null) {
    $result.collectionName = collectionName;
  }
  if (ids != null) {
    $result.ids.addAll(ids);
  }
  if (withPayload != null) {
    $result.withPayload = withPayload;
  }
  if (withVectors != null) {
    $result.withVectors = withVectors;
  }
  if (readConsistency != null) {
    $result.readConsistency = readConsistency;
  }
  if (shardKeySelector != null) {
    $result.shardKeySelector = shardKeySelector;
  }
  if (timeout != null) {
    $result.timeout = timeout;
  }
  return $result;
}