Skip to content

Commit

Permalink
Merge branch 'master' into feature/#1665_AddPaginationHandlingToRepos…
Browse files Browse the repository at this point in the history
…itoryInvitations
  • Loading branch information
gdziadkiewicz committed Nov 30, 2017
2 parents 206d3a2 + e9c7e02 commit 9deacd6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ matrix:
- os: linux
dist: trusty
sudo: required
dotnet: 1.0.1
dotnet: 1.0.4
- os: osx
osx_image: xcode8
dotnet: 1.0.1
dotnet: 1.0.4

before_script:
- if test "$TRAVIS_OS_NAME" == "osx"; then export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.5/; else export FrameworkPathOverride=/usr/lib/mono/4.5/; fi
Expand Down
12 changes: 9 additions & 3 deletions Octokit/Models/Response/Milestone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public Milestone(int number)
Number = number;
}

public Milestone(string url, string htmlUrl, int number, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt)
public Milestone(string url, string htmlUrl, int number, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt, DateTimeOffset? updatedAt)
{
Url = url;
HtmlUrl = htmlUrl;
Expand All @@ -28,6 +28,7 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string
CreatedAt = createdAt;
DueOn = dueOn;
ClosedAt = closedAt;
UpdatedAt = updatedAt;
}

/// <summary>
Expand All @@ -51,7 +52,7 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string
public StringEnum<ItemState> State { get; protected set; }

/// <summary>
/// Title of the milestone
/// Title of the milestone.
/// </summary>
public string Title { get; protected set; }

Expand All @@ -76,7 +77,7 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string
public int ClosedIssues { get; protected set; }

/// <summary>
/// The date this milestone was created
/// The date this milestone was created.
/// </summary>
public DateTimeOffset CreatedAt { get; protected set; }

Expand All @@ -90,6 +91,11 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string
/// </summary>
public DateTimeOffset? ClosedAt { get; protected set; }

/// <summary>
/// The date, if any, when this milestone was updated.
/// </summary>
public DateTimeOffset? UpdatedAt { get; protected set; }

internal string DebuggerDisplay
{
get { return string.Format(CultureInfo.InvariantCulture, "Title {0} ", Title); }
Expand Down

0 comments on commit 9deacd6

Please sign in to comment.