ImportDocumentsMetadata constructor

ImportDocumentsMetadata({
  1. Timestamp? startTime,
  2. Timestamp? endTime,
  3. OperationState? operationState,
  4. Progress? progressDocuments,
  5. Progress? progressBytes,
  6. Iterable<String>? collectionIds,
  7. String? inputUriPrefix,
})

Implementation

factory ImportDocumentsMetadata({
  $4.Timestamp? startTime,
  $4.Timestamp? endTime,
  OperationState? operationState,
  Progress? progressDocuments,
  Progress? progressBytes,
  $core.Iterable<$core.String>? collectionIds,
  $core.String? inputUriPrefix,
}) {
  final _result = create();
  if (startTime != null) {
    _result.startTime = startTime;
  }
  if (endTime != null) {
    _result.endTime = endTime;
  }
  if (operationState != null) {
    _result.operationState = operationState;
  }
  if (progressDocuments != null) {
    _result.progressDocuments = progressDocuments;
  }
  if (progressBytes != null) {
    _result.progressBytes = progressBytes;
  }
  if (collectionIds != null) {
    _result.collectionIds.addAll(collectionIds);
  }
  if (inputUriPrefix != null) {
    _result.inputUriPrefix = inputUriPrefix;
  }
  return _result;
}