mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-30 01:38:52 +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,19 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class SearchCode
|
||||
{
|
||||
public SearchCode() { }
|
||||
|
||||
public SearchCode(string name, string path, string sha, Uri url, Uri gitUrl, Uri htmlUrl, Repository repository)
|
||||
{
|
||||
Name = name;
|
||||
Path = path;
|
||||
Sha = sha;
|
||||
Url = url;
|
||||
GitUrl = gitUrl;
|
||||
HtmlUrl = htmlUrl;
|
||||
Repository = repository;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// file name
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user