SerializedBatch
using System;
namespace Relativity.Transfer
{
public sealed class SerializedBatch
{
public int BatchNumber { get; set; }
public string File { get; set; }
public bool LocalPaths { get; set; }
public long MinSourcePathId { get; set; }
public long MaxSourcePathId { get; set; }
public int TotalBatchCount { get; set; }
public long TotalByteCount { get; set; }
public long TotalDirectoryCount { get; set; }
public long TotalFileCount { get; set; }
public SerializedBatch()
{
BatchNumber = 0;
File = null;
LocalPaths = true;
MinSourcePathId = 0;
MaxSourcePathId = 0;
TotalBatchCount = 0;
TotalByteCount = 0;
TotalDirectoryCount = 0;
TotalFileCount = 0;
}
public SerializedBatch(SerializedBatch source)
{
if (source == null)
throw new ArgumentNullException("source");
BatchNumber = source.BatchNumber;
File = source.File;
LocalPaths = source.LocalPaths;
MinSourcePathId = source.MinSourcePathId;
MaxSourcePathId = source.MaxSourcePathId;
TotalBatchCount = source.TotalBatchCount;
TotalByteCount = source.TotalByteCount;
TotalDirectoryCount = source.TotalDirectoryCount;
TotalFileCount = source.TotalFileCount;
}
public SerializedBatch DeepCopy()
{
return new SerializedBatch(this);
}
}
}