mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 02:45:32 +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:
@@ -9,6 +9,20 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class WeeklyHash
|
||||
{
|
||||
public WeeklyHash() { }
|
||||
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "w")]
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "a")]
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "d")]
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "c")]
|
||||
public WeeklyHash(long w, int a, int d, int c)
|
||||
{
|
||||
W = w;
|
||||
A = a;
|
||||
D = d;
|
||||
C = c;
|
||||
}
|
||||
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "W")]
|
||||
public long W { get; protected set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user