Skip to content

Commit

Permalink
fix issue 17
Browse files Browse the repository at this point in the history
  • Loading branch information
lvermeulen committed Jul 29, 2020
1 parent 19a4696 commit 21700cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Bitbucket.Net/Models/Core/Projects/Comment.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System;
using System.Collections.Generic;
using Bitbucket.Net.Common.Converters;
using Bitbucket.Net.Models.Core.Tasks;
using Bitbucket.Net.Models.Core.Users;
using Newtonsoft.Json;

namespace Bitbucket.Net.Models.Core.Projects
Expand All @@ -14,7 +16,9 @@ public class Comment : PullRequestInfo
public DateTimeOffset? CreatedDate { get; set; }
[JsonConverter(typeof(UnixDateTimeOffsetConverter))]
public DateTimeOffset? UpdatedDate { get; set; }
public Participant Author { get; set; }
public User Author { get; set; }
public List<Comment> Comments { get; set; }
public List<BitbucketTask> Tasks { get; set; }
public List<Participant> Participants { get; set; }
public Links Links { get; set; }
}
Expand Down
2 changes: 2 additions & 0 deletions src/Bitbucket.Net/Models/Core/Projects/CommentAnchor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ public class CommentAnchor
public LineTypes LineType { get; set; }
[JsonConverter(typeof(FileTypesConverter))]
public FileTypes FileType { get; set; }
public string FromHash { get; set; }
public string ToHash { get; set; }
public string Path { get; set; }
public string SrcPath { get; set; }
}
Expand Down

0 comments on commit 21700cd

Please sign in to comment.