/// <summary> /// Initializes a new instance of the <see cref="ProtectionJobSummaryForPolicies" /> class. /// </summary> /// <param name="backupRun">backupRun.</param> /// <param name="copyRuns">Specifies details about the Copy tasks of the Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster..</param> /// <param name="protectionJob">protectionJob.</param> public ProtectionJobSummaryForPolicies(BackupRun backupRun = default(BackupRun), List <CopyRun> copyRuns = default(List <CopyRun>), ProtectionJob protectionJob = default(ProtectionJob)) { this.CopyRuns = copyRuns; this.BackupRun = backupRun; this.CopyRuns = copyRuns; this.ProtectionJob = protectionJob; }
/// <summary> /// Initializes a new instance of the <see cref="ProtectionRunInstance" /> class. /// </summary> /// <param name="backupRun">backupRun.</param> /// <param name="copyRun">Array of Copy Run Tasks. Specifies details about the Copy tasks of this Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster..</param> /// <param name="jobId">Specifies the id of the Protection Job that was run..</param> /// <param name="jobName">Specifies the name of the Protection Job name that was run..</param> /// <param name="jobUid">Specifies the globally unique id of the Protection Job that was run..</param> /// <param name="viewBoxId">Specifies the Storage Domain (View Box) to store the backed up data. Specify the id of the Storage Domain (View Box)..</param> public ProtectionRunInstance(BackupRun backupRun = default(BackupRun), List <CopyRun> copyRun = default(List <CopyRun>), long?jobId = default(long?), string jobName = default(string), UniversalId jobUid = default(UniversalId), long?viewBoxId = default(long?)) { this.CopyRun = copyRun; this.JobId = jobId; this.JobName = jobName; this.JobUid = jobUid; this.ViewBoxId = viewBoxId; this.BackupRun = backupRun; this.CopyRun = copyRun; this.JobId = jobId; this.JobName = jobName; this.JobUid = jobUid; this.ViewBoxId = viewBoxId; }
/// <summary> /// Initializes a new instance of the <see cref="ProtectedSourceSummary" /> class. /// </summary> /// <param name="backupRun">backupRun.</param> /// <param name="copyRuns">Specifies details about the Copy tasks of the Job Run. A Copy task copies the captured snapshots to an external target or a Remote Cohesity Cluster..</param> /// <param name="isPaused">Specifies the status of the backup job..</param> /// <param name="nextProtectionRunTimeUsecs">Specifies the time at which the next Protection Run is scheduled for the given Protection Source in Unix epoch Time (microseconds)..</param> /// <param name="protectedSourceUid">protectedSourceUid.</param> /// <param name="protectionSource">protectionSource.</param> /// <param name="sourceParameters">Specifies additional special settings for a single Protected Source..</param> public ProtectedSourceSummary(BackupRun backupRun = default(BackupRun), List <CopyRun> copyRuns = default(List <CopyRun>), bool?isPaused = default(bool?), long?nextProtectionRunTimeUsecs = default(long?), UniversalId protectedSourceUid = default(UniversalId), ProtectionSource protectionSource = default(ProtectionSource), List <SourceSpecialParameter> sourceParameters = default(List <SourceSpecialParameter>)) { this.CopyRuns = copyRuns; this.IsPaused = isPaused; this.NextProtectionRunTimeUsecs = nextProtectionRunTimeUsecs; this.SourceParameters = sourceParameters; this.BackupRun = backupRun; this.CopyRuns = copyRuns; this.IsPaused = isPaused; this.NextProtectionRunTimeUsecs = nextProtectionRunTimeUsecs; this.ProtectedSourceUid = protectedSourceUid; this.ProtectionSource = protectionSource; this.SourceParameters = sourceParameters; }