UpdateRequest constructor

UpdateRequest({
  1. List<int>? collectionOid,
  2. RequestContext? context,
  3. List<int>? filter,
  4. List<int>? update,
  5. bool? isUpsert,
})

Implementation

factory UpdateRequest({
  $core.List<$core.int>? collectionOid,
  $24.RequestContext? context,
  $core.List<$core.int>? filter,
  $core.List<$core.int>? update,
  $core.bool? isUpsert,
}) {
  final _result = create();
  if (collectionOid != null) {
    _result.collectionOid = collectionOid;
  }
  if (context != null) {
    _result.context = context;
  }
  if (filter != null) {
    _result.filter = filter;
  }
  if (update != null) {
    _result.update = update;
  }
  if (isUpsert != null) {
    _result.isUpsert = isUpsert;
  }
  return _result;
}