mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
Add missing ID property to Milestone (#2007)
* Add Id property to Milestone model * Exclude Riders workspace directory
This commit is contained in:
committed by
Brendan Forster
parent
ae10ba3cab
commit
63a4deae35
+4
-1
@@ -102,4 +102,7 @@ Backup/
|
||||
tools/*
|
||||
!tools/gitversion_wrapper.sh
|
||||
!tools/LINQPad
|
||||
coverage-results/*
|
||||
coverage-results/*
|
||||
|
||||
# Rider
|
||||
**/.idea/*
|
||||
@@ -14,10 +14,11 @@ namespace Octokit
|
||||
Number = number;
|
||||
}
|
||||
|
||||
public Milestone(string url, string htmlUrl, int number, string nodeId, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt, DateTimeOffset? updatedAt)
|
||||
public Milestone(string url, string htmlUrl, long id, int number, string nodeId, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt, DateTimeOffset? updatedAt)
|
||||
{
|
||||
Url = url;
|
||||
HtmlUrl = htmlUrl;
|
||||
Id = id;
|
||||
Number = number;
|
||||
NodeId = nodeId;
|
||||
State = state;
|
||||
@@ -41,6 +42,11 @@ namespace Octokit
|
||||
/// The Html page for this milestone.
|
||||
/// </summary>
|
||||
public string HtmlUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The ID for this milestone.
|
||||
/// </summary>
|
||||
public long Id { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The milestone number.
|
||||
|
||||
Reference in New Issue
Block a user