/// <summary>
 /// Initializes a new instance of the <see cref="PullRequestListItemViewModel"/> class.
 /// </summary>
 /// <param name="model">The underlying pull request item model.</param>
 public PullRequestListItemViewModel(PullRequestListItemModel model)
 {
     Id           = model.Id;
     Author       = new ActorViewModel(model.Author);
     CommentCount = model.CommentCount;
     Number       = model.Number;
     Title        = model.Title;
     UpdatedAt    = model.UpdatedAt;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PullRequestListItemViewModel"/> class.
 /// </summary>
 /// <param name="model">The underlying pull request item model.</param>
 public PullRequestListItemViewModel(PullRequestListItemModel model)
 {
     Id                 = model.Id;
     Author             = new ActorViewModel(model.Author);
     ChecksSummary      = model.ChecksSummary;
     ChecksErrorCount   = model.ChecksErrorCount;
     ChecksPendingCount = model.ChecksPendingCount;
     ChecksSuccessCount = model.ChecksSuccessCount;
     CommentCount       = model.CommentCount;
     Number             = model.Number;
     Title              = model.Title;
     UpdatedAt          = model.UpdatedAt;
 }