ListDocumentsRequest constructor

ListDocumentsRequest({
  1. String? parent,
  2. String? collectionId,
  3. int? pageSize,
  4. String? pageToken,
  5. String? orderBy,
  6. DocumentMask? mask,
  7. List<int>? transaction,
  8. Timestamp? readTime,
  9. bool? showMissing,
})

Implementation

factory ListDocumentsRequest({
  $core.String? parent,
  $core.String? collectionId,
  $core.int? pageSize,
  $core.String? pageToken,
  $core.String? orderBy,
  $3.DocumentMask? mask,
  $core.List<$core.int>? transaction,
  $4.Timestamp? readTime,
  $core.bool? showMissing,
}) {
  final $result = create();
  if (parent != null) {
    $result.parent = parent;
  }
  if (collectionId != null) {
    $result.collectionId = collectionId;
  }
  if (pageSize != null) {
    $result.pageSize = pageSize;
  }
  if (pageToken != null) {
    $result.pageToken = pageToken;
  }
  if (orderBy != null) {
    $result.orderBy = orderBy;
  }
  if (mask != null) {
    $result.mask = mask;
  }
  if (transaction != null) {
    $result.transaction = transaction;
  }
  if (readTime != null) {
    $result.readTime = readTime;
  }
  if (showMissing != null) {
    $result.showMissing = showMissing;
  }
  return $result;
}