mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 13:01:36 +00:00
Added UpdatedAt property to Milestone. (#1722)
* Added UpdatedAt property to Milestone. * Trying to find where travis moved our cheese
This commit is contained in:
committed by
Ryan Gribble
parent
eb2b9ea4ab
commit
e9c7e02377
+2
-2
@@ -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
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Octokit
|
||||
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;
|
||||
@@ -28,6 +28,7 @@ namespace Octokit
|
||||
CreatedAt = createdAt;
|
||||
DueOn = dueOn;
|
||||
ClosedAt = closedAt;
|
||||
UpdatedAt = updatedAt;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -51,7 +52,7 @@ namespace Octokit
|
||||
public StringEnum<ItemState> State { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Title of the milestone
|
||||
/// Title of the milestone.
|
||||
/// </summary>
|
||||
public string Title { get; protected set; }
|
||||
|
||||
@@ -76,7 +77,7 @@ namespace Octokit
|
||||
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; }
|
||||
|
||||
@@ -90,6 +91,11 @@ namespace Octokit
|
||||
/// </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); }
|
||||
|
||||
Reference in New Issue
Block a user