GetPoints constructor
GetPoints({
- String? collectionName,
- Iterable<
PointId> ? ids, - WithPayloadSelector? withPayload,
- WithVectorsSelector? withVectors,
- ReadConsistency? readConsistency,
- ShardKeySelector? shardKeySelector,
- 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;
}