/// <summary> /// Initializes a new instance of the <see cref="LatestProtectionRun" /> class. /// </summary> /// <param name="backupRun">backupRun.</param> /// <param name="changeEventId">Specifies the event id which caused last update on this object..</param> /// <param name="copyRun">copyRun.</param> /// <param name="jobRunId">Specifies job run id of the latest successful Protection Job Run..</param> /// <param name="protectionJobRunUid">protectionJobRunUid.</param> /// <param name="snapshotTarget">Specifies the cluster id in case of local or replication snapshots and name of location in case of archival snapshots..</param> /// <param name="snapshotTargetType">Specifies the snapshot target type of the latest snapshot..</param> /// <param name="taskStatus">Specifies the task status of the Protection Job Run in the final attempt..</param> /// <param name="uuid">Specifies the unique id of the Protection Source for which a snapshot is taken..</param> public LatestProtectionRun(SourceBackupStatus backupRun = default(SourceBackupStatus), long?changeEventId = default(long?), CopyRun copyRun = default(CopyRun), long?jobRunId = default(long?), RunUid protectionJobRunUid = default(RunUid), string snapshotTarget = default(string), int?snapshotTargetType = default(int?), int?taskStatus = default(int?), string uuid = default(string)) { this.ChangeEventId = changeEventId; this.JobRunId = jobRunId; this.SnapshotTarget = snapshotTarget; this.SnapshotTargetType = snapshotTargetType; this.TaskStatus = taskStatus; this.Uuid = uuid; this.BackupRun = backupRun; this.ChangeEventId = changeEventId; this.CopyRun = copyRun; this.JobRunId = jobRunId; this.ProtectionJobRunUid = protectionJobRunUid; this.SnapshotTarget = snapshotTarget; this.SnapshotTargetType = snapshotTargetType; this.TaskStatus = taskStatus; this.Uuid = uuid; }