Skip to content

Commit

Permalink
Missing Milestone fields (#1489)
Browse files Browse the repository at this point in the history
* Missing Milestone fields

* Removing private Milestone field
  • Loading branch information
StanleyGoldman authored and ryangribble committed Oct 13, 2016
1 parent 4bd3a44 commit 10d2632
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Octokit/Models/Response/Milestone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ public Milestone(int number)
Number = number;
}

public Milestone(Uri url, int number, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt)
public Milestone(Uri url, Uri htmlUrl, int number, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt)
{
Url = url;
HtmlUrl = htmlUrl;
Number = number;
State = state;
Title = title;
Expand All @@ -34,6 +35,11 @@ public Milestone(Uri url, int number, ItemState state, string title, string desc
/// </summary>
public Uri Url { get; protected set; }

/// <summary>
/// The Html page for this milestone.
/// </summary>
public Uri HtmlUrl { get; protected set; }

/// <summary>
/// The milestone number.
/// </summary>
Expand Down

0 comments on commit 10d2632

Please sign in to comment.