mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 12:42: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:
@@ -11,6 +11,15 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class EmailAddress
|
||||
{
|
||||
public EmailAddress() { }
|
||||
|
||||
public EmailAddress(string email, bool verified, bool primary)
|
||||
{
|
||||
Email = email;
|
||||
Verified = verified;
|
||||
Primary = primary;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The email address
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user