TapiBridgeParameters2
Represents the generic parameters to setup a Transfer API bridge.
using Relativity.Transfer;
using System;
using System.Net;
namespace Relativity.DataExchange.Transfer
{
public class TapiBridgeParameters2
{
public string Application { get; set; }
public string AsperaBcpRootFolder { get; set; }
public int AsperaDocRootLevels { get; set; }
public int AsperaDatagramSize { get; set; }
public bool BadPathErrorsRetry { get; set; }
public Guid ClientRequestId { get; set; }
public NetworkCredential Credentials { get; set; }
public bool FileNotFoundErrorsDisabled { get; set; }
public bool FileNotFoundErrorsRetry { get; set; }
public string { get; set; }
public string ForceClientCandidates { get; set; }
public bool ForceAsperaClient { get; set; }
public bool ForceHttpClient { get; set; }
public bool { get; set; }
public bool LargeFileProgressEnabled { get; set; }
public string LogConfigFile { get; set; }
public int MaxInactivitySeconds { get; set; }
public int MaxJobParallelism { get; set; }
public int MaxJobRetryAttempts { get; set; }
public int HttpErrorNumberOfRetries { get; set; }
public int MinDataRateMbps { get; set; }
public bool PermissionErrorsRetry { get; set; }
public bool PreserveFileTimestamps { get; set; }
public bool SubmitApmMetrics { get; set; }
public string SupportCheckPath { get; set; }
public int TargetDataRateMbps { get; set; }
public string TargetPath { get; set; }
public int TimeoutSeconds { get; set; }
public Credential TransferCredential { get; set; }
public string TransferLogDirectory { get; set; }
public CookieContainer WebCookieContainer { get; set; }
public int WaitTimeBetweenRetryAttempts { get; set; }
public string WebServiceUrl { get; set; }
public int WorkspaceId { get; set; }
public TapiBridgeParameters2()
{
Application = null;
AsperaBcpRootFolder = "";
AsperaDocRootLevels = 1;
AsperaDatagramSize = 0;
BadPathErrorsRetry = false;
ClientRequestId = Guid.NewGuid();
Credentials = null;
FileNotFoundErrorsDisabled = false;
FileNotFoundErrorsRetry = true;
FileShare = null;
ForceAsperaClient = false;
ForceClientCandidates = "";
ForceHttpClient = false;
ForceFileShareClient = false;
LargeFileProgressEnabled = true;
LogConfigFile = null;
MaxInactivitySeconds = 180;
MaxJobParallelism = 10;
MaxJobRetryAttempts = 3;
HttpErrorNumberOfRetries = 20;
MinDataRateMbps = 0;
PermissionErrorsRetry = false;
PreserveFileTimestamps = false;
SubmitApmMetrics = true;
SupportCheckPath = null;
TargetDataRateMbps = 100;
TargetPath = null;
TransferCredential = null;
TransferLogDirectory = null;
TimeoutSeconds = 300;
WaitTimeBetweenRetryAttempts = 30;
WebServiceUrl = null;
WebCookieContainer = null;
WorkspaceId = 0;
}
public TapiBridgeParameters2(TapiBridgeParameters2 copy)
{
if (copy == null)
throw new ArgumentNullException("copy");
Application = copy.Application;
AsperaBcpRootFolder = copy.AsperaBcpRootFolder;
AsperaDocRootLevels = copy.AsperaDocRootLevels;
AsperaDatagramSize = copy.AsperaDatagramSize;
BadPathErrorsRetry = copy.BadPathErrorsRetry;
ClientRequestId = copy.ClientRequestId;
Credentials = copy.Credentials;
FileNotFoundErrorsRetry = copy.FileNotFoundErrorsRetry;
FileNotFoundErrorsDisabled = copy.FileNotFoundErrorsDisabled;
FileShare = copy.FileShare;
ForceAsperaClient = copy.ForceAsperaClient;
ForceClientCandidates = copy.ForceClientCandidates;
ForceHttpClient = copy.ForceHttpClient;
ForceFileShareClient = copy.ForceFileShareClient;
LargeFileProgressEnabled = copy.LargeFileProgressEnabled;
TargetDataRateMbps = copy.TargetDataRateMbps;
LogConfigFile = copy.LogConfigFile;
MaxInactivitySeconds = copy.MaxInactivitySeconds;
MaxJobParallelism = copy.MaxJobParallelism;
MaxJobRetryAttempts = copy.MaxJobRetryAttempts;
HttpErrorNumberOfRetries = copy.HttpErrorNumberOfRetries;
MinDataRateMbps = copy.MinDataRateMbps;
PermissionErrorsRetry = copy.PermissionErrorsRetry;
PreserveFileTimestamps = copy.PreserveFileTimestamps;
SubmitApmMetrics = copy.SubmitApmMetrics;
SupportCheckPath = copy.SupportCheckPath;
TargetPath = copy.TargetPath;
TimeoutSeconds = copy.TimeoutSeconds;
TransferCredential = copy.TransferCredential;
TransferLogDirectory = copy.TransferLogDirectory;
WaitTimeBetweenRetryAttempts = copy.WaitTimeBetweenRetryAttempts;
WebServiceUrl = copy.WebServiceUrl;
WebCookieContainer = copy.WebCookieContainer;
WorkspaceId = copy.WorkspaceId;
}
}
}