CoreSearchBatchPointsInternal constructor

CoreSearchBatchPointsInternal({
  1. String? collectionName,
  2. Iterable<CoreSearchPoints>? searchPoints,
  3. int? shardId,
  4. Int64? timeout,
})

Implementation

factory CoreSearchBatchPointsInternal({
  $core.String? collectionName,
  $core.Iterable<CoreSearchPoints>? searchPoints,
  $core.int? shardId,
  $fixnum.Int64? timeout,
}) {
  final $result = create();
  if (collectionName != null) {
    $result.collectionName = collectionName;
  }
  if (searchPoints != null) {
    $result.searchPoints.addAll(searchPoints);
  }
  if (shardId != null) {
    $result.shardId = shardId;
  }
  if (timeout != null) {
    $result.timeout = timeout;
  }
  return $result;
}