/// <summary>
 /// Initializes a new instance of the <see cref="ProtectionJobAuditTrail" /> class.
 /// </summary>
 /// <param name="after">after.</param>
 /// <param name="before">before.</param>
 /// <param name="changes">Specifies the list of changed values in a Protection Job. kProtectionJobName implies that protection job has change in the name field kProtectionJobDescription implies that protection job has change in the description field. kProtectionJobSources implies that protection job has change in the source field. kProtectionJobSchedule implies that protection job has change in the schedule field. kProtectionJobFullSchedule implies that protection job has change in the full schedule field. kProtectionJobRetrySettings implies that protection job has change in the retry settings. kProtectionJobRetentionPolicy implies that protection job has change in the retention policy. kProtectionJobIndexingPolicy implies that protection job has change in the indexing policy. kProtectionJobAlertingPolicy implies that protection job has change in the alerting policy. kProtectionJobPriority implies that protection job has change in the alerting policy. kProtectionJobQuiesce implies that protection job has change in the Quiesce. kProtectionJobSla implies that protection job has change in the SLA settings. kProtectionJobPolicyId implies that protection job has change in the poilcy Id settings. kProtectionJobTimezone implies that protection job has change in the timezone settings. kProtectionJobFutureRunsPaused implies that protection job has change in the future run settings. kProtectionJobFutureRunsResumed implies that protection job has change in the future run resume settings. kSnapshotTargetPolicy implies that protection job has change in the snapshot target policy settings. kProtectionJobQOS implies that protection job has change in QOS settings. kProtectionJobInvalidField implies that the changed field is invalid..</param>
 public ProtectionJobAuditTrail(ProtectionJob after = default(ProtectionJob), ProtectionJob before = default(ProtectionJob), List <ChangesEnum> changes = default(List <ChangesEnum>))
 {
     this.Changes = changes;
     this.After   = after;
     this.Before  = before;
     this.Changes = changes;
 }
Beispiel #2
0
 /// <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;
 }