SetPayloadPoints constructor
SetPayloadPoints({
- String? collectionName,
- bool? wait,
- Iterable<
MapEntry< ? payload,String, Value> > - PointsSelector? pointsSelector,
- WriteOrdering? ordering,
- ShardKeySelector? shardKeySelector,
- String? key,
Implementation
factory SetPayloadPoints({
$core.String? collectionName,
$core.bool? wait,
$core.Iterable<$core.MapEntry<$core.String, $11.Value>>? payload,
PointsSelector? pointsSelector,
WriteOrdering? ordering,
ShardKeySelector? shardKeySelector,
$core.String? key,
}) {
final $result = create();
if (collectionName != null) {
$result.collectionName = collectionName;
}
if (wait != null) {
$result.wait = wait;
}
if (payload != null) {
$result.payload.addEntries(payload);
}
if (pointsSelector != null) {
$result.pointsSelector = pointsSelector;
}
if (ordering != null) {
$result.ordering = ordering;
}
if (shardKeySelector != null) {
$result.shardKeySelector = shardKeySelector;
}
if (key != null) {
$result.key = key;
}
return $result;
}