mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-01 18:35:35 +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:
@@ -7,6 +7,18 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class ThreadSubscription
|
||||
{
|
||||
public ThreadSubscription() { }
|
||||
|
||||
public ThreadSubscription(bool subscribed, bool ignored, string reason, DateTimeOffset createdAt, Uri url, Uri threadUrl)
|
||||
{
|
||||
Subscribed = subscribed;
|
||||
Ignored = ignored;
|
||||
Reason = reason;
|
||||
CreatedAt = createdAt;
|
||||
Url = url;
|
||||
ThreadUrl = threadUrl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determines if notifications should be received from this repository.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user