mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677. Removes obscolete properties (gravatar). Makes Models.Response properties all be protected (most were already).
This commit is contained in:
@@ -8,6 +8,16 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class NotificationInfo
|
||||
{
|
||||
public NotificationInfo() { }
|
||||
|
||||
public NotificationInfo(string title, string url, string latestCommentUrl, string type)
|
||||
{
|
||||
Title = title;
|
||||
Url = url;
|
||||
LatestCommentUrl = latestCommentUrl;
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public string Title { get; protected set; }
|
||||
|
||||
public string Url { get; protected set; }
|
||||
|
||||
Reference in New Issue
Block a user