Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ServerEndpointHealth class.
 /// </summary>
 /// <param name="downloadHealth">Download Health Status. Possible
 /// values include: 'Healthy', 'Error', 'SyncBlockedForRestore',
 /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity'</param>
 /// <param name="uploadHealth">Upload Health Status. Possible values
 /// include: 'Healthy', 'Error', 'SyncBlockedForRestore',
 /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity'</param>
 /// <param name="combinedHealth">Combined Health Status. Possible
 /// values include: 'Healthy', 'Error', 'SyncBlockedForRestore',
 /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity'</param>
 /// <param name="lastUpdatedTimestamp">Last Updated Timestamp</param>
 /// <param name="uploadStatus">Upload Status</param>
 /// <param name="downloadStatus">Download Status</param>
 /// <param name="currentProgress">Current progress</param>
 /// <param name="offlineDataTransferStatus">Offline Data Transfer
 /// State. Possible values include: 'InProgress', 'Stopping',
 /// 'NotRunning', 'Complete'</param>
 public ServerEndpointHealth(string downloadHealth = default(string), string uploadHealth = default(string), string combinedHealth = default(string), System.DateTime?lastUpdatedTimestamp = default(System.DateTime?), SyncSessionStatus uploadStatus = default(SyncSessionStatus), SyncSessionStatus downloadStatus = default(SyncSessionStatus), SyncProgressStatus currentProgress = default(SyncProgressStatus), string offlineDataTransferStatus = default(string))
 {
     DownloadHealth            = downloadHealth;
     UploadHealth              = uploadHealth;
     CombinedHealth            = combinedHealth;
     LastUpdatedTimestamp      = lastUpdatedTimestamp;
     UploadStatus              = uploadStatus;
     DownloadStatus            = downloadStatus;
     CurrentProgress           = currentProgress;
     OfflineDataTransferStatus = offlineDataTransferStatus;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ServerEndpointSyncStatus class.
 /// </summary>
 /// <param name="downloadHealth">Download Health Status. Possible
 /// values include: 'Healthy', 'Error', 'SyncBlockedForRestore',
 /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity'</param>
 /// <param name="uploadHealth">Upload Health Status. Possible values
 /// include: 'Healthy', 'Error', 'SyncBlockedForRestore',
 /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity'</param>
 /// <param name="combinedHealth">Combined Health Status. Possible
 /// values include: 'Healthy', 'Error', 'SyncBlockedForRestore',
 /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity'</param>
 /// <param name="syncActivity">Sync activity. Possible values include:
 /// 'Upload', 'Download', 'UploadAndDownload'</param>
 /// <param name="totalPersistentFilesNotSyncingCount">Total count of
 /// persistent files not syncing (combined upload + download). Reserved
 /// for future use.</param>
 /// <param name="lastUpdatedTimestamp">Last Updated Timestamp</param>
 /// <param name="uploadStatus">Upload Status</param>
 /// <param name="downloadStatus">Download Status</param>
 /// <param name="uploadActivity">Upload sync activity</param>
 /// <param name="downloadActivity">Download sync activity</param>
 /// <param name="offlineDataTransferStatus">Offline Data Transfer
 /// State. Possible values include: 'InProgress', 'Stopping',
 /// 'NotRunning', 'Complete'</param>
 public ServerEndpointSyncStatus(string downloadHealth = default(string), string uploadHealth = default(string), string combinedHealth = default(string), string syncActivity = default(string), long?totalPersistentFilesNotSyncingCount = default(long?), System.DateTime?lastUpdatedTimestamp = default(System.DateTime?), SyncSessionStatus uploadStatus = default(SyncSessionStatus), SyncSessionStatus downloadStatus = default(SyncSessionStatus), SyncActivityStatus uploadActivity = default(SyncActivityStatus), SyncActivityStatus downloadActivity = default(SyncActivityStatus), string offlineDataTransferStatus = default(string))
 {
     DownloadHealth = downloadHealth;
     UploadHealth   = uploadHealth;
     CombinedHealth = combinedHealth;
     SyncActivity   = syncActivity;
     TotalPersistentFilesNotSyncingCount = totalPersistentFilesNotSyncingCount;
     LastUpdatedTimestamp      = lastUpdatedTimestamp;
     UploadStatus              = uploadStatus;
     DownloadStatus            = downloadStatus;
     UploadActivity            = uploadActivity;
     DownloadActivity          = downloadActivity;
     OfflineDataTransferStatus = offlineDataTransferStatus;
     CustomInit();
 }