CreateIndexRequest constructor

CreateIndexRequest({
  1. List<int>? collectionOid,
  2. List<int>? keys,
  3. List<int>? indexOptions,
})

Implementation

factory CreateIndexRequest({
  $core.List<$core.int>? collectionOid,
  $core.List<$core.int>? keys,
  $core.List<$core.int>? indexOptions,
}) {
  final _result = create();
  if (collectionOid != null) {
    _result.collectionOid = collectionOid;
  }
  if (keys != null) {
    _result.keys = keys;
  }
  if (indexOptions != null) {
    _result.indexOptions = indexOptions;
  }
  return _result;
}