<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

FullStatus

public class FullStatus
Represents a status message provided to an OnProcessProgress event.
using System; using System.Collections; namespace kCura.Relativity.DataReaderClient { public class FullStatus { private DateTime _startTime; private DateTime _endTime; private Guid _processID; private long _totalRecords; private long _totalRecordsProcessed; private long _totalRecordsProcessedWithWarnings; private long _totalRecordsProcessedWithErrors; private string _totalRecordsDisplay; private string _totalRecordsProcessedDisplay; private double _metadataThroughput; private double _filesThroughput; private IDictionary _statusSuffixEntries; public DateTime StartTime { get { return _startTime; } set { _startTime = value; } } public DateTime EndTime { get { return _endTime; } set { _endTime = value; } } public Guid ProcessID { get { return _processID; } set { _processID = value; } } public long TotalRecords { get { return _totalRecords; } set { _totalRecords = value; } } public long TotalRecordsProcessed { get { return _totalRecordsProcessed; } set { _totalRecordsProcessed = value; } } public long TotalRecordsProcessedWithWarnings { get { return _totalRecordsProcessedWithWarnings; } set { _totalRecordsProcessedWithWarnings = value; } } public long TotalRecordsProcessedWithErrors { get { return _totalRecordsProcessedWithErrors; } set { _totalRecordsProcessedWithErrors = value; } } public string TotalRecordsDisplay { get { return _totalRecordsDisplay; } set { _totalRecordsDisplay = value; } } public string TotalRecordsProcessedDisplay { get { return _totalRecordsProcessedDisplay; } set { _totalRecordsProcessedDisplay = value; } } public double MetadataThroughput { get { return _metadataThroughput; } set { _metadataThroughput = value; } } public double FilesThroughput { get { return _filesThroughput; } set { _filesThroughput = value; } } public IDictionary StatusSuffixEntries => _statusSuffixEntries; public FullStatus(long totRecs, long totRecsProc, long totRecsProcWarn, long totRecsProcErr, DateTime sTime, DateTime eTime, string totRecsDisplay, string totRecsProcDisplay, double metadataThroughput, double filesThroughput, Guid theProcessID, IDictionary statusSuffixEntries) { TotalRecords = totRecs; TotalRecordsProcessed = totRecsProc; if (totRecsDisplay != null) TotalRecordsDisplay = totRecsDisplay; else TotalRecordsDisplay = totRecs.ToString(); if (totRecsProcDisplay != null) TotalRecordsProcessedDisplay = totRecsProcDisplay; else TotalRecordsProcessedDisplay = totRecsProc.ToString(); MetadataThroughput = metadataThroughput; FilesThroughput = filesThroughput; ProcessID = theProcessID; TotalRecordsProcessedWithWarnings = totRecsProcWarn; TotalRecordsProcessedWithErrors = totRecsProcErr; StartTime = sTime; EndTime = eTime; _statusSuffixEntries = statusSuffixEntries; } } }